Jump to content

10 posts in this topic

Recommended Posts

Posted (edited)

Here's my tweak.xm, I need to return the arg 1 to original action because it is mixing up with the original arg 2 value. Thanks!  (y)

%hook PromoteViewController

-(void)goBuyViews:(int)arg1 numbercoins:(int)arg2 {
%orig (arg2, 5);
}
%end

%hook PromoteViewController
-(void)goBuyViews:(int) numbercoins:(int)arg2 {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Free Unlimited Views + Likes Hack!" message:@"Enjoy your free unlimited Views and Likes! - AUSSIE G4M3R" delegate:nil cancelButtonTitle:@"Thanks AUSSIE!" otherButtonTitles:nil];
[alert show];
[alert release];
}
%end

Current question:  I basically want a working UIAlertView when my hack is used. There is a mistake near the end 'delegatethat's probably why the UIAlertView wasn't working. Let me know if I did everything correctly in the second UIAlertView part.

 

Thanks!  (y)

Updated by AUSSIE G4M3R
Posted

Shouldn't you be using this instead?

%orig (arg1, 5);

Posted (edited)
12 minutes ago, DiDA said:

Shouldn't you be using this instead?

%orig (arg1, 5);

No, it works. Arg 1 is "goBuyViews" and is the first one, i'm pretty sure.

Updated by AUSSIE G4M3R
Posted

@AUSSIE G4M3R Sorry, but what is your question/issue? Or is it resolved already?

If so, and you no longer need help regarding this issue, please select an answer as "best" by clicking on the following icon on the reply that was the most helpful. 7foIjUF.png > vBmVrvM.png. 

If you do, you may ignore this reply.  

Posted
2 hours ago, Zimon said:

@AUSSIE G4M3R Sorry, but what is your question/issue? Or is it resolved already?

If so, and you no longer need help regarding this issue, please select an answer as "best" by clicking on the following icon on the reply that was the most helpful. 7foIjUF.png > vBmVrvM.png. 

If you do, you may ignore this reply.  

Sorry, the main issue was solved but I have one other issue to be solved, which I should more clearly mention.

Posted
1 minute ago, AUSSIE G4M3R said:

Sorry, the main issue was solved but I have one other issue to be solved, which I should more clearly mention.

Please do :) 

Posted (edited)

Incase you guys didn't see the update above, here's my updated question.

I basically want a working UIAlertView when my hack is used. There is a mistake near the end 'delegate' that's probably why the UIAlertView wasn't working. Let me know if I did everything correctly in the second UIAlertView part.

%hook PromoteViewController

-(void)goBuyViews:(int)arg1 numbercoins:(int)arg2 {
%orig (arg2, 5);
}
%end

%hook PromoteViewController
-(void)goBuyViews:(int) numbercoins:(int)arg2 {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Free Unlimited Views + Likes Hack!" message:@"Enjoy your free unlimited Views and Likes! - AUSSIE G4M3R" delegate:nil cancelButtonTitle:@"Thanks AUSSIE!" otherButtonTitles:nil];
[alert show];
[alert release];
}
%end
Updated by AUSSIE G4M3R
Posted
1 minute ago, AUSSIE G4M3R said:

Incase you guys didn't see the update above, here's my updated question.


%hook PromoteViewController

-(void)goBuyViews:(int)arg1 numbercoins:(int)arg2 {
%orig (arg2, 5);
}
%end

%hook PromoteViewController
-(void)goBuyViews:(int) numbercoins:(int)arg2 {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Free Views + Likes Hack" message:@"Enjoy your free unlimited Views and Likes! - AUSSIE G4M3R" delegate:nil cancelButtonTitle:@"Thanks AUSSIE!" otherButtonTitles:nil];
[alert show];
[alert release];
}
%end

I basically want a working UIAlertView when my hack is used. There is a mistake near the end 'delegatethat's probably why the UIAlertView wasn't working. Let me know if I did everything correctly in the second UIAlertView part.

You have to hook the app's delegate (so the pop up shows when the game is launched).

Like this: 

%hook AppDelegate

-(void)applicationDidBecomeActive:(id)arg {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Test Title" message:@"Test Message" delegate:nil cancelButtonTitle:@"Close Test Pop-Up"otherButtonTitles:nil];
[alert show];
[alert release];
%orig();
}

%end

*You MIGHT need to change "AppDelegate" to your app's delegate.

Posted (edited)
6 minutes ago, Zimon said:

You have to hook the app's delegate (so the pop up shows when the game is launched).

I had it to do that at first but I didn't want the message to be displayed every time the app was active also it messed with the app when signing in and appeared constantly, kicking you out of the sign in.

I want to have it so when the hack is used the message will appear. I tried to replace the code myself putting what I thought was suppose to go in there to make it activate when the hack is used.

What do I replace 'delegate' with in the code for it to work with my hack the way I want it?

Updated by AUSSIE G4M3R

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

    • The Battle Cats Cheats v15.1.1 +2
      Modded/Hacked App: The Battle Cats by ponos corporation
      Bundle ID: jp.co.ponos.battlecatsen
      iTunes Store Link: https://apps.apple.com/us/app/the-battle-cats/id850057092?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - OHK Linked

      NOTE: Please don't ask me for currencies hack since this is the best I can do


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/124447-arm64-the-battle-cats-v940-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/124448-arm64-the-battle-cats-cheats-v950-2/
        • Agree
        • Like
      • 935 replies
    • Knight Maidens: Idle RPG v1.8.1 Jailed Cheats +6
      Modded/Hacked App: Knight Maidens: Idle RPG By Yes Games Co., Ltd.
      Bundle ID: com.yesgames.knightmaidens
      App Store Link: https://apps.apple.com/us/app/knight-maidens-idle-rpg/id6755811996?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

      - God Mode
      - Multiply Attack
      - One Hit Kill
      - Freeze Gold when Pray
      - Freeze Gems
      - PREMIUM

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/204353-knight-maidens-idle-rpg-v17-jailed-cheats-6/
      • 8 replies
    • Heroes vs. Hordes: Survivor v7.6.0 [ +15 Cheats ] Currency Max
      Modded/Hacked App: Heroes vs. Hordes: Survivor By Swift Games GmbH
      Bundle ID: com.swiftgames.roguelikesurvival
      iTunes Store Link: https://apps.apple.com/us/app/heroes-vs-hordes-survivor/id1608898173?uo=4

       
      Hack Features

      - Currency

      - Resource

      - Gold Unlimited [ Bonus Wave ]

      - Ch Unlocked [ Play All Off ]

      - Always Last Wave

      - Talents Cost 0

      - Hero DMG Only

      - HP & DMG [ Just Equip & Unequip ]

      - Enemy Freeze

      - Enemy ATK NO

       
      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/
        • Haha
      • 124 replies
    • Heroes vs. Hordes: Survivor v7.6.0 [ +15 Jailed ] Currency Max
      Modded/Hacked App: Heroes vs. Hordes: Survivor By Swift Games GmbH
      Bundle ID: com.swiftgames.roguelikesurvival
      iTunes Store Link: https://apps.apple.com/us/app/heroes-vs-hordes-survivor/id1608898173?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

      - Currency

      - Resource

      - Gold Unlimited [ Bonus Wave ]

      - Ch Unlocked [ Play All Off ]

      - Always Last Wave

      - Talents Cost 0

      - Hero DMG Only

      - HP & DMG [ Just Equip & Unequip ]

      - Enemy Freeze

      - Enemy ATK NO


      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
        • Informative
        • Agree
        • Like
      • 156 replies
    • My Lovely Planet Puzzle Match3 v2.8.0 [ +3 Jailed ] Auto Win
      Modded/Hacked App: My Lovely Planet Puzzle Match3 By Imagine
      Bundle ID: com.mylovelyplanet.mylovelyforests
      App Store Link: https://apps.apple.com/us/app/my-lovely-planet-puzzle-match3/id6473546315?uo=4


      🤩 Hack Features

      - Auto Win
      - Coins
      - Life
      • 10 replies
    • My Lovely Planet Puzzle Match3 v2.8.0 [ +3 Cheats ] Auto Win
      Modded/Hacked App: My Lovely Planet Puzzle Match3 By Imagine
      Bundle ID: com.mylovelyplanet.mylovelyforests
      App Store Link: https://apps.apple.com/us/app/my-lovely-planet-puzzle-match3/id6473546315?uo=4


      🤩 Hack Features

      - Auto Win
      - Coins
      - Life
      • 11 replies
    • Pop Island v1.5.1 [ +1 Cheats ] Coins Max
      Modded/Hacked App: Pop Island By HISTAR INTERACTIVE PTE. LTD.
      Bundle ID: com.hmbdgames.match
      iTunes Store Link: https://apps.apple.com/us/app/pop-island/id6505047210?uo=4


      🤩 Hack Features

      - Coins [ Win Match Disable After Hack ]


      • 36 replies
    • Pop Island v1.5.1 [ +1 Jailed ] Coins Max
      Modded/Hacked App: Pop Island By HISTAR INTERACTIVE PTE. LTD.
      Bundle ID: com.hmbdgames.match
      iTunes Store Link: https://apps.apple.com/us/app/pop-island/id6505047210?uo=4


      🤩 Hack Features

      - Coins [ Win Match Disable After Hack ]


      • 38 replies
    • Parties & Puzzles: Tile Games v8.9 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Parties & Puzzles: Tile Games By Snax Games LTD
      Bundle ID: com.snax.puzzle2
      iTunes Store Link: https://apps.apple.com/us/app/parties-puzzles-tile-games/id1587568164?uo=4

      🤩 Hack Features

      - Cash
      - Stars
      - Cards
      • 11 replies
    • Parties & Puzzles: Tile Games v8.9 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Parties & Puzzles: Tile Games By Snax Games LTD
      Bundle ID: com.snax.puzzle2
      iTunes Store Link: https://apps.apple.com/us/app/parties-puzzles-tile-games/id1587568164?uo=4


      🤩 Hack Features

      - Cash
      - Stars
      - Cards 
      • 14 replies
    • Piggy Kingdom - Match 3 Games v2.4.5 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Piggy Kingdom - Match 3 Games By OLLEYO PTE. LTD.
      Bundle ID: com.olleyo.piggy.match
      iTunes Store Link: https://apps.apple.com/us/app/piggy-kingdom-match-3-games/id1635337354?uo=4


      🚀 Hack Features

      - Coins

      - Lives

      - Build Coins

      - Moves

      - Booster

      - Color Move Only [ Without Matching Move Anywhere ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 40 replies
    • Jolly Match 3 - Puzzle Game v1.0.2288 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Jolly Match 3 - Puzzle Game By Jollyco LLC
      Bundle ID: com.jollyco.jollybattlematch3
      App Store Link: https://apps.apple.com/us/app/jolly-match-3-puzzle-game/id1554274735?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Stars

      - Lives

      - Booster
      • 20 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