Skip to content
Guest Big Announcement

.deb terminal errors! I'm beginner

Featured Replies

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
  • Views 4.6k
  • Created
  • Last Reply

Top Posters In This Topic

  • Author

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

You tryna hack Crazy Kings huh?

 

:lol: 

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 :)

Could've sworn they didn't work for me when I had to deal with them :b

I have no idea what you did :lol:

  • Author

I have no idea what you did :lol:

did yours have unlimited tickets

And how did you make it a .deb

Updated by Jacksonlane24

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.