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

    • CSR 2 Drag Racing Car Games v5.8.0 - [ Gold, Cash, Keys & More ]
      Modded/Hacked App: CSR 2 - Realistic Drag Racing By Zynga Inc.
      Bundle ID: com.naturalmotion.customstreetracer2
      iTunes Store Link: https://apps.apple.com/us/app/csr-2-realistic-drag-racing/id887947640?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Custom Gold Amount -> Enter the amount of gold you want inside the iOSGods Mod Menu!
      - Custom Cash Amount -> Enter the amount of cash you want inside the iOSGods Mod Menu!
      - Custom Keys Amount -> Enter the amount of keys you want inside the iOSGods Mod Menu!
      - Anti-Ban -> Also unbans previously banned accounts and lets you play online according to feedback.
      - No Fuel Consumption
      - Instant Part Delivery
      - Instant Car Delivery
      - Gold Increase
      - Cash Increase
      - Keys Increase
      - Buy Anything For 1 Gold
      - Buy Anything For 1 Cash

       

      Non-Jailbroken Hack: https://iosgods.com/topic/168529-csr-2-drag-racing-car-games-v551-4-jailed-cheats/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/73095-csr-2-drag-racing-car-games-v561-gold-cash-keys-more/.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 5,728 replies
    • Genshin Impact Cheats v5.7.0 +3
      Modded/Hacked App: Genshin Impact by miHoYo Limited
      Bundle ID: com.miHoYo.GenshinImpact
      iTunes Store Link: https://apps.apple.com/us/app/genshin-impact/id1517783697?uo=4&at=1010lce4


      Hack Features:
      - Instant Skill
      - Instant Special Skill (Elemental Burst)
      - Infinite Stamina
        + Infinite Sprint Time
        + Infinite Swim Time
        + Infinite Fly Time


      iOS Hack Download Link: https://iosgods.com/topic/134035-genshin-impact-cheat-v101-3-instant-skill-more/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,637 replies
    • Modern Strike Online: War FPS Cheats v1.76.6 +10
      Modded/Hacked App: Modern Strike Online: War FPS By AZUR INTERACTIVE GAMES LIMITED
      Bundle ID: com.gamedevltd.modernstrikeonline
      iTunes Store Link: https://apps.apple.com/us/app/modern-strike-online-war-fps/id1197441484?uo=4


      Hack Features:
      - Radar Hack
      - Increase FireRate
      - Unlimited Ammo
      - No Spread
      - Night Vision Enabled
      - Instant Kill
      - God Mode
      - No FlashBang
      - Super Speed
      - No MedKit CoolDown

      Note:
      Not Responsible For Any Bans


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/186634-modern-strike-online-war-fps-v1687-jailed-cheats-10/


      iOS Hack Download Link: https://iosgods.com/topic/186633-modern-strike-online-war-fps-cheats-v1693-10/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 89 replies
    • Township: Farm & City Building v28.1.0 Jailed Cheats +2
      Modded/Hacked App: Township by PLR Worldwide Sales Limited
      Bundle ID: com.playrix.township-ios
      iTunes Store Link: https://apps.apple.com/us/app/township/id638689075?uo=4&at=1010lce4


      Hack Features:
      - Freeze Currencies

      EDIT: Please be aware that this maybe cause your account banned, please use with caution and don’t abuse


      iOS Hack Download Link: https://iosgods.com/topic/116584-arm64-township-farm-city-building-v852-jailed-cheats-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,692 replies
    • MergeHeroRoyale v1.0 [+2 Jailed Cheats]
      Modded/Hacked App: MergeHeroRoyale By Ferhat TEPE
      Bundle ID: com.gnarlygamestudio.mergeheroroyale
      App Store Link: https://apps.apple.com/us/app/mergeheroroyale/id6745405612?uo=4



      🤩 Hack Features

      - Add Gold (Enable and spend some)
      - Add Mana (Enable inside battle)
        • Winner
        • Like
      • 3 replies
    • MergeHeroRoyale v1.0 [+2 Cheats]
      Modded/Hacked App: MergeHeroRoyale By Ferhat TEPE
      Bundle ID: com.gnarlygamestudio.mergeheroroyale
      App Store Link: https://apps.apple.com/us/app/mergeheroroyale/id6745405612?uo=4



      🤩 Hack Features

      - Add Gold (Enable and spend some)
      - Add Mana (Enable inside battle)
       
        • Winner
      • 2 replies
    • Tattoo Studio Simulator v1.11.8 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Tattoo Studio Simulator By SKYLOFT YAZILIM BILISIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.dmg.tattoo.studio.simulator
      App Store Link: https://apps.apple.com/us/app/tattoo-studio-simulator/id6743083378?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      -- No Ads
        • Agree
        • Like
      • 2 replies
    • Tattoo Studio Simulator v1.11.8 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Tattoo Studio Simulator By SKYLOFT YAZILIM BILISIM VE TICARET ANONIM SIRKETI
      Bundle ID: com.dmg.tattoo.studio.simulator
      App Store Link: https://apps.apple.com/us/app/tattoo-studio-simulator/id6743083378?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      -- No Ads
        • Like
      • 0 replies
    • DC Worlds Collide v1.1.10 [+2 Cheats]
      Modded/Hacked App: DC Worlds Collide By Warner Bros. Entertainment
      Bundle ID: com.wb.dc.dcwc
      App Store Link: https://apps.apple.com/ca/app/dc-worlds-collide/id6469732370?uo=4


      Important


      Use cheat after tutorial stage 1-5

      Also game has server side power check. If your power lower than required you can't win stage.

       

      🤩 Hack Features

      - High Damage & Defense
      - No Energy Consume (Using ultimate not consume energy)
        • Winner
        • Like
      • 16 replies
    • DC Worlds Collide v1.1.10 [+2 Jailed Cheats]
      Modded/Hacked App: DC Worlds Collide By Warner Bros. Entertainment
      Bundle ID: com.wb.dc.dcwc
      App Store Link: https://apps.apple.com/ca/app/dc-worlds-collide/id6469732370?uo=4



      Important


      Use cheat after tutorial stage 1-5

      Also game has server side power check. If your power lower than required you can't win stage.

       

       

      🤩 Hack Features

      - High Damage & Defense
      - No Energy Consume (Using ultimate not consume energy)

        • Winner
        • Like
      • 17 replies
    • Merge Studio: Fashion Makeover v3.6.1 +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/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 62 replies
    • Merge Studio: Fashion Makeover v3.6.1 +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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 52 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