Jump to content

Patcher doesn't work #2


Go to solution Solved by AxCE,

15 posts in this topic

Recommended Posts

Posted (edited)

Hello.

This is like the fourth time i have a problem with this shit. So im making a patcher for HappyWheels.

When i Null a void it doesnt change anything in the game. (I tried with many voids)

For ex. This (its a part of my tweak.xm):

 

%hook HomingMine-(void)explode {if(GetPrefBool(@"key3")) {}return %orig;}%end[/code]That pisses me off!

Pleas Help. Thanks.

 

I forgot.

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];

}

 

#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 = 0.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 HomingMine

 

-(void)explode {

if(GetPrefBool(@"key3")) {

}

return %orig;

}

 

%end

 

%hook ArrowGunRef

 

-(bool)dontShootPlayer {

if(GetPrefBool(@"key4")) {

return TRUE;

}

return %orig;

}

 

%end

 

%hook HarpoonGunRef

 

-(bool)startDeactivated {

if(GetPrefBool(@"key5")) {

return TRUE;

}

return %orig;

}

 

%end

 

 

/* Popup with a link

 

Varieties of a UIAlertView Popup can be found here: http://iosgods.com/topic/13988-varieties-of-uialertview-types-to-use-in-your-tweaks-patchers/

 

*/

 

 

%hook AppDelegate // Change this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc.

 

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.

UIAlertView *igcredits = [[uIAlertView alloc] initWithTitle:@"happyw Cheats"

message:@"\nhappyw Cheats by axce for iOSGods.com"

delegate:self

cancelButtonTitle:@"Thanks"

otherButtonTitles:@"Visit Us", nil];

[igcredits show];

[igcredits release];

return %orig();

}

 

%new

-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {

 

NSString *button = [alertView buttonTitleAtIndex:buttonIndex];

 

if([button isEqualToString:@"Visit Us"])

{

[[uIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://iosgods.com/]];

}

}

%end

Updated by AxCE
Posted

Copy paste the code, then select them all and click on the "code" tag

In the preview post is it right? Idk how to fix that:/

Posted (edited)

Copy paste the code, then select them all and click on the "code" tag

amm on which code tag? This one. code]/code? With the[

Sorry idk how to make it right????

Updated by AxCE
Posted

amm on which code tag? This one

[/code*]Without*

No need to write it, there's a pre-made tag on top of what you're writing. It's a paper with < > on it

Posted

No need to write it, there's a pre-made tag on top of what you're writing. It's a paper with < > on it

I cant find it? Im on my phone btw..
Posted

I cant find it? Im on my phone btw..

Oh it's not there when your on moble-mode. Next to the URL iosgods.com, keep your finger on the refresh button until a "request desktop site" pops up. Or just do it on your pc :p

Posted

Oh it's not there when your on moble-mode. Next to the URL iosgods.com, keep your finger on the refresh button until a "request desktop site" pops up. Or just do it on your pc :p

im in london atm no pc :)Ill try.
Posted

im in london atm no pc :)Ill try.

There's a button next to the search bar click scroll right and there will be a request desktop site

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

    • Soccer Dynasty: Club Manager v1.0.50 [ +15 Cheats ] Currency Max
      Modded/Hacked App: Soccer Dynasty: Club Manager By KONG SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.kongsoftware.kickpfm
      App Store Link: https://apps.apple.com/us/app/soccer-dynasty-club-manager/id6465972774?uo=4


      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Gold

      - Cash

      - Energy

      - Standard Scout

      - Silver Scout

      - Gold Scout

      - Platinum Scout

      - Tactic Book

      - Chemistry Point

      - FW Exp

      - MF Exp

      - DF Exp

      - GK Exp

      - Ticket [ Buy With Gold ]

      Note:- Don"t Abuse Hack Incase Banned
      • 16 replies
    • Soccer Dynasty: Club Manager v1.0.50 [ +15 Jailed ] Currency Max
      Modded/Hacked App: Soccer Dynasty: Club Manager By KONG SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.kongsoftware.kickpfm
      App Store Link: https://apps.apple.com/us/app/soccer-dynasty-club-manager/id6465972774?uo=4


      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Gold

      - Cash

      - Energy

      - Standard Scout

      - Silver Scout

      - Gold Scout

      - Platinum Scout

      - Tactic Book

      - Chemistry Point

      - FW Exp

      - MF Exp

      - DF Exp

      - GK Exp

      - Ticket [ Buy With Gold ]

      Note:- Don"t Abuse Hack Incase Banned
      • 27 replies
    • Lollipop 3: Match 3 Puzzles v26.0112.00 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Lollipop 3: Match 3 Puzzles By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.lollipopsweetheroesmatch3
      iTunes Store Link: https://apps.apple.com/us/app/lollipop-3-match-3-puzzles/id1634326372?uo=4
       

      🤩 Hack Features

      - Coins

      - Lives

      - Booster

      - Moves

      - Auto Win 
      • 15 replies
    • Lollipop 3: Match 3 Puzzles v26.0112.00 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Lollipop 3: Match 3 Puzzles By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.lollipopsweetheroesmatch3
      iTunes Store Link: https://apps.apple.com/us/app/lollipop-3-match-3-puzzles/id1634326372?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

      - Lives

      - Booster

      - Moves

      - Auto Win 

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
      • 19 replies
    • Idle Five - Basketball Manager v1.50.2 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Idle Five - Basketball Manager By Gaminho
      Bundle ID: com.gaminho.idlefivebasketball
      iTunes Store Link: https://apps.apple.com/us/app/idle-five-basketball-manager/id1539155867?uo=4

       

      🤩 Hack Features

      - Currency
      - Resources
      - ViP Active
      - ADS NO
      • 16 replies
    • Idle Five - Basketball Manager v1.50.2 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Idle Five - Basketball Manager By Gaminho
      Bundle ID: com.gaminho.idlefivebasketball
      iTunes Store Link: https://apps.apple.com/us/app/idle-five-basketball-manager/id1539155867?uo=4
       

      🤩 Hack Features

      - Currency
      - Resources
      - ViP Active
      - ADS NO
      • 19 replies
    • Undead Slayer: Offline Action v3.47.0 [ +14 Cheats ] Currency Max
      Modded/Hacked App: Undead Slayer: Horde Survivor By Enigma Publishing Limited
      Bundle ID: com.undeadslayer.athree.epl.as
      App Store Link: https://apps.apple.com/ph/app/undead-slayer-horde-survivor/id6746744005?uo=4


      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems

      - Soul Coins

      - Abyss Key

      - Rune Key

      - Gold Key

      - Red Dust

      - Blue Dust

      - Master Coin

      - Daily Star

      - HP [ Weapon Upgrade Then Equip ]

      - ATK [ Weapon Upgrade Then Equip ]
      • 25 replies
    • Hungry Shark World v7.4.2 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Hungry Shark World By Ubisoft
      Bundle ID: com.ubisoft.hungrysharkworld
      iTunes Store Link: https://apps.apple.com/us/app/hungry-shark-world/id1046846443?uo=4


      Hack Features:
      - ADS NO

      - Gems

      - Coins 

      - Pearls 

      - Premium Pass

      - Health Auto Drain [ OFF ]

      - Boost Max 

      - Score Multi 

      - Revive Max 


      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/
        • Informative
      • 96 replies
    • Falltopia: Epic Space Idle RPG v1.0.211 [ +12 Cheats ] Currency
      Modded/Hacked App: Falltopia: Epic Space Idle RPG By Pusilung HK Limited
      Bundle ID: com.threehp013.idle.plane.shooting.space.force.game
      App Store Link: https://apps.apple.com/ph/app/falltopia-epic-space-idle-rpg/id6748329424?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Speed Boost Active
      - Currency / NO Need
      - Resources / NO Need
      - Defensec Pass
      - Upgrade Pass
      - Season Pass
      - Battle Pass
      - Blessings Active
      - HP / Equip & Unequip
      - ATK / Equip & Unequip
      - Def / Equip & Unequip
      • 26 replies
    • Undead Slayer: Offline Action v3.47.0 [ +14 Jailed ] Currency Max
      Modded/Hacked App: Undead Slayer: Horde Survivor By Enigma Publishing Limited
      Bundle ID: com.undeadslayer.athree.epl.as
      App Store Link: https://apps.apple.com/ph/app/undead-slayer-horde-survivor/id6746744005?uo=4
       

      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems

      - Soul Coins

      - Abyss Key

      - Rune Key

      - Gold Key

      - Red Dust

      - Blue Dust

      - Master Coin

      - Daily Star

      - HP [ Weapon Upgrade Then Equip ]

      - ATK [ Weapon Upgrade Then Equip ]
      • 36 replies
    • Arcane Arena: Tower Defense TD v1.031 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Arcane Arena: Tower Defense TD By Panteon Yazilim Oyun Egitim Teknolojileri ve Hizmetleri Sanayi Ticaret Anonim Sirketi
      Bundle ID: com.panteon.arcanearena
      App Store Link: https://apps.apple.com/ca/app/arcane-arena-tower-defense-td/id6746447166?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Currency
      - Unlimited Resource
        • Like
      • 40 replies
    • Falltopia: Epic Space Idle RPG v1.0.211 [ +12 Jailed ] Currency
      Modded/Hacked App: Falltopia: Epic Space Idle RPG By Pusilung HK Limited
      Bundle ID: com.threehp013.idle.plane.shooting.space.force.game
      App Store Link: https://apps.apple.com/ph/app/falltopia-epic-space-idle-rpg/id6748329424?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Speed Boost Active
      - Currency / NO Need
      - Resources / NO Need
      - Defensec Pass
      - Upgrade Pass
      - Season Pass
      - Battle Pass
      - Blessings Active
      - HP / Equip & Unequip
      - ATK / Equip & Unequip
      - Def / Equip & Unequip
      • 19 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