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

    • Real Survival: Not Fake v1.0.1 [ +5 APK MOD ] Currency Max
      Mod APK Game Name: Real Survival: Not Fake
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.devdop.realsurvivalnotfake

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Wood
      - Unlimited Meet
      • 1 reply
    • Real Survival: Not Fake v1.1.0 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Real Survival: Not Fake By Dan Lespect
      Bundle ID: com.devdop.realsurvivalnotfake
      App Store Link: https://apps.apple.com/us/app/real-survival-not-fake/id6777072156?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

      - Auto ADS No
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Wood
      - Unlimited Meet

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack







       

      📖 iOS Installation Instructions

      STEP 1: Download the .deb hack file from the link above. Use Safari, Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If needed, tap on the downloaded file again, then select ‘Normal Install’ from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. If it doesn’t install successfully, see the note below.
      STEP 5: Open the game, log in to your iOSGods account when asked, then toggle on the features you want and enjoy!

       

      NOTE: If you have any questions or problems, read our Jailbreak iOS Hack Troubleshooting & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - IK_IK

       

      📷 Cheat Video/Screenshots

      N/A

       

      More iOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.

      Modded Android APKs
      Need modded apps or games for Android? Check out the latest custom APK mods, cheats & more in our Android Section.
      • 3 replies
    • Real Survival: Not Fake v1.1.0 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Real Survival: Not Fake By Dan Lespect
      Bundle ID: com.devdop.realsurvivalnotfake
      App Store Link: https://apps.apple.com/us/app/real-survival-not-fake/id6777072156?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Wood
      - Unlimited Meet
      • 1 reply
    • 거너거너 Guner Guner v1.0.1 [ +2 APK MOD ] ATK MAX
      Mod APK Game Name: 거너거너 Guner Guner
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.brightdawn.android.gngn

      🤩 Hack Features

      - HP MAX
      - ATK MAX
      • 0 replies
    • 거너거너 Guner Guner v1.0 [ +2 Cheats ] ATK MAX
      Modded/Hacked App: 거너거너 Guner Guner By Brightdawn Inc.
      Bundle ID: com.brightdawn.ios.gngn
      App Store Link: https://apps.apple.com/kr/app/%EA%B1%B0%EB%84%88%EA%B1%B0%EB%84%88/id6777852933?uo=4

      🤩 Hack Features

      - HP MAX
      - ATK MAX
      • 1 reply
    • 거너거너 Guner Guner v1.0 [ +2 Jailed ] ATK MAX
      Modded/Hacked App: 거너거너 Guner Guner By Brightdawn Inc.
      Bundle ID: com.brightdawn.ios.gngn
      App Store Link: https://apps.apple.com/kr/app/%EA%B1%B0%EB%84%88%EA%B1%B0%EB%84%88/id6777852933?uo=4
      🤩 Hack Features

      - HP MAX
      - ATK MAX
      • 0 replies
    • Guildmaster v1.3.19 [ +3 APK MOD ] Currency Max
      Mod APK Game Name: Guildmaster Idle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.ElvenryStudios.Guildmaster&hl=en

      🤩 Hack Features

      - Runes Max
      - Gold Max
      - Inventory Items Max ++30
      • 0 replies
    • Guildmaster Idle v1.3.19 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Guildmaster Idle By Elvenry Studios Limited
      Bundle ID: com.ElvenryStudios.Guildmaster
      App Store Link: https://apps.apple.com/us/app/guildmaster-idle/id1588390905?uo=4

      🤩 Hack Features

      - Runes Max
      - Gold Max
      - Inventory Items Max ++30
      • 0 replies
    • Guildmaster Idle v1.3.19 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Guildmaster Idle By Elvenry Studios Limited
      Bundle ID: com.ElvenryStudios.Guildmaster
      App Store Link: https://apps.apple.com/us/app/guildmaster-idle/id1588390905?uo=4

      🤩 Hack Features

      - Runes Max
      - Gold Max
      - Inventory Items Max ++30
      • 0 replies
    • Mob Empire: City Gang Wars v2.4.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Mob Empire: City Gang Wars By Atari, Interactive
      Bundle ID: com.atari.mobile.krys
      App Store Link: https://apps.apple.com/ph/app/mob-empire-city-gang-wars/id1488481638?uo=4

      🤩 Hack Features

      - Cash (Increase not decrease)
      - Gold (Increase not decrease)
      - Tokens (Increase not decrease)
      • 6 replies
    • Mob Empire: City Gang Wars v2.4.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Mob Empire: City Gang Wars By Atari, Interactive
      Bundle ID: com.atari.mobile.krys
      App Store Link: https://apps.apple.com/ph/app/mob-empire-city-gang-wars/id1488481638?uo=4

      🤩 Hack Features

      - Cash (Increase not decrease)
      - Gold (Increase not decrease)
      - Tokens (Increase not decrease)
      • 2 replies
    • Era Merge v1.0.1 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Era Merge By ANLOFT YAZILIM LIMITED SIRKETI
      Bundle ID: com.anloft.eramerge
      App Store Link: https://apps.apple.com/us/app/era-merge/id6783998492?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Ticket
      • 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