Jump to content

[Tutorial] How To Add PSEditTextCell in a Patcher


Rook
 Share

39 posts in this topic

Recommended Posts

kgt3W5o.png?1
 
Hello! In this tutorial I will be showing you how to add a Text Cell with a Switch where the user can choose the amount of currency he/she desires.
 
I will be using the app "Pou" as an example.
 
Alright, let's begin!
 
1. Start a new Patcher.

login as: root
[email protected]'s password:
iOSGods-iPhone:~ root# /var/theos/bin/nic.pl
NIC 2.0 - New Instance Creator
------------------------------
  [1.] iphone/application
  [2.] iphone/library
  [3.] iphone/preference_bundle
  [4.] iphone/tool
  [5.] iphone/tweak
Choose a Template (required): 5
Project Name (required): pouhack
Package Name [com.yourcompany.pouhack]: com.iosgods.pouhack
Author/Maintainer Name [System Administrator]: DiDA
[iphone/tweak] MobileSubstrate Bundle filter [com.apple.springboard]: me.pou.app
[iphone/tweak] List of applications to terminate upon installation (space-separated, '-' for none) [SpringBoard]: -
Instantiating iphone/tweak in pouhack/...
Done.
iOSGods-iPhone:~ root# cd /var/root/pouhack
iOSGods-iPhone:~/pouhack root# /var/theos/bin/nic.pl
NIC 2.0 - New Instance Creator
------------------------------
  [1.] iphone/application
  [2.] iphone/library
  [3.] iphone/preference_bundle
  [4.] iphone/tool
  [5.] iphone/tweak
Choose a Template (required): 3
Project Name (required): poupref
Package Name [com.yourcompany.poupref]: com.iosgods.poupref
Author/Maintainer Name [System Administrator]: DiDA
Instantiating iphone/preference_bundle in poupref/...
Adding 'poupref' as an aggregate subproject in Theos makefile 'Makefile'.
Done.
iOSGods-iPhone:~/pouhack root#

 
2. Open the Tweak.xm file and add these lines to it:

#include <Foundation/Foundation.h>

%hook Coins 

- (int)have {

NSDictionary *iosgods = [NSDictionary dictionaryWithContentsOfFile:[NSString stringWithFormat:@"/var/mobile/Library/Preferences/com.iosgods.poupref.plist"]];
return [[iosgods objectForKey:@"kCoins"] intValue];

}

%end

Copy paste them from here: http://pastebin.com/jN9VV563
 
3. Like I said, I will be using Pou as an example so some stuff will be a bit different with other apps. 
 
 
4.  Go to /pouhack/poupref/Resources/ and edit the poupref.plist file so it looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>items</key>
	<array>
		<dict>
			<key>cell</key>
			<string>PSGroupCell</string>
			<key>label</key>
			<string>Pou Hack iOSGods.com</string>
		</dict>
		<dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<false/>
			<key>defaults</key>
			<string>com.iosgods.poupref</string>
			<key>key</key>
			<string>kCoins</string> // Button key
			<key>label</key>
			<string>Coins Hack</string> // Button text
		</dict>
		<dict>
			<key>cell</key>
			<string>PSEditTextCell</string>
			<key>defaults</key>
			<string>com.iosgods.poupref</string>
			<key>detail</key>
			<string>PSDetailController</string>
			<key>key</key>
			<string>kCoins</string> // Your key
			<key>label</key>
			<string></string>
			<key>placeholder</key>
			<string>Enter the amount of coins you want.</string> //placeholder text that will appear.
		</dict>
	</array>
	<key>title</key>
	<string>Pou Hack</string> //Hack title
</dict>
</plist>

Copy it from here: http://pastebin.com/r69RsC3s
 
5. Save it and send it back to the poupref folder.

 
6. Now cd into your project folder and build the package.
 
Note: if you get missing header files, download this archive and extract it to /var/theos/include/

Hidden Content

    Advertisement React or reply to this topic to see the hidden content. More information

 
Once you installed the tweak, go to settings and turn the hack on and enter the amount of coins you'd like.
 
1hmmL4Hl.png yE0t36tl.png
 
You're done!
 
For more information on PSEditTextCell, see the iPhoneDevWiki page: http://iphonedevwiki.net/index.php/Preferences_specifier_plist#PSEditTextCell_.26_PSSecureEditTextCell

 

Project files:

Hidden Content

    Advertisement React or reply to this topic to see the hidden content. More information

Updated by DiDA
  • Like 19
  • Thanks 2
  • Haha 2
  • Agree 1

Throughout life people will make you mad, disrespect you and treat you bad. Let God deal with the things they do, cause hate in your heart will consume you too.
iOSGods Administrator
 Guidelines  Support Donate  FAQ 

Link to comment
Share on other sites

Thanx

giphy.gif\
THANKS to @Amuyea <3:hug:
 

Introducing the New iOSGods App+
Buy ViP to Support iOSGods. Click Me

=====================================

If my hacks don't work. Feel free to mention me or quote me and tell me the problem so I can fix it :) 

Only report hacks not working with all details (Screenshot / Screen Recorder your problem) instead of saying not working, you'll get blocked for wasting my time

Link to comment
Share on other sites

__ZN22CLollipopBoosterFacade10IsUnlockedEP9CSaveData {

 

NSDictionary *iosgods = [NSDictionary dictionaryWithContentsOfFile:[NSString stringWithFormat:@"/var/mobile/Library/Preferences/com.iosgods.poupref.plist"]];
return [[iosgods objectForKey:@"kBooster"] intValue];
 
}
 
maybe like this xD ?

cat-pop.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Our picks

    • Tank Stars Cheats v1.6.5 +4
      Modded/Hacked App: Tank Stars By Playgendary
      Bundle ID: com.playgendary.tankstars
      iTunes Store Link: https://itunes.apple.com/us/app/tank-stars/id1347123739?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Infinite Currencies
      - God Mode -  Linked (Turn off when your turn)
      - OHK - Linked (Turn on then your turn)



      Hack Download Link: https://iosgods.com/topic/77366-arm64-tank-stars-cheats-v13-3/


      Credits:
      - @Laxus
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 596 replies
    • Dungeon of Gods Cheats v1.1.7 +3
      Modded/Hacked App: Dungeon of Gods By SuperPlanet corp.
      Bundle ID: com.superplanet.goddungeon
      iTunes Store Link: https://apps.apple.com/us/app/dungeon-of-gods/id1611319102?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - God Mode


      iOS Hack Download Link: https://iosgods.com/topic/157059-dungeon-of-gods-cheats-v106-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 169 replies
    • Tap Titans 2 v5.18.1 +3 [ iOS 16 Supported ]
      Modded/Hacked App: Tap Titans 2 By Game Hive Corporation
      Bundle ID: com.gamehivecorp.taptitans2
      iTunes Store Link: https://itunes.apple.com/us/app/tap-titans-2/id1120294802?mt=8&uo=4&at=1010lce4

      Hack Features:
      - Freeze Gold -> Gold Won't Subtract
      - Freeze Mana -> Mana Won't Subtract
      - x10 Gold Drop -> Drop More Gold than Usual
      Only works on x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.


      Jailbroken version of this hack: https://iosgods.com/topic/58609-iosgods-vip-tap-titans-2-v210-6-cheats/
      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
      • 1,408 replies
    • Jurassic World Alive v2.16.31 - [ Dino Don't Move & More ]
      Modded/Hacked App: Jurassic World Alive By Ludia
      Bundle ID: com.ludia.jw2
      iTunes Store Link: https://apps.apple.com/us/app/jurassic-world-alive/id1231085864?uo=4&at=1010lce4

      Hack Features:
      - Dino Don't Move
      - Inf.Battery
      - VIP Enabled

      This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.


      Jailbreak required hack(s): https://iosgods.com/topic/103431-jurassic-world-alive-v1829-dino-dont-move-more/?tab=comments#comment-3107135
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,067 replies
    • Jurassic World Alive v2.16.31 - [ Dino Don't Move & More ]
      Modded/Hacked App: Jurassic World Alive By Ludia
      Bundle ID: com.ludia.jw2
      iTunes Store Link: https://apps.apple.com/us/app/jurassic-world-alive/id1231085864?uo=4&at=1010lce4


      Hack Features:
      - Dino Don't Move
      - Inf. Battery
      - VIP Enabled

      This hack is an In-Game Mod Menu (iGMM). In order to activate the Mod Menu, tap on the iOSGods button found inside the app. This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,109 replies
    • Tap Titans 2 By Game Hive Corp. v5.18.1 [Custom Gold +MORE]
      Modded/Hacked App: Tap Titans 2 by Game Hive Corporation
      Bundle ID: com.gamehivecorp.taptitans2
      iTunes Store Link: https://itunes.apple.com/us/app/tap-titans-2/id1120294802?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Custom Gold ( type your custom amount enable do a few taps collect some gold then disable )
      - Custom DPS  ( type your custom amount wait for NAN then disable )
      - Custom mana ( type your custom amount use skill)

      - ALL FEATURES BELOW REQUIRE NOT ENOUGH MANA AND SKILL UNLOCKED 

      TO USE ENABLE THE HACK SET MANA TO 0 WIT CUSTOM MANA THEN TAP SKILL BUTTON WATCH THE VIDEO TO SEE 

      - Use swipe perk for free 

      - Use doom perk for free 

      - Use make it rain perk free

      - Use clan make it rain perk free

      - Use double damage perk free 

       


      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
      • 3,184 replies
    • RPG AVABEL ONLINE v8.28.0 - [ God Mode & More ]
      Modded/Hacked App: RPG AVABEL ONLINE By ASOBIMO,Inc.
      Bundle ID: com.asobimo.AvabelOnline
      iTunes Store Link: https://itunes.apple.com/us/app/rpg-avabel-online/id606800657?mt=8&uo=4&at=1010lce4
       

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - God Mode 
      - Cast Speed Multiplier
      - Charge Speed Multiplier
      - Approach Speed Multiplier
      - No Roll CoolDown
      - No Skills CoolDown

      This hack is an In-Game Mod Menu (iGMM). In order to activate the Mod Menu, tap on the iOSGods button found inside the app. This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,973 replies
    • Mortal Kombat v3.7.0 +9 FREE Cheats
      Modded/Hacked App: Mortal Kombat by Warner Bros. Entertainment
      Bundle ID: com.wb.MK.Brawler2015
      iTunes Store Link: https://apps.apple.com/us/app/mortal-kombat/id949701151?uo=4&at=1010lce4


      Hack Features:
      - Auto-Win (Press the pause button)
      - Instantly Kill individual Enemy Characters (Press the pause button)
      - Force Swap Enemy Characters (Press the pause button)
      - Easy Enemy (1 hit KO) (Press the pause button)
      - Cheat Menu (only few few features work for now, i'll see what i can do) (Press the pause button)


      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
      • 4,112 replies
    • Minion Rush Cheats v8.6.0 +2 [ Free Store & Infinite Cards ]
      Modded/Hacked App: Minion Rush By Gameloft
      Bundle ID: com.gameloft.despicableme2
      iTunes Store Link: https://apps.apple.com/us/app/minion-rush/id596402997?uo=4


      Hack Features:
      - Free Store ( not Free iAP )
      * Allow purchase stuffs without having enough bananas or tokens


      iOS Hack Download Link: https://iosgods.com/topic/147752-minion-rush-cheats-v791-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 278 replies
    • My Heroes: Dungeon Raid Cheats v12.37.0 +3
      Modded/Hacked App: My Heroes: Dungeon Raid By REALITY SQUARED GAME CO., LIMITED
      Bundle ID: com.rsg.heroes
      iTunes Store Link: https://apps.apple.com/us/app/my-heroes-dungeon-raid/id1604333529?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Auto Win


      iOS Hack Download Link: https://iosgods.com/topic/155142-my-heroes-dungeon-raid-cheats-v9180-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 167 replies
    • ZIO and the Magic Scrolls Cheats v1.2.11 +5
      Modded/Hacked App: ZIO and the Magic Scrolls By SuperPlanet corp.
      Bundle ID: com.superplanet.zio
      iTunes Store Link: https://apps.apple.com/us/app/zio-and-the-magic-scrolls/id1534988573?uo=4


      Hack Features:
      - Multiply Damage
      - Multiply Defense
      - Auto Win
      - Infinite MP
      - Dumb AI


      iOS Hack Download Link: https://iosgods.com/topic/153684-zio-and-the-magic-scrolls-cheats-v1012-5/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 304 replies
    • DRAGON BALL Z DOKKAN BATTLE Japan (ドラゴンボールZ ドッカンバトル) v5.5.0 +7 Cheats!
      Modded/Hacked App: ドラゴンボールZ ドッカンバトル By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcogames.BNGI0211
      iTunes Link: https://itunes.apple.com/jp/app/ドラゴンボールz-ドッカンバトル/id951627670?mt=8&uo=4&at=1010lce4


      Hack Features
      - Unlimited HP  -  (Put .0 at the back of your value: 1000.0)
      - Unlimited Damage  -  (Put .0 at the back of your value: 1000.0)
      - Unlimited Defense  -  (Put .0 at the back of your value: 1000.0)
      - Dice Hack -  [ONLY RANGE BETWEEN 1 - 6 or it will crash]  -  (Put .0 at the back of your value: 4.0)
      - Dice Hack 1, 2, 3
      - Dice Hack 4, 5, 6
      - Auto Win Battles -> Disable if you get errors.
      PUT .0 at the back of all values!
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 7,153 replies
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
  • 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 possible user experience without cookies. You can accept or decline our non-essential cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines