Jump to content

Need help making game hack


El Antraxs

8 posts in this topic

Recommended Posts

Posted

First time making a game hack and trying to convert my flex hack into a .deb but I’m having a couple of problems. I’m using my JB iPhone 6+ on iOS 11.3 and using the 3.1 NIC Template provided on here. I’m also doing MS hacking

My first issue is I can’t get bools to work, I looked at the MS hooking method but can’t get mine to work for some reason. I know I have the right target class and target method since it worked on flex.

second issue is I want the user to be able to set a custom amoun of money. I did look at the tut that showed how to do it but I wasn’t able to get it working, I got the text cell to appear but it didn’t work and I got kinda lost since I’m using the preset template. 

If someone can help me out that would be great. 

Posted
1 hour ago, Amuyea said:

Show your Flex cheat & Tweak.xm

Hidden Content
    Tweak.xm

    @import Foundation;

    @import UIKit;

    #import <substrate.h>

    #import "vm_writeData.h"

     

    // To MSHook Offsets, use https://iosgods.com/topic/22718-mshook-offsets/

    // To Generate Tweak.xm and Preferences Plist https://iosgods.com/topic/24138-code-inject/

     

    #define PLIST_PATH @"/var/mobile/Library/Preferences/com.elantraxs.bitlifehacks.plist"

     

    inline bool GetPrefBool(NSString *key) {

            return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

    }

     

     

    // Add your MS/Flex/MSHook Code here. Examples can be found on iOSGods.

     

    %hook Apollo16SimFinances

     

    -(bool) willAgreeToSpendTime {

     

    return TRUE;

     

    }

     

    -(bool) shouldSufferMiscarriage {

     

    return FALSE;

     

    }

     

    -(bool) willAcceptMarriageProposal {

     

    return TRUE;

     

    }

     

    -(bool) willAgreeToHaveBaby {

     

    return TRUE;

     

    }

     

    -(bool) willAgreeToRenewWeddingVows {

     

    return TRUE;

     

    }

     

    -(bool) willAcceptToDateHero {

     

    return TRUE;

     

    }

     

    -(bool) willAgreeToThreesome {

     

    return TRUE;

     

    }

     

    -(bool) willAgreeToChangeNameAfterMarriage {

     

    return TRUE;

     

    }

     

    -(bool) willAgreeToSignPrenup {

     

    return TRUE;

     

    }

     

    -(bool) willInsistOnPrenup {

     

    return FALSE;

     

    }

     

    -(bool) demandedWedding {

     

    return FALSE;

     

    }

     

    -(bool) demandedHouse {

     

    return FALSE; 

     

    }

     

    -(bool) demandedCar {

     

    return FALSE;

     

    }

     

    %end

     

    // Automatic Popup Code

    void setup() {

        UIAlertController *igcredits = [UIAlertController alertControllerWithTitle:@"Made for iOSGods.com" message:@"Bitlife Cheats by El Antraxs for iOSGods.com!\n\nVisit the hack's official topic on iOSGods for more information and updates!" preferredStyle:UIAlertControllerStyleAlert];

     

     

        UIAlertAction *iosgods = [UIAlertAction actionWithTitle:@"Visit iOSGods.com!" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){

            UIApplication *application = [UIApplication sharedApplication];

            NSURL *URL = [NSURL URLWithString:@"https://iosgods.com/forum/13-free-jailbroken-cydia-cheats/"];

            [application openURL:URL options:@{} completionHandler:^(BOOL success) {

                if (success) {

                    //NSLog(@"Opened url");

                }

            }];

            

        }];

        

        UIAlertAction *clubs = [UIAlertAction actionWithTitle:@"Visit the Clubs!" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){

            UIApplication *application = [UIApplication sharedApplication];

            NSURL *URL = [NSURL URLWithString:@"https://iosgods.com/clubs/"];

            [application openURL:URL options:@{} completionHandler:^(BOOL success) {

                if (success) {

                    //NSLog(@"Opened url");

                }

            }];

        }];

        

        UIAlertAction *thankyou = [UIAlertAction actionWithTitle:@"Thank you!" style:UIAlertActionStyleCancel handler:nil];

        

        [igcredits addAction:iosgods];

        [igcredits addAction:clubs];

        [igcredits addAction:thankyou];

     

     

        [[UIApplication sharedApplication].keyWindow.rootViewController presentViewController:igcredits animated:true completion:nil];

    }

     

    void unsubscribeToLaunchEvent(void);

     

    static void didFinishLaunching(CFNotificationCenterRef center, void *observer,

                                   CFStringRef name, const void *object, CFDictionaryRef info) {

        setup();

        unsubscribeToLaunchEvent();

    }

     

    const char *authObserver = "authObserver";

     

    void subscribeToLaunchEvent() {

        CFNotificationCenterAddObserver(CFNotificationCenterGetLocalCenter(), authObserver, &didFinishLaunching,

                                        (CFStringRef)UIApplicationDidFinishLaunchingNotification,

                                        NULL, CFNotificationSuspensionBehaviorDrop);

    }

     

    void unsubscribeToLaunchEvent() {

        CFNotificationCenterRemoveObserver(CFNotificationCenterGetLocalCenter(), authObserver,

                                           (CFStringRef)UIApplicationDidFinishLaunchingNotification, NULL);

    }

     

    __attribute__((constructor)) static void initialize() {

        subscribeToLaunchEvent();

    }

     

    https://gyazo.com/ed45680af63a1510497a3a2db1609e33

 

Posted

Where's your text input?

1. Also, are you sure all functions are in the Apollo16SimFinances class?

2. in the .plist in the root of your project, do you have the CORRECT bundle ID same as the app?
- if not, get it from: https://www.armconverter.com/appinfo

 

3. You know that you're directly patching the funcs? This here:

inline bool GetPrefBool(NSString *key) {
        return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

is never used.

 

Posted
6 minutes ago, Joey said:

Where's your text input?

1. Also, are you sure all functions are in the Apollo16SimFinances class?

2. in the .plist in the root of your project, do you have the CORRECT bundle ID same as the app?
- if not, get it from: https://www.armconverter.com/appinfo

 

3. You know that you're directly patching the funcs? This here:


inline bool GetPrefBool(NSString *key) {
        return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

is never used.

 

I started fresh so I didn’t add the text input as I just wanted to get it all working first. I did notice I wrote the wrong class target for the target method. That’s the website I used to get my bundle ID, only thing I deleted from the preset template was the example cheats, so I can delete the “inline bool”?

Posted
1 minute ago, El Antraxs said:

I started fresh so I didn’t add the text input as I just wanted to get it all working first. I did notice I wrote the wrong class target for the target method. That’s the website I used to get my bundle ID, only thing I deleted from the preset template was the example cheats, so I can delete the “inline bool”?

Yea, but you can leave it too, doesn't do any harm.

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Sport Star - Team Manager Idle v0.10.0 [ +4 APK MOD ] Currency Max
      Mod APK Game Name: Sport Star - Team Manager Idle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.coolcatsgames.sportstaridle&hl=en

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Currency Freeze
      - Gems Max
      - Cash Increaser
      • 0 replies
    • Sport Star - Team Manager Idle v0.10.0 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Sport Star - Team Manager Idle By Gryphon Games UG (haftungsbeschrankt)
      Bundle ID: com.coolcatsgames.sportstaridle
      App Store Link: https://apps.apple.com/us/app/sport-star-team-manager-idle/id6761053085?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Enough Currency
      - Currency Freeze
      - Gems Max
      - Cash Increaser
      • 0 replies
    • Sport Star - Team Manager Idle v0.10.0 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Sport Star - Team Manager Idle By Gryphon Games UG (haftungsbeschrankt)
      Bundle ID: com.coolcatsgames.sportstaridle
      App Store Link: https://apps.apple.com/us/app/sport-star-team-manager-idle/id6761053085?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Enough Currency
      - Currency Freeze
      - Gems Max
      - Cash Increaser
      • 0 replies
    • God Rivals: RPG Roguelike +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: God Rivals: RPG Roguelike By Gamee Joint Stock Company
      Bundle ID: com.gamee.godslayer.rpg.rougelike
      App Store Link: https://apps.apple.com/us/app/god-rivals-rpg-roguelike/id6747413590?uo=4

       

      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Increased Attack Speed
      - No Skill Cooldown
      - Auto Win
      - Unlimited Currencies -> Will increase instead of decrease.
      - Unlock Premium Pass
      - Unlock Royal Pass
      • 2 replies
    • Dragon Barrage: Brick Breaker v1.1.6 [ +6 APK MOD ] Auto Win
      Modded/Hacked App: Dragon Barrage By Ryogo Oka
      Bundle ID: game01.hosistem.ne
      App Store Link: https://apps.apple.com/us/app/dragon-barrage/id6760708796?uo=4

      🤩 Hack Features

      - ATK MAX
      :::::: VIP ::::::
      - Auto ADS NO
      - Auto Win
      - Unlimited Gems / Sell Items Then Get
      - Unlimited Energy
      - Enemy Freeze
      • 0 replies
    • Dragon Barrage v1.1.6 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Dragon Barrage By Ryogo Oka
      Bundle ID: game01.hosistem.ne
      App Store Link: https://apps.apple.com/us/app/dragon-barrage/id6760708796?uo=4

      🤩 Hack Features

      - ATK MAX
      :::::: VIP ::::::
      - Auto ADS NO
      - Auto Win
      - Unlimited Gems
      - Unlimited Energy
      - Enemy Freeze
      • 0 replies
    • Dragon Barrage v1.1.6 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Dragon Barrage By Ryogo Oka
      Bundle ID: game01.hosistem.ne
      App Store Link: https://apps.apple.com/us/app/dragon-barrage/id6760708796?uo=4

      🤩 Hack Features

      - ATK MAX
      :::::: VIP ::::::
      - Auto ADS NO
      - Auto Win
      - Unlimited Gems
      - Unlimited Energy
      - Enemy Freeze
        • Like
      • 0 replies
    • Ghost Sniper: War FPS Shooter v1.0.1 [ +6 APK MOD ] Currency Max
      Mod APK Game Name: Ghost Sniper: War FPS Shooter
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=sniper.war.target.soldier.shooter.aldagames.com

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Energy
      - Unlimited Stars
      - Ammo Freeze
        • Like
      • 1 reply
    • Ghost Sniper: War FPS Shooter v1.0.1 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Ghost Sniper: War FPS Shooter By Alda Games, s.r.o.
      Bundle ID: sniper.war.target.soldier.shooter.aldagames.com
      App Store Link: https://apps.apple.com/us/app/ghost-sniper-war-fps-shooter/id6756882608?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Energy
      - Unlimited Stars
      - Ammo Freeze
      • 1 reply
    • Ghost Sniper: War FPS Shooter v1.0.1 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Ghost Sniper: War FPS Shooter By Alda Games, s.r.o.
      Bundle ID: sniper.war.target.soldier.shooter.aldagames.com
      App Store Link: https://apps.apple.com/us/app/ghost-sniper-war-fps-shooter/id6756882608?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Energy
      - Unlimited Stars
      - Ammo Freeze
      • 0 replies
    • Swamp Attack 2 v1.2.2 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Swamp Attack 2 By Voodoo
      Bundle ID: com.hyperdotstudios.swampattack2
      iTunes Store Link: https://apps.apple.com/us/app/swamp-attack-2/id1531686083?uo=4


      Hack Features:
      - Gems
      - Gold
      - Ammo
      - Monster ATK No


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 55 replies
    • Swamp Attack 2 v1.2.2 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Swamp Attack 2 By Voodoo
      Bundle ID: com.hyperdotstudios.swampattack2
      iTunes Store Link: https://apps.apple.com/us/app/swamp-attack-2/id1531686083?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:

      - Gems

      - Gold
      - Ammo
      - Monster ATK No


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 64 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines