Jump to content

34 posts in this topic

Recommended Posts

Posted

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

  • Replies 33
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted

Ok hold on

Show tweak.xm

  

Show me your tweak.xm

%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

Posted

I don't think you can hack methods that have an underscore, but I'm not positive on that

You can :) I did it for Crazy Kings :)

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
×
  • 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