Jump to content

Crypto

Senior Member
  • Posts

    3,170
  • Joined

  • Last visited

Everything posted by Crypto

  1. Compiling Tweak.xm... Tweak.xm:29:12: error: assigning to 'double' from incompatible type 'NSNumber * _Nonnull' ...= [NSNumber numberWithInt:GetPrefDouble(@"kMoney")]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.
  2. Basically with Mobile terminal or Mterminal, you can make tweaks, patchers and all kinds of things. But you kinda need some knowledge in coding I guess. You can pretty much do anything with it if you know what you're doing. If you want to learn how to create some things, you can always check out the tutorial section to enhance your knowledge in hacking or wtv you're trying to do
  3. #define PLIST_PATH @"/var/mobile/Library/Preferences/terapref.plist" #import <UIKit/UIKit.h> inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } #include <Foundation/Foundation.h> %hook GNGame -(void) setGenesisPoints:(int)arg1 { if(GetPrefBool(@"kGenesis")) { arg1 = 999999; } return %orig; } %end %hook GNGame - (void)setMoney:(double)arg1 { if(GetPrefBool(@"kMoney")) { arg1 = [NSNumber numberWithInt:GetPrefDouble(@"kMoney")]; } } %end %hook AppDelegate -(BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"IosGods" message:@"TeraGenesis Cheat By Crypto" delegate:self cancelButtonTitle:@"Thanks!" otherButtonTitles:@"For more hacks, Click Here!", nil]; [alert show]; [alert release]; return %orig(); %new } -(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex { if(buttonIndex !=alertView.cancelButtonIndex) { [[uIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.iosgods.com]]; } } %end -------------------------------------------------------- I have like 15 other classes but They all have 1 argument and I need to know how to make 1 PSEditTextCell so I can use it on all the other classes.
  4. Welcome
  5. Welcome
  6. Welcome
  7. You should remove it
  8. I tried but I get the same error with diff names lol
  9. Welcome
  10. Putting this : %hook GNGame - (void)setMoney:(double)sexyass { sexyass = [NSDictionary dictionaryWithContentsOfFile:[NSString stringWithFormat:@"/var/mobile/Library/Preferences/terapref.plist"]]; return [[elvis objectForKey:@"kMoney"] intValue]; } %end Gives me this error : Tweak.xm:22:9: error: assigning to 'double' from incompatible type 'NSDictionary * _Nullable' ...= [NSDictionary dictionaryWithContentsOfFile:[NSString stringWithFormat:@"/var/mobile/Library/Preferences/terapref.plist"]]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tweak.xm:23:10: error: use of undeclared identifier 'elvis' return [[elvis objectForKey:@"kMoney"] doubleValue]; ^ 2 errors generated. make[2]: *** [obj/Tweak.xm.b8bb7c1d.o] Error 1 make[1]: *** [internal-library-all_] Error 2 make: *** [terahack.all.tweak.variables] Error 2
  11. Tweak.xm:22:11: error: unexpected interface name 'NSDictionary': expected expression sexyass = NSDictionary *elvis = [NSDictionary dictiona... ^ Tweak.xm:22:25: error: use of undeclared identifier 'elvis' sexyass = NSDictionary *elvis = [NSDictionary dictiona... ^ Tweak.xm:23:10: error: use of undeclared identifier 'elvis' return [[elvis objectForKey:@"money"] intValue]; ^ 3 errors generated.
  12. I'll try that and what do you mean if I read it? Okay I get it now, the thing is you don't quote me so I don't get a notification lol.
  13. Download Filza, open the settings and use WEBdav server. It's quick
  14. Hello, I'm trying to follow this tutorial here https://iosgods.com/topic/1737-tutorial-how-to-add-psedittextcell-in-a-patcher/ But it seems that it only explains how to use it with only 1 value. I have a (void):(double) , how would my tweak.xm look like if I want to put an argument? This is what I have at the moment : #define PLIST_PATH @"/var/mobile/Library/Preferences/terapref.plist" #import <UIKit/UIKit.h> inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } #include <Foundation/Foundation.h> %hook GNGame -(void) setMoney:(double)arg1 { if(GetPrefBool(@"kMoney")) { arg1 = ; return %orig; } %end NSDictionary *iosgods = [NSDictionary dictionaryWithContentsOfFile:[NSString stringWithFormat:@"/var/mobile/Library/Preferences/terapref.plist"]]; return [[iosgods objectForKey:@"kMoney"] intValue]; } %end I get this error : Tweak.xm:23:8: error: expected expression arg1 = ; ^ Tweak.xm:28:1: error: void function '_logos_method$_ungrouped$GNGame$setMoney$' should not return a value [-Wreturn-type] return [[iosgods objectForKey:@"kMoney"] intValue]; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated.
  15. Welcome
  16. Don't tell people to get XModGames, it's full of malware and viruses.
  17. Could you show me an exemple of how a (void):(int) would work with the second link? I can't seem to figure it out
  18. Is the back a save file or a cydia substrate cheat?
×
  • 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