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

    • Obsidian Knight RPG v1.200.12 [+3 Jailed Cheats]
      Modded/Hacked App: Obsidian Knight RPG By ActFirst Games AB
      Bundle ID: com.actfirstgames.obsidianknight
      iTunes Store Link: https://apps.apple.com/us/app/obsidian-knight-rpg/id6505061490?uo=4



      🚀 Hack Features

      - Unlimited Currency
      - God Mode / Never Die
      - High Damage / OHK
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 30 replies
    • Obsidian Knight RPG v1.200.12 [+3 Cheats]
      Modded/Hacked App: Obsidian Knight RPG By ActFirst Games AB
      Bundle ID: com.actfirstgames.obsidianknight
      iTunes Store Link: https://apps.apple.com/us/app/obsidian-knight-rpg/id6505061490?uo=4

       

      🚀 Hack Features

      - Unlimited Currency
      - God Mode / Never Die
      - High Damage / OHK
        • Agree
        • Haha
        • Winner
        • Like
      • 31 replies
    • Margonem Adventures v2.4.6 [+3 Jailed Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4

       

      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
        • Like
      • 24 replies
    • Margonem Adventures v2.4.6 [+3 Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4



      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
        • Agree
        • Winner
        • Like
      • 16 replies
    • Pal Go: Tower Defense TD v0.4.51 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 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/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 70 replies
    • Pal Go: Tower Defense TD v0.4.51 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 94 replies
    • Fortress: Stickman Trenches v3.5 [+2 Jailed Cheats]
      Modded/Hacked App: Fortress: Stickman Trenches By APPWILL COMPANY LTD
      Bundle ID: com.g1.growfortmarines
      App Store Link: https://apps.apple.com/us/app/fortress-stickman-trenches/id6445945405?uo=4



      🤩 Hack Features

      - Enemy Can't Attack
      - Unlimited Currency
        • Like
      • 2 replies
    • Fortress: Stickman Trenches v3.5 [+2 Cheats]
      Modded/Hacked App: Fortress: Stickman Trenches By APPWILL COMPANY LTD
      Bundle ID: com.g1.growfortmarines
      App Store Link: https://apps.apple.com/us/app/fortress-stickman-trenches/id6445945405?uo=4


      🤩 Hack Features

      - Enemy Can't Attack
      - Unlimited Currency
       
      • 1 reply
    • Zombie Fortress: Trap Defense v0.13.1 [+6 Jailed Cheats]
      Modded/Hacked App: Zombie Fortress: Trap Defense By SayGames LTD
      Bundle ID: com.nlabsoft.zombiecrusher.s
      App Store Link: https://apps.apple.com/us/app/zombie-fortress-trap-defense/id6747713523?uo=4



      🤩 Hack Features

      - Add Cash
      - Add Diamond
      - Add Energy
      - Add Parts
      - Never Die
      - Add Battle Gold (Enable inside battle)
        • Agree
        • Winner
        • Like
      • 5 replies
    • Zombie Fortress: Trap Defense v0.13.1 [+6 Cheats]
      Modded/Hacked App: Zombie Fortress: Trap Defense By SayGames LTD
      Bundle ID: com.nlabsoft.zombiecrusher.s
      App Store Link: https://apps.apple.com/us/app/zombie-fortress-trap-defense/id6747713523?uo=4



      🤩 Hack Features

      - Add Cash
      - Add Diamond
      - Add Energy
      - Add Parts
      - Never Die
      - Add Battle Gold (Enable inside battle)
        • Winner
        • Like
      • 2 replies
    • Shadowborn v0.6.1 Debug Menu [+8 Jailed Cheats]
      Modded/Hacked App: Shadowborn By VIVA GAMES S.L.
      Bundle ID: com.onemb.shadowborn
      App Store Link: https://apps.apple.com/us/app/shadowborn/id6738343504?uo=4

       

      🤩 Hack Features

      - Debug Menu
        • Haha
        • Winner
        • Like
      • 12 replies
    • Shadowborn v0.6.1 Debug Menu [+8 Cheats]
      Modded/Hacked App: Shadowborn By VIVA GAMES S.L.
      Bundle ID: com.onemb.shadowborn
      App Store Link: https://apps.apple.com/us/app/shadowborn/id6738343504?uo=4



      🤩 Hack Features

      - Debug Menu
       
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 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