Jump to content

10 posts in this topic

Recommended Posts

Posted

Hi Guys,

 

i create succesfully my first debian file,

i see also the Preference Menu on my IPAD, i can switch GOD MODUS, LevelSkip etc.

 

But the game are not affected if i change the code with HEX Editor manually they works perfect.

 

Tweak.xm CODE :

#import <Foundation/Foundation.h>
#import "writeData.h"

BOOL GOD;

%ctor
{
GOD = [[[NSDictionary dictionaryWithContentsOfFile:@"var/mobile/Library/Preferences/com.Zagor1979.plist"] valueForKey:key@"GOD"] boolValue];
if(GOD)
{
	writeData(0x1C2064,0x3501); //------> new  adds r5 , r5 , #0x1)
}

{
	writeData(0x1C2064,0x002E); old
}

}

I try more things but unfortunally they dont work great..

 

I need you Help Master DIDA :)

 

Thanks for your Support

 

Posted

You have the if statement but no else statement.

 

And also the comments need to be removed when compiling because they can cause issues.

 

Your correct tweak.xm should be this:

#import <Foundation/Foundation.h>
#import "writeData.h"

BOOL GOD;
%ctor
{
GOD = [[[NSDictionary dictionaryWithContentsOfFile:@"/var/mobile/Library/Preferences/com.Zagor1979.plist"]valueForKey:@"GOD"]boolValue];
if(GOD)
{
writeData(0x1C2064, 0x3501);
}
else
{
writeData(0x1C2064, 0x002E);
}

}

Try it and let me know if it works. :)

Posted (edited)

I tried but unfortunately won't work, I did exactly this that you writes

Updated by ELREYS
Posted

I tried but unfortunately won't work, I did exactly this that you writes

Check your offsets and make sure your plist name is "com.Zagor1979.plist" and make sure you have hooked the right key to your preference plist.

Posted (edited)

#define PLIST_PATH @"/var/mobile/Library/Preferences/PLISTNAMEHERE.plist"

#import "writeData.h"

inline bool GetPrefBool(NSString *key) {

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

}

%ctor {

if(GetPrefBool(@"kGOD")) {

writeData(0x1C2064,0x3501); //hack here

}

else

{

writeData(0x1C2064,0x002E); //old hex here

}

}

Updated by Kenny808
Posted

actually:

 

 

#import "writeData.h"
 
#define PLIST_PATH @"/var/mobile/Library/Preferences/PLISTNAMEHERE.plist"
 
inline bool GetPrefBool(NSString *key)
{
         return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];
}

%ctor {
if(GetPrefBool(@"kGOD")) 
{
      writeData(0x1C2064,0x3501); //hack here
} 
 
}

 

if and only if the plist key kGOD is on, does anything actually happen. if switch is off, why write to memory when the memory is exactly what it needs to be?

Posted

I try now to create simply a tweak without button, i like to remember you that i have a Ipad Air ,

i change also the Make file for 64 Device, the creation work fine, but if the game are still not affected, if a change this manually with hex editor they work perfectly.

 

I dont know if the problem are the code:

#import <Foundation/Foundation.h>
#import "writeData.h"


%ctor{
	writeData(0x29E0CC,0x8042);

}

Please help me :wallbash: :wallbash: :wallbash: :wallbash: :wallbash:

Posted

DiDA, please look on my Picture i prepare all the information that you need for a diagnose, @

http://imgur.com/45D...WuIR81Z,uMEhVW1

 

Its really crazy i tried to create a new Tweak with a simply Game, but again the same problem, also i tried to created a Packed on my Iphone 6 Plus ios 8

 

I wait of your Support Guys smile.png

 

Thanks

Posted

Hi DiDA i check the folde avery single file, i found one interesting differetnt beetween my Plist struct and this of Zahir Folder, but this are generate auotmatically from $THEOS.

and an other difference are in the structure, he has one folder more there as me.

 

http://imgur.com/4xLEkPz

 

My Plist content: dungeon.plist

{ Filter = { Bundles = ( "com.orca.dungeonm" ); }; }

Zahir Plist content: dh4.plist

<?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>Filter</key>
	<dict>
		<key>Bundles</key>
		<array>
			<string>com.gameloft.DungeonHunter4</string>
		</array>
	</dict>
</dict>
</plist>

Posted

 

Hi DiDA i check the folde avery single file, i found one interesting differetnt beetween my Plist struct and this of Zahir Folder, but this are generate auotmatically from $THEOS.

and an other difference are in the structure, he has one folder more there as me.

 

http://imgur.com/4xLEkPz

 

My Plist content: dungeon.plist

{ Filter = { Bundles = ( "com.orca.dungeonm" ); }; }

Zahir Plist content: dh4.plist

<?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>Filter</key>
	<dict>
		<key>Bundles</key>
		<array>
			<string>com.gameloft.DungeonHunter4</string>
		</array>
	</dict>
</dict>
</plist>

Can you send me your project folder so I can take a look?

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

    • City Of Survivors v1.5.5 [+6 Jailed Cheats]
      Modded/Hacked App: City Of Survivors By Chengdu Pengfei Network Technology Co., Ltd.
      Bundle ID: com.gatherfun.cityofsurvivors
      App Store Link: https://apps.apple.com/us/app/city-of-survivors/id6743288723?uo=4



      Important


      Do not enable feautures on loading screen or do not keep enabled if you leave game.

      If you leave game without disabling features or enable on loading screen game will be crash.

       

      🤩 Hack Features

      - Add Gold
      - Add Diamond
      - Add Wood
      - Add Plank 
      - Add Explore Token
      - Add Skip Ads Coupon
        • Informative
        • Thanks
        • Winner
        • Like
      • 26 replies
    • City Of Survivors v1.5.5 [+6 Cheats]
      Modded/Hacked App: City Of Survivors By Chengdu Pengfei Network Technology Co., Ltd.
      Bundle ID: com.gatherfun.cityofsurvivors
      App Store Link: https://apps.apple.com/us/app/city-of-survivors/id6743288723?uo=4



      Important


      Do not enable feautures on loading screen or do not keep enabled if you leave game.

      If you leave game without disabling features or enable on loading screen game will be crash.

       

      🤩 Hack Features

      - Add Gold
      - Add Diamond
      - Add Wood
      - Add Plank 
      - Add Explore Token
      - Add Skip Ads Coupon
        • Informative
        • Winner
        • Like
      • 54 replies
    • Good Coffee, Great Coffee v1.6.1 +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Coffee, Great Coffee By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.coffeebusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-coffee-great-coffee/id1603584945?uo=4
       


      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Brew Points
      - Unlimited Daily Rewards
      - All Decor Unlocked
      - All Equipment Unlocked
      - All Equipment Upgrades Unlocked
      - All Shop Upgrades Unlocked
      - Perfect Drinks
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 117 replies
    • Good Coffee, Great Coffee v1.6.1 +8 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Coffee, Great Coffee By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.coffeebusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-coffee-great-coffee/id1603584945?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Gems
      - Unlimited Energy
      - Unlimited Brew Points
      - Unlimited Daily Rewards
      - All Decor Unlocked
      - All Equipment Unlocked
      - All Equipment Upgrades Unlocked
      - All Shop Upgrades Unlocked
      - Perfect Drinks
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 85 replies
    • Cozy Town: Build Explore Game v2.2.0 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Cozy Town: Build Explore Game By Sparkling Society Games B.V.
      Bundle ID: com.sparklingsocietysims.cozytownbuildexploregame
      iTunes Store Link: https://apps.apple.com/us/app/cozy-town-build-explore-game/id6657973290?uo=4


      Hack Features:
      - Unlimited Currencies -> Spend some.


      Jailbreak required hack(s): [Mod Menu Hack] Cozy Town: Build Explore Game v1.3.3 +1++ Cheat [ Unlimited Currencies ] - 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/
        • Thanks
        • Like
      • 3 replies
    • Goblins Wood: Tycoon Idle Sim v2.53.1 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Goblins Wood: Tycoon Idle Sim By ProGamesLab LTD
      Bundle ID: idle.goblins.wood.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/goblins-wood-tycoon-idle-sim/id6446766326?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Goblins Wood: Tycoon Idle Sim v2.42.0 +1++ Cheat [ Unlimited Currencies ] - 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/
        • Agree
        • Thanks
        • Winner
        • Like
      • 48 replies
    • Goblins Wood: Tycoon Idle Sim v2.53.1 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Goblins Wood: Tycoon Idle Sim By ProGamesLab LTD
      Bundle ID: idle.goblins.wood.tycoon
      iTunes Store Link: https://apps.apple.com/us/app/goblins-wood-tycoon-idle-sim/id6446766326?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Goblins Wood: Tycoon Idle Sim v2.42.0 +1++ Jailed Cheat [ Unlimited Currencies ] - Free Non-Jailbroken IPA 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/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 59 replies
    • Cozy Town: Build Explore Game v2.2.0 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: Cozy Town: Build Explore Game By Sparkling Society Games B.V.
      Bundle ID: com.sparklingsocietysims.cozytownbuildexploregame
      iTunes Store Link: https://apps.apple.com/us/app/cozy-town-build-explore-game/id6657973290?uo=4


      Hack Features:
      - Unlimited Currencies -> Spend some.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Cozy Town: Build Explore Game v1.3.3 +1++ Jailed Cheat [ Unlimited Currencies ] - Free Non-Jailbroken IPA 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/
        • Haha
        • Winner
        • Like
      • 3 replies
    • Royal Kingdom v22272 +4 Jailed Cheats [ Coins + More ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Royal Kingdom v3987 +4 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 156 replies
    • Royal Kingdom v22272 +4 Cheats [ Coins + More ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Royal Kingdom v3987 +4 Jailed Cheats [ Unlimited Coins ] - Free Non-Jailbroken IPA 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 113 replies
    • Ghost Invasion: Idle Hunter v1.7.1 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Ghost Invasion: Idle Hunter By Miniclip SA
      Bundle ID: com.miniclip.ghostinvasion
      App Store Link: https://apps.apple.com/us/app/ghost-invasion-idle-hunter/id6502696892?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Freeze Currencies
      - XP Multiplier
        • Agree
        • Winner
        • Like
      • 12 replies
    • Ghost Invasion: Idle Hunter v1.7.1 +5 Cheats [ Damage & Defence ]
      Modded/Hacked App: Ghost Invasion: Idle Hunter By Miniclip SA
      Bundle ID: com.miniclip.ghostinvasion
      App Store Link: https://apps.apple.com/us/app/ghost-invasion-idle-hunter/id6502696892?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Freeze Currencies
      - XP Multiplier
        • Agree
        • Winner
        • Like
      • 13 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