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

    • DEAD TARGET: FPS Zombie Games v6.153.0 [ +10 Cheats ] Currency Max
      Modded/Hacked App: DEAD TARGET: FPS Zombie Games By VNG SINGAPORE PTE LTD
      Bundle ID: com.vng.g6.a.zombie
      iTunes Store Link: https://apps.apple.com/us/app/dead-target-fps-zombie-games/id901793885?uo=4
       

      Hack Features

      - Unlimited Gold
      - Unlimited Cash

      - Unlimited Diamonds
      - Unlimited Grenades
      - Unlimited MedKits
      - Unlimited Ammo
      - One Hit Kill
      - God Mode
      - High Accuracy

      - ADS NO
        • Agree
        • Winner
        • Like
      • 17 replies
    • DEAD TARGET: FPS Zombie Games v6.153.0 [ +10 Jailed ] Currency Max
      Modded/Hacked App: DEAD TARGET: FPS Zombie Games By VNG SINGAPORE PTE LTD
      Bundle ID: com.vng.g6.a.zombie
      iTunes Store Link: https://apps.apple.com/us/app/dead-target-fps-zombie-games/id901793885?uo=4
       

      Hack Features

      - Unlimited Gold
      - Unlimited Cash

      - Unlimited Diamonds
      - Unlimited Grenades
      - Unlimited MedKits
      - Unlimited Ammo
      - One Hit Kill
      - God Mode
      - High Accuracy

      - ADS NO
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 29 replies
    • Run! Goddess v1.0.22 [+4 Jailed Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4



      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 94 replies
    • Run! Goddess v1.0.22 [+4 Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4

       

      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
       
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 80 replies
    • Alien Survivor: Survival Arena v1.38.1 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4
       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 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/
        • Informative
        • Agree
        • Winner
        • Like
      • 15 replies
    • Alien Survivor: Survival Arena v1.38.1 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Agree
        • Haha
        • Winner
        • Like
      • 27 replies
    • Legend of Survivors V1.2.8 [ +17 Jailed ] Currency Max
      Modded/Hacked App: Legend of Survivors By ABI GLOBAL LTD.
      Bundle ID: com.abi.legendofsurvivors
      iTunes Store Link: https://apps.apple.com/us/app/legend-of-survivors/id6489580730?uo=4


      Hack Features:

      - NO ADS

      - Gems 

      - Gold

      - Energy 

      - Material

      - Health Max [ Equip & Upgrade ]

      - Damage [ Equip & Upgrade ]

      - Skill Cooldown

      - EXP + Level [ Patrol Reward ]

      - Patrol Reward [ Claim Unlimited ]

      - Growth Pack Unlock

      - Growth Pack [ Claim Unlimited ]

      - Monthly card Pack Unlock

      - Monthly card Pack [ Claim Unlimited ]


      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
        • Thanks
        • Winner
        • Like
      • 49 replies
    • Legend of Survivors V1.2.8 [ +17 Cheats ] Currency Max
      Modded/Hacked App: Legend of Survivors By ABI GLOBAL LTD.
      Bundle ID: com.abi.legendofsurvivors
      iTunes Store Link: https://apps.apple.com/us/app/legend-of-survivors/id6489580730?uo=4


      Hack Features:
      - IAP Free [ Buy Anything - Gems Gold Ads Premium Packs ]

      - NO ADS

      - Gems 

      - Gold

      - Energy 

      - Material

      - Health Max [ Equip & Upgrade ]

      - Damage [ Equip & Upgrade ]

      - Skill Cooldown

      - EXP + Level [ Patrol Reward ]

      - Patrol Reward [ Claim Unlimited ]

      - Growth Pack Unlock

      - Growth Pack [ Claim Unlimited ]

      - Monthly card Pack Unlock

      - Monthly card Pack [ Claim Unlimited ]
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 132 replies
    • Kitchen Masters v15.0.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
        • Agree
        • Thanks
        • Like
      • 6 replies
    • Kitchen Masters v15.0.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
        • Haha
        • Like
      • 11 replies
    • Score Masters v2.2 [ +7 Jailed ] Always Win
      Modded/Hacked App: Score Masters By SKYLOFT YAZILIM BILISIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.bh.hypergoal
      iTunes Store Link: https://apps.apple.com/us/app/score-masters/id6473402760?uo=4


      🚀 Hack Features

      - Auto ADS Disable

      - Gems [ Mission Rewards ]

      - Coins [ Mission Rewards ]

      - Player Score 20 Max

      - Always Win Player

      - AI Score 0

      - AI Miss
        • Informative
        • Like
      • 5 replies
    • Score Masters v2.2 [ +7 Cheats ] Always Win
      Modded/Hacked App: Score Masters By SKYLOFT YAZILIM BILISIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.bh.hypergoal
      iTunes Store Link: https://apps.apple.com/us/app/score-masters/id6473402760?uo=4


      🚀 Hack Features

      - Auto ADS Disable

      - Gems [ Mission Rewards ]

      - Coins [ Mission Rewards ]

      - Player Score 20 Max

      - Always Win Player

      - AI Score 0

      - AI Miss
        • Thanks
        • Winner
        • Like
      • 8 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