Jump to content

CodeName9

Senior Member
  • Posts

    355
  • Joined

  • Last visited

Everything posted by CodeName9

  1. yes the error comes up it says Tweak.xm:3:1: error: redefinition of 'Level' as different kind of symbol@class Level; @class Player; @class GameState; ^
  2. Jacksons-iPad:~ mobile$ suPassword: Jacksons-iPad:/var/mobile root# cd /var/mobile/crazykingspatchv1 Jacksons-iPad:/var/mobile/crazykingspatchv1 root# make package /var/mobile/crazykingspatchv1/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang. /var/mobile/crazykingspatchv1/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries. Making all for tweak crazykingspatchv1... Preprocessing Tweak.xm... Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Compiling Tweak.xm... Tweak.xm:3:1: error: redefinition of 'Level' as different kind of symbol @class Level; @class Player; @class GameState; ^ /var/mobile/crazykingspatchv1/theos/include/QuartzCore/QuartzCore-Structs.h:114:22: note: previous definition is here typedef struct Level Level; ^ 1 error generated. make[2]: *** [obj/Tweak.xm.49859382.o] Error 1 make[1]: *** [internal-library-all_] Error 2 make: *** [crazykingspatchv1.all.tweak.variables] Error 2 Jacksons-iPad:/var/mobile/crazykingspatchv1 root#
  3. ill show you when I take it off it makes another error
  4. it needs to be there cause one of the errors said that and when I put it there one of the errors went
  5. %hook GameState -(int) gems { return 9999999; } -(int) max_stars { return 9999999; } -(int) total_stars { return 9999999; } -(int) max_energy { return 9999999; } -(int) max_crowns { return 9999999; } -(int) tickets { return 9999999; } -(int) energy_play_cost_level { return 1; } -(int) total_crowns { return 9999999; } -(int) energy { return 9999999; } -(int) energy_refill_count { return 9999999; } -(int) energy_reward_count { return 9999999; } %end %hook @Level -(int) coins { return 9999999; } %end %hook Player -(int) get_energy { return 9999999; } %end
  6. Got rid of 5 errors just the ones at bottom now Jacksons-iPad:~ mobile$ su Password: Jacksons-iPad:/var/mobile root# cd /var/mobile/crazykingspatchv1 Jacksons-iPad:/var/mobile/crazykingspatchv1 root# make package /var/mobile/crazykingspatchv1/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang. /var/mobile/crazykingspatchv1/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries. Making all for tweak crazykingspatchv1... Preprocessing Tweak.xm... Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Tweak.xm:67: error: dangling %end make[2]: *** [obj/Tweak.xm.49859382.o] Error 255 make[1]: *** [internal-library-all_] Error 2 make: *** [crazykingspatchv1.all.tweak.variables] Error 2 Jacksons-iPad:/var/mobile/crazykingspatchv1 root#
  7. could you help me with the errors
  8. how did you make it a .deb
  9. And add the cost for when the game starts you could make it 1 or 0 or something like that
  10. to upgrade troops when game starts
  11. did yours have unlimited ticketsAnd how did you make it a .deb
  12. it was a test lol any ideas?
  13. Ok hold on %hook GameState-(int) gems { return 9999999; } -(int) max_stars { return 9999999; } -(int) total_stars { return 9999999; } -(int) max_energy { return 9999999; } -(int) max_crowns { return 9999999; } -(int) tickets { return 9999999; } -(int) energy_play_cost_level { return 1; } -(int) total_crowns { return 9999999; } -(int) energy { return 9999999; } -(int) energy_refill_count { return 9999999; } -(int) energy_reward_count { return 9999999; } -(void) setEnergy:(int) { return 9999999; } %end %hook Level -(int) coins { return 9999999; } %end %hook Player -(int) get_energy { return 9999999; } %end
  14. Heyy as in the title I am beginner and I am trying to make a .deb in the terminal but I keep getting errors /var/mobile/crazykingspatchv1/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang. /var/mobile/crazykingspatchv1/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries. Making all for tweak crazykingspatchv1... Preprocessing Tweak.xm... Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. Compiling Tweak.xm... Tweak.xm:3:1: error: redefinition of 'Level' as different kind of symbol @class Level; @class Player; @class GameState; ^ /var/mobile/crazykingspatchv1/theos/include/QuartzCore/QuartzCore-Structs.h:114:22: note: previous definition is here typedef struct Level Level; ^ Tweak.xm:35:85: error: expected class member or base class name static void _logos_method$_ungrouped$GameState$setEnergy(GameState* self, SEL _cmd):(int) { ^ Tweak.xm:35:85: error: expected '{' or ',' Tweak.xm:35:84: error: only constructors take base initializers static void _logos_method$_ungrouped$GameState$setEnergy(GameState* self, SEL _cmd):(int) { ^ Tweak.xm:36:4: error: void function '_logos_method$_ungrouped$GameState$setEnergy' should not return a value [-Wreturn-type] return 9999999; ^ ~~~~~~~ 5 errors generated. make[2]: *** [obj/Tweak.xm.49859382.o] Error 1 make[1]: *** [internal-library-all_] Error 2 make: *** [crazykingspatchv1.all.tweak.variables] Error 2 Any ideas btw I made this patch too see weather I can make one lol
  15. On my game player it doesn't have the thing where you can modify all values at once how do I get it ?
  16. It's always says connection lost
×
  • 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