Jump to content

5 posts in this topic

Recommended Posts

Posted

So making a super simple obj c mod menu

source code 

%hook Hud 
 
-(void) addMinimap
{
  if([switches isSwitchOn:@"test"])
  {
    return %orig;
  }
   
}
%end


 [switches addSwitch:@"test"
              description:@""];

and this error is coming up when trying to make deb file 

Compiling Tweak.xm (arm64)…

Tweak.xm:16:4: error: missing '[' at start of message send expression

  [switches addSwitch:@("test")

   ^

   [

Tweak.xm:17:71: error: expected ']'

    description:@("Teleport all enemies to you without them knowing")];

                                                                      ^

Tweak.xm:16:3: note: to match this '['

  [switches addSwitch:@("test")

  ^

Tweak.xm:16:3: error: expected unqualified-id

  [switches addSwitch:@("test")

  ^

3 errors generated.

make[3]: *** [/var/theos/makefiles/instance/rules.mk:270: /var/mobile/agario/.theos/obj/arm64/Tweak.xm.caa39aaa.o] Error 1

make[2]: *** [/var/theos/makefiles/instance/library.mk:52: /var/mobile/agario/.theos/obj/arm64/agario.dylib] Error 2

make[1]: *** [/var/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2

make: *** [/var/theos/makefiles/master/rules.mk:117: agario.all.tweak.variables] Error 2

 

 

if anyone had this problem can you please tell I’m pretty sure the switch is correct

1 minute ago, kiam urhr said:

So making a super simple obj c mod menu

source code 

%hook Hud 
 
-(void) addMinimap
{
  if([switches isSwitchOn:@"test"])
  {
    return %orig;
  }
   
}
%end


 [switches addSwitch:@"test"
              description:@""];

and this error is coming up when trying to make deb file 

Compiling Tweak.xm (arm64)…

Tweak.xm:16:4: error: missing '[' at start of message send expression

  [switches addSwitch:@("test")

   ^

   [

Tweak.xm:17:71: error: expected ']'

    description:@("Teleport all enemies to you without them knowing")];

                                                                      ^

Tweak.xm:16:3: note: to match this '['

  [switches addSwitch:@("test")

  ^

Tweak.xm:16:3: error: expected unqualified-id

  [switches addSwitch:@("test")

  ^

3 errors generated.

make[3]: *** [/var/theos/makefiles/instance/rules.mk:270: /var/mobile/agario/.theos/obj/arm64/Tweak.xm.caa39aaa.o] Error 1

make[2]: *** [/var/theos/makefiles/instance/library.mk:52: /var/mobile/agario/.theos/obj/arm64/agario.dylib] Error 2

make[1]: *** [/var/theos/makefiles/instance/library.mk:37: internal-library-all_] Error 2

make: *** [/var/theos/makefiles/master/rules.mk:117: agario.all.tweak.variables] Error 2

 

 

if anyone had this problem can you please tell I’m pretty sure the switch is correct

The copy and paste looks for the looks weird to me I will add picture if needed

Posted

Try this
 

%hook Hud 
 
-(void) addMinimap
{
  if([switches isSwitchOn:@"test"])
  {
    return %orig;
  }   
}
%end

Or this

 

%hook Hud 
 
-(void) addMinimap
{
  if([switches isSwitchOn:@"test"])
  {
    return %orig;
  }
%end

  • Thanks 1
Posted
21 hours ago, lorkii said:

Try this
 

%hook Hud 
 
-(void) addMinimap
{
  if([switches isSwitchOn:@"test"])
  {
    return %orig;
  }   
}
%end

Or this

 

%hook Hud 
 
-(void) addMinimap
{
  if([switches isSwitchOn:@"test"])
  {
    return %orig;
  }
%end

Wow thank you found out I deleted some stuff on accident so I just got a new tweak.xm and it work but the when I used your code nothing happen so I did some more digging around and found a (void) addWidget:(Id) I guessing I could use that but have no clue any ideas?

Posted
22 minutes ago, kiam urhr said:

Wow thank you found out I deleted some stuff on accident so I just got a new tweak.xm and it work but the when I used your code nothing happen so I did some more digging around and found a (void) addWidget:(Id) I guessing I could use that but have no clue any ideas?

Oops when I mean nothing happen I meant it didn’t work like how it wanted just clear possible confusion 

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

    • World Chef Cheats v3.3.0 +4
      Modded/Hacked App: World Chef By Socialpoint
      Bundle ID: worldchef
      iTunes Store Link: https://apps.apple.com/us/app/world-chef/id1010677881?uo=4

       

      📌 Mod Requirements

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

       

      🤩 Hack Features

      - Instant Cooking
      - Instant Eating
      - Free Missing Ingredients/Food Cost
      - Free Storage Upgrade Cost

       

      Non-Jailbroken Hack: https://iosgods.com/topic/163932-world-chef-v307-jailed-cheats-4/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/163904-world-chef-cheats-v307-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 63 replies
    • Dummynation Cheats v3.3.5 +3
      Modded/Hacked App: Dummynation By ALEJANDRO HERNANDEZ FERRERO
      Bundle ID: ahf.dummynation
      iTunes Store Link: https://apps.apple.com/us/app/dummynation/id6444295551?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

      - Premium + No Ads
      - Infinite Research Point
      - Infinite Liquidity (Gold)


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/191828-dummynation-v313-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/191829-dummynation-cheats-v313-3/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 19 replies
    • Chef & Friends: Cooking Game Cheats v1.35.0 +1
      Modded/Hacked App: Chef & Friends: Cooking Game By MYTONA Ltd.
      Bundle ID: com.mytona.cheftales
      iTunes Store Link: https://apps.apple.com/us/app/chef-friends-cooking-game/id1586951898?uo=4


      Hack Features:
      - Infinite Currencies (Hats, Coins, Gems)

      NOTE: May bug out the game so better try on your throw away account first 


      iOS Hack Download Link: https://iosgods.com/topic/178904-chef-friends-cooking-game-cheats-v141-1/
        • Thanks
        • Winner
        • Like
      • 31 replies
    • Idle Theme Park - Tycoon Game Cheats v7.8.2 +1
      Modded/Hacked App: Idle Theme Park - Tycoon Game by Digital Things Sociedad Limitada
      Bundle ID: com.codigames.idle.theme.park.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-theme-park-tycoon-game/id1460772578?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash


      iOS Hack Download Link: https://iosgods.com/topic/116320-arm64-idle-theme-park-tycoon-game-cheats-v210-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 567 replies
    • Shadow Hunter: Premium v11.127.2 +9 Cheats
      Modded/Hacked App: Shadow Hunter: Premium By ENIGMA SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.enigma.shadowhunter.paid
      iTunes Store Link: https://apps.apple.com/us/app/shadow-hunter-premium/id1588843797?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Free Equipment Level Up*
      - Free Merchant Shop*
      - Free Mystic Store*
      - Free Fragment Shop*
      - Free Video Shop*
      - No Awaken Dust Cost
      - No Ascend Requirements
      - No Evolve Requirements
      - 1 Item = 100 Items

      Notes:
      * under one switch. Do not purchase stuff that cost diamond, or your game becomes invalid. So, save from time to time to revert back if anything happens.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 667 replies
    • Shadow Hunter: Offline Games v10.127.2 +9 Cheats
      Modded/Hacked App: Shadow Hunter: Lost Worlds By ENIGMA SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.enigma.shadowhunter.free
      iTunes Store Link: https://apps.apple.com/us/app/shadow-hunter-lost-worlds/id1559150590?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Free Equipment Level Up*
      - Free Merchant Shop*
      - Free Mystic Store*
      - Free Fragment Shop*
      - Free Video Shop*
      - No Awaken Dust Cost
      - No Ascend Requirements
      - No Evolve Requirements
      - 1 Item = 100 Items

      Notes:
      * under one switch. Do not purchase stuff that cost diamond, or your game becomes invalid. So, save from time to time to revert back if anything happens.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 817 replies
    • Elysia: The Astral Fall v1.0.4 +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Elysia: The Astral Fall By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.projecth
      App Store Link: https://apps.apple.com/us/app/elysia-the-astral-fall/id6737166302?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Currencies -> Will increase instead of decrease.
        • Informative
        • Haha
        • Thanks
        • Winner
        • Like
      • 33 replies
    • Elysia: The Astral Fall v1.0.4 +4 Cheats [ Damage & Defence ]
      Modded/Hacked App: Elysia: The Astral Fall By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.projecth
      App Store Link: https://apps.apple.com/us/app/elysia-the-astral-fall/id6737166302?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Unlimited Currencies -> Will increase instead of decrease.
        • Thanks
        • Winner
        • Like
      • 10 replies
    • Legend of Avatar v1.4.3 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Legend of Avatar By billionairegames
      Bundle ID: com.billionairegames.serares
      App Store Link: https://apps.apple.com/us/app/legend-of-avatar/id6746192853?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 56 replies
    • Legend of Avatar v1.4.3 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Legend of Avatar By billionairegames
      Bundle ID: com.billionairegames.serares
      App Store Link: https://apps.apple.com/us/app/legend-of-avatar/id6746192853?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
        • Agree
        • Thanks
        • Winner
        • Like
      • 73 replies
    • Pudgy Party - Battle Royale v0.12.1 +7 Jailed Cheats [ Speed, Gravity + More ]
      Modded/Hacked App: Pudgy Party - Battle Royale By Mythical, Inc.
      Bundle ID: com.mythical.pudgyparty
      App Store Link: https://apps.apple.com/us/app/pudgy-party-battle-royale/id6744258913?uo=4

       
       

      🤩 Hack Features

      - Jump Height Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Gravity Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Speed Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Friction Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Freeze Bots
      - Dumb Bots
      - Free In-App Purchases
        • Informative
        • Agree
        • Winner
        • Like
      • 6 replies
    • Pudgy Party - Battle Royale v0.12.1 +7 Cheats [ Speed, Gravity + More ]
      Modded/Hacked App: Pudgy Party - Battle Royale By Mythical, Inc.
      Bundle ID: com.mythical.pudgyparty
      App Store Link: https://apps.apple.com/us/app/pudgy-party-battle-royale/id6744258913?uo=4

       


      🤩 Hack Features

      - Jump Height Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Gravity Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Speed Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Friction Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Freeze Bots
      - Dumb Bots
      - Free In-App Purchases
        • Thanks
        • Winner
      • 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