Jump to content

Help (Tweaks)


Go to solution Solved by FuroowHD,

35 posts in this topic

Recommended Posts

Posted

@Al00X Try this:
 

hook PBGlobalStatistic

-(int)money {
return 99999;
}

-(int)coinsCount {
return 99999;
}

-(BOOL)itemIsBought:(id) {
return TRUE;
}

-(BOOL)buyItemWithPrice:(int)inCoins:(BOOL) {
return TRUE;
}

-(int)money {
return 99999;
}
%end

%hook PBExperienceManager

-(float)experienceForNextLevel {
return 0.1;
}

-(float)experienceForLevel:(unsigned int) {
return 0.1;
}
%end

%hook BMNotepadBaseItemCell

-(BOOL)itemBought {
return TRUE;
}
%end
  • Replies 34
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted

 

Try this:

 

 Preprocessing Tweak.xm...
 Compiling Tweak.xm...
Tweak.xm:4:756: error: redefinition of
      '_logos_orig$_ungrouped$PBGlobalStatistic$money'
  ...SEL); static int (*_logos_orig$_ungrouped$PBGlobalStatistic$money)(PBGlo...
                        ^
Tweak.xm:4:14: note: previous definition is here
static int (*_logos_orig$_ungrouped$PBGlobalStatistic$money)(PBGlobalSta...
             ^
Tweak.xm:19:12: error: redefinition of
      '_logos_method$_ungrouped$PBGlobalStatistic$money'
static int _logos_method$_ungrouped$PBGlobalStatistic$money(PBGlobalStat...
           ^
Tweak.xm:3:12: note: previous definition is here
static int _logos_method$_ungrouped$PBGlobalStatistic$money(PBGlobalStat...
           ^
2 errors generated.
make[2]: *** [obj/Tweak.xm.b45140c6.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [KickTheBuddy2_Hack.all.tweak.variables] Error 2
alis-iPad:/var/mobile/Projects/kickthebuddy2_hack root# make package
/var/mobile/Projects/kickthebuddy2_hack/theos/makefiles/targets/Darwin-arm/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/Projects/kickthebuddy2_hack/theos/makefiles/targets/Darwin-arm/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak KickTheBuddy2_Hack...
 Preprocessing Tweak.xm...
 Compiling Tweak.xm...
Tweak.xm:4:778: error: redefinition of
      '_logos_orig$_ungrouped$PBGlobalStatistic$money'
  ...SEL, int); static int (*_logos_orig$_ungrouped$PBGlobalStatistic$money)(...
                             ^
Tweak.xm:4:14: note: previous definition is here
static int (*_logos_orig$_ungrouped$PBGlobalStatistic$money)(PBGlobalSta...
             ^
Tweak.xm:17:122: error: expected class member or base class name
  ...self, SEL _cmd, int inCoins):(BOOL) {
                                  ^
Tweak.xm:17:122: error: expected '{' or ','
Tweak.xm:17:121: error: only constructors take base initializers
  ...self, SEL _cmd, int inCoins):(BOOL) {
                                 ^
Tweak.xm:18:78: error: too many arguments to function call, expected 3, have 5
_logos_orig$_ungrouped$PBGlobalStatistic$buyItemWithPrice$(self, _cmd, TRUE, 1, TRUE);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                   ^~~~~~~
Tweak.xm:21:12: error: redefinition of
      '_logos_method$_ungrouped$PBGlobalStatistic$money'
static int _logos_method$_ungrouped$PBGlobalStatistic$money(PBGlobalStat...
           ^
Tweak.xm:3:12: note: previous definition is here
static int _logos_method$_ungrouped$PBGlobalStatistic$money(PBGlobalStat...
           ^
Tweak.xm:32:115: error: expected class member or base class name
  ...self, SEL _cmd):(unsigned int) {
                     ^
Tweak.xm:32:115: error: expected '{' or ','
Tweak.xm:32:114: error: only constructors take base initializers
  ...self, SEL _cmd):(unsigned int) {
                    ^
Tweak.xm:33:75: error: too many arguments to function call, expected 2, have 4
_logos_orig$_ungrouped$PBExperienceManager$experienceForLevel(self, _cmd, 1, 1);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^~~~
10 errors generated.

 

@Al00X Try this:

 

hook PBGlobalStatistic

-(int)money {
return 99999;
}

-(int)coinsCount {
return 99999;
}

-(BOOL)itemIsBought:(id) {
return TRUE;
}

-(BOOL)buyItemWithPrice:(int)inCoins:(BOOL) {
return TRUE;
}

-(int)money {
return 99999;
}
%end

%hook PBExperienceManager

-(float)experienceForNextLevel {
return 0.1;
}

-(float)experienceForLevel:(unsigned int) {
return 0.1;
}
%end

%hook BMNotepadBaseItemCell

-(BOOL)itemBought {
return TRUE;
}
%end

Won't Work ;(

Posted

 

 

Try this:

 

 Preprocessing Tweak.xm...
 Compiling Tweak.xm...
Tweak.xm:4:756: error: redefinition of
      '_logos_orig$_ungrouped$PBGlobalStatistic$money'
  ...SEL); static int (*_logos_orig$_ungrouped$PBGlobalStatistic$money)(PBGlo...
                        ^
Tweak.xm:4:14: note: previous definition is here
static int (*_logos_orig$_ungrouped$PBGlobalStatistic$money)(PBGlobalSta...
             ^
Tweak.xm:19:12: error: redefinition of
      '_logos_method$_ungrouped$PBGlobalStatistic$money'
static int _logos_method$_ungrouped$PBGlobalStatistic$money(PBGlobalStat...
           ^
Tweak.xm:3:12: note: previous definition is here
static int _logos_method$_ungrouped$PBGlobalStatistic$money(PBGlobalStat...
           ^
2 errors generated.
make[2]: *** [obj/Tweak.xm.b45140c6.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [KickTheBuddy2_Hack.all.tweak.variables] Error 2
alis-iPad:/var/mobile/Projects/kickthebuddy2_hack root# make package
/var/mobile/Projects/kickthebuddy2_hack/theos/makefiles/targets/Darwin-arm/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/Projects/kickthebuddy2_hack/theos/makefiles/targets/Darwin-arm/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak KickTheBuddy2_Hack...
 Preprocessing Tweak.xm...
 Compiling Tweak.xm...
Tweak.xm:4:778: error: redefinition of
      '_logos_orig$_ungrouped$PBGlobalStatistic$money'
  ...SEL, int); static int (*_logos_orig$_ungrouped$PBGlobalStatistic$money)(...
                             ^
Tweak.xm:4:14: note: previous definition is here
static int (*_logos_orig$_ungrouped$PBGlobalStatistic$money)(PBGlobalSta...
             ^
Tweak.xm:17:122: error: expected class member or base class name
  ...self, SEL _cmd, int inCoins):(BOOL) {
                                  ^
Tweak.xm:17:122: error: expected '{' or ','
Tweak.xm:17:121: error: only constructors take base initializers
  ...self, SEL _cmd, int inCoins):(BOOL) {
                                 ^
Tweak.xm:18:78: error: too many arguments to function call, expected 3, have 5
_logos_orig$_ungrouped$PBGlobalStatistic$buyItemWithPrice$(self, _cmd, TRUE, 1, TRUE);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                   ^~~~~~~
Tweak.xm:21:12: error: redefinition of
      '_logos_method$_ungrouped$PBGlobalStatistic$money'
static int _logos_method$_ungrouped$PBGlobalStatistic$money(PBGlobalStat...
           ^
Tweak.xm:3:12: note: previous definition is here
static int _logos_method$_ungrouped$PBGlobalStatistic$money(PBGlobalStat...
           ^
Tweak.xm:32:115: error: expected class member or base class name
  ...self, SEL _cmd):(unsigned int) {
                     ^
Tweak.xm:32:115: error: expected '{' or ','
Tweak.xm:32:114: error: only constructors take base initializers
  ...self, SEL _cmd):(unsigned int) {
                    ^
Tweak.xm:33:75: error: too many arguments to function call, expected 2, have 4
_logos_orig$_ungrouped$PBExperienceManager$experienceForLevel(self, _cmd, 1, 1);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^~~~
10 errors generated.

 

Looks like an error with your theos. :3 Did you install it correctly?

Posted

Lol ok i install it Again

Extract the SDK using iFile. :3

 

I get the same error too btw -_-

Posted

Extract the SDK using iFile. :3

 

I get the same error too btw -_-

ok

ok

done. and not worked

 

Extract the SDK using iFile. :3

 

I get the same error too btw -_-

done. And not worked

Posted

Take a look at this working tweak.xm  for buddyman:

%hook BMMenuItemStars
- (void)setStarsCount:(unsigned int)fp8 animated:(BOOL)fp12 {
fp12=true;
fp8=999999999;
%orig(fp8, fp12);
}
%end

%hook PBSlotsManager
-(unsigned int)getSpinsCount {
return 999999999;
}
%end

%hook PBGlobalStatistic
-(int)coinsCount {
return 999999999;
}
%end

Add your extra stuff but follow the above code.

Posted

Take a look at this working tweak.xm  for buddyman:

%hook BMMenuItemStars
- (void)setStarsCount:(unsigned int)fp8 animated:(BOOL)fp12 {
fp12=true;
fp8=999999999;
%orig(fp8, fp12);
}
%end

%hook PBSlotsManager
-(unsigned int)getSpinsCount {
return 999999999;
}
%end

%hook PBGlobalStatistic
-(int)coinsCount {
return 999999999;
}
%end

Add your extra stuff but follow the above code.

Dude..... i want to make buddyman 2 

Guest
This topic is now closed to further replies.
  • Our picks

    • Metal Slug Rush v1.0.0 [ +9 APK MOD ] Currency Max
      Mod APK Game Name: Metal Slug Rush
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ringgames.msm

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Like
      • 0 replies
    • Metal Slug Rush v1.0.0 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Thanks
        • Like
      • 1 reply
    • Metal Slug Rush v1.0.0 [ +9 jailed ] Currency Max
      Modded/Hacked App: Metal Slug Rush By REVIVECONTENTS CO.,LTD.
      Bundle ID: com.ringgames.msm
      App Store Link: https://apps.apple.com/us/app/metal-slug-rush/id6775727338?uo=4

      🤩 Hack Features

      - Unlimited Gold
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Silver keys
      - Unlimited Golden Keys
      - Unlimited Special Keys
      - Unlimited Blueprint
      - Unlimited Token
      - Unlimited Ticket +3
        • Like
      • 2 replies
    • Pixel Mage: Idle RPG +10 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Pixel Mage: Idle RPG By StreetComplete
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.streetcomplete.pixelmagician

       

      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
        • Like
      • 0 replies
    • Pixel Mage: Idle RPG +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Pixel Mage: Idle RPG By YONGJIN JO
      Bundle ID: com.streetcomplete.pixelmagician
      App Store Link: https://apps.apple.com/us/app/pixel-mage-idle-rpg/id6741889270?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Attack/Move Speed Multiplier
      - Freeze Gold
      - Unlimited Gold -> Will increase instead of decrease.
      - Freeze Blue Diamonds
      - Unlimited Blue Diamonds -> Will increase instead of decrease.
      - Freeze Red Diamonds
      - Unlimited Red Diamonds -> Will increase instead of decrease.
      - Freeze Purple Diamonds
      - Unlimited Purple Diamonds -> Will increase instead of decrease.
        • Winner
        • Like
      • 6 replies
    • Toy Brawlers: Arena Fight +3 Mods [ Damage & Defence ]
      Mod APK Game Name: Toy Brawlers: Arena Fight By Studıo Gamebıt Yazılım Ve Teknoloji Ltd. Şti.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.studiogamebit.toybrawlers

       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Winner
      • 0 replies
    • Bullet Boy v41 [ +1 Cheats ] Gems Max
      Modded/Hacked App: Bullet Boy By Outbox SRL
      Bundle ID: com.pomelogames.BulletBoy
      App Store Link: https://apps.apple.com/us/app/bullet-boy/id899606169?uo=4

      🤩 Hack Features

      - Gems Max
        • Like
      • 0 replies
    • Bullet Boy v41 [ +1 Jailed ] Gems Max
      Modded/Hacked App: Bullet Boy By Outbox SRL
      Bundle ID: com.pomelogames.BulletBoy
      App Store Link: https://apps.apple.com/us/app/bullet-boy/id899606169?uo=4

      🤩 Hack Features

      - Gems Max
        • Like
      • 2 replies
    • AmaZeus: Merge & Shoot v1.4.37 [ +6 Jailed ] ATK MAX
      Modded/Hacked App: AmaZeus: Merge & Shoot By Geisha Tokyo Inc.
      Bundle ID: com.merge.shooter
      App Store Link: https://apps.apple.com/us/app/amazeus-merge-shoot/id6742771024?uo=4

      🤩 Hack Features

      - Energy Max
      - Always Last Wave
      - AKF Rewards
      Hero Stats
      - HP Freeze
      - ATK MAX
      Enemy Stats
      - ATK 0
        • Like
      • 2 replies
    • AmaZeus: Merge & Shoot v1.4.37 [ +6 Cheats ] ATK MAX
      Modded/Hacked App: AmaZeus: Merge & Shoot By Geisha Tokyo Inc.
      Bundle ID: com.merge.shooter
      App Store Link: https://apps.apple.com/us/app/amazeus-merge-shoot/id6742771024?uo=4
      🤩 Hack Features

      - Energy Max
      - Always Last Wave
      - AKF Rewards
      Hero Stats
      - HP Freeze
      - ATK MAX
      Enemy Stats
      - ATK 0
        • Like
      • 3 replies
    • Mini DAYZ 2 +4 Jailed Cheats [ ESP Boxes, Lines ]
      Modded/Hacked App: Mini DAYZ 2 By Bohemia Interactive AS
      Bundle ID: com.bistudio.minidayz2
      App Store Link: https://apps.apple.com/us/app/mini-dayz-2/id1482111801?uo=4

       


      🤩 Hack Features

      - Ally ESP Boxes
      - Ally ESP Lines
      - Ally ESP Health
      - Ally ESP Distance
      - Enemy ESP Boxes
      - Enemy ESP Lines
      - Enemy ESP Health
      - Enemy ESP Distance
        • Agree
        • Haha
        • Like
      • 7 replies
    • Haikyuu!! ( ハイキュー!! ) TOUCH AND CONNECT +4 Mods [ Auto Win ]
      Mod APK Game Name: ハイキュー!! TOUCH AND CONNECT By G Holdings co., ltd.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.gholdings.haicone

       

      🤩 Hack Features

      - Unlimited Score
      - Freeze Moves
      - Freeze In-Game Timer
      - Auto Win
        • Winner
        • Like
      • 0 replies
×
  • 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