Jump to content

Patricktph

Senior Member
  • Posts

    2,778
  • Joined

  • Last visited

Everything posted by Patricktph

  1. If your using safari Try clearing your history by going to the settings> safari > Clear History And Website Data
  2. Idk if I should private message him his probably gonna get pissed but ey thanks for all your help man you awesome
  3. I have to ask this so I don't ask later .. But how would you put like 3 codes or more that make up a hack in one switch like this code below how would I put it in one switch %hook MagicSubscriptionManager -(bool) isActive { return true; } -(bool) isSubscriptionActive { return true; } -(bool) expireAtValid { return true; } %end
  4. likes this <key>items</key> <array> <dict> <key>cell</key> <string>PSGroupCell</string> <key>footerText</key> <string>Magic Piano Cheats</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <true/> <key>defaults</key> <string>ptest</string> <key>key</key> <string>kPlan</string> <key>label</key> <string>Always perfect</string> </dict> </array> <key>title</key> <string>ptest</string> </dict> </plist>
  5. So this but just add the new hack ? <key>items</key> <array> <dict> <key>cell</key> <string>PSGroupCell</string> <key>footerText</key> <string>Magic Piano Cheats</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <true/> <key>defaults</key> <string>ptest</string> <key>key</key> <string>kPlan</string> <key>label</key> <string>Always perfect</string> </dict>
  6. yay. that worked how can i add more switches for different hacks but with the same app
  7. Yeah here is my tweak.xm #define PLIST_PATH @"/var/mobile/Library/Preferences/ptest.plist" inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } %hook MagicPerformanceStats -(bool) isPerfect { if(GetPrefBool(@"kPlan")) { return true; } return %orig; } %end And this is my plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>items</key> <array> <dict> <key>cell</key> <string>PSGroupCell</string> <key>footerText</key> <string>Magic Piano Cheats</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <true/> <key>defaults</key> <string>com.techprohacker.ptest</string> <key>key</key> <string>kPlan</string> <key>label</key> <string>Always perfect</string> </dict> </array> <key>title</key> <string>ptest</string> </dict> </plist>
  8. If it says it's finished with result code 0 that's a good thing that means there's no errors Bu ready this topic it might help you out https://iosgods.com/topic/32809-how-to-easily-fix-old-deb-hacks-on-ios-93-and-higher/
  9. I just tried to turn on and off and tried to respring still got nothing
  10. I got the hack switch in my settings but when I turn it on or off it doesn't do anything in the app but Normaly with out the switch for on and off it works.. THIS IS MY TWEAK.xm #define PLIST_PATH @"/var/mobile/Library/Preferences/ptest.plist" inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } %hook MagicPerformanceStats -(bool) isPerfect { if(GetPrefBool(@"kPlan")) { return true; } return %orig; } %end AND THIS IS MY Plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>items</key> <array> <dict> <key>cell</key> <string>PSGroupCell</string> <key>footerText</key> <string>Magic Piano</string> </dict> <dict> <key>cell</key> <string>PSSwitchCell</string> <key>default</key> <true/> <key>defaults</key> <string>com.techprohacker.ptest</string> <key>key</key> <string>kPlan</string> <key>label</key> <string>VIP ACCESS</string> </dict> </array> <key>title</key> <string>ptest</string> </dict> </plist>
  11. Yea, but I have a question what if I want to add it to more switches Yes but I still have one question if I want to make more than 1 switching an just add this if(GetPrefBool(@"kPlan")) { before return then and add the %orig;
  12. Okay it worked I got I switch in my settings but I'm not sure if it actually works I will have to test it.. Thank you so Much DIDA (aka) The BOSS;)
  13. So then after that I'm going to be left with the headers do I copy them and paste them into /var/theos/include too?
  14. When I installed the headers I clicked unarchiver then it installed but then it made a another folder called "include" with headers and some other folders in it. So idk what you mean by "correct Extract them there" installed the headers I clicked unarchiver then it installed but then it made a another folder called "include" with headers and some other folders in it. So idk what you mean by "correct Extract them there"
  15. So do I paste this headers in/ var/theos/include. ?
  16. It says it's not in the .h file but it's there Compiling ptest.mm... In file included from ptest.mm:1: ./ptest.h:1:9: fatal error: 'Preferences/Preferences.h' file not found #import <Preferences/Preferences.h> ^ 1 error generated. make[3]: *** [obj/ptest.mm.d96b3db5.o] Error 1 make[2]: *** [internal-bundle-all_] Error 2 make[1]: *** [ptest.all.bundle.variables] Error 2 make: *** [internal-all] Error 2 iPhone:/var/mobile/magicpiano root# THIS IS THE CODE THAT IS PASTED IN THE .h #import <Preferences/Preferences.h> @interface ptestListController: PSListController { } @end
  17. Welcome! What's good:)
  18. Welcome to Awesome,helpful IG
  19. Welcome
  20. Do I paste The whole thing into Tweak.xm ?
×
  • 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