Jump to content

18 posts in this topic

Recommended Posts

Posted (edited)

Hello :D so I've got a new cheat on going but and now when im trying to compile it it says error with one hook i did, here is the hook whats causing problem;

 

%hook Transaction

-(void) setCoins:(long long) fp8 {

fp8 = 1000;

%orig(fp8);

}

%end

 

in terminal it saying:

 modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42. 

 Compiling Tweak.xm...
Tweak.xm:7:141: error: redefinition of 'Transaction'
      as different kind of symbol
  ...@class StatusPanelAgent; @class Transaction; 
                              ^
/var/mobile/holiday/theos/include/QuartzCore/QuartzCore-Structs.h:138:3: note: 
      previous definition is here
} Transaction;
  ^
Tweak.xm:6:129: error: expected function body after
      function declarator
  ...self, SEL _cmd) fp8 {
                     ^
2 errors generated.
make[2]: *** [obj/Tweak.xm.5a107aa2.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [Holiday.all.tweak.variables] Error 2
g-eazy:/var/mobile/holiday root# 
 
any help is highly appreciated! 
Updated by profq
Posted

 

%hook transaction
-(void)setCoins:(long long)fp8 {
%orig;
fp8 = 1000;
}
%end

 

Think it as order. First is void then long long.

Posted (edited)

 

%hook transaction-(void)setCoins:(long long)fp8 {%orig;fp8 = 1000;}%end
Think it as order. First is void then long long.
It's whe other way around because after %orig; the function is complete and doesn't execute fp8 anymore

 

 

 

You need to write stuff properly: "Transaction" and not "transaction"

Also remove QuartzCore from tweakname_FRAMEWORKS in your Makefile

Updated by castix
Posted
%hook transaction
-(void)setCoins:(long long)fp8 {
%orig;
fp8 = 1000;
}
%end

Think it as order. First is void then long long.

 

still getting an error i can send the tweak 

#import <UIKit/UIKit.h>

#import <substrate.h>

#import <Foundation/Foundation.h>

 

%hook DatabaseSecurityAgent

-(BOOL)hasUserStoreBeenTamperedWhith fp8 {

fp8=false;

%orig(fp8);

}

%end

 

%hook StatusPanelAgent

-(void) setCoins:(long long) fp8{

fp8 = 1000;

%orig(fp8);

}

%end

 

%hook Transaction

-(void)setCoins:(long long)fp8{

%orig

fp8 = 1000;

}

%end

 

%hook LootModel

-(void) setCoins:(long long) fp8{

fp8 = 1000;

%orig(fp8);

}

%end

 

%hook IAPItem

-(id) advertisementDialog fp8{

%orig

fp8=(null);

}

%end

 

%hook SurvivorConfig

-(float) landCoinCostExponent fp8 {

fp8 = 0;

%orig(fp8);

}

 

-(void) setLandCostExponent:(float)fp8 {

fp8 = 0;

%orig(fp8);

}

%end

 

%hook SurvivorAppDelegate

 

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.

UIAlertView *igcredits = [[uIAlertView alloc] initWithTitle:@"Holiday Cheats"

message:@"\nHoliday Cheats by profq for iOSGods.com"

delegate:self

cancelButtonTitle:@"Thanks"

otherButtonTitles:@"Visit Us", nil];

[igcredits show];

[igcredits release];

return %orig();

}

 

%new

-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {

 

NSString *button = [alertView buttonTitleAtIndex:buttonIndex];

 

if([button isEqualToString:@"Visit Us"])

{

[[uIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://iosgods.com/]];

}

}

%end

this is my second time making a tweak so i guarantee that i've done stuff wrong :(

Posted

It's whe other way around because after %orig; the function is complete and doesn't execute fp8 anymore

 

 

 

You need to write stuff properly: "Transaction" and not "transaction"

Also remove QuartzCore from tweakname_FRAMEWORKS in your Makefile

i dont have QuartzCore in my makefile

Posted (edited)

 

%hook Transaction
 
-(void)setCoins:(long long)fp8 {
%orig(1000);
 
}
 
%end
Updated by Pro
Posted (edited)

Im getting this after trying all you guys suggestions: Tweak.xm:7:84: error: redefinition of 'Transaction'
as different kind of symbol
...@class SurvivorAppDelegate; @class Transactio...
^
/var/mobile/holiday/theos/include/QuartzCore/QuartzCore-Structs.h:138:3: note:
previous definition is here
} Transaction;
^
Tweak.xm:6:129: error: expected function body after
function declarator
...self, SEL _cmd) fp8 {
^
2 errors generated.
make[2]: *** [obj/Tweak.xm.5a107aa2.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [Holiday.all.tweak.variables] Error 2
g-eazy:/var/mobile/holiday root#

Updated by profq

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
  • Our picks

    • DESERTOPIA v4.21.0 [ +1 Cheats ] Gems Max
      Modded/Hacked App: DESERTOPIA By Gamtropy Co., Ltd.
      Bundle ID: com.gamtropy.desertopia
      iTunes Store Link: https://apps.apple.com/us/app/desertopia/id1265572046?uo=4


      🤩 Hack Features

      - Gems Max [ Earn Some ]
      • 5 replies
    • DESERTOPIA v4.21.0 [ +1 Jailed ] Gems Max
      Modded/Hacked App: DESERTOPIA By Gamtropy Co., Ltd.
      Bundle ID: com.gamtropy.desertopia
      iTunes Store Link: https://apps.apple.com/us/app/desertopia/id1265572046?uo=4
       

      🤩 Hack Features

      - Gems Max [ Earn Some ]
      • 2 replies
    • From Pawn to King - Idle RPG v6.2.1 [ +18 Jailed ] Currency Max
      Modded/Hacked App: From Pawn to King - Idle RPG By Toward Inc.
      Bundle ID: com.towardmobile.fromsoldiertoking
      iTunes Store Link: https://apps.apple.com/us/app/from-pawn-to-king-idle-rpg/id1645843355?uo=4


      Hack Features:

      - ADS NO [ Reward Free ]

      - Speed UP 2x

      - Gems 

      - Gold 

      - Smelt Stone 

      - Mileage Point 

      - Normal Raid Ticket 

      - Quest Completed [ Earn 1 Point ]

      - Heroes Ticket +6 

      - Heroes LvL Up Medal 

      - Heroes LvL Up Magic Stone 

      - Stage Pass Unlocked [ Premium ]

      - Mine LvL Up [ Gems Reward Unlimited ]

      - ATK Speed 

      - Hero Status

      - Enemy Status 

      - Boss Status 

      - Boss Time Unlimited
      • 27 replies
    • From Pawn to King - Idle RPG v6.2.1 [ +18 Cheats ] Currency Max
      Modded/Hacked App: From Pawn to King - Idle RPG By Toward Inc.
      Bundle ID: com.towardmobile.fromsoldiertoking
      iTunes Store Link: https://apps.apple.com/us/app/from-pawn-to-king-idle-rpg/id1645843355?uo=4


      Hack Features:
      - ADS NO [ Reward Free ]

      - Speed UP 2x

      - Gems 

      - Gold 

      - Smelt Stone 

      - Mileage Point 

      - Normal Raid Ticket 

      - Quest Completed [ Earn 1 Point ]

      - Heroes Ticket +6 

      - Heroes LvL Up Medal 

      - Heroes LvL Up Magic Stone 

      - Stage Pass Unlocked [ Premium ]

      - Mine LvL Up [ Gems Reward Unlimited ]

      - ATK Speed 

      - Hero Status

      - Enemy Status 

      - Boss Status 

      - Boss Time Unlimited

      • 44 replies
    • Dream Resort - Match 3 Games v1.7.1 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Dream Resort - Match 3 Games By F.O.G LIMITED
      Bundle ID: com.dream.resort.candy.match.mania.ios
      iTunes Store Link: https://apps.apple.com/us/app/dream-resort-match-3-games/id6737011572?uo=4
       

      🚀 Hack Features

      - Auto ADS Disable

      - Coins

      - Diamonds

      - Lives Cost

      - Moves Freeze

      - Booster [ Buy Get Unlimited After use Then work ]

      - Auto win 


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 29 replies
    • Dream Resort - Match 3 Games v1.7.1 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Dream Resort - Match 3 Games By F.O.G LIMITED
      Bundle ID: com.dream.resort.candy.match.mania.ios
      iTunes Store Link: https://apps.apple.com/us/app/dream-resort-match-3-games/id6737011572?uo=4

       

      🔧 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Cydia, Sileo or Zebra).

       

      🚀 Hack Features

      - Auto ADS Disable

      - Coins

      - Diamonds

      - Lives Cost

      - Moves Freeze

      - Booster [ Buy Get Unlimited After use Then work ]

      - Auto win 


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 28 replies
    • Paradise Paws: Merge Animals v1.0.18 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Animal Sanctuary By Wildlife Studios, Inc
      Bundle ID: com.wildlifestudios.merge.animal.sanctuary
      App Store Link: https://apps.apple.com/us/app/animal-sanctuary/id6741805691?uo=4
       

      🤩 Hack Features

      - Gems

      - Coins

      - Heart

      - Spin

      - LvL

      - Exp

      - Fog Auto Remove [ Linked With LvL ]

      - Premum Lands Unlocked [ Just Tap ]

      - Store Free [ IAP Not ]

      Note:- Game Close After Currency Hack Don't Worry
      • 35 replies
    • Paradise Paws: Merge Animals v1.0.18 [ +9 Jailed ] Currency Max
      Modded/Hacked App: Animal Sanctuary By Wildlife Studios, Inc
      Bundle ID: com.wildlifestudios.merge.animal.sanctuary
      App Store Link: https://apps.apple.com/us/app/animal-sanctuary/id6741805691?uo=4


      🤩 Hack Features

      - Gems

      - Coins

      - Heart

      - Spin

      - LvL

      - Exp

      - Fog Auto Remove [ Linked With LvL ]

      - Premum Lands Unlocked [ Just Tap ]

      - Store Free [ IAP Not ]

      Note:- Game Close After Currency Hack Don't Worry
      • 34 replies
    • Bloody Bastards Cheats v4.2.3 +2
      Modded/Hacked App: Bloody Bastards By Tibith Ltd
      Bundle ID: com.tibith.badboxing2
      iTunes Store Link: https://apps.apple.com/us/app/bloody-bastards/id1593430099?uo=4


      Hack Features:
      - Infinite Coins
      - Dumb Enemy (Single Player)


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/158327-bloody-bastards-v315-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/158325-bloody-bastards-cheats-v315-2/
      • 168 replies
    • Hungry Shark World v7.2.2 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Hungry Shark World By Ubisoft
      Bundle ID: com.ubisoft.hungrysharkworld
      iTunes Store Link: https://apps.apple.com/us/app/hungry-shark-world/id1046846443?uo=4


      Hack Features:
      - ADS NO

      - Gems

      - Coins 

      - Pearls 

      - Premium Pass

      - Health Auto Drain [ OFF ]

      - Boost Max 

      - Score Multi 

      - Revive Max 


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 81 replies
    • Vampirio: Defend & Survive v1.3.6 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Vampirio: Defend & Survive By Outfit7 Neo Limited
      Bundle ID: com.outfit7neo.onehelsing
      App Store Link: https://apps.apple.com/ph/app/vampirio-defend-survive/id6670539564?uo=4

       

      🤩 Hack Features

      - Currency Max [ Disable After Get ]
      - Resources Max [ Use Only Resources - Disable After Get ] Becasue Linked Population When You Build Disable OtherWise Crash

      • 12 replies
    • Vampirio: Defend & Survive v1.3.6 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Vampirio: Defend & Survive By Outfit7 Neo Limited
      Bundle ID: com.outfit7neo.onehelsing
      App Store Link: https://apps.apple.com/ph/app/vampirio-defend-survive/id6670539564?uo=4


      🤩 Hack Features

      - Currency Max [ Disable After Get ]
      - Resources [ Use Only Resources - Disable After Get ] Becasue Linked Population When You Build Disable OtherWise Crash
      • 16 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