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

    • Duriano: Roguelike RPG +2 Mods [ Damage + More ]
      Mod APK Game Name: Duriano: Roguelike RPG By Adisoft Gaming
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.adisoft.duriano

       

      🤩 Hack Features

      - Damage Multiplier 
      - God Mode
      • 0 replies
    • Backpack Legends Adventure RPG v0.4.5 [ +12 Cheats ] Currency Max
      Modded/Hacked App: Backpack Legends Adventure RPG By ONDI TECHNOLOGY JSC
      Bundle ID: com.ondi.pack.adventure
      App Store Link: https://apps.apple.com/us/app/backpack-legends-adventure-rpg/id6755376569?uo=4

      🤩 Hack Features

      - Enough Currency
      - Enough Resources
      - Freeze Currency
      - Freeze Resources
      :::::: VIP ::::::
      - ADS NO
      - Unlimited Currency
      - Unlimited Resources
      - Inventory Slot MAX
      Weapon Stats
      - ATK MAX
      - HP MAX
      - DEF MAX
      - Speed MAX
      - Items Bonus / Linked Weapon Stats
      • 2 replies
    • Backpack Legends Adventure RPG v0.4.5 [ +12 Cheats ] Currency Max
      Modded/Hacked App: Backpack Legends Adventure RPG By ONDI TECHNOLOGY JSC
      Bundle ID: com.ondi.pack.adventure
      App Store Link: https://apps.apple.com/us/app/backpack-legends-adventure-rpg/id6755376569?uo=4

      🤩 Hack Features

      - Enough Currency
      - Enough Resources
      - Freeze Currency
      - Freeze Resources
      :::::: VIP ::::::
      - ADS NO
      - Unlimited Currency
      - Unlimited Resources
      - Inventory Slot MAX
      Weapon Stats
      - ATK MAX
      - HP MAX
      - DEF MAX
      - Speed MAX
      - Items Bonus / Linked Weapon Stats
      • 2 replies
    • Backpack Legends Adventure RPG v0.4.5 [ +12 Jailed ] Currency Max
      Modded/Hacked App: Backpack Legends Adventure RPG By ONDI TECHNOLOGY JSC
      Bundle ID: com.ondi.pack.adventure
      App Store Link: https://apps.apple.com/us/app/backpack-legends-adventure-rpg/id6755376569?uo=4

      🤩 Hack Features

      - Enough Currency
      - Enough Resources
      - Freeze Currency
      - Freeze Resources
      :::::: VIP ::::::
      - ADS NO
      - Unlimited Currency
      - Unlimited Resources
      - Inventory Slot MAX
      Weapon Stats
      - ATK MAX
      - HP MAX
      - DEF MAX
      - Speed MAX
      - Items Bonus / Linked Weapon Stats
      • 1 reply
    • Sword of Convallaria v2.1.1 Jailed Cheats +5
      Modded/Hacked App: Sword of Convallaria By XD Entertainment Pte Ltd
      Bundle ID: com.xd.ssrpgen
      App Store Link: https://apps.apple.com/us/app/sword-of-convallaria/id6451019582?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

      - God Mode
      - One Hit Kill 
      - Multiply Attack
      - Instant Skills
      - Unlimited Backtrack

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/214320-sword-of-convallaria-v211-jailed-cheats-5/
      • 3 replies
    • Monster Walk: Survive v0.0.5 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Monster Walk: Survive By Talofa Corporation
      Bundle ID: com.talofagames.survive
      App Store Link: https://apps.apple.com/us/app/monster-walk-survive/id6759917111?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Ticket
      - Unlimited HP Token
      - Unlimited Booster +4
      - Bullet ATK
      - Skill ATK
      - Skill CD
      • 0 replies
    • Monster Walk: Survive v0.0.5 [ +9 Jailed ] Currency Max
      Modded/Hacked App: Monster Walk: Survive By Talofa Corporation
      Bundle ID: com.talofagames.survive
      App Store Link: https://apps.apple.com/us/app/monster-walk-survive/id6759917111?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Ticket
      - Unlimited HP Token
      - Unlimited Booster +4
      - Bullet ATK
      - Skill ATK
      - Skill CD
      • 0 replies
    • Idle RPG: Lone Necromancer +2 Mods [ Damage + More ]
      Mod APK Game Name: Idle RPG: Lone Necromancer By LUNOSOFT INC
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.lunosoft.nhn

       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      • 0 replies
    • The Lone Necromancer: Idle RPG +2 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: The Lone Necromancer: Idle RPG By Lunosoft Inc.
      Bundle ID: com.lunosoft.nhnios
      App Store Link: https://apps.apple.com/us/app/the-lone-necromancer-idle-rpg/id6738776756?uo=4

       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      • 2 replies
    • Lamar - Idle Vlogger +3 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Lamar - Idle Vlogger By CrazyLabs LTD
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.advant.streamer

       

      🤩 Hack Features

      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Gold -> Spend some.
      - Unlimited Ad Skip Tickets -> Spend some.
      • 3 replies
    • Town Matters - Match Hero +3 Mods [ Unlimited Coins ]
      Mod APK Game Name: Town Matters - Match Hero By 707 INTERACTIVE: Fun Epic Casual Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=machinist.enigma.match3free.android

       

      🤩 Hack Features

      - Unlimited Coins -> Complete a level.
      - Unlimited Moves -> Will not decrease.
      - Auto Win
      • 0 replies
    • Town Matters-Match Hero +3 Jailed Cheats [ Unlimited Coins ]
      Modded/Hacked App: Town Matters-Match Hero By Joyient Inc.
      Bundle ID: machinist.enigma.match3free.ios
      iTunes Store Link: https://apps.apple.com/us/app/town-matters-match-hero/id1472473722?uo=4


      Hack Features:
      - Unlimited Coins -> Complete a level.
      - Unlimited Moves -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Town Matters-Match Hero v1.5.5 +3 Cheats [ Unlimited Coins ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 23 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