Jump to content

18 posts in this topic

Recommended Posts

Posted (edited)
20 minutes ago, TheArmQueen said:

#import <substrate.h>
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

%hook PromoteViewController

-(void)goBuyViews:(int)arg1 numbercoins:(int)arg2 {
%orig (arg2, 5);
}
%end
  
%hook AppDelegate // Change this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc.

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.
UIAlertView *igcredits = [[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:self 
										cancelButtonTitle:@"Thanks" 
										otherButtonTitles:@"Visit Us", nil]; 
[igcredits show];
[igcredits release]; 
return %orig();
}
 
%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
 
NSString *button = [alertView buttonTitleAtIndex:buttonIndex];
 
	if([button isEqualToString:@"Visit Us"])
	{
		[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://iosgods.com/"]];                                                                                
	}
}
%end

Copy paste exact same code  into tweak.xm ( i have added your function name , message and title  and stuff in it as well ) 

There's less this time.

xg9xKEy.png

It seems to not like my text or where the green arrows are?

It's the '@'? "missing terminating character"?

Updated by TheArmPrincess
Posted
2 minutes ago, TheArmPrincess said:

There's less this time.

xg9xKEy.png

It seems to not like my text or where the green arrows are?

try removing the @ at both places and try ?

Posted

Removed @ and both " "

Now this.

CEBBANA.png

Is it because i used symbols or something idk.

IDK what it wants now. "Expected :"?

Posted (edited)

YEP I FIXED IT!

It was just the '=' that caused it.

Updated by TheArmPrincess
Posted (edited)

Any idea why it is causing the app to launch crash now?

#import <substrate.h>
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

%hook PromoteViewController

-(void)goBuyViews:(int)arg1 numbercoins:(int)arg2 {
%orig (arg2, 5);
}
%end
  
%hook AppDelegate // Change this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc.

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.
UIAlertView *igcredits = [[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 equals Cost amount e.g 600 coins for 100 views equals 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:self 
										cancelButtonTitle:@"Thanks AUSSIE G4M3R!" 
										otherButtonTitles:@"Visit iOSGods!", nil]; 
[igcredits show];
[igcredits release]; 
return %orig();
}
 
%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
 
NSString *button = [alertView buttonTitleAtIndex:buttonIndex];
 
	if([button isEqualToString:@"Visit iOSGods!"])
	{
		[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://iosgods.com/"]];										  
	}
}
%end

Is the UIAlertView making it crash?

I changed - (BOOL)application... to +(void)application... as that's what it said in Flex.

Removed tweak from Cydia but app is still crashing even after reinstall? (only when jailbroken)

What could possibly be causing my app to crash, is it fully uninstalled?

Updated by TheArmPrincess
Posted

@TheArmQueen The app seemed to fix itself over night and it no longer crashes.

Although I don't know if the UIAlertView worked because I had the tweak working with a different UIAlertView and it may have caused it to not show up again since its only a one time thing but you said once per launch so that means it should have showed up.

Any idea why the Alert isn't popping up at launch?

#import <substrate.h>
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

%hook PromoteViewController

-(void)goBuyViews:(int)arg1 numbercoins:(int)arg2 {
%orig (arg2, 5);
}
%end
  
%hook AppDelegate // Change this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc.

+(void)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.
UIAlertView *igcredits = [[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 equals Cost amount e.g 600 coins for 100 views equals 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:self 
										cancelButtonTitle:@"Thanks AUSSIE G4M3R!" 
										otherButtonTitles:@"Visit iOSGods!", nil]; 
[igcredits show];
[igcredits release]; 
return %orig();
}
 
%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
 
NSString *button = [alertView buttonTitleAtIndex:buttonIndex];
 
	if([button isEqualToString:@"Visit iOSGods!"])
	{
		[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://iosgods.com/"]];										  
	}
}
%end

Maybe I didn't change the AppDelegate to the correct one, i'll have a look later.

Posted
3 hours ago, TheArmPrincess said:

@TheArmQueen The app seemed to fix itself over night and it no longer crashes.

Although I don't know if the UIAlertView worked because I had the tweak working with a different UIAlertView and it may have caused it to not show up again since its only a one time thing but you said once per launch so that means it should have showed up.

Any idea why the Alert isn't popping up at launch?


#import <substrate.h>
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

%hook PromoteViewController

-(void)goBuyViews:(int)arg1 numbercoins:(int)arg2 {
%orig (arg2, 5);
}
%end
  
%hook AppDelegate // Change this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc.

+(void)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.
UIAlertView *igcredits = [[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 equals Cost amount e.g 600 coins for 100 views equals 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:self 
										cancelButtonTitle:@"Thanks AUSSIE G4M3R!" 
										otherButtonTitles:@"Visit iOSGods!", nil]; 
[igcredits show];
[igcredits release]; 
return %orig();
}
 
%new
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
 
NSString *button = [alertView buttonTitleAtIndex:buttonIndex];
 
	if([button isEqualToString:@"Visit iOSGods!"])
	{
		[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://iosgods.com/"]];										  
	}
}
%end

Maybe I didn't change the AppDelegate to the correct one, i'll have a look later.

Yea wrong app delegate maybe

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

    • Pocket Necromancer v1.4.3 [ +11 Cheats ] Gold Unlimited
      Modded/Hacked App: Pocket Necromancer By Sandsoft Publishing Company
      Bundle ID: com.quicksand.pocketnecromancer
      iTunes Store Link: https://apps.apple.com/us/app/pocket-necromancer/id6450004790?uo=4


      Hack Features:
      - ADS NO [ Reward Fee ]

      - Premium Active

      - Energy Cost 0

      - Energy Increaser

      - Gold Unlimited [ Win Battle ] Rewards

      - Stage Unlocked

      - Chapter Unlocked +2

      - Play Any [ Stage & Ch ]

      - Never Die

      - DMG

      - Speed Mov

      - Bullet Max [ Works With Weapon Only Just Equip ]


      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/
        • Agree
        • Winner
        • Like
      • 45 replies
    • Pocket Necromancer v1.4.3 [ +11 Jailed ] Gold Unlimited
      Modded/Hacked App: Pocket Necromancer By Sandsoft Publishing Company
      Bundle ID: com.quicksand.pocketnecromancer
      iTunes Store Link: https://apps.apple.com/us/app/pocket-necromancer/id6450004790?uo=4


      Hack Features:

      - ADS NO [ Reward Fee ]

      - Premium Active

      - Energy Cost 0

      - Energy Increaser

      - Gold Unlimited [ Win Battle ] Rewards

      - Stage Unlocked

      - Chapter Unlocked +2

      - Play Any [ Stage & Ch ]

      - Never Die

      - DMG

      - Speed Mov

      - Bullet Max [ Works With Weapon Only Just Equip ]

       
      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App
        • Informative
        • Agree
        • Winner
        • Like
      • 46 replies
    • Adventure Bay - Farm Games v1.38.19 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Adventure Bay - Farm Games By Gamegos Teknoloji A.S.
      Bundle ID: com.gamegos.adventure.bay.paradise.farm
      iTunes Store Link: https://apps.apple.com/us/app/adventure-bay-farm-games/id1578449819?uo=4
       

      🤩 Hack Features

      - Gems
      - Coins
      - Energy
      - Avatar Unlock
        • Like
      • 9 replies
    • Adventure Bay - Farm Games v1.38.19 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Adventure Bay - Farm Games By Gamegos Teknoloji A.S.
      Bundle ID: com.gamegos.adventure.bay.paradise.farm
      iTunes Store Link: https://apps.apple.com/us/app/adventure-bay-farm-games/id1578449819?uo=4


      🤩 Hack Features

      - Gems
      - Coins
      - Energy
      - Avatar Unlock
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 13 replies
    • Plant Survivor:Bang Bang v3.3.1 [ +10 Jailed ] Currency Max
      Modded/Hacked App: Plant Survivor:Bang Bang By HONGKONG FANGQU NETWORK CO., LIMITED
      Bundle ID: com.fanqu.b5
      iTunes Store Link: https://apps.apple.com/us/app/plant-survivor-bang-bang/id6737405420?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Avatar Unlocked

      - Frame Unlocked

      - Currency Max [ Earns Some - Disable After Hack ]

      - Resources Max [ Earns Some - Disable After Hack ]

      - Silver Coins [ Earn Some ]

      - Auto Win Wave [ Challenge & Adventure ]

      - HP [ Just Up Plants & Marge On Board Then Work ] Pvp Not Tested

      - DMG [ Just Up Plants & Marge On Board Then Work ] Pvp Not Tested

      - DEF [ Just Up Plants & Marge On Board Then Work ] Pvp Not Tested


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 26 replies
    • Plant Survivor:Bang Bang v3.3.1 [ +10 Cheats ] Currency Max
      Modded/Hacked App: Plant Survivor:Bang Bang By HONGKONG FANGQU NETWORK CO., LIMITED
      Bundle ID: com.fanqu.b5
      iTunes Store Link: https://apps.apple.com/us/app/plant-survivor-bang-bang/id6737405420?uo=4

       

       

      🔧 Mod Requirements

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

       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Avatar Unlocked

      - Frame Unlocked

      - Currency Max [ Earns Some - Disable After Hack ]

      - Resources Max [ Earns Some - Disable After Hack ]

      - Silver Coins [ Earn Some ]

      - Auto Win Wave [ Challenge & Adventure ]

      - HP [ Just Up Plants & Marge On Board Then Work ] Pvp Not Tested

      - DMG [ Just Up Plants & Marge On Board Then Work ] Pvp Not Tested

      - DEF [ Just Up Plants & Marge On Board Then Work ] Pvp Not Tested


      🍏 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
      • 27 replies
    • Plant Survivor:Bang Bang v3.3.1 [ +4 Jailed ] DMG
      Modded/Hacked App: Plant Survivor:Bang Bang By HONGKONG FANGQU NETWORK CO., LIMITED
      Bundle ID: com.fanqu.b5
      iTunes Store Link: https://apps.apple.com/us/app/plant-survivor-bang-bang/id6737405420?uo=4


      🚀 Hack Features

      - Silver Coins

      - HP [ Just Up Plants & Marge On Board Then Work ] Pvp Not Tested

      - DMG [ Just Up Plants & Marge On Board Then Work ] Pvp Not Tested

      - DEF [ Just Up Plants & Marge On Board Then Work ] Pvp Not Tested


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Winner
        • Like
      • 15 replies
    • Plant Survivor:Bang Bang v3.3.1 [ +4 Cheats ] DMG
      Modded/Hacked App: Plant Survivor:Bang Bang By HONGKONG FANGQU NETWORK CO., LIMITED
      Bundle ID: com.fanqu.b5
      iTunes Store Link: https://apps.apple.com/us/app/plant-survivor-bang-bang/id6737405420?uo=4

       

       

      🔧 Mod Requirements

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

       

      🚀 Hack Features

      - Silver Coins

      - HP [ Just Up Plants & Marge On Board Then Work ] Pvp Not Tested

      - DMG [ Just Up Plants & Marge On Board Then Work ] Pvp Not Tested

      - DEF [ Just Up Plants & Marge On Board Then Work ] Pvp Not Tested


      🍏 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/
        • Agree
        • Thanks
        • Winner
        • Like
      • 12 replies
    • Dream Master-Travel Puzzle  v3.12 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Dream Master-Travel Puzzle By F.O.G LIMITED
      Bundle ID: com.match.busters.free.ios
      iTunes Store Link: https://apps.apple.com/us/app/dream-master-travel-puzzle/id6636480682?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins [ Disable After Hack ]

      - Stars [ Disable After Hack ]

      - Lives 0 Play Unlimited

      - Booster


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Thanks
      • 5 replies
    • Dream Master-Travel Puzzle  v3.12 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Dream Master-Travel Puzzle By F.O.G LIMITED
      Bundle ID: com.match.busters.free.ios
      iTunes Store Link: https://apps.apple.com/us/app/dream-master-travel-puzzle/id6636480682?uo=4

       

      🤩 Hack Features

      - Auto Win

      - Coins [ Disable After Hack ]

      - Stars [ Disable After Hack ]

      - Lives 0 Play Unlimited

      - Booster


      🍏 Jailbreak 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
        • Like
      • 7 replies
    • Archer Hunter: Roguelike Game v0.29.458 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Archer Hunter: Roguelike Game By Suga Pte. Ltd.
      Bundle ID: co.imba.archero
      iTunes Store Link: https://apps.apple.com/us/app/archer-hunter-roguelike-game/id1543119725?uo=4


      🤩 Hack Features

      - Gems [ Revive To Get Disable After Hack ]
      - Coins [ Weapon Up To Get Disable After Hack ]
      - HP [ Check Status ]
      - ATK [ Check Status ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 21 replies
    • Archer Hunter: Roguelike Game v0.29.458 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Archer Hunter: Roguelike Game By Suga Pte. Ltd.
      Bundle ID: co.imba.archero
      iTunes Store Link: https://apps.apple.com/us/app/archer-hunter-roguelike-game/id1543119725?uo=4



      🤩 Hack Features

      - Gems [ Revive To Get Disable After Hack ]
      - Coins [ Weapon Up To Get Disable After Hack ]
      - HP [ Check Status ]
      - ATK [ Check Status ] 


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack
        • Agree
        • Thanks
        • Winner
        • Like
      • 16 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