Jump to content

 Something great is coming! 🚀

Stay tuned for the big reveal happening here on iOSGods on the 17th of December!

The countdown has finished!

%end does not make sense inside block


Go to solution Solved by Ted2,

25 posts in this topic

Recommended Posts

Posted

Here's my code :

  • %hook GADDevice
  • +{bool) jailbroken {
  • Return FALSE;
  • }
  • %end

and my error :

Tweak.xm:56: error: %end does not make sense inside a block
 

  • Replies 24
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted
6 minutes ago, Archangel04 said:

Post the entire code.

There is a missing } above somewhere in the code 

%hook AppDelegate

-(void)applicationDidBecomeActive:(id)arg { 

UIAlertView *credits = [[UIAlertView alloc] initWithTitle:@"Enjoy losing wihtout worrying about money" 
                                                  message:@"Hacked by Orgempire & Demi-God!!" 
                                                 delegate:self 
                                        cancelButtonTitle:@"Okay i'll" 
                                        otherButtonTitles:@" ", nil]; 
[credits show];
[credits release]; 
return %orig;
}
%end

%hook UADSDevice
+(bool) isRooted {
Return FALSE;
}
%end

%hook UADSApiDeviceInfo
+(void) WebViewExposed_isRooted:(id)arg1 {
    arg1 = NULL
}
%end

%hook JailBreakChecks
+(bool) isApplicationCrackd {
Return FALSE;
}
%end

%hook FYB JailbreakStatusProvider
+(bool) isJailbroken {
Return FALSE;
}
%end

%hook JailBreakChecks
+(bool) isDeviceJailbroken {
Return FALSE;
}
%end

%hook JailBreakChecks
+(bool) isApplicationTamperedWith {
Return FALSE;
}
%end

%hook GADDevice
+{bool) jailbroken {
Return TRUE;
}
%end

%hook FYBJailbreakStatusProvider
-(id) dictionaryWithKeyValueParameters {
}
%end

%hook MenuScratchCardNode
-(bool) isScratched {
Return TRUE;
}
%end

%hook UserInfo
-(Unsigned int) fp8 getConsumableAmountOfType:(int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfo
-(void) setConsumableAmountOfType:(int)fp8 Amount:(Unsigned int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfo
-(void) IncrementConsumableAmountOfType:(int)fp8 Amount:(int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfoDebug
-(void) setDebugIsPayingUser:(bool) arg1 {
    arg1 = NULL
}
%end

%hook UserInfoDebug
-(bool) isPayingUser {
Return  TRUE 
}
%end

%hook UserInfo
-(bool) isPayingUser {
Return  TRUE 
}
%end

%hook UserInfo
-(Void) setIsPayingUser:(bool) arg1 {
    arg1 = TRUE
}
%end

Posted (edited)

Your code w/ fixed message text

%hook AppDelegate

-(void)applicationDidBecomeActive:(id)arg { 

UIAlertView *credits = [[UIAlertView alloc] initWithTitle:@"Enjoy losing without worrying about money" 
                                                  message:@"Hacked by Orgempire & Demi-God!!" 
                                                 delegate:self 
                                        cancelButtonTitle:@"Okay I will!" 
                                        otherButtonTitles:@" ", nil]; 
[credits show];
[credits release]; 
return %orig;
}
%end

%hook UADSDevice
+(bool) isRooted {
Return FALSE;
}
%end

%hook UADSApiDeviceInfo
+(void) WebViewExposed_isRooted:(id)arg1 {
    arg1 = NULL
}
%end

%hook JailBreakChecks
+(bool) isApplicationCrackd {
Return FALSE;
}
%end

%hook FYB JailbreakStatusProvider
+(bool) isJailbroken {
Return FALSE;
}
%end

%hook JailBreakChecks
+(bool) isDeviceJailbroken {
Return FALSE;
}
%end

%hook JailBreakChecks
+(bool) isApplicationTamperedWith {
Return FALSE;
}
%end

%hook GADDevice
+{bool) jailbroken {
Return TRUE;
}
%end

%hook FYBJailbreakStatusProvider
-(id) dictionaryWithKeyValueParameters {
}
%end

%hook MenuScratchCardNode
-(bool) isScratched {
Return TRUE;
}
%end

%hook UserInfo
-(Unsigned int) fp8 getConsumableAmountOfType:(int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfo
-(void) setConsumableAmountOfType:(int)fp8 Amount:(Unsigned int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfo
-(void) IncrementConsumableAmountOfType:(int)fp8 Amount:(int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfoDebug
-(void) setDebugIsPayingUser:(bool) arg1 {
    arg1 = NULL
}
%end

%hook UserInfoDebug
-(bool) isPayingUser {
Return  TRUE 
}
%end

%hook UserInfo
-(bool) isPayingUser {
Return  TRUE 
}
%end

%hook UserInfo
-(Void) setIsPayingUser:(bool) arg1 {
    arg1 = TRUE
}
%end

I'm no genius but I think having the open and closed bracket pro after each other with no return might be causing an issue because this line is completely useless without a return. Maybe had NULL to it.

%hook FYBJailbreakStatusProvider
-(id) dictionaryWithKeyValueParameters {
}
%end

Try this.     (Added a return of 'NULL')

%hook AppDelegate

-(void)applicationDidBecomeActive:(id)arg { 

UIAlertView *credits = [[UIAlertView alloc] initWithTitle:@"Enjoy losing without worrying about money" 
                                                  message:@"Hacked by Orgempire & Demi-God!!" 
                                                 delegate:self 
                                        cancelButtonTitle:@"Okay I will!" 
                                        otherButtonTitles:@" ", nil]; 
[credits show];
[credits release]; 
return %orig;
}
%end

%hook UADSDevice
+(bool) isRooted {
Return FALSE;
}
%end

%hook UADSApiDeviceInfo
+(void) WebViewExposed_isRooted:(id)arg1 {
    arg1 = NULL
}
%end

%hook JailBreakChecks
+(bool) isApplicationCrackd {
Return FALSE;
}
%end

%hook FYB JailbreakStatusProvider
+(bool) isJailbroken {
Return FALSE;
}
%end

%hook JailBreakChecks
+(bool) isDeviceJailbroken {
Return FALSE;
}
%end

%hook JailBreakChecks
+(bool) isApplicationTamperedWith {
Return FALSE;
}
%end

%hook GADDevice
+{bool) jailbroken {
Return TRUE;
}
%end

%hook FYBJailbreakStatusProvider
-(id) dictionaryWithKeyValueParameters {
Return NULL
}
%end

%hook MenuScratchCardNode
-(bool) isScratched {
Return TRUE;
}
%end

%hook UserInfo
-(Unsigned int) fp8 getConsumableAmountOfType:(int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfo
-(void) setConsumableAmountOfType:(int)fp8 Amount:(Unsigned int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfo
-(void) IncrementConsumableAmountOfType:(int)fp8 Amount:(int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfoDebug
-(void) setDebugIsPayingUser:(bool) arg1 {
    arg1 = NULL
}
%end

%hook UserInfoDebug
-(bool) isPayingUser {
Return  TRUE 
}
%end

%hook UserInfo
-(bool) isPayingUser {
Return  TRUE 
}
%end

%hook UserInfo
-(Void) setIsPayingUser:(bool) arg1 {
    arg1 = TRUE
}
%end

Hope it fixes the issue!  (y)

Updated by Fadexz
Added text "(Added a return of NULL)"
Posted
7 minutes ago, Fadexz said:

Your code w/ fixed message text


%hook AppDelegate

-(void)applicationDidBecomeActive:(id)arg { 

UIAlertView *credits = [[UIAlertView alloc] initWithTitle:@"Enjoy losing without worrying about money" 
                                                  message:@"Hacked by Orgempire & Demi-God!!" 
                                                 delegate:self 
                                        cancelButtonTitle:@"Okay I will!" 
                                        otherButtonTitles:@" ", nil]; 
[credits show];
[credits release]; 
return %orig;
}
%end

%hook UADSDevice
+(bool) isRooted {
Return FALSE;
}
%end

%hook UADSApiDeviceInfo
+(void) WebViewExposed_isRooted:(id)arg1 {
    arg1 = NULL
}
%end

%hook JailBreakChecks
+(bool) isApplicationCrackd {
Return FALSE;
}
%end

%hook FYB JailbreakStatusProvider
+(bool) isJailbroken {
Return FALSE;
}
%end

%hook JailBreakChecks
+(bool) isDeviceJailbroken {
Return FALSE;
}
%end

%hook JailBreakChecks
+(bool) isApplicationTamperedWith {
Return FALSE;
}
%end

%hook GADDevice
+{bool) jailbroken {
Return TRUE;
}
%end

%hook FYBJailbreakStatusProvider
-(id) dictionaryWithKeyValueParameters {
}
%end

%hook MenuScratchCardNode
-(bool) isScratched {
Return TRUE;
}
%end

%hook UserInfo
-(Unsigned int) fp8 getConsumableAmountOfType:(int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfo
-(void) setConsumableAmountOfType:(int)fp8 Amount:(Unsigned int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfo
-(void) IncrementConsumableAmountOfType:(int)fp8 Amount:(int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfoDebug
-(void) setDebugIsPayingUser:(bool) arg1 {
    arg1 = NULL
}
%end

%hook UserInfoDebug
-(bool) isPayingUser {
Return  TRUE 
}
%end

%hook UserInfo
-(bool) isPayingUser {
Return  TRUE 
}
%end

%hook UserInfo
-(Void) setIsPayingUser:(bool) arg1 {
    arg1 = TRUE
}
%end

I'm no genius but I think having the open and closed bracket pro after each other with no return might be causing an issue because this line is completely useless without a return. Maybe had NULL to it.


%hook FYBJailbreakStatusProvider
-(id) dictionaryWithKeyValueParameters {
}
%end

Try this.


%hook AppDelegate

-(void)applicationDidBecomeActive:(id)arg { 

UIAlertView *credits = [[UIAlertView alloc] initWithTitle:@"Enjoy losing without worrying about money" 
                                                  message:@"Hacked by Orgempire & Demi-God!!" 
                                                 delegate:self 
                                        cancelButtonTitle:@"Okay I will!" 
                                        otherButtonTitles:@" ", nil]; 
[credits show];
[credits release]; 
return %orig;
}
%end

%hook UADSDevice
+(bool) isRooted {
Return FALSE;
}
%end

%hook UADSApiDeviceInfo
+(void) WebViewExposed_isRooted:(id)arg1 {
    arg1 = NULL
}
%end

%hook JailBreakChecks
+(bool) isApplicationCrackd {
Return FALSE;
}
%end

%hook FYB JailbreakStatusProvider
+(bool) isJailbroken {
Return FALSE;
}
%end

%hook JailBreakChecks
+(bool) isDeviceJailbroken {
Return FALSE;
}
%end

%hook JailBreakChecks
+(bool) isApplicationTamperedWith {
Return FALSE;
}
%end

%hook GADDevice
+{bool) jailbroken {
Return TRUE;
}
%end

%hook FYBJailbreakStatusProvider
-(id) dictionaryWithKeyValueParameters {
Return NULL
}
%end

%hook MenuScratchCardNode
-(bool) isScratched {
Return TRUE;
}
%end

%hook UserInfo
-(Unsigned int) fp8 getConsumableAmountOfType:(int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfo
-(void) setConsumableAmountOfType:(int)fp8 Amount:(Unsigned int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfo
-(void) IncrementConsumableAmountOfType:(int)fp8 Amount:(int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

%hook UserInfoDebug
-(void) setDebugIsPayingUser:(bool) arg1 {
    arg1 = NULL
}
%end

%hook UserInfoDebug
-(bool) isPayingUser {
Return  TRUE 
}
%end

%hook UserInfo
-(bool) isPayingUser {
Return  TRUE 
}
%end

%hook UserInfo
-(Void) setIsPayingUser:(bool) arg1 {
    arg1 = TRUE
}
%end

Hope it fixes the issue!  (y)

Ughh still gives the same error ! Its so annoying -.- like tell me how to fix when you give error x'D 

Posted

You can usually find answer on the errors but yea I don't really know myself.

Sometimes it'll tell you what line it was on and you just count how many lines down it is on.

Posted
7 minutes ago, Fadexz said:

You can usually find answer on the errors but yea I don't really know myself.

Sometimes it'll tell you what line it was on and you just count how many lines down it is on.

its the 56 one but its just like the others normal hook and end /: thats what i don't get xD

  • Solution
Posted
1 hour ago, Demi-God said:

hook GADDevice
+{bool) jailbroken {
Return TRUE;
}
%end

+{bool) --> Note the "{" instead of "("

 

Also, cleaner code here:

https://ghostbin.com/paste/jnt3a

2 minutes ago, Demi-God said:

its the 56 one but its just like the others normal hook and end /: thats what i don't get xD

Yes obviously, try to code in sublime & then change this to objective C: XN2IlQY.png

 

Then you go to the line 56 & you'll see there's a mistake in it:

Notice the pink thingy: IRpvfiq.png

 

If you don't have sublime, you can always post it in Ghostbin & select Obj C to see what's wrong

Posted
16 minutes ago, Ted2 said:

+{bool) --> Note the "{" instead of "("

 

Also, cleaner code here:

https://ghostbin.com/paste/jnt3a

Yes obviously, try to code in sublime & then change this to objective C: XN2IlQY.png

 

Then you go to the line 56 & you'll see there's a mistake in it:

Notice the pink thingy: IRpvfiq.png

 

If you don't have sublime, you can always post it in Ghostbin & select Obj C to see what's wrong

Thanks a lot ! This helped a lot and i fixed some other mistyped words too, now i'm down to one more error 

Its on this line 


%hook UserInfo
-(unsigned int) fp8 getConsumableAmountOfType:(int)fp12 {
fp8 = 1;
fp12 = 1;
%orig;
}
%end

 

error : expected function after function declarator 


-(unsigned int) fp8 getConsumableAmountOfType:(int)fp12

^

17 minutes ago, Ted2 said:

Also, you returned it TRUE, which I don't think you want. But not sure ofcourse ;)

haha yeah i fixed that one too x'D thanks 

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

    • Bluey's Quest for The Gold Pen v1.1.1 +3++ Debug Mode
      Modded/Hacked App: Bluey: Let's Play! By Budge Studios
      Bundle ID: com.budgestudios.BlueyBLU
      App Store Link: https://apps.apple.com/us/app/bluey-lets-play/id1669091583?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Unlock full game
      - Debug mode
      - Unlimited currency
        • Informative
      • 3 replies
    • Zombie Roguebie: Shooting Game v1.2.2 Jailed Cheats +9
      Modded/Hacked App: Zombie Roguebie: Shooting Game By Metajoy Limited
      Bundle ID: com.boom.zombie.survival
      App Store Link: https://apps.apple.com/us/app/zombie-roguebie-shooting-game/id6752294198?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Infinite Ammo
      - No Reload
      - High Pickup Range
      - Premium

      ViP
      - God Mode
      - High Damage
      - High Fire Rate
      - Freeze Currencies
      - Unlock All Guns

       

      Jailbroken Hack: https://iosgods.com/topic/203205-zombie-roguebie-shooting-game-cheats-v122-9/


      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/203204-zombie-roguebie-shooting-game-v122-jailed-cheats-9/
      • 2 replies
    • Jolly Match 3 - Puzzle Game v1.0.2199 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Jolly Match 3 - Puzzle Game By Jollyco LLC
      Bundle ID: com.jollyco.jollybattlematch3
      App Store Link: https://apps.apple.com/us/app/jolly-match-3-puzzle-game/id1554274735?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
        • Like
      • 15 replies
    • Jolly Match 3 - Puzzle Game v1.0.2199 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Jolly Match 3 - Puzzle Game By Jollyco LLC
      Bundle ID: com.jollyco.jollybattlematch3
      App Store Link: https://apps.apple.com/us/app/jolly-match-3-puzzle-game/id1554274735?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
        • Like
      • 16 replies
    • Hello Town: Merge & Succeed v3.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Hello Town By Springcomes Co., Ltd.
      Bundle ID: com.spcomes.hellotown
      iTunes Store Link: https://apps.apple.com/us/app/hello-town/id6737850281?uo=4


      Hack Features

      - Diamonds
      - Gold
      - Energy Freeze



      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/
        • Agree
        • Thanks
        • Winner
        • Like
      • 30 replies
    • Hello Town: Merge & Succeed v3.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Hello Town By Springcomes Co., Ltd.
      Bundle ID: com.spcomes.hellotown
      iTunes Store Link: https://apps.apple.com/us/app/hello-town/id6737850281?uo=4

       

      Hack Features

      - Diamonds
      - Gold
      - Energy Freeze



      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 29 replies
    • Mr Autofire v4.4.4 [ +12 Cheats ] Currency Max
      Modded/Hacked App: Mr Autofire By Lightheart Entertainment Oy
      Bundle ID: games.lightheart.mrautofire
      iTunes Store Link: https://apps.apple.com/us/app/mr-autofire/id1483457500?uo=4


      Hack Features:
      - N0 ADS [ Reward Free ]

      - Damage 

      - Health 

      - Pet Damage

      - Rome Clear [ 1 Wave Clear ]

      Level Rearwards 

      [ Gems - Silver - Pet Card - Hero Card - Guns Card ]
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 60 replies
    • Mr Autofire v4.4.4 [ +12 Jailed ] Currency Max
      Modded/Hacked App: Mr Autofire By Lightheart Entertainment Oy
      Bundle ID: games.lightheart.mrautofire
      iTunes Store Link: https://apps.apple.com/us/app/mr-autofire/id1483457500?uo=4


      Hack Features:

      - N0 ADS [ Reward Free ]

      - Damage 

      - Health 

      - Pet Damage

      - Rome Clear [ 1 Wave Clear ]

      Level Rearwards 

      [ Gems - Silver - Pet Card - Hero Card - Guns Card ]
        • Informative
        • Agree
        • Haha
        • Thanks
        • Like
      • 29 replies
    • Adventure Bay - Farm Games v1.54.14 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Adventure Bay - Farm Games By Gamegos Teknoloji A.S.
      Bundle ID: com.gamegos.adventure.bay.paradise.farm
      iTunes Store Link: https://apps.apple.com/us/app/adventure-bay-farm-games/id1578449819?uo=4


      🤩 Hack Features

      - Gems
      - Coins
      - Energy
      - Avatar Unlock
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 58 replies
    • Adventure Bay - Farm Games v1.54.14 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Adventure Bay - Farm Games By Gamegos Teknoloji A.S.
      Bundle ID: com.gamegos.adventure.bay.paradise.farm
      iTunes Store Link: https://apps.apple.com/us/app/adventure-bay-farm-games/id1578449819?uo=4
       

      🤩 Hack Features

      - Gems
      - Coins
      - Energy
      - Avatar Unlock
        • Informative
        • Thanks
        • Like
      • 46 replies
    • Dragon Wings: RPG Shoot em up v1.14.2 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Dragon Wings: RPG Shoot 'em up By Spirit Bomb Company Limited
      Bundle ID: rpg.arcade.space.shooter.dragon.wings
      App Store Link: https://apps.apple.com/us/app/dragon-wings-rpg-shoot-em-up/id6741735947?uo=4

       

      🤩 Hack Features

      - Super Card Active

      - Gems

      - Gold

      - Never Die

      - ATK 
        • Informative
        • Agree
        • Like
      • 33 replies
    • Dragon Wings: RPG Shoot em up v1.14.2 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Dragon Wings: RPG Shoot 'em up By Spirit Bomb Company Limited
      Bundle ID: rpg.arcade.space.shooter.dragon.wings
      App Store Link: https://apps.apple.com/us/app/dragon-wings-rpg-shoot-em-up/id6741735947?uo=4
       

      🤩 Hack Features

      - Super Card Active

      - Gems

      - Gold

      - Never Die

      - ATK 
        • Thanks
        • Winner
        • Like
      • 33 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