Jump to content

Ted2's Mod Menu crashing on load?


Go to solution Solved by Ted2,

12 posts in this topic

Recommended Posts

Posted (edited)

 

Hey, i have a problem with Ted2's mod menu.

 

I made a simple patch with two offsets using switch, like this:

//Offset switch with multiple patches
[switches addOffsetSwitch:NSSENCRYPT("GodMode")
	description:NSSENCRYPT("Disables player's collision.")
	offsets: {
		ENCRYPTOFFSET("0xCB91B0"),
		ENCRYPTOFFSET("0xCB92A4"),
	}
	bytes: {
		ENCRYPTHEX("0x1F2003D5"),
		ENCRYPTHEX("0x58010014"),
	}
];

Successfully compiled .deb, installed, and after running the game, and showing purple "Thank you, understood" popup menu, when i dismiss the menu, it just crashes. So basically it crashes when calling setupMenu() if i have understood it correctly. If i comment out above code (and leave some of Ted2's examples uncommented), it works and shows the menu button normally, without crashing. I'm using Tweak.xm template that comes with mod menu, the only thing that's changed basically is the above code. What am i doing wrong here?

Updated by al3xs7x
Posted (edited)

If you mean this, yes:

void setupMenu() {

// If a game uses a framework as base executable, you can enter the name here.
// For example: UnityFramework, in that case you have to replace NULL with "UnityFramework" (note the quotes)
[menu setFrameworkName:"UnityFramework"];
  
...

 

Updated by al3xs7x
Posted
12 minutes ago, al3xs7x said:

If you mean this, yes:

void setupMenu() {

// If a game uses a framework as base executable, you can enter the name here.
// For example: UnityFramework, in that case you have to replace NULL with "UnityFramework" (note the quotes)
[menu setFrameworkName:"UnityFramework"];
  
...

 

Try compiling the default template, if that works, there must be an issue with your code.

Posted (edited)

Alright, i've deleted my offsets, and compiled with some of Ted2's examples, like this:

// Offset Switch with one patch
[switches addOffsetSwitch:NSSENCRYPT("God Mode")
	description:NSSENCRYPT("You can't die")
 	offsets: {
    	ENCRYPTOFFSET("0x1002DB3C8")
    }
 	bytes: {
    	ENCRYPTHEX("0xC0035FD6")
    }
];

// Textfield Switch - used in hooking
[switches addTextfieldSwitch:NSSENCRYPT("Custom Gold")
	description:NSSENCRYPT("Here you can enter your own gold amount")
	inputBorderColor:UIColorFromHex(0xBD0000)
];

// Slider Switch - used in hooking
[switches addSliderSwitch:NSSENCRYPT("Custom Move Speed")
	description:NSSENCRYPT("Set your custom move speed")
	minimumValue:0
	maximumValue:10
	sliderColor:UIColorFromHex(0xBD0000)
];

It still crashes. EDIT: if i remove calls to ENCRYPTOFFSET and ENCRYPTHEX:

// Offset Switch with one patch
[switches addOffsetSwitch:NSSENCRYPT("God Mode")
	description:NSSENCRYPT("You can't die")
	offsets: {
		//ENCRYPTOFFSET("0x1002DB3C8")
    }
	bytes: {
		//ENCRYPTHEX("0xC0035FD6")
    }
];

and recompile, it works/shows the menu and doesn't crash!?? 🤔 

Updated by al3xs7x
Posted (edited)

Tried to compile on both MacOS + IOS, it's the same..

Using 11.4 sdk because 11.2 (as Ted2 recommended) is not available on theos Github repo.

Anyone here that used and have experience with Ted2's mod menu? I'm stuck whole day here trying to solve this :(

Updated by al3xs7x
topic was approved
Posted
1 hour ago, al3xs7x said:

EDIT: if i remove calls to ENCRYPTOFFSET and ENCRYPTHEX:

// Offset Switch with one patch
[switches addOffsetSwitch:NSSENCRYPT("God Mode")
	description:NSSENCRYPT("You can't die")
	offsets: {
		//ENCRYPTOFFSET("0x1002DB3C8")
    }
	bytes: {
		//ENCRYPTHEX("0xC0035FD6")
    }
];

and recompile, it works/shows the menu and doesn't crash!?? 🤔

Perhaps @Ted2 himself can shed some light on this! :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Conquer Countries v9.30 +5 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Conquer Countries By SUPERSONIC STUDIOS LTD
      Bundle ID: com.ridgge.conquercountries
      iTunes Store Link: https://apps.apple.com/us/app/conquer-countries/id6480472116?uo=4

       
       

      Hack Features

      - Add Money*
      - Add People*
      - Add Knowledge*
      - Unlimited Gems -> Earn some.
      -- Gold Pass Purchased

      * - Head into Settings and toggle the Sound button. Only enable 1 feature at a time.


      Jailbreak required iOS hacks: [Mod Menu Hack] Conquer Countries v9.0 +5 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 36 replies
    • Conquer Countries v9.30 +5 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Conquer Countries By SUPERSONIC STUDIOS LTD
      Bundle ID: com.ridgge.conquercountries
      iTunes Store Link: https://apps.apple.com/us/app/conquer-countries/id6480472116?uo=4

       
       

      Hack Features

      - Add Money*
      - Add People*
      - Add Knowledge*
      - Unlimited Gems -> Earn some.
      -- Gold Pass Purchased

      * - Head into Settings and toggle the Sound button. Only enable 1 feature at a time.


      For Non-Jailbroken & No Jailbreak required hacks: [IPA Mod Menu] Conquer Countries v9.0 +5 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 17 replies
    • Idle Zombie Miner: Gold Tycoon v2.243.1940 +1++ Jailed Cheat [ 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
      • 109 replies
    • Idle Zombie Miner: Gold Tycoon v2.243.1940 +1++ Cheat [ 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
        • Haha
        • Thanks
        • Winner
        • Like
      • 72 replies
    • Disney Emoji Blitz Game v70.2.1 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Disney Emoji Blitz Game By Jam City, Inc.
      Bundle ID: com.disney.emojimatch
      iTunes Store Link: https://apps.apple.com/us/app/disney-emoji-blitz-game/id1017551780
       

      Hack Features:
      - Unlimited Currencies -> Earn some.


      Jailbreak required hack(s): https://iosgods.com/topic/168886-disney-emoji-blitz-game-all-versions-1-cheats-unlimited-currencies/
      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
      • 180 replies
    • Eterspire - Fantasy MMORPG v55.0 +2 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Eterspire - Fantasy MMORPG By Stonehollow Workshop LLC
      Bundle ID: com.stonehollow-workshop.Eterspire
      iTunes Store Link: https://apps.apple.com/us/app/eterspire-fantasy-mmorpg/id1658183817?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
        • Informative
        • Agree
        • Like
      • 26 replies
    • Eterspire - Fantasy MMORPG v55.0 +2 Cheats [ Damage & Defence ]
      Modded/Hacked App: Eterspire - Fantasy MMORPG By Stonehollow Workshop LLC
      Bundle ID: com.stonehollow-workshop.Eterspire
      iTunes Store Link: https://apps.apple.com/us/app/eterspire-fantasy-mmorpg/id1658183817?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
        • Agree
        • Thanks
        • Winner
        • Like
      • 105 replies
    • Love Sparks: Make Me Blush v2.46.0 +2++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Love Sparks: Make Me Blush By SVEG MASHA, OOO
      Bundle ID: com.swagmasha.lovespark
      iTunes Store Link: https://apps.apple.com/us/app/love-sparks-make-me-blush/id1580105392?uo=4
       

      Hack Features:
      - Unlimited Gems -> Earn some.
      - VIP Enabled


      Jailbreak required hack(s): [Mod Menu Hack] Love Sparks: My Secret Fantasy v2.17.0 +2 Cheats [ Unlimited Gems ] - 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
      • 911 replies
    • Love Sparks: Make Me Blush v2.46.0 +2++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Love Sparks: Make Me Blush By SVEG MASHA, OOO
      Bundle ID: com.swagmasha.lovespark
      iTunes Store Link: https://apps.apple.com/us/app/love-sparks-make-me-blush/id1580105392?uo=4
       

      Hack Features:
      - Unlimited Gems -> Earn some.
      - VIP Enabled


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Love Sparks: My Secret Fantasy v2.17.0 +3 Jailed Cheats [ Unlimited Gems ] - 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
      • 393 replies
    • Disney Emoji Blitz Game v70.2.1 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Disney Emoji Blitz Game By Jam City, Inc.
      Bundle ID: com.disney.emojimatch
      iTunes Store Link: https://apps.apple.com/us/app/disney-emoji-blitz-game/id1017551780
       

      Hack Features:
      - Unlimited Currencies -> Earn some.


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/168888-disney-emoji-blitz-game-v5320-1-jailed-cheat-unlimited-currencies/
      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
      • 60 replies
    • Train Attack: Merge War v1.0.5 [+4 Jailed Cheats]
      Modded/Hacked App: Train Attack: Merge War By MAD PIXEL GAMES LTD
      Bundle ID: adventure.train.battle.survive
      App Store Link: https://apps.apple.com/us/app/train-attack-merge-war/id6747774853?uo=4



      🤩 Hack Features

      - Remove Ads (Can crash game open again)
      - Activate Vip
      - Add Currency
      - Never Die
        • Winner
      • 2 replies
    • Train Attack: Merge War v1.0.5 [+4 Cheats]
      Modded/Hacked App: Train Attack: Merge War By MAD PIXEL GAMES LTD
      Bundle ID: adventure.train.battle.survive
      App Store Link: https://apps.apple.com/us/app/train-attack-merge-war/id6747774853?uo=4



      🤩 Hack Features

      - Remove Ads (Can crash game open again)
      - Activate Vip
      - Add Currency
      - Never Die
        • Winner
      • 4 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