Jump to content

Error: %orig does not make sense outside a block


Go to solution Solved by Rook,

4 posts in this topic

Recommended Posts

Posted (edited)

https://ghostbin.com/paste/pdmb9 --> that funcs i added recently to my hack

%hook BMEnergyCounter
-(float)energyCount {
if(GetPrefBool(@"kswag6"))
{
return 999999999;
}
return %orig;
}

-(void)setEnergyCount:(float)fp8 {
if(GetPrefBool(@"kswag6)) {
fp8=999999999;
}
return %orig;
}
%end

But i got this
dMW4v5R.jpg
So any mistakes in the funcs ?

Updated by DiDA
  • Solution
Posted

You forgot a quotation at 

 

 

-(void)setEnergyCount:(float)fp8 {
if(GetPrefBool(@"kswag6")) {

%hook BMEnergyCounter
-(float)energyCount {
if(GetPrefBool(@"kswag6"))
{
return 999999999;
}
return %orig;
}

-(void)setEnergyCount:(float)fp8 {
if(GetPrefBool(@"kswag6")) {
fp8=999999999;
}
return %orig;
}
%end
Posted (edited)

[success]Problem solved. Topic locked.

 

If you have any more questions... you know what to do :p (create a new support topic)[/success]

Updated by ZahirSher

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

    • ACECRAFT v1.3.73 [+5 Jailed Cheats]
      Modded/Hacked App: ACECRAFT By VIZTA PTE. LTD.
      Bundle ID: com.vizta.wefly
      App Store Link: https://apps.apple.com/ca/app/acecraft/id6499112583?uo=4


       

      🤩 Hack Features

      - Never Die
      - One Hit Kill
      - High Energy Gain (Ultimate Skill)
      - Exp Gain Multiplier
      - Attack Multiplier
      • 39 replies
    • ACECRAFT v1.3.73 [+5 Cheats]
      Modded/Hacked App: ACECRAFT By VIZTA PTE. LTD.
      Bundle ID: com.vizta.wefly
      App Store Link: https://apps.apple.com/ca/app/acecraft/id6499112583?uo=4



      🤩 Hack Features

      - Never Die
      - One Hit Kill
      - High Energy Gain (Ultimate Skill)
      - Exp Gain Multiplier
      - Attack Multiplier
      • 18 replies
    • Legend of Survivors V1.2.12 [ +17 Jailed ] Currency Max
      Modded/Hacked App: Legend of Survivors By ABI GLOBAL LTD.
      Bundle ID: com.abi.legendofsurvivors
      iTunes Store Link: https://apps.apple.com/us/app/legend-of-survivors/id6489580730?uo=4


      Hack Features:

      - NO ADS

      - Gems 

      - Gold

      - Energy 

      - Material

      - Health Max [ Equip & Upgrade ]

      - Damage [ Equip & Upgrade ]

      - Skill Cooldown

      - EXP + Level [ Patrol Reward ]

      - Patrol Reward [ Claim Unlimited ]

      - Growth Pack Unlock

      - Growth Pack [ Claim Unlimited ]

      - Monthly card Pack Unlock

      - Monthly card Pack [ Claim Unlimited ]


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 60 replies
    • Legend of Survivors V1.2.12 [ +17 Cheats ] Currency Max
      Modded/Hacked App: Legend of Survivors By ABI GLOBAL LTD.
      Bundle ID: com.abi.legendofsurvivors
      iTunes Store Link: https://apps.apple.com/us/app/legend-of-survivors/id6489580730?uo=4


      Hack Features:
      - IAP Free [ Buy Anything - Gems Gold Ads Premium Packs ]

      - NO ADS

      - Gems 

      - Gold

      - Energy 

      - Material

      - Health Max [ Equip & Upgrade ]

      - Damage [ Equip & Upgrade ]

      - Skill Cooldown

      - EXP + Level [ Patrol Reward ]

      - Patrol Reward [ Claim Unlimited ]

      - Growth Pack Unlock

      - Growth Pack [ Claim Unlimited ]

      - Monthly card Pack Unlock

      - Monthly card Pack [ Claim Unlimited ]
      • 139 replies
    • Chef Treat v1.0.4 [ +1 Cheats ] Auto Win
      Modded/Hacked App: Chef Treat By HONGKONG 707 INTERACTIVE TECHNOLOGY CO., LIMITED
      Bundle ID: com.match.cheftreat.ios
      App Store Link: https://apps.apple.com/us/app/chef-treat/id6748721903?uo=4


      🤩 Hack Features

      - Auto Win


      • 2 replies
    • Chef Treat v1.0.4 [ +1 Jailed ] Auto Win
      Modded/Hacked App: Chef Treat By HONGKONG 707 INTERACTIVE TECHNOLOGY CO., LIMITED
      Bundle ID: com.match.cheftreat.ios
      App Store Link: https://apps.apple.com/ph/app/chef-treat/id6748721903?uo=4

       
      🤩 Hack Features

      - Auto Win


      • 3 replies
    • North War: Island Defense 3D v1.1.1 [ +6 Cheats ] Currency Max
      Modded/Hacked App: North War: Island Defense 3D By ONDI TECHNOLOGY JSC
      Bundle ID: com.bgg.island.battle
      App Store Link: https://apps.apple.com/ph/app/north-war-island-defense-3d/id6744058107?uo=4 

      🤩 Hack Features

      - Unlimited Gems / Use & Earn
      - Unlimited Coins / Use & Earn
      - Unlimited Energy / Use & Earn
      • 12 replies
    • North War: Island Defense 3D v1.1.1 [ +6 Jailed ] Currency Max
      Modded/Hacked App: North War: Island Defense 3D By ONDI TECHNOLOGY JSC
      Bundle ID: com.bgg.island.battle
      App Store Link: https://apps.apple.com/ph/app/north-war-island-defense-3d/id6744058107?uo=4 

      🤩 Hack Features

      - Unlimited Gems / Use & Earn
      - Unlimited Coins / Use & Earn
      - Unlimited Energy / Use & Earn
      • 6 replies
    • Zombie Blaster-Survive&Rescue v1.0.4 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Zombie Blaster-Survive&Rescue By Shenzhen Hijoy Information Technology Co., Ltd
      Bundle ID: com.sfromance.zombieblaster
      App Store Link: https://apps.apple.com/us/app/zombie-blaster-survive-rescue/id6749564079?uo=4

       
      🤩 Hack Features

      - Gems

      - Gold

      - Energy

      - Keys +2

      - Shader

      - Battle Coins

      - ATK Weapon
      • 4 replies
    • Zombie Blaster-Survive&Rescue v1.0.4 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Zombie Blaster-Survive&Rescue By Shenzhen Hijoy Information Technology Co., Ltd
      Bundle ID: com.sfromance.zombieblaster
      App Store Link: https://apps.apple.com/us/app/zombie-blaster-survive-rescue/id6749564079?uo=4

       

      🤩 Hack Features

      - Gems

      - Gold

      - Energy

      - Keys +2

      - Shader

      - Battle Coins

      - ATK Weapon
      • 2 replies
    • RiftCraft v2.44.30 [ +4 Jailed ] Auto Win
      Modded/Hacked App: RiftCraft By Sneaky Panda LTD
      Bundle ID: com.sneakypanda.riftcraft
      App Store Link: https://apps.apple.com/us/app/riftcraft/id6744392381?uo=4
       

      🤩 Hack Features

      - Auto Win [ PvP & Stage ]
      - ADS [ Rewards Free ]
      - Gems
      - Tokens
      • 6 replies
    • RiftCraft v2.44.30 [ +4 Cheats ] Auto Win
      Modded/Hacked App: RiftCraft By Sneaky Panda LTD
      Bundle ID: com.sneakypanda.riftcraft
      App Store Link: https://apps.apple.com/us/app/riftcraft/id6744392381?uo=4 

      🤩 Hack Features

      - Auto Win [ PvP & Stage ]
      - ADS [ Rewards Free ]
      - Gems
      - Tokens
      • 7 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