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

    • Loot Heroes v1.6.9 +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Loot Heroes: Fantasy RPG Games By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes-fantasy-rpg-games/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - All Skins Unlocked
      - No Skill Cooldown
      - No Ads

      VIP
      - Unlimited Currencies -> Earn some.
      - Auto Win
      - Battle Pass Unlocked
      • 114 replies
    • Loot Heroes v1.6.9 +10 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Loot Heroes By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - All Skins Unlocked
      - No Skill Cooldown
      - No Ads

      VIP
      - Unlimited Currencies -> Earn some.
      - Auto Win
      - Battle Pass Unlocked
      • 256 replies
    • Nightfall: Kingdom Frontier TD v1.0.404 +8 Jailed Cheats [ Currencies ]
      Modded/Hacked App: Nightfall: Kingdom Frontier TD By Fansipan Limited
      Bundle ID: com.fansipan.nightfall.tower.simulation.strategy.td.game
      iTunes Store Link: https://apps.apple.com/us/app/nightfall-kingdom-frontier-td/id6621272416?uo=4


      Hack Features:
      - God Mode
      - Unlimited In-Game Coins -> Will increase instead of decrease.
      - Unlimited Currencies -> Will increase instead of decrease.
      - No Ads
      - Add 1K Currency -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All Features -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All / Everything ->  Head over to Settings and toggle the Discord button. [ VIP ]
      - Complete Tutorial -> Head over to Settings and toggle the Discord button. [ VIP ]


      Jailbreak required hack(s): [Mod Menu Hack] Nightfall: Kingdom Frontier TD v1.0.41 +8 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 94 replies
    • Dawn of Ages: Medieval Games v2.0.5 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled
      • 54 replies
    • Dawn of Ages: Medieval Games v2.0.5 +5 Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled
      • 32 replies
    • Goblins Wood: Tycoon Idle Sim v2.49.1 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Goblins Wood: Tycoon Idle Sim By ProGamesLab LTD
      Bundle ID: idle.goblins.wood.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/goblins-wood-tycoon-idle-sim/id6446766326?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Goblins Wood: Tycoon Idle Sim v2.42.0 +1++ Cheat [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 26 replies
    • Goblins Wood: Tycoon Idle Sim v2.49.1 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Goblins Wood: Tycoon Idle Sim By ProGamesLab LTD
      Bundle ID: idle.goblins.wood.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/goblins-wood-tycoon-idle-sim/id6446766326?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Goblins Wood: Tycoon Idle Sim v2.42.0 +1++ Jailed Cheat [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 33 replies
    • Nightfall: Kingdom Frontier TD v1.0.404 +8 Cheats [ Currencies ]
      Modded/Hacked App: Nightfall: Kingdom Frontier TD By Fansipan Limited
      Bundle ID: com.fansipan.nightfall.tower.simulation.strategy.td.game
      iTunes Store Link: https://apps.apple.com/us/app/nightfall-kingdom-frontier-td/id6621272416?uo=4


      Hack Features:
      - God Mode
      - Unlimited In-Game Coins -> Will increase instead of decrease.
      - Unlimited Currencies -> Will increase instead of decrease.
      - No Ads
      - Add 1K Currency -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All Features -> Head over to Settings and toggle the Discord button. [ VIP ]
      - Unlock All / Everything ->  Head over to Settings and toggle the Discord button. [ VIP ]
      - Complete Tutorial -> Head over to Settings and toggle the Discord button. [ VIP ]


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Nightfall: Kingdom Frontier TD v1.0.41 +8 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 106 replies
    • Hitman: Blood Money — Reprisal v1.3 +5++ Jailed Cheats [ Cheats Menu ]
      Modded/Hacked App: Hitman: Blood Money — Reprisal By Feral Interactive Ltd
      Bundle ID: com.feralinteractive.hitmanbloodmoney-ios
      App Store Link: https://apps.apple.com/us/app/hitman-blood-money-reprisal/id1631331207?uo=4

       


      🤩 Hack Features

      - Freeze Ammo
      - Freeze Reserve Ammo
      - Insane Fire Rate
      - Unlimited Cash -> Earn or spend some.
      - Cheats Menu -> Pause in-game and scroll to the bottom. See picture below for more!

      Full Game unlock isn't possible. I've tried, trust me. Either pay or not, it's up to you.
      • 0 replies
    • Hitman: Blood Money — Reprisal v1.3 +5++ Cheats [ Cheats Menu ]
      Modded/Hacked App: Hitman: Blood Money — Reprisal By Feral Interactive Ltd
      Bundle ID: com.feralinteractive.hitmanbloodmoney-ios
      App Store Link: https://apps.apple.com/us/app/hitman-blood-money-reprisal/id1631331207?uo=4

       
       

      🤩 Hack Features

      - Freeze Ammo
      - Freeze Reserve Ammo
      - Insane Fire Rate
      - Unlimited Cash -> Earn or spend some.
      - Cheats Menu -> Pause in-game and scroll to the bottom. See picture below for more!

      Full Game unlock isn't possible. I've tried, trust me. Either pay or not, it's up to you.
      • 0 replies
    • Final Outpost v2.3.18 [+3 Jailed Cheats]
      Modded/Hacked App: Final Outpost By Exabyte Games Ltd
      Bundle ID: com.samclothier.DEADfense
      iTunes Store Link: https://apps.apple.com/us/app/final-outpost/id1425444801?uo=4



      🤩 Hack Features

      -  Always Enough Resources
      -  Always Attain Skill
      -  No Food Consume
      • 18 replies
    • Final Outpost v2.3.18 [+3 Cheats]
      Modded/Hacked App: Final Outpost By Exabyte Games Ltd
      Bundle ID: com.samclothier.DEADfense
      iTunes Store Link: https://apps.apple.com/us/app/final-outpost/id1425444801?uo=4

       

      🤩 Hack Features

      -  Always Enough Resources
      -  Always Attain Skill
      -  No Food Consume
      • 14 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