Jump to content

NoHax

Senior Member
  • Posts

    481
  • Joined

  • Last visited

Everything posted by NoHax

  1. Thanks! That gets me much further than last time but now I get Battleplans.mm:1:9: fatal error: 'Preferences/Preferences.h' file not found #import <Preferences/Preferences.h>
  2. So I'm trying to compile a tweak and I get this error Tweak.xm:13:13: error: implicit conversion from 'long long' to 'vm_address_t' (aka 'unsigned int') changes value from 4301296116 to 6328820 [-Werror,-Wconstant-conversion] writeData(0x1006091F4, 0xBF430191); 1 error generated. make[3]: *** [/Users/NoHax/battleplans/.theos/obj/debug/armv7/Tweak.xm.38e5c0ff.o] Error 1 make[2]: *** [/Users/NoHax/battleplans/.theos/obj/debug/armv7/Battleplans.dylib] Error 2 make[1]: *** [internal-library-all_] Error 2 make: *** [Battleplans.all.tweak.variables] Error 2 Here's my tweak.xm #import "writeData.h" #import <Foundation/Foundation.h> #import <substrate.h> #define PLIST_PATH @"/var/mobile/Library/Preferences/com.c4m.battleplans.plist" inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } %ctor { if(GetPrefBool(@"ADD")) { writeData(0x1006091F4, 0xBF430191); } else { } } %hook AppDelegate // Change this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc. - (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { UIAlertView *igcredits = [[UIAlertView alloc] initWithTitle:@"Battleplans Cheats" message:@"\nBattleplans Cheats by NoHax for iOSGods.com" delegate:self cancelButtonTitle:@"Thanks" otherButtonTitles:@"Visit Us", nil]; [igcredits show]; [igcredits release]; return %orig(); } %new -(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex { NSString *button = [alertView buttonTitleAtIndex:buttonIndex]; if([button isEqualToString:@"Visit Us"]) { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://iosgods.com/"]]; } } %end
  3. Thanks! Would you say it's easier to make a patcher or a mod menu using templates on the forum?
  4. So the title basically explains it. I've used lldb to find the offsets for both gold and gems, but they are both the same function? Heres what lldb spat out -> 0x1006891e8 <+6328808>: ldr w8, [x19, #0x50] 0x1006891ec <+6328812>: add w8, w8, #0x1 ; =0x1 0x1006891f0 <+6328816>: str w8, [x19, #0x50] 0x1006891f4 <+6328820>: sub sp, x29, #0x50 ; =0x50 So I was thinking of changing that sub to an add, and because the gold and gems are the same function they would both add instead of subtracting? If I'm wrong could someone correct me and if possible tell me how to do it right. Also if I am right how would I make it work in my tweak? I've been trying to put it into this http://armconverter.com/codeinjectgenerator/ but I'm not sure what to put in some of the boxes, like the preferences.plist and the key name and switch name
  5. Mate, click the -in the hidden content.
  6. Alright, I'll add that in the instructions.
  7. Hmmm, are you searching them both as I32 values? When I searched the money I got I got around 3000 and when I searched my experience as a I32 value it narrowed it down to about 20.
  8. The IGG? That means it's a problem with IGG, not my DIY. Try reinstalling your IGG
  9. So I'm trying to compile a tweak in theos on a mac, but when I try and compile I get the error message xcrun: error: SDK "iphoneos" cannot be located I'm assuming this is because I'm on a mac and I don't have the ios SDK. Can anyone give me a download or point me in the right direction?
  10. If you mean something like IGameGuardian or GamePlayer your out of luck mate.
  11. Tactile Wars v1.6.2iTunes URL: https://itunes.apple.com/gb/app/tactile-wars/id892320294?mt=8&uo=4&at=1010lce4 DIY Requirements:- Jailbroken iPhone/iPad/iPod Touch.- IGameGuardian DIY Features:- Infinite Coins - Max level Instructions: [Hidden Content] Prisms (Kinda) [Hidden Content] Credits: - @NoHax - @Jax2120 for figuring prisms aren't server sided.
  12. Requested award: Winner! Proof:
×
  • 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