Jump to content

Ted2

Senior Member
  • Posts

    4,933
  • Joined

  • Last visited

Everything posted by Ted2

  1. you need to set the correct bundle, otherwise it doesn't know where to inject to edit; oh just saw you already figured that out yourself.
  2. You're not getting the same error if you've replaced your old hook with the one I provided. I just tested this on my machine. However, your tweak.xm is full of errors. It's probably best if you go online to learn the basics of programming syntax. Alternatively, for every change you make to the tweak.xm, do a "make package", so you know exactly when you did something wrong. Because right now, there are multiple errors in multiple places.
  3. Your hook function is written wrong, it should be; float(*old_GetGhostMaxSpeed)(void *this_); float GetGhostMaxSpeed(void *this_) { if([switches isSwitchOn:@"SpeedHack"]) { return old_GetGhostMaxSpeed * [[switches getValueFromSwitch:@"SpeedHack"] floatValue]; } // Note I'm closing the if statement here!!!!!!!!!!!!! return old_GetGhostMaxSpeed(this_); }
  4. For anyone that uses my mod menu template, it should now support the palera1n jailbreak. Xina jailbreak no idea, but you can give it a try.

  5. You'll have to write your own Objective-C code, as the menu does not support this by default.
  6. It might be that the template I used in this guide is outdated for theos. You could try to make a menu instead with this template: https://github.com/joeyjurjens/iOS-Mod-Menu-Template-for-Theos
  7. Hmm, pretty strange. Could you try and change this "5": https://github.com/joeyjurjens/iOS-Mod-Menu-Template-for-Theos/blob/master/template/Tweak.xm#L111 In your tweak.xm to 15 or something? Maybe the framework isn't properly loaded yet for some reason. Otherwise I've no idea why it wouldn't work tbh.
  8. Don't keep boilerplate patches that come with the template. Only patch the offset you want and check if it's still crashing. If it is, post a crashlog so we can see what it says.
  9. Try these sdks: https://github.com/theos/sdks, download them and extract in the sdks folder. Then run: make clean package and see if that works.
  10. How did you install theos? And which SDK did you download?
  11. Hello, see an example below on how you can patch hooks with the Mod Menu: // Your hooks go above the void setup function %hook GenericShopCardDescription -(bool)hasBike { if([switches isSwitchOn:NSSENCRYPT("Unlock all bikes")]) { return true; } return %orig; } %end // Inside the void setup function you create the switch [switches addSwitch:NSSENCRYPT("Unlock all bikes") description:NSSENCRYPT("") ]; If you still can't get it to work, you can shoot me a PM and I'll try to help your from there!
  12. Yo, on what phone are you compiling? And what tutorial did you follow to install theos
  13. What happens if you type make clean package? Pretty weird it tries to compile armv7 even though u removed it
  14. Hello, what does your makefile look like? It looks like you’re trying to build arm32 but a iOS that does not support arm32 anymore. remove arm7 from makefile and try again
  15. You can’t do memory patches on NJB phones, so that’s why it’s crashing
×
  • 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