Jump to content

13 posts in this topic

Recommended Posts

Posted

Help, I'm sorry, I'm a noobie to objective c, idk how to create a function that has other types that objective c doesn't have, like for example, here is an example of the function I'm trying to replace:

Inventory::addItem(int count, Tile t)
Whenever I call this function in my objc code, I get an error that says:

Undefined Type name "Tile"

 

If anyone of you know how to fix this, can you please help me!

Thanks :)

Posted

Help, I'm sorry, I'm a noobie to objective c, idk how to create a function that has other types that objective c doesn't have, like for example, here is an example of the function I'm trying to replace:

Inventory::addItem(int count, Tile t)
Whenever I call this function in my objc code, I get an error that says:Undefined Type name "Tile"If anyone of you know how to fix this, can you please help me!Thanks :)

I saw one before but let me look :) btw I delete the topic that u Wanted

Posted (edited)

I saw one before but let me look :) btw I delete the topic that u Wanted

Thanks dude!!, if you find out, I'll look at your reply tomorrow :)

Updated by CosnotraLF
Posted (edited)

Inventory::addItem(int count, Tile t)

MSHook(void, Inventory$addItem, void* obj, void* item)

{

// do your own code

}

I don't know if it correct :(

Updated by Kenny808
Posted (edited)

I don't think u need to specify it...

#define plistPath @"/var/mobile/com.iOSGods.minecraft.plist"
 
inline bool GetPrefBool(NSString *key)
{
    return [[[NSDictionary dictionaryWithContentsOfFile:plistPath] valueForKey:key] boolValue];
}
 
void (*Original_addItem)(void *self, int count);
 
void addItem(void self, int count)
{
     if(@"kUnlimitedItems")
       {
           return Original_addItem(self, 9999);
       }
     else
       {
           return Original_addItem(self, count);
       }
}
 
%ctor {
MSHookFunction((MSFindSymbol(NULL, "__symbol")),(void *)addItem, (void **)&Original_addItem);
}
Updated by HATER
Posted (edited)

 

Inventory::addItem(int count, Tile t)MSHook(void, Inventory$addItem, void* obj, void* item) {// do your own code}
I don't know if it correct :(
Thanks Kenny, I'll try it when I get off school :)

I don't think u need to specify it...

 

#define plistPath @"/var/mobile/com.iOSGods.minecraft.plist" inline bool GetPrefBool(NSString *key){    return [[[NSDictionary dictionaryWithContentsOfFile:plistPath] valueForKey:key] boolValue];} void (*Original_addItem)(void *self, int count); void addItem(void self, int count){     if(@"kUnlimitedItems")       {           return Original_addItem(self, 9999);       }     else       {           return Original_addItem(self, count);       }} %ctor {MSHookFunction((MSFindSymbol(NULL, "__symbol")),(void *)addItem, (void **)&Original_addItem);}
Thanks dude :), but what if u would want to pass a tile to that function, or what If the function was different, like addItem(void *self, Tile tile, int number)? Updated by CosnotraLF
Posted (edited)

@CosnotraLF 

hmmmm, u would urself have to implement tile function... or something else D: I'm not sure

mmm... ok thanks, well, if i figure out how to do this, ill let yall know

 

 

Inventory::addItem(int count, Tile t)
MSHook(void, Inventory$addItem, void* obj, void* item) 
{
// do your own code
}
I don't know if it correct :(

 

Thanks Kenny, it seems to be working :), just like hater's did

now if i find out another way to the pass real parameters, ill let yall know.

Updated by CosnotraLF
Posted (edited)

IM SORRY DiDA AND EVERYONE ELSE, I was making the tweak.xm with all the mods, and my electricity went off :(, that means I got to re- do everything from scratch. MAAN.

But give me 2 more days, I'll re-do everything

:(.

 

OOPS, wrong topic.

Updated by CosnotraLF

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

    • Mr Autofire v4.0.1 [ +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 ]
      • 47 replies
    • Mr Autofire v4.0.1 [ +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 ]
      • 15 replies
    • Spin Break: Roulette Battle v1.6.4 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Spin Break: Roulette Battle By Fifty-one percent Corp.
      Bundle ID: com.FiftyOnePercent.SpinBreak
      iTunes Store Link: https://apps.apple.com/us/app/spin-break-roulette-battle/id6462842820?uo=4

      Hack Features:

      - Currency Max

      - Energy Max

      - LvL Rewards Gold

      - Hero Status [ HP DMG DEF Luck Gold ]

      - Enemy Status [ ATK HP DEF 0 ]

       
      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/
      • 34 replies
    • Spin Break: Roulette Battle v1.6.4 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Spin Break: Roulette Battle By Fifty-one percent Corp.
      Bundle ID: com.FiftyOnePercent.SpinBreak
      iTunes Store Link: https://apps.apple.com/us/app/spin-break-roulette-battle/id6462842820?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:

      - Currency Max

      - Energy Max

      - LvL Rewards Gold

      - Hero Status [ HP DMG DEF Luck Gold ]

      - Enemy Status [ ATK HP DEF 0 ]


      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/
      • 31 replies
    • Chaos Road: 3D Car Racing Game v5.16.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Chaos Road: 3D Car Racing Game By Supercharge Mobile Corp.
      Bundle ID: com.Zeeppo.ChaosRoad
      iTunes Store Link: https://apps.apple.com/us/app/chaos-road-3d-car-racing-game/id1471023434?uo=4

      Hack Features:
      - Gems
      - Gold
      - ViP Active 
      • 23 replies
    • Chaos Road: 3D Car Racing Game v5.16.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Chaos Road: 3D Car Racing Game By Supercharge Mobile Corp.
      Bundle ID: com.Zeeppo.ChaosRoad
      iTunes Store Link: https://apps.apple.com/us/app/chaos-road-3d-car-racing-game/id1471023434?uo=4

      Hack Features:
      - Gems
      - Gold
      - ViP Active
      • 16 replies
    • Swamp Attack 2 v1.0.77 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Swamp Attack 2 By Voodoo
      Bundle ID: com.hyperdotstudios.swampattack2
      iTunes Store Link: https://apps.apple.com/us/app/swamp-attack-2/id1531686083?uo=4


      Hack Features:
      - Gems
      - Gold
      - Ammo
      - Monster ATK No


      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/
      • 31 replies
    • Swamp Attack 2 v1.0.77 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Swamp Attack 2 By Voodoo
      Bundle ID: com.hyperdotstudios.swampattack2
      iTunes Store Link: https://apps.apple.com/us/app/swamp-attack-2/id1531686083?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:

      - Gems

      - Gold
      - Ammo
      - Monster ATK No


      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/
      • 34 replies
    • Backpacker™ Go! v1.5.4 [ +3 Cheats ] Dice Unlimited
      Modded/Hacked App: Backpacker™ Go! By Qiiwi Games AB
      Bundle ID: com.qiiwi.backpackergo
      iTunes Store Link: https://apps.apple.com/us/app/backpacker-go/id6478389736?uo=4


      Hack Features:
      - ADS NO [ Between Playing ] 
      - Cash Unlimited [ This Hack Linked Other Items - Ticket Exp Etc. Use Only Cash ] Use Another Items Maybe Game Freeze But Works  
      - Dice Unlimited
      • 21 replies
    • Backpacker™ Go! v1.5.4 [ +3 Jailed ] Dice Unlimited
      Modded/Hacked App: Backpacker™ Go! By Qiiwi Games AB
      Bundle ID: com.qiiwi.backpackergo
      iTunes Store Link: https://apps.apple.com/us/app/backpacker-go/id6478389736?uo=4



      Hack Features:
      - ADS NO [ Between Playing ] 
      - Cash Unlimited [ This Hack Linked Other Items - Ticket Exp Etc. Use Only Cash ] Use Another Items Maybe Game Freeze But Works  
      - Dice Unlimited 
      • 26 replies
    • Paradise Paws: Merge Animals v0.2.4 [ +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
      • 14 replies
    • Paradise Paws: Merge Animals v0.2.4 [ +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
      • 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