Jump to content

14 posts in this topic

Recommended Posts

Posted

i make tweak but not show in the game :gasp:

this is tweak 

Spoiler

#include "Macros.h"

/*****************************/
// Please see sample.xm for sample menu code.

// title of your menu
static NSString *const title = @"man or vampire"; 

// who made the hack?
static NSString *const credits = @"made by intell";

// what font do you want the text to be? don't put anything for the default font
static NSString *const font = @"";

// should the menu have a blurred background? true or false
// FYI: this won't always look pretty
static const bool blur = ?;

// blur style
// you MUST pick from these three: UIBlurEffectStyleExtraLight, UIBlurEffectStyleLight, or UIBlurEffectStyleDark
// *** If you opted for no blur background, this is ignored. However, you still need to fill it in. ***
static const UIBlurEffectStyle blurStyle = ?;

// A complete list of fonts can be found here: http://iosfonts.com/
/******************************/

%hook UnityAppController

- (void)applicationDidBecomeActive:(id)arg0 {
    UIColor *themeColor = rgb(arc4random_uniform(0xFFFFFF));
    static const bool blur = false;
    static const UIBlurEffectStyle blurStyle = UIBlurEffectStyleLight;
  }

    UIWindow *main = [UIApplication sharedApplication].keyWindow.rootViewController.view;

    UIButton *openButton = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    openButton.frame = CGRectMake((main.frame.size.width/2)-15, (main.frame.size.height/2)+75, 30, 30);
    openButton.backgroundColor = [UIColor clearColor];
    openButton.layer.cornerRadius = 16;
    openButton.layer.borderWidth = 2;
    openButton.layer.borderColor = themeColor.CGColor;
    [openButton addTarget:self action:@selector(wasDragged:withEvent:) 
    forControlEvents:UIControlEventTouchDragInside];
    [openButton addTarget:self action:@selector(showMenu) 
    forControlEvents:UIControlEventTouchDownRepeat];

    if(!buttonAdded){
        timer(5){
            UIWindow *main = [UIApplication sharedApplication].keyWindow.rootViewController.view;
            menu = [[ModMenu alloc] initWithTitle:title credits:credits fontName:font theme:themeColor blur:blur blurStyle:blurStyle];

            /*
            Add features below this comment. Feel free to delete this comment if you're comfortable with how this menu works.

            Things are added to the menu in the order you have added them.

            A Hack is a switch that contains offsets, hacked hexes, and original hexes. Straightforward.
            To create one, call addHack.
            addHack is called as follows: addHack(@"Hack Name", @"The description of your hack", themeColor, {offsets}, {hacked hexes}, {original hexes});
            For example:
            addHack(@"Infinite Ammo", @"Ammo doesn't run out.", themeColor, {0x1001B292A}, {0xC0035FD6}, {0xD213AEB5});
            You can also have multiple offsets, hacked hexes, and original hexes. There's no limit to the number of offsets you can have! For example:
            addHack(@"No Recoil", @"No recoil prevents any recoil from being applied when you shoot.", themeColor, {0x356a7c, 0x110f0a}, {0x7047, 0x7047}, {0xf0b5, 0xf0b5});
            
            A Hook is a switch that used to hook a function and apply a feature. This doesn't make much sense because you cannot "unhook" a function if
            the user wants the feature off. It currently serves no purpose except for backward compatibility. All it does is turn on or off now.

            A SliderHook is a slider that can be customized to have a minimum and maximum value.
            Good for hooking a function and returning user-specified values. To create one, call addSliderHook.
            addSliderHook is called as follows: addSliderHook(@"Hack Name", @"Description of your hack", themeColor, initial value, minimum value, maximum value);
            For example:
            addSliderHook(@"Adjust Field of View", @"Adjust your field of view.", themeColor, 0, 100, 50);
            To get the value of a SliderHook:
            float value = [SliderHook getSliderValueForHook:@"hack name here"];
            int value = (int)[SliderHook getSliderValueForHook:@"hack name here"];

            A TextfieldHook is a textfield. Again, good for hooking a function and returning user-specified values.
            To create one, call addTextfieldHook.
            addTextfieldHook is called as follows: addTextfieldHook(@"Hack name", @"Description of your hack", themeColor);
            For example:
            addTextfieldHook(@"Set Gems", @"Set your gem amount.", themeColor);
            To get the value of a TextfieldHook:
            NSString *value = [TextfieldHook getTextfieldValueForHook:@"hack name here"];
            float value = [[TextfieldHook getTextfieldValueForHook:@"hack name here"] floatValue];
            int value = [[TextfieldHook getTextfieldValueForHook:@"hack name here"] intValue];

            A Switch does nothing but turn on or off. Useful when you are in a hooked function and need to know when to call a function or mod an instance variable.
            Since it doesn't do anything but turn on or off, it is essentially the same thing as a Hook.
            To create one, call addSwitch.
            addSwitch is called as follows:
            addSwitch(@"Hack name", @"Description of your hack", themeColor);
            For example:
            addSwitch(@"Kill Everyone", @"Kill everyone in the lobby", themeColor);
            To test whether or not a Switch is on:
            bool on = [Switch getSwitchOnForSwitch:@"hack name here"];

            If you want to use writeData in your Tweak.xm, now you can! Call writeData like you normally would.
            Call writeData after the menu has been created. If you use it where you add features, you'll be fine.

            Handle hooking with the HOOK and HOOK_NO_ORIG macros. I decided to let you guys handle hooking because
            it is too troublesome to make sure I handle cases where you guys pass parameters incorrectly.

            If I wanted to hook a function called LocalPlayer::Update at 0x1001B762A with a pointer to the original function, I would do this:
            HOOK(0x1001B762A, _LocalPlayer_Update, LocalPlayer_Update);

            Where _LocalPlayer_Update is the function you write, and LocalPlayer_Update is the pointer to the original function.

            You can use HOOK_NO_ORIG if you don't need the pointer to the original function:
            HOOK_NO_ORIG(0x1001B762A, _LocalPlayer_Update);

            If that is too confusing, you can always just use MSHookFunction. HOOK and HOOK_NO_ORIG just wrap MSHookFunction in a cleaner call.
            */

            // add features here!

addHack(@"Infinite Ammo", @"Ammo doesn't run out.", themeColor, {0x1001B292A}, {0xC0035FD6}, {0xD213AEB5});
addHack(@"Infinite Ammo", @"Ammo doesn't run out.", themeColor, {0x1001B292A}, {0xC0035FD6}, {0xD213AEB5});

            [main addSubview:openButton];
            [main addSubview:menu];

            buttonAdded = true;
        });
    }

    %orig;
}

%new
- (void)showMenu {
    [menu show];
}

%new
- (void)wasDragged:(UIButton *)button withEvent:(UIEvent *)event
{
    UITouch *touch = [[event touchesForView:button] anyObject];

    CGPoint previousLocation = [touch previousLocationInView:button];
    CGPoint location = [touch locationInView:button];
    CGFloat delta_x = location.x - previousLocation.x;
    CGFloat delta_y = location.y - previousLocation.y;

    button.center = CGPointMake(button.center.x + delta_x, button.center.y + delta_y);
}
%end

void addHack(NSString *name, NSString *description, UIColor *theme, std::initializer_list<uint64_t> offsets, std::initializer_list<uint64_t> hackedHexes, std::initializer_list<uint64_t> originalHexes){
    if(menu == nil)
        return;
    
    std::vector<uint64_t> offsetVector;
    std::vector<uint64_t> hackedHexVector;
    std::vector<uint64_t> originalHexVector;
    
    offsetVector.insert(offsetVector.begin(), offsets.begin(), offsets.end());
    hackedHexVector.insert(hackedHexVector.begin(), hackedHexes.begin(), hackedHexes.end());
    originalHexVector.insert(originalHexVector.begin(), originalHexes.begin(), originalHexes.end());
    
    Hack *h = [[Hack alloc] initWithHackName:name info:description fontName:font theme:theme offset:offsetVector hackedHex:hackedHexVector originalHex:originalHexVector];
    [menu addHack:h];
}

void addHook(NSString *name, NSString *description, UIColor *theme){
    if(menu == nil)
        return;
    
    Hook *h = [[Hook alloc] initWithHookName:name info:description fontName:font theme:theme];
    [menu addHook:h];
}

void addSliderHook(NSString *name, NSString *description, UIColor *theme, float initialValue, float minValue, float maxValue){
    if(menu == nil)
        return;

    if(minValue > maxValue)
        return;
    
    SliderHook *sh = [[SliderHook alloc] initWithSliderHookName:name info:description fontName:font theme:theme initialValue:initialValue minValue:minValue maxValue:maxValue];
    [menu addHook:sh];
}

void addTextfieldHook(NSString *name, NSString *description, UIColor *theme){
    if(menu == nil)
        return;
    
    TextfieldHook *th = [[TextfieldHook alloc] initWithTextfieldHookName:name info:description fontName:font theme:theme];
    [menu addHook:th];
}

void addSwitch(NSString *name, NSString *description, UIColor *theme){
    if(menu == nil)
        return;
    
    Switch *s = [[Switch alloc] initWithSwitchName:name info:description fontName:font theme:theme];
    [menu addHook:s];
}

void writeData(uint64_t offset, uint64_t hex){
    if(menu == nil)
        return;
    
    [menu writeTo:offset withHex:hex];
}

 

  • Like 1
Posted
39 minutes ago, DiDA said:

Is your bundle ID correct?

Is the 

 

44 minutes ago, intell said:

- (void)applicationDidBecomeActive:(id)arg0 {
    UIColor *themeColor = rgb(arc4random_uniform(0xFFFFFF));
    static const bool blur = false;
    static const UIBlurEffectStyle blurStyle = UIBlurEffectStyleLight;
  }

Part correct though? Cuz i helped him with that, i am not sure myself i just read the instructions for menu theme and thought this is correct

Posted
1 hour ago, TheArmKing said:

Is the 

 

Part correct though? Cuz i helped him with that, i am not sure myself i just read the instructions for menu theme and thought this is correct

 

first time i got this 

Spoiler

iPhone:/var/vampier root# make package
> Making all for tweak vampier…
==> Preprocessing Tweak.xm…
Tweak.xm:130: error: %orig does not make sense outside a block
make[3]: *** [/var/theos/makefiles/instance/rules.mk:242: /var/vampier/.theos/obj/debug/arm64/Tweak.xm.mm] Error 255
make[2]: *** [/var/theos/makefiles/instance/library.mk:33: /var/vampier/.theos/obj/debug/arm64/vampier.dylib] Error 2
make[1]: *** [/var/theos/makefiles/instance/library.mk:24: internal-library-all_] Error 2
make: *** [/var/theos/makefiles/master/rules.mk:123: vampier.all.tweak.variables] Error 2
iPhone:/var/vampier root# make package

second time this but same not show 

Spoiler

iPhone:/var/vampier root# make package
> Making all for tweak vampier…
==> Compiling Tweak.xm (arm64)…
==> Linking tweak vampier (arm64)…
==> Generating debug symbols for vampier…
==> Merging tweak vampier…
==> Signing vampier…
> Making stage for tweak vampier…
dm.pl: building package `iosgods.com.manorvampier:iphoneos-arm' in `./debs/iosgods.com.manorvampier_1.2.7-2+debug_iphoneos-arm.deb'

 

1 hour ago, DiDA said:

Is your bundle ID correct?

yep

Posted

Weird question, but did you install it?

Since you just ran 'make package' instead of 'make package install'.

Posted
5 minutes ago, DiDA said:

Weird question, but did you install it?

 Since you just ran 'make package' instead of 'make package install'.

 

Spoiler

iPhone:/var/vampier root# make package install
> Making all for tweak vampier…
make[2]: Nothing to be done for 'internal-library-compile'.
> Making stage for tweak vampier…
dm.pl: building package `iosgods.com.manorvampier:iphoneos-arm' in `./debs/iosgods.com.manorvampier_1.2.7-4+debug_iphoneos-arm.deb'
make: *** No rule to make target 'install'.  Stop.

 

Posted
27 minutes ago, intell said:

 

  Hide contents

iPhone:/var/vampier root# make package install
> Making all for tweak vampier…
make[2]: Nothing to be done for 'internal-library-compile'.
> Making stage for tweak vampier…
dm.pl: building package `iosgods.com.manorvampier:iphoneos-arm' in `./debs/iosgods.com.manorvampier_1.2.7-4+debug_iphoneos-arm.deb'
make: *** No rule to make target 'install'.  Stop.

 

You need to set the permissions for the Theo’s folder. I made the whole Theo’s folder 0777, and it fixed it.

Posted

I would say to create new one and don’t modify anything repeated to theme. Then test

Posted
42 minutes ago, Joka said:

You need to set the permissions for the Theo’s folder. I made the whole Theo’s folder 0777, and it fixed it.

 

41 minutes ago, Amuyea said:

I would say to create new one and don’t modify anything repeated to theme. Then test

 

i try but the menu same not show in the game

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.

  • Our picks

    • Fun Run 3 - Multiplayer Games Cheats v4.47.1 +1
      Modded/Hacked App: Fun Run 3: Arena Running Game By Dirtybit
      Bundle ID: com.dirtybit.fra
      iTunes Store Link: https://itunes.apple.com/us/app/fun-run-3-arena-running-game/id1118878857?mt=8&uo=4&at=1010lce4


      Hack Features:
      - God Mode
       

      Hack Download Link: https://iosgods.com/topic/75790-arm64-fun-run-3-arena-running-game-cheats-v210-1/
      • 1,278 replies
    • Super Arrow Online Cheats v1.56.1 +3
      Modded/Hacked App: Super Arrow Idle By MOBIRIX
      Bundle ID: com.mobirix.sao
      iTunes Store Link: https://apps.apple.com/us/app/super-arrow-idle/id1635307668?uo=4


      Hack Features:
      - Infinite Currencies ( Read NOTE )
      - God Mode
      - Weak Enemies ( Enable before start )


      This cheat is fully tested on my device JB ( Odyssey/ Odsseyra1n/ Taurine). If your jailbreak is not supported you will get detection error and do not ask me. AGAIN DO NOT BUY VIP FOR JUST THIS CHEAT

      iOS Hack Download Link: https://iosgods.com/topic/167081-super-arrow-idle-cheats-v154-3/
      • 502 replies
    • My Talking Angela 2 Cheats v25.1.1 +2
      Modded/Hacked App: My Talking Angela 2 By Outfit7 Limited
      Bundle ID: com.outfit7.mytalkingangela2
      iTunes Store Link: https://apps.apple.com/us/app/my-talking-angela-2/id1536584509?uo=4


      Hack Features:
      - Infinite Currencies
      - No Ads


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/147072-my-talking-angela-2-v1013-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/147070-my-talking-angela-2-cheats-all-versions-2/
      • 110 replies
    • My Talking Tom 2 Cheats v25.1.2 +2
      Modded/Hacked App: My Talking Tom 2 by Outfit7 Limited
      Bundle ID: com.outfit7.mytalkingtom2
      iTunes Store Link: https://itunes.apple.com/us/app/my-talking-tom-2/id1337578317?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Coins (Spend some/ Get some)
      - No Ads


      Hack Download Link: https://iosgods.com/topic/82755-arm64-my-talking-tom-2-cheats-v102002-1/
      • 711 replies
    • Eatventure v1.35.0 Jailed Cheats +2
      Modded/Hacked App: Eatventure By Lessmore UG haftungsbeschraenkt
      Bundle ID: com.hwqgrhhjfd.idlefastfood
      iTunes Store Link: https://apps.apple.com/us/app/eatventure/id1600871388?uo=4


      Hack Features:
      - Freeze Currencies
      - Free iAP (Turn on inside iOSGods Mod Menu first)


      Jailbreak required hack(s): https://iosgods.com/topic/168170-eatventure-cheats-all-versions-1/


      iOS Hack Download IPA Link: https://iosgods.com/topic/168169-eatventure-v110-jailed-cheats-2/
      • 317 replies
    • Dead Ahead: Zombie Warfare Cheats v4.1.9 +4
      Modded/Hacked App: Dead Ahead: Zombie Warfare By Mobirate Studio Ltd
      Bundle ID: com.mobirate.DeadAheadTactics
      iTunes Store Link: https://itunes.apple.com/us/app/dead-ahead-zombie-warfare/id1017311881?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Freeze Coins
      - Freeze Fuels
      - Infinite Mana
      - Instant Warrior Spawn (Show timer but works)

      *NOTE: COULD CAUSE YOU BANNED FROM ONLINE TOURNAMENT, I'M NOT TAKING ANY RESPONSIBILITY. USE WISELY


      Hack Download Link:
      https://iosgods.com/topic/70815-arm64-dead-ahead-zombie-warfare-cheats-v211-4/
      #Hack #Jailbreak #Cydia #Cheat #Apple #Android #iOSGods
      • 781 replies
    • Harry Potter: Hogwarts Mystery v6.4.2 - [ Unlimited Energy & More ]
      Modded/Hacked App: Harry Potter: Hogwarts Mystery By Jam City, Inc.
      Bundle ID: com.tinyco.potter
      iTunes Store Link: https://apps.apple.com/us/app/harry-potter-hogwarts-mystery/id1333256716


      Hack Features:
      - Unlimited Energy
      - Max Attributes Level
      - Free Shop - Energy & Some Pets 
      - Max Creature Mastery Level
      - Unlimited Gems - Do Task And You'll Gain Gems
      - Feeding Button Enabled
      • 865 replies
    • Temple Run 2 Cheats v1.120.0 +8
      Modded/Hacked App: Temple Run 2 by Imangi Studios, LLC
      Bundle ID: com.imangi.templerun2
      iTunes Store Link: https://apps.apple.com/us/app/temple-run-2/id572395608?uo=4&at=1010lce4


      Hack Features:
      - No Ads Enabled
      - x2 Coin Enabled
      - Infinite Coin (Spend some)
      - Infinite Gem (Spend some)
      - All Characters Unlocked
      - Free iAP (Turn off all iap hacks before using this, also if itunes popup don't show then run ldrestart in terminal -- This is an issue with the jailbreak not the hack)
      - Auto Run
      - Coin Magnet


      iOS Hack Download Link: https://iosgods.com/topic/132609-arm64-temple-run-2-cheats-v1691-8/
      • 304 replies
    • Potion Punch 2 Cheats v2.9.60 +1
      Modded/Hacked App: Potion Punch 2 by Monstronauts Inc.
      Bundle ID: com.monstronauts.potionpunch2
      iTunes Store Link: https://apps.apple.com/us/app/potion-punch-2/id1463550435?uo=4&at=1010lce4


      Hack Features:
      - Infinite Currencies
      - Free iAP (Turn this on and use with Free iAP Tweak)


      iOS Hack Download Link: https://iosgods.com/topic/112395-arm64-potion-punch-2-cheats-v102-2/
      • 94 replies
    • [ The Battle Cats JP ] にゃんこ大戦争 Cheats v14.3.2 +3
      Modded/Hacked App: にゃんこ大戦争 By ponos corporation
      Bundle ID: jp.co.ponos.battlecats
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89/id547145938?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

      - Infinite Cash
      - OHK Linked w/ Enemy
      - Infinite Cat Foods & EXP*

       

      Non-Jailbroken Hack: https://iosgods.com/topic/194335-the-battle-cats-jp-%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89-v1432-jailed-cheats-4/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/194334-the-battle-cats-jp-%E3%81%AB%E3%82%83%E3%82%93%E3%81%93%E5%A4%A7%E6%88%A6%E4%BA%89-cheats-v1432-3/
      • 1 reply
    • Chiikawa Pocket Cheats v1.1.10 +3
      Modded/Hacked App: Chiikawa Pocket By Applibot Inc.
      Bundle ID: jp.co.applibot.chiikawapocketgl
      iTunes Store Link: https://apps.apple.com/us/app/chiikawa-pocket/id6740838442?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

      - God Mode
      - Multiply Attack

       

      Non-Jailbroken Hack: https://iosgods.com/topic/193718-chiikawa-pocket-v111-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/193717-chiikawa-pocket-cheats-v111-2/
      • 30 replies
    • SUPERSTAR JYPNATION Cheats v3.24.0 +3
      Modded/Hacked App: SUPERSTAR JYPNATION By Dalcomsoft Inc.
      Bundle ID: com.dalcomsoft.ss.jyp
      iTunes Store Link: https://apps.apple.com/us/app/superstar-jypnation/id1086866467?uo=4


      Hack Features:
      - Auto Dance
      - Never Lose Combo
      - Always S.Perfect


      iOS Hack Download Link: https://iosgods.com/topic/184872-superstar-jypnation-cheats-v3180-3/
      • 21 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