-
Posts
186 -
Joined
-
Last visited
Everything posted by The Epic Gamer
-
Hello, can someone give me the link to a modmenu that is easy to use for normal hooking (%hook) like the one used in this:
-
Help/Support NIC Template Error on iOS 11.2.6
The Epic Gamer replied to The Epic Gamer's topic in Help & Support
I fixed it by downngrading the SDK to 9.2 and now everything is working perfectly -
Help/Support NIC Template Error on iOS 11.2.6
The Epic Gamer replied to The Epic Gamer's topic in Help & Support
@DiDA I reinstalled theos, replaced sdks and I made a new patcher but I had one error which is this: ==> Linking bundle hotspotpatcher (arm64)… ld: warning: directory not found for option '-F/var/theos/sdks/iPhoneOS9.3.sdk/System/Library/PrivateFrameworks' ld: framework not found Preferences clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation) make[4]: *** [/var/theos/makefiles/instance/bundle.mk:37: /var/mobile/hotspotpatcher/.theos/obj/arm64/hotspotpatcher.bundle/hotspotpatcher] Error 1 -
Help/Support NIC Template Error on iOS 11.2.6
The Epic Gamer replied to The Epic Gamer's topic in Help & Support
Ok, can you give me a link to download the sdk, please Never mind, I will just run the command theosinstaller 9.3 -
Help/Support NIC Template Error on iOS 11.2.6
The Epic Gamer replied to The Epic Gamer's topic in Help & Support
I have the iOS 10 sdk, should I change it to the iOS 9 sdk? -
Help/Support NIC Template Error on iOS 11.2.6
The Epic Gamer replied to The Epic Gamer's topic in Help & Support
@DiDA I removed a comment in the code, here is my tweak.xm: @import Foundation; @import UIKit; #import <substrate.h> #import "vm_writeData.h" // To MSHook Offsets, use https://iosgods.com/topic/22718-mshook-offsets/ // To Generate Tweak.xm and Preferences Plist https://iosgods.com/topic/24138-code-inject/ #define PLIST_PATH @"/var/mobile/Library/Preferences/com.majdawwad.hotspot.plist" inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } // Add your MS/Flex/MSHook Code here. Examples can be found on iOSGods. %hook AfUserAccount -(bool) isElite { if(GetPrefBool(@"key1")) { return TRUE; } return %orig; } %end %hook AFUserAccount -(void) setIsElite:(bool)arg1 { if(GetPrefBool(@"key1")) { arg1 = TRUE; } %orig(arg1); } %end %hook CLSAnalyticsMetadataController +(bool) hostJailbroken { if(GetPrefBool(@"key2")) { return FALSE; } return %orig; } %end // Automatic Popup Code void setup() { UIAlertController *igcredits = [UIAlertController alertControllerWithTitle:@"Made for iOSGods.com" message:@"Hotspot Sheild VPN Cheats for iOSGods.com!\n\nVisit the hack's official topic on iOSGods for more information and updates!" preferredStyle:UIAlertControllerStyleAlert]; UIAlertAction *iosgods = [UIAlertAction actionWithTitle:@"Visit iOSGods.com!" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){ [[UIApplication sharedApplication] openURL: [NSURL URLWithString: @"https://iosgods.com/forum/13-free-jailbroken-cydia-cheats/"]]; }]; UIAlertAction *clubs = [UIAlertAction actionWithTitle:@"Visit the Clubs!" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action){ [[UIApplication sharedApplication] openURL: [NSURL URLWithString: @"https://iosgods.com/clubs/"]]; }]; UIAlertAction *thankyou = [UIAlertAction actionWithTitle:@"Thank you" style:UIAlertActionStyleCancel handler:nil]; [igcredits addAction:iosgods]; [igcredits addAction:clubs]; [igcredits addAction:thankyou]; [[UIApplication sharedApplication].keyWindow.rootViewController presentViewController:igcredits animated:true completion:nil]; } void unsubscribeToLaunchEvent(void); static void didFinishLaunching(CFNotificationCenterRef center, void *observer, CFStringRef name, const void *object, CFDictionaryRef info) { setup(); unsubscribeToLaunchEvent(); } const char *authObserver = "authObserver"; void subscribeToLaunchEvent() { CFNotificationCenterAddObserver(CFNotificationCenterGetLocalCenter(), authObserver, &didFinishLaunching, (CFStringRef)UIApplicationDidFinishLaunchingNotification, NULL, CFNotificationSuspensionBehaviorDrop); } void unsubscribeToLaunchEvent() { CFNotificationCenterRemoveObserver(CFNotificationCenterGetLocalCenter(), authObserver, (CFStringRef)UIApplicationDidFinishLaunchingNotification, NULL); } __attribute__((constructor)) static void initialize() { subscribeToLaunchEvent(); } -
Hello when I tried using this template I had an error which says: Tweak.xm:53:48: error: use of undeclared identifier 'options' [[UIApplication sharedApplication] openURL:options:completionHandler: [NSURL URLWithString: @"https://iosgods.com/forum/13-free-jailbroken-cydia-cheats/"]]; ^ Tweak.xm:53:56: error: use of undeclared identifier 'completionHandler' [[UIApplication sharedApplication] openURL:options:completionHandler: [NSURL URLWithString: @"https://iosgods.com/forum/13-free-jailbroken-cydia-cheats/"]]; ^ Tweak.xm:57:40: error: instance method '-openURL:::' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access] [[UIApplication sharedApplication] openURL:options:completionHandler: [NSURL URLWithString: @"https://iosgods.com/clubs/"]]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/theos/sdks/iPhoneOS10.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:105:40: note: receiver is instance of class declared here NS_CLASS_AVAILABLE_IOS(2_0) @interface UIApplication : UIResponder ^ Tweak.xm:57:48: error: use of undeclared identifier 'options' [[UIApplication sharedApplication] openURL:options:completionHandler: [NSURL URLWithString: @"https://iosgods.com/clubs/"]]; ^ Tweak.xm:57:56: error: use of undeclared identifier 'completionHandler' [[UIApplication sharedApplication] openURL:options:completionHandler: [NSURL URLWithString: @"https://iosgods.com/clubs/"]]
-
Tool [3.1 NIC Template] iOSGods Custom Tweak/Patcher Template for Theos!
The Epic Gamer replied to Rook's topic in Tools
Thanks for everything you do ? -
Help/Support Theos iOS 11.3.1 Forward Declaration Error
The Epic Gamer posted a topic in Help & Support
Error: AppDelegate' for instance message is a forward declaration Tweak.xm: #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import <substrate.h> /* Code Injection Example More CSCI examples can be found here: http://iosgods.com/forum/48-coding-center/ */ #include “writeData.h” %hook AFUserAccount -(bool) isElite { return TRUE; } %end %hook AFUserAccount -(void) setIsElite:(bool)arg1 { arg1 = TRUE; %orig(arg1); } %end %hook AppDelegate UIAlertController * alert = [UIAlertController alertControllerWithTitle:@"Title" message:@"Message" preferredStyle:UIAlertControllerStyleAlert]; UIAlertAction* yesButton = [UIAlertAction actionWithTitle:@"Yes, please" style:UIAlertActionStyleDefault handler:^(UIAlertAction * action) { //Handle your yes please button action here }]; UIAlertAction* noButton = [UIAlertAction actionWithTitle:@"No, thanks" style:UIAlertActionStyleDefault handler:^(UIAlertAction * action) { //Handle no, thanks button }]; [alert addAction:yesButton]; [alert addAction:noButton]; [self presentViewController:alert animated:YES completion:nil]; -
Help/Support App Delegate Theos Error iOS 11.2.6
The Epic Gamer replied to The Epic Gamer's topic in Help & Support
Now, is it good? -
Help/Support App Delegate Theos Error iOS 11.2.6
The Epic Gamer replied to The Epic Gamer's topic in Help & Support
Ok, I edited the post, is it good now? -
Hello, I got this error when I was trying to make a package for a tweak in Theos iOS 11.2.6: iPad:/var/mobile root# cd /var/mobile/hotspothack iPad:/var/mobile/hotspothack root# make package > Making all for tweak HotspotHack… ==> Compiling Tweak.xm (arm64)… Tweak.xm:44:6: error: receiver type 'AppDelegate' for instance message is a forward declaration [self presentViewController:alert animated:YES completion:nil]; ^~~~ Tweak.xm:30:8: note: forward declaration of class here @class AppDelegate; @class AFUserAccount; ^ 1 error generated. make[3]: *** [/var/theos/makefiles/instance/rules.mk:246: /var/mobile/hotspothack/.theos/obj/debug/arm64/Tweak.xm.12ce51a7.o] Error 1 ==> Compiling Tweak.xm (armv7)… Tweak.xm:44:6: error: receiver type 'AppDelegate' for instance message is a forward declaration [self presentViewController:alert animated:YES completion:nil]; ^~~~ Tweak.xm:30:8: note: forward declaration of class here @class AppDelegate; @class AFUserAccount; ^ 1 error generated. make[3]: **make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/mobile/hotspothack/.theos/obj/debug/arm64/HotspotHack.dylib] Error 2 make[2]: *** Waiting for unfinished jobs.... * [/var/theos/makefiles/instance/rules.mk:246: /var/mobile/hotspothack/.theos/obj/debug/armv7/Tweak.xm.469337b3.o] Error 1 make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/mobile/hotspothack/.theos/obj/debug/armv7/HotspotHack.dylib] Error 2 make[1]: *** [/var/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2 make: *** [/var/theos/makefiles/master/rules.mk:123: HotspotHack.all.tweak.variables] Error 2 iPad:/var/mobile/hotspothack root# Tweak.xm: #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import <substrate.h> /* Code Injection Example More CSCI examples can be found here: http://iosgods.com/forum/48-coding-center/ */ #include “writeData.h” %hook AFUserAccount -(bool) isElite { return TRUE; } %end %hook AFUserAccount -(void) setIsElite:(bool)arg1 { arg1 = TRUE; %orig(arg1); } %end %hook AppDelegate - (void)applicationDidFinishLaunching:(id)arg1 { %orig; UIAlertController * alert = [UIAlertController alertControllerWithTitle:@"Hotspot VPN Tweak" message:@"Hack Successfully Installed" preferredStyle:UIAlertControllerStyleAlert]; UIAlertAction * ok = [UIAlertAction actionWithTitle:@"Thank You!" style:UIAlertActionStyleDefault handler:^(UIAlertAction * action) { [alert dismissViewControllerAnimated:YES completion:nil]; }]; [alert addAction:ok]; [self presentViewController:alert animated:YES completion:nil]; } %end
-
Help/Support Theos Error: Preferences
The Epic Gamer replied to The Epic Gamer's topic in Help & Support
Thank you for your help ? -
What is the fix for that error?
-
Help/Support Theos error when creating a patcher
The Epic Gamer replied to The Epic Gamer's topic in Help & Support
Can you give me an example -
Can someone give me the right way to install Theos on iOS 11.2.6 without errors and using a computer
-
when I add this code to make a patcher if(GetPrefBool(@"key1")) { I get this error Any Fix?
-
Help/Support iOS 11.2.6 Theos Errors :(
The Epic Gamer replied to The Epic Gamer's topic in Help & Support
can you give me the whole tweak.xm code so I know what to do, again i’m sorry -
Help/Support iOS 11.2.6 Theos Errors :(
The Epic Gamer replied to The Epic Gamer's topic in Help & Support
Ok, so I got the new code, where do I replace it in the tweak.xm (sorry for asking a lot, i’m learning) -
Help/Support iOS 11.2.6 Theos Errors :(
The Epic Gamer replied to The Epic Gamer's topic in Help & Support
You mean to change every single word of UIAlertView to UIAlertController in the Tweak.xm file? -
Please help me fix these Theos errors in NewTerm 2: Tweak.xm: #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import <substrate.h> %hook BetternetUser -(bool) isPremium { return TRUE; } %end %hook BetternetUser -(void) setIsPremium:(bool)arg1 { %orig(arg1); arg1 = TRUE; } %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:@"@@PROJECTNAME@@ Cheats" message:@"\n@@PROJECTNAME@@ Cheats by @@@User@@ for iOSGods.com" 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
-
Help/Support iOS 11.2.6 Jailbreak ?
The Epic Gamer replied to The Epic Gamer's topic in Help & Support
-
Is there any news about jailbreak for iOS 11.2.6 ?
-
Help/Support Flex 3 Not Processing Apps
The Epic Gamer replied to The Epic Gamer's topic in Help & Support
I waited for more than one minute -
Hello, I have an iPad Pro 9.7 inch on iOS 10.1.1, Whenever I try to process the app, it doesn't process, any fix?