Jump to content

16 posts in this topic

Recommended Posts

Posted (edited)

hmm ,well, when i compile it , it says "you fell off the face of earth '{' 

Did you %end the function?

 

Or maybe you are missing stuff in your other functions.

Updated by Chrizk0
Posted (edited)

Did you %end the function?

 

Or maybe you are missing stuff in your other functions.

The missing '{' like I said. Maybe he copied the code before you edited it.

 

@Vegito Alternatively you can use

if (myObj.boolJail) {
// This will execute if boolJail is set to True
}

[The -(id) > return %orig, Just a pass-through.Wont delete the argument. Am i correct?

What? Updated by castix
Posted

Did you %end the function?

 
 
 
%hook SSJailbreakCheck
+ (id)runningProcesses 
{
if(GetPrefBool(@"kJail")) {
 
return [NSNumber numberWithInt:0];   
}
return %orig;
}
 
 
 
 
 
+ (int)filesExistCheck 
{
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
 
 
 
+ (int)symbolicLinkCheck
 {
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
 
 
 
 
+ (int)systemCheck
 {
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
 
 
 
+ (int)fstabCheck 
{
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
 
 
 
+ (int)processesCheck
{
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
 
 
+ (int)plistCheck 
{
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
 
 
+ (int)inaccessibleFilesCheck 
{
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
 
 
+ (int)cydiaCheck 
{
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
+ (int)urlCheck 
{
return 0;
}
return %orig;
}
 
 
 
 
 
+ (int)jailbroken 
{
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
%end
 
 
 
you mean i should use %end everytime i use if(GetPrefBool(@"kXyz")?

The missing '{' like I said. Maybe he copied the code before you edited it.

 

@Vegito Alternatively you can use

if (myObj.boolJail) {
// This will execute if boolJail is set to True
}
What?

 

No, i compiled the tweak without any preference loader in a noob way, it started to show me errors as soon as i started with preference loader

Posted

 

 
 
 
%hook SSJailbreakCheck
+ (id)runningProcesses 
{
if(GetPrefBool(@"kJail")) {
 
return [NSNumber numberWithInt:0];   
}
return %orig;
}
 
 
 
 
 
+ (int)filesExistCheck 
{
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
 
 
 
+ (int)symbolicLinkCheck
 {
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
 
 
 
 
+ (int)systemCheck
 {
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
 
 
 
+ (int)fstabCheck 
{
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
 
 
 
+ (int)processesCheck
{
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
 
 
+ (int)plistCheck 
{
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
 
 
+ (int)inaccessibleFilesCheck 
{
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
 
 
+ (int)cydiaCheck 
{
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
 
+ (int)urlCheck 
{
return 0;
}
return %orig;
}
 
 
 
 
 
+ (int)jailbroken 
{
if(GetPrefBool(@"kJail")) {
 
return 0;
}
return %orig;
}
%end
 
 
 
you mean i should use %end everytime i use if(GetPrefBool(@"kXyz")?

 

Yes now make a PSSwitchCell with the (kJail) key, that one switch will contain all those functions. 

Posted
...

 

You forgot to open the code block for every method for example

+ (int)filesExistCheck {
    if(myObj.boolJail) {
    return 0;
    }
    %orig;
}
Posted

i didn't copy any code from anywhere, i have made my tweak.xm backup on pc, i am simply copying it and pasting it here 


 

You forgot to open the code block for every method for example

+ (int)filesExistCheck {
    if(myObj.boolJail) {
    return 0;
    }
    %orig;
}

damn man :o thanks! let me try! 


 

You forgot to open the code block for every method for example

+ (int)filesExistCheck {
    if(myObj.boolJail) {
    return 0;
    }
    %orig;
}

i have given opening and closing parenthesis properly. It's not the opening of code block i guess.

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

    • Solitaire Grand Harvest v2.394.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Solitaire Grand Harvest By Supertreat GmbH
      Bundle ID: net.supertreat.solitaire
      App Store Link: https://apps.apple.com/us/app/solitaire-grand-harvest/id1223338261?uo=4


      🤩 Hack Features

      - Coins
      - Free Ticket
      - Free Undo
      - Wild Card
        • Like
      • 10 replies
    • Solitaire Grand Harvest v2.394.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Solitaire Grand Harvest By Supertreat GmbH
      Bundle ID: net.supertreat.solitaire
      App Store Link: https://apps.apple.com/us/app/solitaire-grand-harvest/id1223338261?uo=4


      🤩 Hack Features

      - Coins
      - Free Ticket
      - Free Undo
      - Wild Card
      • 11 replies
    • Gear Hill Customs v2025.7.354 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Gear Hill Customs By DieNo Games Oy
      Bundle ID: com.ssggamestudio.resourcemerge
      App Store Link: https://apps.apple.com/us/app/gear-hill-customs/id6503343757?uo=4
       

      🤩 Hack Features

      - Gems [ Buy Energy Disable After Unlimited ]

      - Cash [ Quest rewards ]

      - Energy Cost 0

      - Resources Cost 0

      - Stock Unlimted

      Note:- When You Hack Gems Then Disable [ Energy & Resoures ] After Hacked Use Both Option
      • 10 replies
    • Gear Hill Customs v2025.7.354 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Gear Hill Customs By DieNo Games Oy
      Bundle ID: com.ssggamestudio.resourcemerge
      App Store Link: https://apps.apple.com/us/app/gear-hill-customs/id6503343757?uo=4
       

      🤩 Hack Features

      - Gems [ Buy Energy Disable After Unlimited ]

      - Cash [ Quest rewards ]

      - Energy Cost 0

      - Resources Cost 0

      - Stock Unlimted

      Note:- When You Hack Gems Then Disable [ Energy & Resoures ] After Hacked Use Both Option
      • 13 replies
    • Matching Story v1.43.01 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 39 replies
    • Matching Story v1.43.01 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4

       
      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
      • 48 replies
    • Survivor Kingdoms V3.25 [ +11 Jailed ] Easy Win
      Modded/Hacked App: Survivor Kingdoms By Gamee Joint Stock Company
      Bundle ID: com.gamee.kingdoms.survivor.io
      iTunes Store Link: https://apps.apple.com/us/app/survivor-kingdoms/id6444824577?uo=4

       

      🚀 Hack Features

      - IAP Free [ Buy Anything ]

      - Health

      - Damage

      - Skill CD Slow

      - Skill CD Fast [ Maybe Game Slow ]

      - Skill Size Big

      - Shooting Speed Fast

      - Movement Speed

      - Auto Revive Unlimited [ Never Die ]

      - Ultimate Power CD

      - Avatar & Frame 


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 30 replies
    • Survivor Kingdoms V3.25 [ +11 Cheats ] Easy Win
      Modded/Hacked App: Survivor Kingdoms By Gamee Joint Stock Company
      Bundle ID: com.gamee.kingdoms.survivor.io
      iTunes Store Link: https://apps.apple.com/us/app/survivor-kingdoms/id6444824577?uo=4


      Hack Features:
      - IAP Free [ Buy Anything ]

      - Health

      - Damage

      - Skill CD Slow

      - Skill CD Fast [ Maybe Game Slow ]

      - Skill Size Big

      - Shooting Speed Fast

      - Movement Speed

      - Auto Revive Unlimited [ Never Die ]

      - Ultimate Power CD

      - Avatar & Frame 


      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/
      • 42 replies
    • Merge Cruise: Mystery Puzzle v0.36.370 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Merge Cruise: Mystery Puzzle By STUDIO PEERPLAY GAMES LTD
      Bundle ID: com.peerplay.megamerge
      iTunes Store Link: https://apps.apple.com/us/app/merge-cruise-mystery-puzzle/id6459056553?uo=4
       

      🤩 Hack Features

      - Cash
      - Energy

      • 14 replies
    • Merge Cruise: Mystery Puzzle v0.36.370 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Merge Cruise: Mystery Puzzle By STUDIO PEERPLAY GAMES LTD
      Bundle ID: com.peerplay.megamerge
      iTunes Store Link: https://apps.apple.com/us/app/merge-cruise-mystery-puzzle/id6459056553?uo=4
       

      🤩 Hack Features

      - Cash
      - Energy

      • 19 replies
    • Chum Chum Blast v1.13.758 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Chum Chum Blast By Ritz Deli Games, Inc.
      Bundle ID: com.ritzdeligames.eraserblast
      iTunes Store Link: https://apps.apple.com/us/app/chum-chum-blast/id1497403262?uo=4


      🤩 Hack Features

      - Coins [ Win Match After Disable ]

      - Stars [ Win Match After Disable ]

      - Dice [ Win Match After Disable ]

      - Moves Inf

      - Lives Inf

      - ADS Ticket

      - Auto Win
      • 12 replies
    • Chum Chum Blast v1.13.758 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Chum Chum Blast By Ritz Deli Games, Inc.
      Bundle ID: com.ritzdeligames.eraserblast
      iTunes Store Link: https://apps.apple.com/us/app/chum-chum-blast/id1497403262?uo=4
       

      🤩 Hack Features

      - Coins [ Win Match After Disable ]

      - Stars [ Win Match After Disable ]

      - Dice [ Win Match After Disable ]

      - Moves Inf

      - Lives Inf

      - ADS Ticket

      - Auto Win
      • 12 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