Jump to content

How to Add a PSSliderCell to Your PreferenceBundle


Rook

13 posts in this topic

Recommended Posts

Updated

Fy7mUys.png

In this tutorial, I will show you how you can add a PSSliderCell in your Patcher/PreferenceBundle project.

Step 1. Start a new theos project.

Step 2:

This is the code required in Tweak.xm:


#import <substrate.h>
#import <Foundation/Foundation.h>

#define PLIST_PATH @"/var/mobile/Library/Preferences/YOUR PLIST NAME HERE.plist"
 
inline bool GetPrefBool(NSString *key) {
	return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

inline int GetPrefInt(NSString *key) {
	return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] intValue];
}

%hook Coins
- (int)have {
	if(GetPrefBool(@"key1")) { // Your key name here
			int newValue = GetPrefInt(@"key1slider"); // Your key name here
			return newValue;
		} else {
			return %orig;
	}
}
%end

Step 3: Now in your preferences plist file, you will need to add two cells. One is a button to toggle the PSSliderCell on/of and the other is the PSSliderCell itself.


                <dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<false/>
			<key>defaults</key>
			<string>iosgods.com.pouslider</string>
			<key>key</key>
			<string>key1</string>
			<key>label</key>
			<string>Enable Coins Hack</string> <!-- The text of your switch -->
		</dict>
		<dict>
			<key>cell</key>
			<string>PSSliderCell</string>
			<key>default</key>
			<integer>50</integer> <!-- Default value of the slider -->
			<key>defaults</key>
			<string>iosgods.com.pouslider</string> <!-- Your package name here -->
			<key>key</key>
			<string>key1slider</string> <!-- Your key name here -->
			<key>max</key>
			<real>99</real> <!-- Enter your maximum value here -->
			<key>min</key>
			<real>1</real> <!-- Enter your minimum value here -->
			<key>showValue</key> <!-- Show the value of the slider. true or false. -->
			<true/>
		</dict>

Now save and compile and you should be good to go!

If you have any questions or need any help, post down below. :)

Posted
This is very useful.

But my problem is that I want an example, parameters are offset attack function is 0x234567, I know that in most cases this is a floating-point functions, if I want to attack the original attack 1-10 times, how to write code tweak.xm Lane? This is the problem has been bothering me, I hope I can help DIDA@@DiDA

Posted

 

This is very useful.
But my problem is that I want an example, parameters are offset attack function is 0x234567, I know that in most cases this is a floating-point functions, if I want to attack the original attack 1-10 times, how to write code tweak.xm Lane? This is the problem has been bothering me, I hope I can help DIDA@@DiDA

 

You want to return a custom value in a function instead of a huge amount?

Posted

@DiDA i want to return several times attack values. such as ,if orig attack value is 1000,then return 2 times,it is 2000

.if return 5 times ,it is 1000*5=5000

players can select himself times to attack.

i want to you can give me code example.

I wonder if you know what I mean.

Posted

@DiDA i want to return several times attack values. such as ,if orig attack value is 1000,then return 2 times,it is 2000

.if return 5 times ,it is 1000*5=5000

players can select himself times to attack.

i want to you can give me code example.

I wonder if you know what I mean.

PM me. :)

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Node Defense v0.0.3 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Node Defense By ZZOO Inc.
      Bundle ID: com.zzoo.ios.nodedefense
      App Store Link: https://apps.apple.com/ca/app/node-defense/id6813341401?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Never Die
      - Max Damage
      • 0 replies
    • Node Defense v0.0.3 [ +3 jailed ] Currency Max
      Modded/Hacked App: Node Defense By ZZOO Inc.
      Bundle ID: com.zzoo.ios.nodedefense
      App Store Link: https://apps.apple.com/ca/app/node-defense/id6813341401?uo=4

      🤩 Hack Features

      - Unlimited Currency
      - Never Die
      - Max Damage
      • 0 replies
    • UFO.io - Alien Invader v26.11.25 [ +5 Cheats ] Dev Menu
      Modded/Hacked App: UFO.io - Alien Invader By BRAINWORKS PUBLISHING PTE. LTD.
      Bundle ID: com.brainworks.ufo.io
      App Store Link: https://apps.apple.com/us/app/ufo-io-alien-invader/id6829064646?uo=4

      🤩 Hack Features

      - No Ads
      - Max Currency
      - Dev Menu
      - Never Die
      - Max Damage
      • 0 replies
    • UFO.io - Alien Invader v26.11.25 [ +5 Jailed ] Dev Menu
      Modded/Hacked App: UFO.io - Alien Invader By BRAINWORKS PUBLISHING PTE. LTD.
      Bundle ID: com.brainworks.ufo.io
      App Store Link: https://apps.apple.com/us/app/ufo-io-alien-invader/id6829064646?uo=4

      🤩 Hack Features

      - No Ads
      - Max Currency
      - Dev Menu
      - Never Die
      - Max Damage
      • 0 replies
    • Undead Squad v1.4.5 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Undead Squad By Juan Maria Claveria Rosario
      Bundle ID: com.levelappstudios.undeadsquad
      App Store Link: https://apps.apple.com/us/app/undead-squad/id1584824950?uo=4


      🤩 Hack Features

      - Add All Currency
      - Never Die
      - Max Damage
      - Unlimited Ammo
      • 0 replies
    • Undead Squad v1.4.5 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Undead Squad By Juan Maria Claveria Rosario
      Bundle ID: com.levelappstudios.undeadsquad
      App Store Link: https://apps.apple.com/us/app/undead-squad/id1584824950?uo=4

      🤩 Hack Features

      - Add All Currency
      - Never Die
      - Max Damage
      - Unlimited Ammo
      • 0 replies
    • Queue Quest : Down We Go v0.0.2 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Queue Quest : Down We Go! By ZZOO Inc.
      Bundle ID: com.zzoo.ios.fiftyheroes
      App Store Link: https://apps.apple.com/us/app/queue-quest-down-we-go/id6813346249?uo=4

      🤩 Hack Features

      - Add All Currency
      - Never Die
      - Max Damage
      • 0 replies
    • Queue Quest : Down We Go v0.0.2 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Queue Quest : Down We Go! By ZZOO Inc.
      Bundle ID: com.zzoo.ios.fiftyheroes
      App Store Link: https://apps.apple.com/us/app/queue-quest-down-we-go/id6813346249?uo=4

      🤩 Hack Features

      - Add All Currency
      - Never Die
      - Max Damage
      • 0 replies
    • Warframe +10 Cheats [Aimbot & Wallhack]
      Modded/Hacked App: Warframe By Digital Extremes
      Bundle ID: com.digitalextremes.warframemobile
      App Store Link: https://apps.apple.com/us/app/warframe/id1520001008?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

      - Player Esp
      - NPC Esp
      - Esp Box 
      - Esp Health
      - Esp Line 
      - Esp Distance
      - Esp Name 
      - Radar
      - Aimbot 
      - Aim FOV

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - @KyosukeNanbu

       

      📷 Cheat Video/Screenshots

      N/A
        • Winner
        • Like
      • 7 replies
    • Matching Story v1.79.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
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 113 replies
    • Geometry Dash +7 Jailed Cheats [ God Mode, Speed ]
      Modded/Hacked App: Geometry Dash By RobTop Games AB
      Bundle ID: com.robtop.geometryjump
      App Store Link: https://apps.apple.com/us/app/geometry-dash/id625334537?uo=4

       


      🤩 Hack Features

      - God Mode / No Clip
      - Show Object Hitmarkers
      - Attempts Counter Always 1 [ Visual ]
      - Jump Height *
      - Player Move Speed *
      - Gravity *
      - Game Speed *

      Enable before playing a level. To disable or change, disable the switch then restart the game.
        • Like
      • 0 replies
    • Grand Summoners - Anime RPG +5 Jailed Cheats
      Modded/Hacked App: Grand Summoners - Anime RPG By NextNinja Co.,Ltd.
      Bundle ID: jp.goodsmile.grandsummonersglobal
      iTunes Store Link: https://apps.apple.com/us/app/grand-summoners-anime-rpg/id1329917539?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

      - Massive Damage
      - Low Enemy Attack
      - Instant Art Skills
      - No Skills Cooldown

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email when prompted, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 228 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