Jump to content

8 posts in this topic

Recommended Posts

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. 

Link to comment
https://iosgods.com/topic/88132-need-help-making-game-hack/
Share on other sites

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

 

Updated by El Antraxs
Link to comment
https://iosgods.com/topic/88132-need-help-making-game-hack/#findComment-2736155
Share on other sites

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.

 

Link to comment
https://iosgods.com/topic/88132-need-help-making-game-hack/#findComment-2736251
Share on other sites

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”?

Link to comment
https://iosgods.com/topic/88132-need-help-making-game-hack/#findComment-2736293
Share on other sites

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.

Link to comment
https://iosgods.com/topic/88132-need-help-making-game-hack/#findComment-2736294
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Idle Zombie Miner: Gold Tycoon v2.181.1450 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Idle Zombie Miner: Gold Tycoon By VISTREX LIMITED
      Bundle ID: com.zombie.idleminertycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-zombie-miner-gold-tycoon/id6471983323?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Idle Zombie Miner: Gold Tycoon v2.53.1001 +1++ Cheat [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      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
      • 69 replies
    • Idle Zombie Miner: Gold Tycoon v2.181.1450 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Idle Zombie Miner: Gold Tycoon By VISTREX LIMITED
      Bundle ID: com.zombie.idleminertycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-zombie-miner-gold-tycoon/id6471983323?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Idle Zombie Miner: Gold Tycoon v2.53.1001 +1++ Jailed Cheat [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      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
      • 43 replies
    • Zombie State: FPS Shooter v2.2.2 +10 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Zombie State: FPS Shooting By MY.GAMES B.V.
      Bundle ID: games.my.zombie.shooter
      iTunes Store Link: https://apps.apple.com/us/app/zombie-state-fps-shooting/id6451382835?uo=4


      Hack Features:
      - Damage Multiplier VIP
      - Defence Multiplier VIP
      - Move Speed Multiplier VIP
      - Unlimited Ammo -> Will not decrease.
      - No Recoil
      - No Spread
      - Increased Fire Rate
      - Kill All Enemies VIP
      - Become Invisible VIP
      - Battle Pass Purchased VIP


      Jailbreak required hack(s): [Mod Menu Hack] Zombie State: FPS Shooter v2.0.1 +10 Cheats [ Damage & Defence ] - Free Jailbroken Cydia Cheats - iOSGods
      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
      • 74 replies
    • Zombie State: FPS Shooter v2.2.2 +10 Cheats [ Damage & Defence ]
      Modded/Hacked App: Zombie State: FPS Shooting By MY.GAMES B.V.
      Bundle ID: games.my.zombie.shooter
      iTunes Store Link: https://apps.apple.com/us/app/zombie-state-fps-shooting/id6451382835?uo=4


      Hack Features:
      - Damage Multiplier VIP
      - Defence Multiplier VIP
      - Move Speed Multiplier VIP
      - Unlimited Ammo -> Will not decrease.
      - No Recoil
      - No Spread
      - Increased Fire Rate
      - Kill All Enemies VIP
      - Become Invisible VIP
      - Battle Pass Purchased VIP


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Zombie State: FPS Shooter v2.0.1 +10 Jailed Cheats [ Damage & Defence ] - Free Non-Jailbroken IPA Cheats - iOSGods
      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
      • 66 replies
    • Power Slap v7.2.3 +2++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Power Slap By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.uncosoft.powerslap
      iTunes Store Link: https://apps.apple.com/us/app/power-slap/id6449244841?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease.
      - Pro Pass Unlocked


      Jailbreak required hack(s): [Mod Menu Hack] Power Slap v0.4.1 +4 Cheats [ Damage & Defence ] - Free Jailbroken Cydia Cheats - iOSGods
      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
      • 153 replies
    • Power Slap v7.2.3 +2++ Cheats [ Unlimited Everything ]
      Modded/Hacked App: Power Slap By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.uncosoft.powerslap
      iTunes Store Link: https://apps.apple.com/us/app/power-slap/id6449244841?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease.
      - Pro Pass Unlocked


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Power Slap v0.4.1 +2 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      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
      • 110 replies
    • Claire's Chronicles: Solitaire v0.17.0 +1++ Jailed Cheat [ Unlimited Everything ]
      Modded/Hacked App: Claire's Chronicles: Solitaire By wooga gmbh
      Bundle ID: net.wooga.claires.chronicles.solitaire.design.mystery.town.adventure
      iTunes Store Link: https://apps.apple.com/gb/app/claires-chronicles-solitaire/id6478491092?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Claire's Chronicles: Solitaire v0.12.1 +1++ Cheat [ Unlimited Everything ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 11 replies
    • Claire's Chronicles: Solitaire v0.17.0 +1++ Cheat [ Unlimited Everything ]
      Modded/Hacked App: Claire's Chronicles: Solitaire By wooga gmbh
      Bundle ID: net.wooga.claires.chronicles.solitaire.design.mystery.town.adventure
      iTunes Store Link: https://apps.apple.com/gb/app/claires-chronicles-solitaire/id6478491092?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Claire's Chronicles: Solitaire v0.12.1 +1++ Jailed Cheat [ Unlimited Everything ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Like
      • 8 replies
    • Disney Speedstorm v1.10.5 +2 Jailed Cheats [ Unlimited Nitro ]
      Modded/Hacked App: Disney Speedstorm By Gameloft
      Bundle ID: com.gameloft.disneyspeedstorm
      iTunes Store Link: https://apps.apple.com/us/app/disney-speedstorm/id6449708682?uo=4


      Hack Features:
      - Unlimited Nitro -> Will not decrease.
      - Instant Nitro Max


      Jailbreak required hack(s): [Mod Menu Hack] Disney Speedstorm v1.5.0 +2 Cheats [ Unlimited Nitro ] - Free Jailbroken Cydia Cheats - iOSGods
      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
      • 69 replies
    • Disney Speedstorm v1.10.5 +2 Cheats [ Unlimited Nitro ]
      Modded/Hacked App: Disney Speedstorm By Gameloft
      Bundle ID: com.gameloft.disneyspeedstorm
      iTunes Store Link: https://apps.apple.com/us/app/disney-speedstorm/id6449708682?uo=4


      Hack Features:
      - Unlimited Nitro -> Will not decrease.
      - Instant Nitro Max


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Disney Speedstorm v1.5.0 +2 Jailed Cheats [ Unlimited Nitro ] - Free Non-Jailbroken IPA Cheats - iOSGods
      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
      • 58 replies
    • AFK Magic TD v0.19.0 +3 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: AFK Magic TD By ARIZONA, INC.
      Bundle ID: com.arizonags.afktd
      iTunes Store Link: https://apps.apple.com/gb/app/afk-magic-td/id6479079201?uo=4


      Hack Features:
      - God Mode
      - Damage Mulitplier
      - No Skill Consumption -> Charge skill first.


      Jailbreak required hack(s): [Mod Menu Hack] AFK Magic TD v0.16.1 +3 Cheats [ Damage + More ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Like
      • 8 replies
    • AFK Magic TD v0.19.0 +3 Cheats [ Damage + More ]
      Modded/Hacked App: AFK Magic TD By ARIZONA, INC.
      Bundle ID: com.arizonags.afktd
      iTunes Store Link: https://apps.apple.com/gb/app/afk-magic-td/id6479079201?uo=4


      Hack Features:
      - God Mode
      - Damage Multiplier
      - No Skill Consumption -> Charge skill first.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] AFK Magic TD v0.16.1 +3 Jailed Cheats [ Damage + More ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 11 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