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

    • Wittle Defender v1.1.6.2 [+2 Cheats]
      Modded/Hacked App: Wittle Defender By HABBY PTE. LTD.
      Bundle ID: com.game.kingrush
      App Store Link: https://apps.apple.com/us/app/wittle-defender/id6502815032?uo=4

       

      Important


      Do not Abuse. Not responsible for any bans.

      Visual damage not represent real damage

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

      • 40 replies
    • Wittle Defender v1.1.6.2 [+2 Jailed Cheats]
      Modded/Hacked App: Wittle Defender By HABBY PTE. LTD.
      Bundle ID: com.game.kingrush
      App Store Link: https://apps.apple.com/us/app/wittle-defender/id6502815032?uo=4


       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier
       
        • Like
      • 96 replies
    • Big Helmets: Heroes of Destiny v1.0.2 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Big Helmets: Heroes of Destiny By BoomBit, Inc.
      Bundle ID: com.bighelmets.destiny
      iTunes Store Link: https://apps.apple.com/pl/app/big-helmets-heroes-of-destiny/id6745514342

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 2 replies
    • Big Helmets: Heroes of Destiny v1.0.2 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Big Helmets: Heroes of Destiny By BoomBit, Inc.
      Bundle ID: com.bighelmets.destiny
      iTunes Store Link: https://apps.apple.com/pl/app/big-helmets-heroes-of-destiny/id6745514342

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 5 replies
    • The Kingdom: Medieval Tales v1.0.5 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: The Kingdom: Medieval Tales By BoomBit, Inc.
      Bundle ID: com.stratospheregames.The.Kingdom.Medieval.Tales.Strategy.Building.Games
      App Store Link: https://apps.apple.com/us/app/the-kingdom-medieval-tales/id6744967226?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 13 replies
    • The Kingdom: Medieval Tales v1.0.5 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: The Kingdom: Medieval Tales By BoomBit, Inc.
      Bundle ID: com.stratospheregames.The.Kingdom.Medieval.Tales.Strategy.Building.Games
      App Store Link: https://apps.apple.com/us/app/the-kingdom-medieval-tales/id6744967226?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 15 replies
    • Subway Surfers v3.53.4 +23 Jailed Cheats [ Currencies + More ]
      Modded/Hacked App: Subway Surfers By Sybo Games ApS
      Bundle ID: com.kiloo.subwaysurfers
      iTunes Store Link: https://apps.apple.com/us/app/subway-surfers/id512939461?uo=4


      Hack Features:
      - Unlimited Currencies
      - Freeze Currencies
      - Free In-App Purchases
      - All Characters Unlocked
      - All Boards Unlocked
      - God Mode
      - No Stumble
      - Score Multiplier
      - Speed Multiplier
      - Gravity Multiplier
      - Jump Height Multiplier
      - Air Jump Height Multiplier
      - Unlimited Jumps
      - Unlimited Powers
      - Instant Lane Change
      - Freeze Trains
      - No Clip
      - Disable All Pickup
      - No Revive Cost
      - Unlimited Jetpack Time
      - Camera Stops
      - Camera Follows


      Jailbreak required hack(s): [Mod Menu Hack] Subway Surfers v3.40.0 +20 Cheats [ Currencies + More ] - ViP 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
        • Like
      • 77 replies
    • Subway Surfers v3.53.4 +23 Cheats [ Currencies + More ]
      Modded/Hacked App: Subway Surfers By Sybo Games ApS
      Bundle ID: com.kiloo.subwaysurfers
      iTunes Store Link: https://apps.apple.com/us/app/subway-surfers/id512939461?uo=4


      Hack Features:
      - Unlimited Currencies
      - Freeze Currencies
      - Free In-App Purchases
      - All Characters Unlocked
      - All Boards Unlocked
      - God Mode
      - No Stumble
      - Score Multiplier
      - Speed Multiplier
      - Gravity Multiplier
      - Jump Height Multiplier
      - Air Jump Height Multiplier
      - Unlimited Jumps
      - Unlimited Powers
      - Instant Lane Change
      - Freeze Trains
      - No Clip
      - Disable All Pickup
      - No Revive Cost
      - Unlimited Jetpack Time
      - Camera Stops
      - Camera Follows


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Subway Surfers v3.40.0 +20 Jailed Cheats [ Currencies + More ] - ViP Non-Jailbroken Hacks & 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
        • Winner
        • Like
      • 75 replies
    • Subway Surfers City v1.27.0 +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Subway Surfers City By Sybo Games ApS
      Bundle ID: com.sybogames.subway.surfers.game
      iTunes Store Link: https://apps.apple.com/ca/app/subway-surfers-city/id6504188939?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Keys -> Earn or spend some.
      - Unlimited Revives - Earn or spend some.
      - Unlimited Tokens -> Earn or spend some.
      - All Boards Unlocked
      - All Surfers Unlocked
      - Max Level -> Earn some XP.
      - God Mode
      - Unlimited Score
      - Unlimited Jumps


      Jailbreak required hack(s): [Mod Menu Hack] Subway Surfers City v1.13.2 +7 Cheats [ 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/
      • 219 replies
    • Subway Surfers City v1.27.0 +10 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Subway Surfers City By Sybo Games ApS
      Bundle ID: com.sybogames.subway.surfers.game
      iTunes Store Link: https://apps.apple.com/ca/app/subway-surfers-city/id6504188939?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Keys
      - Unlimited Revives
      - All Boards Unlocked
      - All Surfers Unlocked
      - Max Level -> Earn some XP.
      - God Mode


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Subway Surfers City v1.13.2 +5 Jailed Cheats [ 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/
      • 75 replies
    • Smoq Games 26 v1.15 +1 Jailed Cheat [ Unlimited Coins ]
      Modded/Hacked App: Smoq Games 26 By Edyta Smoktunowicz
      Bundle ID: com.fivedragonsgames.smoqgames26
      iTunes Store Link: https://apps.apple.com/us/app/smoq-games-26/id6751264404

       
       

      🤩 Hack Features

      - Unlimited Coins -> Earn some.
      • 17 replies
    • Smoq Games 26 v1.15 +1 Cheat [ Unlimited Coins ]
      Modded/Hacked App: Smoq Games 26 By Edyta Smoktunowicz
      Bundle ID: com.fivedragonsgames.smoqgames26
      iTunes Store Link: https://apps.apple.com/us/app/smoq-games-26/id6751264404

       
       

      🤩 Hack Features

      - Unlimited Coins -> Earn some.
      • 3 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