Jump to content

26 posts in this topic

Recommended Posts

Posted

I want to make a prefBundle for customing lockScreen slider text i found this class on google but wont work

 

Can anybody help me please

 

%hool SBLockScreenView

 

-(void)setCustomSlideToUnlockText:(id)fp8 animated:(BOOL)fp12 {

NSMutableString *string = [[NSMutableString alloc] init];

[string appendString:@"hey"];

NSLog("%@", string);

}

 

%end

  • Replies 25
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)

so that's the code in tweak or in flex ?

 

if it's the tweak...u should have a return like

 

return fp8 = hey madafaka;

}

return %orig(fp8);

 

the fp12 only return if u change it to true or false

 

/// that's my idea

 

i will look into it later 

Updated by kingdevil731
Posted (edited)

so that's the code in tweak or in flex ?

 

if it's the tweak...u should have a return like

 

return fp8 = hey madafaka;

}

return %orig(fp8);

 

the fp12 only return if u change it to true or false

 

/// that's my idea

 

i will look into it later

5 Mistakes in just 2 returns. Ouch >_<

Updated by castix
Posted

yeah what?

1. If it's a Tweak there is no need for returns. Have you ever developed a real Tweak? I don't think so

2. You can't assign return fp8 to hey madafaka like this. It's not a valid string neither you declared it

3. If you close a code block by } you should open it before

4. Returning fp12 doesn't make sense because it does nothing in the method

5. That's bor your idea. Ideas lead to good things

Posted

i mean't with preferencepatcher xD

That comment is even worse.

 

1. There is no thing such as a preferencepatcher, also not a preference patcher.

2. It's a Preference Bundle (Preference pane in your Preferences.app)

3. Your code has nothing to do with a Preference Bundle

4. Nothing you said above has to do with a Preference Bundle

Posted

1. If it's a Tweak there is no need for returns. Have you ever developed a real Tweak? I don't think so

2. You can't assign return fp8 to hey madafaka like this. It's not a valid string neither you declared it

3. If you close a code block by } you should open it before

4. Returning fp12 doesn't make sense because it does nothing in the method

5. That's bor your idea. Ideas lead to good things

 and about opening an { i dont usually hack id types ... only float's ... bool...int ..so i forgot how to deal with ID :p

 

i know that the name is preference bundle i am just typing u dont expect that i will put all the correct names :p

instead of trying to discuss something with me u should be helping him

Posted


%hook SBLockScreenView

 

- (id)_defaultSlideToUnlockText {

NSString *unlocktext = @"Slide me hard";

NSLog(unlocktext);

return 0;

}

 

%end

Posted
%hook SBLockScreenView

- (id)_defaultSlideToUnlockText {
   NSString *unlocktext = @"Slide me hard";
   NSLog(unlocktext);
   return 0;
}

%end

lol....first u used other class not the one he gave u .... but see there u have :D

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

    • Caveman Life v1.0.2 Cheat Menu [+5 Cheats]
      Modded/Hacked App: Caveman Life By 24 HIT Riga SIA
      Bundle ID: com.prehistoric.dude
      iTunes Store Link: https://apps.apple.com/us/app/caveman-life/id6739502478?uo=4


       

      🤩 Hack Features

      - Cheat Menu (Enable and hold setting button until cheat menu appear. Password is : 2424)
       
        • Haha
        • Like
      • 4 replies
    • Caveman Life v1.0.2 Cheat Menu [+5 Jailed Cheats]
      Modded/Hacked App: Caveman Life By 24 HIT Riga SIA
      Bundle ID: com.prehistoric.dude
      iTunes Store Link: https://apps.apple.com/us/app/caveman-life/id6739502478?uo=4



      🤩 Hack Features

      - Cheat Menu (Enable and hold setting button until cheat menu appear. Password is : 2424)

       
        • Informative
        • Thanks
        • Like
      • 2 replies
    • Pal Go: Tower Defense TD v0.3.90 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 56 replies
    • Pal Go: Tower Defense TD v0.3.90 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 81 replies
    • Scolopendra v1.0.1 Debug Menu [+4 Jailed Cheats]
      Modded/Hacked App: Scolopendra By 24 HIT Riga SIA
      Bundle ID: com.game.scolopendra
      iTunes Store Link: https://apps.apple.com/us/app/scolopendra/id6742407695?uo=4



      🤩 Hack Features

      - Debug Menu (Enable and Debug Menu Will Appear)

        • Like
      • 2 replies
    • Puzzles & Cats v1.3.0 [+5 Jailed Cheats]
      Modded/Hacked App: Puzzles & Cats By Kwalee Ltd
      Bundle ID: com.kwalee.puzzlesandcatsnew
      iTunes Store Link: https://apps.apple.com/us/app/puzzles-cats/id6738574871?uo=4

       

      🤩 Hack Features

      - Free Store (Everything inside Shop. Enable and Buy)
      - Auto Win (Enable and make move)
      - Never Die
      - Infinite Heart
      - Always Can Afford (Gold, Diamond, Character Upgrade)
      • 5 replies
    • Puzzles & Cats v1.3.0 [+5 Cheats]
      Modded/Hacked App: Puzzles & Cats By Kwalee Ltd
      Bundle ID: com.kwalee.puzzlesandcatsnew
      iTunes Store Link: https://apps.apple.com/us/app/puzzles-cats/id6738574871?uo=4



      🤩 Hack Features

      - Free Store (Everything inside Shop. Enable and Buy)
      - Auto Win (Enable and make move)
      - Never Die
      - Infinite Heart
      - Always Can Afford (Gold, Diamond, Character Upgrade)

      • 2 replies
    • Little Defenders v1.2.11 [+2 Jailed Cheats]
      Modded/Hacked App: Little Defenders By 羡龄 甄
      Bundle ID: com.sisheshidu.guardian
      App Store Link: https://apps.apple.com/us/app/little-defenders/id6740069144?uo=4



      🤩 Hack Features

      - Never Die
      - Add Coin (Inside Battle)
        • Like
      • 3 replies
    • Little Defenders v1.2.11 [+2 Cheats]
      Modded/Hacked App: Little Defenders By 羡龄 甄
      Bundle ID: com.sisheshidu.guardian
      App Store Link: https://apps.apple.com/us/app/little-defenders/id6740069144?uo=4



      🤩 Hack Features

      - Never Die
      - Add Coin (Inside Battle)

        • Agree
        • Winner
        • Like
      • 6 replies
    • Scolopendra v1.0.1 Debug Menu [+4 Cheats]
      Modded/Hacked App: Scolopendra By 24 HIT Riga SIA
      Bundle ID: com.game.scolopendra
      iTunes Store Link: https://apps.apple.com/us/app/scolopendra/id6742407695?uo=4



      🤩 Hack Features

      - Debug Menu (Enable and Debug Menu Will Appear)

        • Like
      • 3 replies
    • Episode: Reality Stars v1.23 +2++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Episode: Reality Stars By Episode Interactive, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      App Store Link: https://apps.apple.com/ph/app/episode-reality-stars/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies -> Head into Settings and toggle the License button. Press on Hero to add 99K currencies.
      - Time Cheat Menu -> Head into Settings and toggle the Terms of Service button. Toggle to your liking.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 91 replies
    • Tiny Warriors Clash v1.9.16 [+5 Jailed Cheats]
      Modded/Hacked App: Tiny Warriors Clash By NLABSOFT Co., Ltd.
      Bundle ID: com.nlabsoft.defense.tinywarriors
      App Store Link: https://apps.apple.com/us/app/tiny-warriors-clash/id6499256180?uo=4



      🤩 Hack Features

      - Never Die
      - Add Meat (Enable inside battle)
      - Add Currency (Enable and spend)
      - Add Gems (Enable and spend)
      - Add Trait Points (Enable and spend)
        • Informative
        • Haha
        • Thanks
        • Like
      • 10 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