Jump to content

Ted2

Senior Member
  • Posts

    4,939
  • Joined

  • Last visited

Everything posted by Ted2

  1. Okey will try, thankyou. Maybe a stupid question, but how do I get the option: 'iOSgods/patcher' I have only 5 options. Edit: Nevermind, ugh i'm dumb.
  2. Confused now
  3. What do you mean ?
  4. Yeah, I just put by every bike the offcial name with a 'k' before it. see my prefbundle.plist: http://www.mediafire.com/view/7yy39yjbcjrr5x7/prefbundle.plist
  5. Haha, my bad just started coding And with key do you mean in the 'prefbundle.plist' ? I have for example this for each bike: '<key>cell</key> <string>PSSwitchCell</string> <key>default</key> <false/> <key>defaults</key> <string>prefbundle</string> <key>key</key> <string>kDailyBike</string> <key>label</key> <string>Daily Bike</string> '
  6. Alright, ________________ #define PLIST_PATH @"/var/mobile/Library/Preferences/prefbundle.plist" inline bool GetPrefBool(NSString *key) { return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue]; } %hook ShopViewController -(bool) UseDailyBike { if(GetPrefBool(@"kDailyBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseUSABike { if(GetPrefBool(@"kUsaBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseUKBike { if(GetPrefBool(@"kEnglandBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseAustraliaBike { if(GetPrefBool(@"kAustraliaBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseNetherlandsBike { if(GetPrefBool(@"kNetherlandsBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseFranceBike { if(GetPrefBool(@"kFranceBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseGermanyBike { if(GetPrefBool(@"kGermanyBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseBrazilBike { if(GetPrefBool(@"kBrazilBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseSpainBike { if(GetPrefBool(@"kSpainBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseJapanBike { if(GetPrefBool(@"kJapanBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseBelgiumBike { if(GetPrefBool(@"kBelgiumBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseItalyBike { if(GetPrefBool(@"kItalyBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseArgentiniaBike { if(GetPrefBool(@"kArgentiniaBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseMexicoBike { if(GetPrefBool(@"kMexicoBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseSuperPenguin { if(GetPrefBool(@"kSuperBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UsePenguinGirl { if(GetPrefBool(@"kNormalBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseKidsMode { if(GetPrefBool(@"kKidsBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseMagicPenguin { if(GetPrefBool(@"kGhostBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseUltraBike { if(GetPrefBool(@"kUltraBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseThanksgivingBike { if(GetPrefBool(@"kThanlsgivingBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseXmasBike { if(GetPrefBool(@"kSantaBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseEasterBike { if(GetPrefBool(@"kEasterBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseNinjaBike { if(GetPrefBool(@"kNinjaBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseCopBike { if(GetPrefBool(@"kPoliceBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseRetroBike { if(GetPrefBool(@"kRetroBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseZombieBike { if(GetPrefBool(@"kZombie")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseConstructorBike { if(GetPrefBool(@"kArmyBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseHalloweenBike { if(GetPrefBool(@"kHalloweenBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseEasyBike { if(GetPrefBool(@"kGirlBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseBronzeBike { if(GetPrefBool(@"kBronzeBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseSilverBike { if(GetPrefBool(@"kSilverBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseGoldBike { if(GetPrefBool(@"kGoldBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseAcrobaticBike { if(GetPrefBool(@"kAcrobaticBike")) { return true; } return %orig; } %end %hook ShopViewController -(bool) UseBeatBike { if(GetPrefBool(@"kHogBike")) { return true } return %orig; } %end %hook ShopViewController -(bool) UseSpamBike { if(GetPrefBool(@"kHighTechBike")) { return true; } return %orig; } %end There it is, a bit long.
  7. Bundle ID is correct, but the bool doesn't work, when i select it need to be to 'true' but it doesn't do anything ?
  8. yoo thanks No idea, worked on it for 2 hours, but idk what I did wrong Edit: Probably found the problem, pretty stupid. will ask more if I didn't fix it Edit: Looks good now, but the bool to true didn't work ?
  9. Thanks, worked! Only problem, why whole coding didn't work
  10. Okey I got the .deb now, but when I put: 'make package install' it says: 'status database area is locked by another process' How can I fix this ?
  11. My bad, i clicked the link on that topic you posted for someone. my bad lol
  12. No, but the link you gave me says I need to rename the UIAlertview.h to UIAlertView,h.bak But I'll try something. Okey, thanks. Will try after dinner
  13. Mweh, I don't have the 'UIAlertView/UIAlertView.h' I have in the folder include only: (folder) 'logos' (file) substrate.h
  14. Thanks, worked, but now I've got another error: 'In file included from prefbundle.mm:1: ./prefbundle.h.1:9: fatal error: 'Preferences/Preferences.h' file not found #import <preferences/preferences.h> What now ?
  15. after every %hook I need to end it with %end ? I have 32 patches in it that begin with %hook
  16. Hello everyone, I tried to compile my own tweak, but I got this error: ' iPhone-van-Joey:/var/mobile/bikeracemix root# make /var/mobile/bikeracemix/theos/makefiles/targets/Darwin-arm/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang. /var/mobile/bikeracemix/theos/makefiles/targets/Darwin-arm/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries. Making all for tweak bikeracemix... Preprocessing Tweak.xm... Tweak.xm:33: error: %hook inside a %hook, opened at Tweak.xm:15 make[2]: *** [obj/Tweak.xm.746a6473.o] Error 22 make[1]: *** [internal-library-all_] Error 2 make: *** [bikeracemix.all.tweak.variables] Error 2 iPhone-van-Joey:/var/mobile/bikeracemix root#' Any help?
  17. SDK could be the problem for me, I never installed it, is there anu tuto here?
  18. Thanks, but changin 64 don't work for me also, pretty annyoing.
  19. Same problem here Where can we find the 64 solution?
  20. wow, seems nice. will check now!
  21. Hey, I've seen tweaks (hacks) in settings, where you can turn a hack on and off (true and false) Well, I want to add in a tweak that they can select it as true and as false, but I serously don't know how? anyone knows maybe ? Thanks!
  22. intresting.
  23. Wil test
  24. you don't need to delete the app with doing this..
×
  • 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