Jump to content

6 posts in this topic

Recommended Posts

Posted

So i'd like to get a working slider but even with the help inside the tweak.xm i wasn't able to get it working. I don't know where to put the offset/hex for the slider at. :/

Can someone please reply with a the same tweak.xm just with a working slider for the offset 0x123456? I apprechiate any help!

	#import "APMenu.h"
	/*
// 
// You can use: [mm getFloat:@"SOME HACK KEY"];
// You can use: [mm getBool:@"SOME HACK KEY"];
// 
// For customizing the hack inside your hooks
// see an example below:
// 
// EXAMPLE OF HOOK FUNCTIONS
// THAT GETS THE VALUE DEFINED
// OF AN INTERFACE "KEY" ELEMENT
   
	float (*orig_func)(void *self);
	float new_func(void *self)
{
    float newValue = [mm getFloat:@"aSliderKey"];
    if (newValue)
        return newValue;
    else
        return orig_func(self);
}
	*/
	
%ctor
{
    // the mod menu core
    mm = [APMenu sharedInstance];
	    // a writeData.h rewritten to my APMenu
    mp = [MemoryPatcher sharedInstance];
	    NSDictionary *hacks =
    @{
        @"k01BasicSwitcher":@{
            @"offsets": @[@"0xABFD78"],
            @"orig":    @[@"0x80A9BED"],
            @"patched": @[@"0x40AB2EE"],
            @"desc": @"",
            @"label": @"A basic switcher"
            },
	        @"k05SimpleUiSlider":@{
            @"type": @"modslider",
            @"typecfg": @{
                    @"minimumValue":@0,
                    @"maximumValue":@1
                },
            @"desc": @"",
            @"label": @"Normal UI Slider"
            },
    };
	
    // HERE IS WHERE ALL THE FUN BEGINS 
    [mm init:hacks
                openAfter: 1                                                                          // seconds (I like to use average game loading time)               (OBLIGATORY)
                    width: 260                                                                        // width in pixels                                                 (OBLIGATORY)
        maxVisibleToggles: 5                                                                          // only shows N first hacks, the others needs to be scrolled       (OBLIGATORY)
                    theme: rgb(0xbef7d9)                                                              // the main color for you hack menu (you can use any color       (OBLIGATORY)
                    title: @"MY GAME HACK"                                                            // your hack titlebar text upper case is better  (OBLIGATORY)
                  credits: @"Hack by (your nickname). Thanks to DiDA n' shmoo for inspiration <3"     // pretty self explicative, no? (Leave @"" for empty)
               creditsURL: nil                                                                        // a URL for the user to visit on credits menu screen @"http://www.myblog.com" or simple: nil
	                // CHOOSE YOUR INTERFACE TOGGLE GESTURE
                // APGestureTwoFingerTap
                // APGestureThreeFingerTap
                // APGestureFourFingerTap
                // APGestureTwoFingerSwipeUp
                // APGestureTwoFingerSwipeDown
                // APGestureTwoFingerSwipeLeft
                // APGestureTwoFingerSwipeRight
                // APGestureThreeFingerSwipeUp
                // APGestureThreeFingerSwipeDown
                // APGestureThreeFingerSwipeLeft
                // APGestureThreeFingerSwipeRight
                  gesture: APGestureThreeFingerTap
            onFirstLaunch:^{
	            // this method listens to Mod Menu controller changes
            // and gets it's values according to the type of
            // UIControl you are dealing with
            // if you don't need this, just comment or remove these lines
            [mm listenChanges:^(id sender)
            {
                if ([mm ismodtext:sender])
                {
                    UIKeyTextField *textField = (UIKeyTextField*) sender;
                    NSString *key             = textField.featureKey;
                    float value               = textField.text.floatValue;
	                    NSLog(@"Value of modtext %@: %f", key, value);
                }
                if ([mm ismodslider:sender])
                {
                    UIKeySlider *slider = (UIKeySlider*) sender;
                    NSString *key       = slider.featureKey;
                    float value         = slider.value;
	                    NSLog(@"Value of modslider %@: %f", key, value);
	                    /* SIMPLE EXAMPLE OF USING THIS
                        switch (value)
                        {
                            case 1:
                                [mp write:0xbadf00d data:0xf33dbac];
                            break;
	                            case 2:
                                [mp write:0xbadf00d data:0xf33dbac];
                            break;
	                            ...
                        }
                    */
                }
                if ([mm ismodswitcher:sender])
                {
                    UIViewSwitcher *switcher = (UIViewSwitcher*) sender;
                    NSString *key            = switcher.featureKey;
                    BOOL value               = switcher.isOn;
	                    NSLog(@"Value of modslider %@: %d", key, value);
                }
            }];
	
        /* DO SOMETHING AFTER HACK INTERFACE LAUNCH 
        designed for customized hooks or you can popup an alert to warn the user
        that hack is already active and maybe send an UIAlertControl informing Gesture you have used
        
	        ******** THIS IS HOW TO HOOK
        ******** (if you need hooking some internal function):
        ********
        ******** MSHookFunction((void*)[mp calculateAddress:0xb4df00d], (void*)new_func, (void**)&orig_func);
        ********
        ******** Please, notice that new_func and orig_func are declared at
        ******** the top of the file (before %ctor)
	        */
	        NSLog(@"Initialized");
    }];
}
	

Posted

So. What you are trying to achieve? A simple writeData(0x123456, 0xbadf00d)  ????

 

You don't need an UISlider for this. You just need to setup a basic switcher:

 

 @"k01BasicSwitcher":@{
            @"offsets": @[@"0x123456"],
            @"orig":    @[@"0xORIGINAL_OFFSET_HERE"],
            @"patched": @[@"0xAPATCHED_OFFSET_HERE"],
            @"desc": @"",
            @"label": @"A basic switcher"
            },

 

UISlider is for more complex stuff or for MSHooking into sub_functions or methods of classes.

Posted
18 minutes ago, arthurdapaz said:

So. What you are trying to achieve? A simple writeData(0x123456, 0xbadf00d)  ????

 

You don't need an UISlider for this. You just need to setup a basic switcher:

 


 @"k01BasicSwitcher":@{
            @"offsets": @[@"0x123456"],
            @"orig":    @[@"0xORIGINAL_OFFSET_HERE"],
            @"patched": @[@"0xAPATCHED_OFFSET_HERE"],
            @"desc": @"",
            @"label": @"A basic switcher"
            },

 

UISlider is for more complex stuff or for MSHooking into sub_functions or methods of classes.

I know how to make a simple switch, but i wanna make a UISlider. Like for gravity so one can adjust the gravity scale. Well now i just realized that theres no need for offsets to make a slider...Seems to be too complicated for my brain.

Posted

No,  nothing can be more simple. Calm. Take a look at [mm listenChanges] method...

 

it it gets the value of the UISlider for you

Every time you slide / change a value on an interface controller, this methods gets the KEY and VALUE for the cobtroller

Search for: "EXAMPLE OF USING THIS"... that's exactly what you want.

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

    • Hunters Origin v1.2.2 +8 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunters Origin By BoomBit, Inc.
      Bundle ID: com.hunters.legacy
      iTunes Store Link: https://apps.apple.com/pl/app/hunters-origin/id6473918865

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Skip Tutorial

      VIP
      - Gold Modifier
      - Diamonds Modifier
      - Seasonal Points Modifier
      - Speed Multiplier
      - XP Multiplier
      - VIP Enabled
      - Premium Pass Enabled
      - No Clip
      - Cheat Mode

      You risk your account being banned using this cheat. Play it safe and you should be okay.
      If you expose yourself using cheats then that's on you.
      • 41 replies
    • Hunters Origin v1.2.2 +8 Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunters Origin By BoomBit, Inc.
      Bundle ID: com.hunters.legacy
      iTunes Store Link: https://apps.apple.com/pl/app/hunters-origin/id6473918865

       


      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Skip Tutorial

      VIP
      - Gold Modifier
      - Diamonds Modifier
      - Seasonal Points Modifier
      - Speed Multiplier
      - XP Multiplier
      - VIP Enabled
      - Premium Pass Enabled
      - No Clip
      - Cheat Mode

      You risk your account being banned using this cheat. Play it safe and you should be okay.
      If you expose yourself using cheats then that's on you.
      • 20 replies
    • Grimguard Tactics: Fantasy RPG v1.19.2 +3 Jailed Cheats [ Auto Win ]
      Modded/Hacked App: Grimguard Tactics: Fantasy RPG By Outerdawn Limited
      Bundle ID: com.outerdawn.grimguard
      iTunes Store Link: https://apps.apple.com/us/app/grimguard-tactics-fantasy-rpg/id1496893856?uo=4


      Hack Features:
      - Auto Win
      - Unlimited Daily Rewards
      - No Stamina Cost


      Jailbreak required hack(s): [Mod Menu Hack] Grimguard Tactics: Fantasy RPG v1.1.10 +3 Cheats [ Auto Win ] - 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/
      • 143 replies
    • Grimguard Tactics: Fantasy RPG v1.19.2 +3 Cheats [ Auto Win ]
      Modded/Hacked App: Grimguard Tactics: Fantasy RPG By Outerdawn Limited
      Bundle ID: com.outerdawn.grimguard
      iTunes Store Link: https://apps.apple.com/us/app/grimguard-tactics-fantasy-rpg/id1496893856?uo=4


      Hack Features:
      - Auto Win
      - Unlimited Daily Rewards
      - No Stamina Cost


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Grimguard Tactics: Fantasy RPG v1.1.10 +3 Jailed Cheats [ Auto Win ] - 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/
      • 121 replies
    • Hungry Hearts Ramen v1.0.1 +3 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hungry Hearts Ramen By GAGEX Co.,Ltd.
      Bundle ID: jp.co.gagex.betelgeuse
      App Store Link: https://apps.apple.com/us/app/hungry-hearts-ramen/id6742872242?uo=4

       
       

      🤩 Hack Features

      - Unlimited Coins -> Spend some.
      - Unlimited Hearts -> Spend some.
      • 0 replies
    • Hungry Hearts Ramen v1.0.1 +3 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hungry Hearts Ramen By GAGEX Co.,Ltd.
      Bundle ID: jp.co.gagex.betelgeuse
      App Store Link: https://apps.apple.com/us/app/hungry-hearts-ramen/id6742872242?uo=4

       
       

      🤩 Hack Features

      - Unlimited Coins -> Spend some.
      - Unlimited Hearts -> Spend some.
      • 0 replies
    • Dawn of Ages: Medieval Games v2.4.3 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled
        • Informative
      • 89 replies
    • Merge Studio: Fashion Makeover v4.0.3 +50++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Merge Studio: Fashion Makeover By Paxie Games Oyun ve Yazilim Anonim Sirketi
      Bundle ID: com.paxiegames.mergestudio
      iTunes Store Link: https://apps.apple.com/us/app/merge-studio-fashion-makeover/id1615964753?uo=4


      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Sound button.


      Jailbreak required hack(s): [Mod Menu Hack] Merge Studio: Fashion Makeover v2.3.0 +50++ Cheats [ Debug Menu ] - 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/
      • 89 replies
    • Merge Studio: Fashion Makeover v4.0.3 +50++ Cheats [ Debug Menu ]
      Modded/Hacked App: Merge Studio: Fashion Makeover By Paxie Games Oyun ve Yazilim Anonim Sirketi
      Bundle ID: com.paxiegames.mergestudio
      iTunes Store Link: https://apps.apple.com/us/app/merge-studio-fashion-makeover/id1615964753?uo=4


      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Sound button.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Merge Studio: Fashion Makeover v2.3.0 +50++ Jailed Cheats [ Debug Menu ] - 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/
      • 71 replies
    • RuPaul's Drag Race Superstar v1.18.5 +1++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: RuPaul's Drag Race Superstar By Eastside Games
      Bundle ID: com.eastsidegames.dragrace
      iTunes Store Link: https://apps.apple.com/us/app/rupauls-drag-race-superstar/id1553517801


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


      Jailbreak required hack(s): [Mod Menu Hack] RuPaul's Drag Race Superstar ( All Versions ) +1++ 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/
        • Thanks
      • 270 replies
    • RuPaul's Drag Race Superstar v1.18.5 +1++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: RuPaul's Drag Race Superstar By Eastside Games
      Bundle ID: com.eastsidegames.dragrace
      iTunes Store Link: https://apps.apple.com/us/app/rupauls-drag-race-superstar/id1553517801

       
      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease. This feature will auto update itself once a new version of the app is released!


      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/
      • 59 replies
    • West Game II v1.2.3 +2 Cheats
      Modded/Hacked App: West Game II By LEXIANGCO.,LIMITED
      Bundle ID: leyi.westgamepro
      App Store Link: https://apps.apple.com/us/app/west-game-ii/id6751625353?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier 

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack







       

      📖 iOS Installation Instructions

      STEP 1: Download the .deb hack file from the link above. Use Safari, Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If needed, tap on the downloaded file again, then select ‘Normal Install’ from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. If it doesn’t install successfully, see the note below.
      STEP 5: Open the game, log in to your iOSGods account when asked, then toggle on the features you want and enjoy!

       

      NOTE: If you have any questions or problems, read our Jailbreak iOS Hack Troubleshooting & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

      More iOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.

      Modded Android APKs
      Need modded apps or games for Android? Check out the latest custom APK mods, cheats & more in our Android Section.
      • 19 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