Jump to content

Compiling error MS


Go to solution Solved by Rook,

48 posts in this topic

Recommended Posts

Posted

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 ? :/

Show us your tweak.xm so we can help.

Posted

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

Show us your tweak.xm so we can help.

There it is, a bit long.

Posted

Ouch!

 

It could have been coded better. Did you make a key for each bike?

Posted

Ouch!

 

It could have been coded better. Did you make a key for each bike?

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> '
Posted

 

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> '

 

Do they have their own keys though?

 

Like kUsaBike, kAnotherBike etc?

Posted

What do you mean ?

It has no connection to the tweak.xm. The keys aren't there. It's the default one used in the topic.

Posted

It has no connection to the tweak.xm. The keys aren't there. It's the default one used in the topic.

Confused now :/

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

    • Soccer Dynasty: Club Manager v1.0.50 [ +15 Cheats ] Currency Max
      Modded/Hacked App: Soccer Dynasty: Club Manager By KONG SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.kongsoftware.kickpfm
      App Store Link: https://apps.apple.com/us/app/soccer-dynasty-club-manager/id6465972774?uo=4


      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Gold

      - Cash

      - Energy

      - Standard Scout

      - Silver Scout

      - Gold Scout

      - Platinum Scout

      - Tactic Book

      - Chemistry Point

      - FW Exp

      - MF Exp

      - DF Exp

      - GK Exp

      - Ticket [ Buy With Gold ]

      Note:- Don"t Abuse Hack Incase Banned
        • Informative
        • Thanks
        • Winner
        • Like
      • 16 replies
    • Soccer Dynasty: Club Manager v1.0.50 [ +15 Jailed ] Currency Max
      Modded/Hacked App: Soccer Dynasty: Club Manager By KONG SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.kongsoftware.kickpfm
      App Store Link: https://apps.apple.com/us/app/soccer-dynasty-club-manager/id6465972774?uo=4


      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Gold

      - Cash

      - Energy

      - Standard Scout

      - Silver Scout

      - Gold Scout

      - Platinum Scout

      - Tactic Book

      - Chemistry Point

      - FW Exp

      - MF Exp

      - DF Exp

      - GK Exp

      - Ticket [ Buy With Gold ]

      Note:- Don"t Abuse Hack Incase Banned
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 27 replies
    • Lollipop 3: Match 3 Puzzles v26.0112.00 [ +5 Cheats ] Auto Win
      Modded/Hacked App: Lollipop 3: Match 3 Puzzles By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.lollipopsweetheroesmatch3
      iTunes Store Link: https://apps.apple.com/us/app/lollipop-3-match-3-puzzles/id1634326372?uo=4
       

      🤩 Hack Features

      - Coins

      - Lives

      - Booster

      - Moves

      - Auto Win 
        • Winner
        • Like
      • 15 replies
    • Lollipop 3: Match 3 Puzzles v26.0112.00 [ +5 Jailed ] Auto Win
      Modded/Hacked App: Lollipop 3: Match 3 Puzzles By Puzzle1Studio,inc.
      Bundle ID: com.puzzle1studio.ap.lollipopsweetheroesmatch3
      iTunes Store Link: https://apps.apple.com/us/app/lollipop-3-match-3-puzzles/id1634326372?uo=4

       

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Coins

      - Lives

      - Booster

      - Moves

      - Auto Win 

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
        • Winner
        • Like
      • 19 replies
    • Idle Five - Basketball Manager v1.50.2 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Idle Five - Basketball Manager By Gaminho
      Bundle ID: com.gaminho.idlefivebasketball
      iTunes Store Link: https://apps.apple.com/us/app/idle-five-basketball-manager/id1539155867?uo=4

       

      🤩 Hack Features

      - Currency
      - Resources
      - ViP Active
      - ADS NO
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 16 replies
    • Idle Five - Basketball Manager v1.50.2 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Idle Five - Basketball Manager By Gaminho
      Bundle ID: com.gaminho.idlefivebasketball
      iTunes Store Link: https://apps.apple.com/us/app/idle-five-basketball-manager/id1539155867?uo=4
       

      🤩 Hack Features

      - Currency
      - Resources
      - ViP Active
      - ADS NO
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 19 replies
    • Undead Slayer: Offline Action v3.47.0 [ +14 Cheats ] Currency Max
      Modded/Hacked App: Undead Slayer: Horde Survivor By Enigma Publishing Limited
      Bundle ID: com.undeadslayer.athree.epl.as
      App Store Link: https://apps.apple.com/ph/app/undead-slayer-horde-survivor/id6746744005?uo=4


      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems

      - Soul Coins

      - Abyss Key

      - Rune Key

      - Gold Key

      - Red Dust

      - Blue Dust

      - Master Coin

      - Daily Star

      - HP [ Weapon Upgrade Then Equip ]

      - ATK [ Weapon Upgrade Then Equip ]
        • Informative
        • Agree
        • Winner
        • Like
      • 25 replies
    • Hungry Shark World v7.4.2 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Hungry Shark World By Ubisoft
      Bundle ID: com.ubisoft.hungrysharkworld
      iTunes Store Link: https://apps.apple.com/us/app/hungry-shark-world/id1046846443?uo=4


      Hack Features:
      - ADS NO

      - Gems

      - Coins 

      - Pearls 

      - Premium Pass

      - Health Auto Drain [ OFF ]

      - Boost Max 

      - Score Multi 

      - Revive Max 


      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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 96 replies
    • Falltopia: Epic Space Idle RPG v1.0.211 [ +12 Cheats ] Currency
      Modded/Hacked App: Falltopia: Epic Space Idle RPG By Pusilung HK Limited
      Bundle ID: com.threehp013.idle.plane.shooting.space.force.game
      App Store Link: https://apps.apple.com/ph/app/falltopia-epic-space-idle-rpg/id6748329424?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Speed Boost Active
      - Currency / NO Need
      - Resources / NO Need
      - Defensec Pass
      - Upgrade Pass
      - Season Pass
      - Battle Pass
      - Blessings Active
      - HP / Equip & Unequip
      - ATK / Equip & Unequip
      - Def / Equip & Unequip
        • Informative
        • Winner
        • Like
      • 26 replies
    • Undead Slayer: Offline Action v3.47.0 [ +14 Jailed ] Currency Max
      Modded/Hacked App: Undead Slayer: Horde Survivor By Enigma Publishing Limited
      Bundle ID: com.undeadslayer.athree.epl.as
      App Store Link: https://apps.apple.com/ph/app/undead-slayer-horde-survivor/id6746744005?uo=4
       

      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems

      - Soul Coins

      - Abyss Key

      - Rune Key

      - Gold Key

      - Red Dust

      - Blue Dust

      - Master Coin

      - Daily Star

      - HP [ Weapon Upgrade Then Equip ]

      - ATK [ Weapon Upgrade Then Equip ]
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 36 replies
    • Arcane Arena: Tower Defense TD v1.031 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Arcane Arena: Tower Defense TD By Panteon Yazilim Oyun Egitim Teknolojileri ve Hizmetleri Sanayi Ticaret Anonim Sirketi
      Bundle ID: com.panteon.arcanearena
      App Store Link: https://apps.apple.com/ca/app/arcane-arena-tower-defense-td/id6746447166?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Currency
      - Unlimited Resource
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 40 replies
    • Falltopia: Epic Space Idle RPG v1.0.211 [ +12 Jailed ] Currency
      Modded/Hacked App: Falltopia: Epic Space Idle RPG By Pusilung HK Limited
      Bundle ID: com.threehp013.idle.plane.shooting.space.force.game
      App Store Link: https://apps.apple.com/ph/app/falltopia-epic-space-idle-rpg/id6748329424?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Speed Boost Active
      - Currency / NO Need
      - Resources / NO Need
      - Defensec Pass
      - Upgrade Pass
      - Season Pass
      - Battle Pass
      - Blessings Active
      - HP / Equip & Unequip
      - ATK / Equip & Unequip
      - Def / Equip & Unequip
        • Thanks
        • Winner
        • Like
      • 19 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