Jump to content

11 posts in this topic

Recommended Posts

Posted (edited)
%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! Before using this make sure you stick to 1 active promotion per google account at one time for it not to get blocked." delegate:nil cancelButtonTitle:@"Thanks AUSSIE G4M3R!" otherButtonTitles:nil];
[alert show];
[alert release];
}
%end

I need help with making this UIAlertView popup when the hack is used, that is why I have replaced the information with the hack so it should appear when the hack is used because I don't want it to appear every time the app is active and it causes issue on app sign-in. There is only one problem that doesn't make it appear and I think it is because I need to change "delegate" to something else, the only problem is I don't know what to put there.

So my question is what do I replace "delegate" with for my UIAlertView to work the way I want it to?

Updated by AUSSIE G4M3R
Posted (edited)

This UIAlert code only popup once and will never appear again.

%hook AppDelegate

- (void)applicationDidBecomeActive:(id)application {
    NSUserDefaults *validate = [NSUserDefaults standardUserDefaults];
    NSString *alreadyRun = @"already_run";
    if ([validate boolForKey:alreadyRun])  
    return;
    [validate setBool:YES forKey:alreadyRun];
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Test Title"
    message:@"Test Message" delegate:nil cancelButtonTitle:@"Close Test Pop-Up"
    otherButtonTitles:nil];
    [alert show];
    [alert release];
}

%end
Updated by Diversityy
Posted
2 minutes ago, Diversityy said:

This UIAlert code only popup once and will never appear again.


%hook AppDelegate

- (void)applicationDidBecomeActive:(id)application {
    NSUserDefaults *validate = [NSUserDefaults standardUserDefaults];
    NSString *alreadyRun = @"already_run";
    if ([validate boolForKey:alreadyRun])  
    return;
    [validate setBool:YES forKey:alreadyRun];
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Test Title"
    message:@"Test Message" delegate:nil cancelButtonTitle:@"Close Test Pop-Up"
    otherButtonTitles:nil];
    [alert show];
    [alert release];
}

%end

Alright i'll try that.

Posted (edited)

@Diversityy I am receiving some errors.

 

%hook PromoteViewController

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

%hook AppDelegate

- (void)applicationDidBecomeActive:(id)application {
    NSUserDefaults *validate = [NSUserDefaults standardUserDefaults];
    NSString *alreadyRun = @"already_run";
    if ([validate boolForKey:alreadyRun])  
    return;
    [validate setBool:YES forKey:alreadyRun];
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@“READ Important
    message:@"Before using this make sure you stick to 1 active promotion per google account at one time for it not to get blocked. Views amount = Cost amount e.g 600 coins for 100 views = 600 views. Watch 1 video to get your 600 views, if it gets block after a day do 100 views instead (normal max). Enjoy your free unlimited Views and Likes!” delegate:nil cancelButtonTitle:@"Thanks AUSSIE G4M3R"
    otherButtonTitles:nil];
    [alert show];
    [alert release];
}

%end

9nVM5nF.png

What did I do wrong?

Updated by AUSSIE G4M3R
Posted
2 minutes ago, Amuyea said:

Did you add imports?

I'm not sure what that means, but usually when I get these types of errors usually fixing the tweak.xm file fixes it.

4 minutes ago, Amuyea said:

Did you add imports?

Oh now I know what your talking about.

Posted

Thanks, just realised I didn't have them for some reason.

Now I just don't have this file 'SpringBoard/SpringBoard.h'

yJ8iIEs.png'

Can I get away with removing it from the tweak.xm?

Posted
On 8/19/2017 at 1:50 AM, TheArmPrincess said:

Thanks, just realised I didn't have them for some reason.

Now I just don't have this file 'SpringBoard/SpringBoard.h'

yJ8iIEs.png'

Can I get away with removing it from the tweak.xm?

You should download the headers though. Could come in useful one day. 

 

https://github.com/nst/iOS-Runtime-Headers

 

Or check this for the Springboard.h fix:

 

Posted (edited)
14 hours ago, TheArmPrincess said:

Thanks. I put them in the "include" folder right or do I put some in different locations?

Correct. In the "include" folder. 

Headers (taken from my theos):

http://bit.ly/2vaGBVE

or use the link above before my post.

Updated by Astronaut
Headers link

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

    • SuperStar STARSHIP Cheats v3.24.3 +3
      Modded/Hacked App: SuperStar STARSHIP By Dalcomsoft Inc.
      Bundle ID: com.dalcomsoft.sss
      iTunes Store Link: https://apps.apple.com/us/app/superstar-starship/id1480181152?uo=4


      Hack Features:
      - Never Lose
      - Auto Dance
      - Always S.Perfect


      iOS Hack Download Link: https://iosgods.com/topic/164185-superstar-starship-cheats-v378-3/
      • 128 replies
    • Merge Studio: Fashion Makeover v3.5.0 +50++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Merge Studio: Fashion Makeover By Paxie Games Oyun ve Yazilim Anonim Sirketi
      Bundle ID: com.paxiegames.mergestudio
      iTunes Store Link: https://apps.apple.com/us/app/merge-studio-fashion-makeover/id1615964753?uo=4


      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Sound button.


      Jailbreak required hack(s): [Mod Menu Hack] Merge Studio: Fashion Makeover v2.3.0 +50++ Cheats [ Debug Menu ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 54 replies
    • Merge Studio: Fashion Makeover v3.5.0 +50++ Cheats [ Debug Menu ]
      Modded/Hacked App: Merge Studio: Fashion Makeover By Paxie Games Oyun ve Yazilim Anonim Sirketi
      Bundle ID: com.paxiegames.mergestudio
      iTunes Store Link: https://apps.apple.com/us/app/merge-studio-fashion-makeover/id1615964753?uo=4


      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Sound button.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Merge Studio: Fashion Makeover v2.3.0 +50++ Jailed Cheats [ Debug Menu ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 45 replies
    • Royal Kingdom v17794 +4 Jailed Cheats [ Coins + More ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Royal Kingdom v3987 +4 Cheats [ Unlimited Coins ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 116 replies
    • Royal Kingdom v17794 +4 Cheats [ Coins + More ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Royal Kingdom v3987 +4 Jailed Cheats [ Unlimited Coins ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 65 replies
    • Duskwood - Detective Story v1.10.17 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Duskwood - Detective Story By Everbyte GmbH
      Bundle ID: com.everbytestudio.interactive.text.chat.story.rpg.cyoa.duskwood
      iTunes Store Link: https://apps.apple.com/us/app/duskwood-detective-story/id1479430106?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Hearts -> Earn or spend some.
      - Free In-App Purchases -> Toggle via iGMenu.


      Jailbreak required hack(s): [Mod Menu Hack] Duskwood - Detective Story v1.10.14 +3 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 54 replies
    • Duskwood - Detective Story v1.10.17 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Duskwood - Detective Story By Everbyte GmbH
      Bundle ID: com.everbytestudio.interactive.text.chat.story.rpg.cyoa.duskwood
      iTunes Store Link: https://apps.apple.com/us/app/duskwood-detective-story/id1479430106?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Hearts -> Earn or spend some.
      - Free In-App Purchases


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Duskwood - Detective Story v1.10.14 +3 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 22 replies
    • Idle Zombie Miner: Gold Tycoon v2.212.1660 +1++ Jailed Cheat [ Currencies ]
      Modded/Hacked App: Idle Zombie Miner: Gold Tycoon By VISTREX LIMITED
      Bundle ID: com.zombie.idleminertycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-zombie-miner-gold-tycoon/id6471983323?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Idle Zombie Miner: Gold Tycoon v2.53.1001 +1++ Cheat [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 81 replies
    • Idle Zombie Miner: Gold Tycoon v2.212.1660 +1++ Cheat [ Currencies ]
      Modded/Hacked App: Idle Zombie Miner: Gold Tycoon By VISTREX LIMITED
      Bundle ID: com.zombie.idleminertycoon
      iTunes Store Link: https://apps.apple.com/us/app/idle-zombie-miner-gold-tycoon/id6471983323?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Idle Zombie Miner: Gold Tycoon v2.53.1001 +1++ Jailed Cheat [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 58 replies
    • Loot Heroes v1.4.7 +8 Jailed Cheats [ Unlimited Currencies + More ]
      Modded/Hacked App: Loot Heroes: Fantasy RPG Games By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes-fantasy-rpg-games/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - Unlimited Currencies [ VIP ]
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - Auto Win [ VIP ]
      - Battle Pass Unlocked [ VIP ]


      Jailbreak required hack(s): [Mod Menu Hack] Loot Heroes v1.1.5 +8 Cheats [ Unlimited Currencies + More ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 71 replies
    • Loot Heroes v1.4.7 +8 Cheats [ Unlimited Currencies + More ]
      Modded/Hacked App: Loot Heroes By BoomBit, Inc.
      Bundle ID: com.bbp.lootheroes
      iTunes Store Link: https://apps.apple.com/us/app/loot-heroes/id6642699678?uo=4


      Hack Features:
      - Freeze Currencies
      - Unlimited Currencies [ VIP ]
      - God Mode -> Traps still cause damage.
      - One-Hit Kill
      - All Heroes Unlocked
      - Auto Win [ VIP ]
      - Battle Pass Unlocked [ VIP ]


      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/
      • 202 replies
    • AltLife - Life Simulator v43 +2 Jailed Cheats [ Unlimited Money ]
      Modded/Hacked App: AltLife - Life Simulator By Mark Benyei
      Bundle ID: com.qmzapps.altlife
      App Store Link: https://apps.apple.com/us/app/altlife-life-simulator/id1567044511?uo=4

       


      🤩 Hack Features

      - Unlimited Money -> Will increase instead of decrease.
      - Premium Enabled
      • 0 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