Jump to content

16 posts in this topic

Recommended Posts

Posted

Hello. Im making a patcher for happyWheels.

 

My tweak.xm:

#define PLIST_PATH @"/var/mobile/Library/Preferences/com.iosgods.happyw.plist"

 

inline bool GetPrefBool(NSString *key) {

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

}

 

%hook Session

 

-(float)gravity {

if(GetPrefBool(@"key1")) {

return -5.00f;

}

return %orig;

}

 

%end

 

%hook CharacterB2D

 

-(void)headSmash:(float)argument {

if(GetPrefBool(@"key2")) {

argument = 9999999.9f;

}

return %orig;

}

 

-(void)chestSmash:(float)argument {

if(GetPrefBool(@"key2")) {

argument = 9999999.9f;

}

return %orig;

}

 

-(void)pelvisSmash:(float)argument {

if(GetPrefBool(@"key2")) {

argument = 999999.9f;

}

return %orig;

}

 

%end

 

%hook SomethingElse

 

-(BOOL)SomeMethod {

if(GetPrefBool(@"key4")) {

return TRUE;

}

return %orig;

}

 

%end

 

 

The switcher "lowGravity" works but the godmode doesn't. Im not sure if this is the right way to put more methods in one switch but when i return those values in flex, the godmode works fine. Just the godmode switch isnt gonna change anything ingame.

Please Help.

Posted

Post your preference plist also.

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>items</key>

<array>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>This text will appear under your first switch.</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.happyw</string>

<key>key</key>

<string>key1</string>

<key>label</key>

<string>LowGravity</string>

</dict>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>You can only die through arrow/harpoon/spikes</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.happyw</string>

<key>key</key>

<string>key2</string>

<key>label</key>

<string>GodMode</string>

</dict>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>This text will appear under your third switch.</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.happyw</string>

<key>key</key>

<string>key3</string>

<key>label</key>

<string>Switch Text 3</string>

</dict>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>This text will appear under your fourth switch.</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.happyw</string>

<key>key</key>

<string>key4</string>

<key>label</key>

<string>GodMode</string>

</dict>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

</dict>

<dict>

<key>cell</key>

<string>PSTextCell</string>

<key>label</key>

<string>Made by axce.</string>

</dict>

<dict>

<key>action</key>

<string>link</string>

<key>cell</key>

<string>PSButtonCell</string>

<key>icon</key>

<string>[email protected]</string>

<key>label</key>

<string>Visit iOSGods.com</string>

</dict>

</array>

<key>title</key>

<string>happyw Cheats</string>

</dict>

</plist>

Try

 

-(void)headSmash:(float)argument {
if(GetPrefBool(@"key2")) {
%orig(9999999.9f);
}
return %orig;
}
for those methods :dunno:
Ill try, Thanks. And btw how can i make my for ex. Tweak.xm colorful?
Posted

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>items</key>

<array>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>This text will appear under your first switch.</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.happyw</string>

<key>key</key>

<string>key1</string>

<key>label</key>

<string>LowGravity</string>

</dict>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>You can only die through arrow/harpoon/spikes</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.happyw</string>

<key>key</key>

<string>key2</string>

<key>label</key>

<string>GodMode</string>

</dict>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>This text will appear under your third switch.</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.happyw</string>

<key>key</key>

<string>key3</string>

<key>label</key>

<string>Switch Text 3</string>

</dict>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>This text will appear under your fourth switch.</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.happyw</string>

<key>key</key>

<string>key4</string>

<key>label</key>

<string>GodMode</string>

</dict>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

</dict>

<dict>

<key>cell</key>

<string>PSTextCell</string>

<key>label</key>

<string>Made by axce.</string>

</dict>

<dict>

<key>action</key>

<string>link</string>

<key>cell</key>

<string>PSButtonCell</string>

<key>icon</key>

<string>[email protected]</string>

<key>label</key>

<string>Visit iOSGods.com</string>

</dict>

</array>

<key>title</key>

<string>happyw Cheats</string>

</dict>

</plist>

Ill try, Thanks. And btw how can i make my for ex. Tweak.xm colorful?

Use the code tag if you're trying to do what I did

Posted

Use the code tag if you're trying to do what I did

What is the tag? I coulden't find it.
Posted (edited)

Try this.

 

Tweak.xm:

 

 

#define PLIST_PATH @"/var/mobile/Library/Preferences/com.iosgods.happyw.plist"

 

inline bool GetPrefBool(NSString *key) {

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

}

 

#include <Foundation/Foundation.h>

 

%hook Session

-(float)gravity {

if(GetPrefBool(@"key1")) {

return -5.00f;

}

return %orig;

}

%end

 

%hook CharacterB2D

-(void)headSmash:(float)argument1 {

if(GetPrefBool(@"key2")) {

argument1 = 9999999.0f;

}

return %orig;

}

%end

 

%hook CharacterB2D

-(void)chestSmash:(float)argument2 {

if(GetPrefBool(@"key2")) {

argument2 = 9999999.0f;

}

return %orig;

}

%end

 

%hook CharacterB2D

-(void)pelvisSmash:(float)argument3 {

if(GetPrefBool(@"key2")) {

argument3 = 999999.0f;

}

return %orig;

}

%end

 

%hook SomethingElse

-(BOOL)SomeMethod {

if(GetPrefBool(@"key3")) {

return TRUE;

}

return %orig;

}

%end

 

 

 

Preference Plist:

 

dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.happyw</string>

<key>key</key>

<string>key1</string>

<key>label</key>

<string>LowGravity</string>

</dict>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>You can only die through arrow/harpoon/spikes</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.happyw</string>

<key>key</key>

<string>key2</string>

<key>label</key>

<string>GodMode</string>

</dict>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>This text will appear under your fourth switch.</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.happyw</string>

<key>key</key>

<string>key3</string>

<key>label</key>

<string>GodMode</string>

</dict>

Updated by Crypto
Posted

Try this.

Tweak.xm:

#define PLIST_PATH @"/var/mobile/Library/Preferences/com.iosgods.happyw.plist"

inline bool GetPrefBool(NSString *key) {

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

}

#include <Foundation/Foundation.h>

%hook Session

-(float)gravity {

if(GetPrefBool(@"key1")) {

return -5.00f;

}

return %orig;

}

%end

%hook CharacterB2D

-(void)headSmash:(float)argument1 {

if(GetPrefBool(@"key2")) {

argument1 = 9999999.0f;

}

return %orig;

}

%end

%hook CharacterB2D

-(void)chestSmash:(float)argument2 {

if(GetPrefBool(@"key2")) {

argument2 = 9999999.0f;

}

return %orig;

}

%end

%hook CharacterB2D

-(void)pelvisSmash:(float)argument3 {

if(GetPrefBool(@"key2")) {

argument3 = 999999.0f;

}

return %orig;

}

%end

%hook SomethingElse

-(BOOL)SomeMethod {

if(GetPrefBool(@"key3")) {

return TRUE;

}

return %orig;

}

%end

Preference Plist:

dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.happyw</string>

<key>key</key>

<string>key1</string>

<key>label</key>

<string>LowGravity</string>

</dict>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>You can only die through arrow/harpoon/spikes</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.happyw</string>

<key>key</key>

<string>key2</string>

<key>label</key>

<string>GodMode</string>

</dict>

<dict>

<key>cell</key>

<string>PSGroupCell</string>

<key>footerText</key>

<string>This text will appear under your fourth switch.</string>

</dict>

<dict>

<key>cell</key>

<string>PSSwitchCell</string>

<key>default</key>

<false/>

<key>defaults</key>

<string>com.iosgods.happyw</string>

<key>key</key>

<string>key3</string>

<key>label</key>

<string>GodMode</string>

</dict>

No, still nothing. :/

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

    • What Duck v1.0.27 [ +6 Cheats ] Currency Max
      Modded/Hacked App: What Duck By Nexelon inc.
      Bundle ID: com.nexelon.duckwars
      App Store Link: https://apps.apple.com/us/app/what-duck/id6744432301?uo=4

      🤩 Hack Features

      - ADS No [ Rewards Free ]

      - Currency

      - Resources

      - Battle Coins

      - Energy

      - Free Pass [ Claim Unlimited ]
      • 10 replies
    • What Duck v1.0.27 [ +6 Jailed ] Currency Max
      Modded/Hacked App: What Duck By Nexelon inc.
      Bundle ID: com.nexelon.duckwars
      App Store Link: https://apps.apple.com/us/app/what-duck/id6744432301?uo=4


      🤩 Hack Features

      - ADS No [ Rewards Free ]

      - Currency

      - Resources

      - Battle Coins

      - Energy

      - Free Pass [ Claim Unlimited ]
      • 18 replies
    • Paradise Paws: Merge Animals v0.2.5 [ +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
      • 15 replies
    • Paradise Paws: Merge Animals v0.2.5 [ +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
      • 8 replies
    • Galaxiga - Classic 80s Arcade V10.89 [ +7 Jailed ] Energy Max
      Modded/Hacked App: Galaxiga - Classic 80s Arcade By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.space.force.galaxy.alien
      iTunes Store Link: https://apps.apple.com/us/app/galaxiga-classic-80s-arcade/id1519367184?uo=4


      Hack Features:

      - Premium Pass [ Rewards Only ]

      - Energy Unlimited [ Linked Premium Pass ]

      - Plane Unlocked [ Tire 1 Tire 2 ] 

      - Drone Unlocked [ Tire 1 Tire 2 ]

      - Stone Unlocked [ Tire 1 Tire 2 ] 

      - Unlock Gem Cost 0 [ Plane Drone Stone ]

      - Easy Kill [ Only SP - No PVP ] 

      - Win PvP Select Higher Rank [ Plane Drone Stone ] Easy To Win PvP NO Bannnn


      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/
      • 47 replies
    • Galaxiga - Classic 80s Arcade V10.89 [ +7 Cheats ] Energy Max
      Modded/Hacked App: Galaxiga - Classic 80s Arcade By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.space.force.galaxy.alien
      iTunes Store Link: https://apps.apple.com/us/app/galaxiga-classic-80s-arcade/id1519367184?uo=4


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


      Hack Features:
      - Premium Pass [ Rewards Only ]

      - Energy Unlimited [ Linked Premium Pass ]

      - Plane Unlocked [ Tire 1 Tire 2 ] 

      - Drone Unlocked [ Tire 1 Tire 2 ]

      - Stone Unlocked [ Tire 1 Tire 2 ] 

      - Unlock Gem Cost 0 [ Plane Drone Stone ] Maybe Effect PvP 

      - Easy Kill [ Only SP - No PVP ] 

      - Win PvP Select Higher Rank [ Plane Drone Stone ]

      Not3:- Don't Abuse The Hack Incase Banned Lower Chances Maybe


      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/


      iOS Hack Download Link:

      Hidden Content

      Download Hack
      • 78 replies
    • Candy Pop Story : Match 3 v1.22.0702 [ +3 Cheats ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4


      🤩 Hack Features

      - Auto Win
      - Coins
      - Moves
      -
      • 4 replies
    • Candy Pop Story : Match 3 v1.22.0702 [ +3 Jailed ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4
       

      🤩 Hack Features

      - Auto Win
      - Coins
      - Moves
      • 5 replies
    • 20 Minutes Till Dawn v6.7.8 [ +12+++ Cheats ] Coins Freeze
      Modded/Hacked App: 20 Minutes Till Dawn By QI YU SG. PTE. LTD.
      Bundle ID: com.flanne.erabit.20minutes.tilldawn.shooting.roguelike.iap.ios
      iTunes Store Link: https://apps.apple.com/us/app/20-minutes-till-dawn/id1635123906?uo=4


      Hack Features:
      - Coins Freeze 

      - Hero Unlocked 

      - Guns Unlocked 

      - Never Die 

      - Ammo Max 

      - No Reload 

      - Rune Unlocked

      - Rune LvL Max

      - Pickup Range [ Linked Rune ] Just Equip

      - DMG Easy Kill [ Linked Rune ] Just Equip

      - Skill CD [ Linked Rune ] Just Equip

      - HP Drop [ Linked Rune ] Just Equip

      - Knockback [ Linked Rune ] Just Equip

      + More Read Status Rune


      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/
      • 33 replies
    • 20 Minutes Till Dawn v6.7.8 [ +12+++ Jailed ] Coins Freeze
      Modded/Hacked App: 20 Minutes Till Dawn By QI YU SG. PTE. LTD.
      Bundle ID: com.flanne.erabit.20minutes.tilldawn.shooting.roguelike.iap.ios
      iTunes Store Link: https://apps.apple.com/us/app/20-minutes-till-dawn/id1635123906?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:

      - Coins Freeze 

      - Hero Unlocked 

      - Guns Unlocked 

      - Never Die 

      - Ammo Max 

      - No Reload 

      - Rune Unlocked

      - Rune LvL Max

      - Pickup Range [ Linked Rune ] Just Equip

      - DMG Easy Kill [ Linked Rune ] Just Equip

      - Skill CD [ Linked Rune ] Just Equip

      - HP Drop [ Linked Rune ] Just Equip

      - Knockback [ Linked Rune ] Just Equip

      + More Read Status Rune

       
      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/


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App
      • 20 replies
    • Friends Adventure Match v3.5.2 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Friends Adventure Match By NARCADE TEKNOLOJI ANONIM SIRKETI
      Bundle ID: com.nar.FriendsMatch
      iTunes Store Link: https://apps.apple.com/us/app/friends-adventure-match/id6479395668?uo=4

       

      Hack Features

      - Coins [ Win Match ]

      - Lives

      - Stars

      - Booster

      - Moves


      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/

       

      iOS Hack Download Link


      Hidden Content

      Download Hack
      • 5 replies
    • Friends Adventure Match v3.5.2 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Friends Adventure Match By NARCADE TEKNOLOJI ANONIM SIRKETI
      Bundle ID: com.nar.FriendsMatch
      iTunes Store Link: https://apps.apple.com/us/app/friends-adventure-match/id6479395668?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

      - Coins [ Win Match ]

      - Lives

      - Stars

      - Booster

      - Moves


      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
      • 5 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