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

    • Kitchen Masters v17.1.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Kitchen Masters By Bigger Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.bigger.kitchenmasters
      iTunes Store Link: https://apps.apple.com/ph/app/kitchen-masters/id6474870266?uo=4


      🤩 Hack Features

      - Coins

      - Cash

      - Lives

      - Tile Cost 0
      • 10 replies
    • Kitchen Masters v17.1.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Kitchen Masters By Bigger Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.bigger.kitchenmasters
      iTunes Store Link: https://apps.apple.com/ph/app/kitchen-masters/id6474870266?uo=4
       

      🤩 Hack Features

      - Coins

      - Cash

      - Lives

      - Tile Cost 0
      • 17 replies
    • Match Villains v1.33.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Match Villains By Good Job Games Bilisim Yazilim ve Pazarlama AS
      Bundle ID: com.goodjobgames.matchvillains
      iTunes Store Link: https://apps.apple.com/us/app/match-villains/id6479752688?uo=4
       

      🚀 Hack Features

      - Coins
      - Lives
      - Moves Freeze
      - Booster


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 20 replies
    • Match Villains v1.33.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Match Villains By Good Job Games Bilisim Yazilim ve Pazarlama AS
      Bundle ID: com.goodjobgames.matchvillains
      iTunes Store Link: https://apps.apple.com/us/app/match-villains/id6479752688?uo=4
       

      🚀 Hack Features

      - Coins
      - Lives
      - Moves Freeze
      - Booster


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 24 replies
    • Matching Story v1.45.02 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 43 replies
    • Matching Story v1.45.02 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4

       
      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 56 replies
    • Project Makeover v2.119.1 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Project Makeover By Magic Tavern, Inc.
      Bundle ID: com.bgg.jump
      App Store Link: https://apps.apple.com/us/app/project-makeover/id1483058899?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Lives

      This hack was made by @Cashlaz. Give him all your love & appreciation! ❤️
      • 22 replies
    • Project Makeover ( All Versions ) +4 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Project Makeover By Magic Tavern, Inc.
      Bundle ID: com.bgg.jump
      App Store Link: https://apps.apple.com/us/app/project-makeover/id1483058899?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Lives

      This hack was made by @Cashlaz. Give him all your love & appreciation! ❤️
      • 11 replies
    • Grimguard Tactics: Fantasy RPG v1.15.4 +3 Jailed Cheats [ Auto Win ]
      Modded/Hacked App: Grimguard Tactics: Fantasy RPG By Outerdawn Limited
      Bundle ID: com.outerdawn.grimguard
      iTunes Store Link: https://apps.apple.com/us/app/grimguard-tactics-fantasy-rpg/id1496893856?uo=4


      Hack Features:
      - Auto Win
      - Unlimited Daily Rewards
      - No Stamina Cost


      Jailbreak required hack(s): [Mod Menu Hack] Grimguard Tactics: Fantasy RPG v1.1.10 +3 Cheats [ Auto Win ] - ViP 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/
      • 129 replies
    • Grimguard Tactics: Fantasy RPG v1.15.4 +3 Cheats [ Auto Win ]
      Modded/Hacked App: Grimguard Tactics: Fantasy RPG By Outerdawn Limited
      Bundle ID: com.outerdawn.grimguard
      iTunes Store Link: https://apps.apple.com/us/app/grimguard-tactics-fantasy-rpg/id1496893856?uo=4


      Hack Features:
      - Auto Win
      - Unlimited Daily Rewards
      - No Stamina Cost


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Grimguard Tactics: Fantasy RPG v1.1.10 +3 Jailed Cheats [ Auto Win ] - ViP Non-Jailbroken Hacks & 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/
      • 108 replies
    • League of Dreamers - My Story v2.1.5 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: League of Dreamers - My Story By Story Inc. Company
      Bundle ID: com.storyincorporate.leagueofdreamers
      iTunes Store Link: https://apps.apple.com/us/app/league-of-dreamers-my-story/id1591679538
       

      Hack Features:
      - 666 Gems -> Earn some then restart the game.
      - 666 Keys -> Earn some then restart the game.
      - Free In-App Purchases -> Allows free in-app purchases.


      Jailbreak required hack(s): [Mod Menu Hack] League of Dreamers - My Story v1.54 +3 Cheats [ 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/
        • Thanks
      • 178 replies
    • League of Dreamers - My Story v2.1.5 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: League of Dreamers - My Story By Story Inc. Company
      Bundle ID: com.storyincorporate.leagueofdreamers
      iTunes Store Link: https://apps.apple.com/us/app/league-of-dreamers-my-story/id1591679538
       

      Hack Features:
      - 666 Gems -> Earn some then restart the game.
      - 666 Keys -> Earn some then restart the game.
      - Free In-App Purchases


      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/
      • 83 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