Jump to content

Ted2

Senior Member
  • Posts

    4,939
  • Joined

  • Last visited

Everything posted by Ted2

  1. For settings And also that one doesn't work. The iOSgods patcher worked, i changed int to bool, methode to ShopViewController etc I don't get it why this doesn't work.
  2. Hey! I changed the first 3 in your tutorial, and these work! so I did something wrong in my own one!
  3. okey, I'll. Here is it: (.deb included) : http://www.dropbox.com/s/jk9blqk22ni6i2y/bikeracemix-iosgods.zip?dl=0
  4. I did Edit: I fixed the first problem, but they don't work in the game
  5. Hey, I did everything again, now I can select only 3 in the settings, but added more. anyway here should be a fix for, but even if i select these, it doesn't work in the game
  6. Alright, and euhm is (bool) and (BOOL) a big diffrence if you forgot to do it in caps ? if yes that could be the problem
  7. Hey man, you said the coding could be better, how ?
  8. 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.
  9. Confused now
  10. What do you mean ?
  11. 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
  12. 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> '
  13. 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.
  14. 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 ?
  15. 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 ?
  16. Thanks, worked! Only problem, why whole coding didn't work
  17. 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 ?
  18. My bad, i clicked the link on that topic you posted for someone. my bad lol
  19. 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
  20. Mweh, I don't have the 'UIAlertView/UIAlertView.h' I have in the folder include only: (folder) 'logos' (file) substrate.h
  21. 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 ?
  22. after every %hook I need to end it with %end ? I have 32 patches in it that begin with %hook
  23. 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?
  24. SDK could be the problem for me, I never installed it, is there anu tuto here?
×
  • 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