Jump to content

 Something great is coming! 🤖

Stay tuned for the big reveal happening here on iOSGods on the 20th of February!

The countdown has finished!

IGM Help


Go to solution Solved by Rook,

12 posts in this topic

Recommended Posts

Posted

Show me your tweak.xm and makefile.

Tweak.xm:

 

#import "Hack.h"

#import "HackManager.h"

@class Hack;

@class HackManager;

 

#define PLIST_PATH @"/var/mobile/Library/Preferences/com.johnkittz.farmkill.plist"

 

#define FENCEHACK 0

#define ZOMBIEHACK 1

#define CASHHACK 2

#define SURVIVORHACK 3

 

HackManager *hackmanager = nil;

 

%hook FraggerAppDelegate

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12

{

    //All Orientations in struct are: landscapeLeft, landscapeRight, portrait, and portraitUpsideDown. They are set to false by default. Set the ones supported in the app to true.

    struct AllowedOrientations supportedOrientations = MakeInitialOrientations();

    supportedOrientations.landscapeLeft = true;

    supportedOrientations.landscapeRight = true;

 

    hackmanager = [[HackManager alloc]initWithDictPath:PLIST_PATH hackerName:@"JohnKittz" coordX:10 coordY:20 andOrientation:UIInterfaceOrientationLandscapeRight andSupportedOrientations:supportedOrientations];

 

    [hackmanager addHackWithKey:@"kfence" andName:@"Fence life" andType:NUMBER];

    [hackmanager addHackWithKey:@"kzom" andName:@"zombie stats" andType:NUMBER];

    [hackmanager addHackWithKey:@"kCash" andName:@"Cash" andType:NUMBER];

    [hackmanager addHackWithKey:@"ksurvivor" andName:@"survivors" andType:NUMBER];

    return %orig;

}

%end

 

%hook SkippyConstants

- (float)bonusCashMultiplier

{

    return [[hackmanager getHackValueAtIndex:CASHHACK]floatValue];

}

%end

 

%hook FarmKillData

- (int)farmKillCashMult

{

    return [[hackmanager getHackValueAtIndex:CASHHACK]intValue];

}

%end

 

%hook MudskipperStatsScreen

- (int)bonusCash

{

    return [[hackmanager getHackValueAtIndex:CASHHACK]intValue];

}

%end

 

%hook MoneyDrop

- (float)amount

{

    return [[hackmanager getHackValueAtIndex:CASHHACK]floatValue];

}

 

- (float)moneyMultiply

{

    return [[hackmanager getHackValueAtIndex:CASHHACK]floatValue];

}

%end

 

%hook Zombie

- (float)attack

{

    return [[hackmanager getHackValueAtIndex:ZOMBIEHACK]floatValue];

}

 

- (float)life

{

    return [[hackmanager getHackValueAtIndex:ZOMBIEHACK]floatValue];

}

%end

 

%hook Fence

- (float)life

{

    return [[hackmanager getHackValueAtIndex:FENCEHACK]floatValue];

}

%end

 

%hook FarmKillStats

- (int)stats_survivorsKilled

{

    return [[hackmanager getHackValueAtIndex:SURVIVORHACK]intValue];

}

%end

Makefile:

 

ARCHS = armv7 arm64

 

FarmKill_LDFLAGS += -W1,-segalign,4000

 

include theos/makefiles/common.mk

 

TWEAK_NAME = FarmKill

FarmKill_FILES = Tweak.xm HackManager.m Hack.m

FarmKill_FRAMEWORKS = UIKit

include $(THEOS_MAKE_PATH)/tweak.mk

 

after-install::

    install.exec "killall -9 SpringBoard"

 

  • Solution
Posted

FarmKill_FRAMEWORKS = UIKit CoreGraphics

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

    • Basketball Star Rising v1.6.1 [ +2 Cheats ] Gems Max
      Modded/Hacked App: Basketball Star Rising By 军 赵
      Bundle ID: com.casual.basketball
      App Store Link: https://apps.apple.com/us/app/basketball-star-rising/id1562071554?uo=4
       

      🤩 Hack Features

      - ADS NO
      - Gems
        • Agree
        • Haha
        • Winner
        • Like
      • 12 replies
    • Basketball Star Rising v1.6.1 [ +2 Jailed ] Gems Max
      Modded/Hacked App: Basketball Star Rising By 军 赵
      Bundle ID: com.casual.basketball
      App Store Link: https://apps.apple.com/us/app/basketball-star-rising/id1562071554?uo=4
       

      🤩 Hack Features

      - ADS NO
      - Gems
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 26 replies
    • Hello Town: Merge & Succeed v3.7 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Hello Town By Springcomes Co., Ltd.
      Bundle ID: com.spcomes.hellotown
      iTunes Store Link: https://apps.apple.com/us/app/hello-town/id6737850281?uo=4


      Hack Features

      - Diamonds
      - Gold
      - Energy Freeze



      For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
        • Agree
        • Thanks
        • Winner
        • Like
      • 36 replies
    • Hello Town: Merge & Succeed v3.7 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Hello Town By Springcomes Co., Ltd.
      Bundle ID: com.spcomes.hellotown
      iTunes Store Link: https://apps.apple.com/us/app/hello-town/id6737850281?uo=4

       

      Hack Features

      - Diamonds
      - Gold
      - Energy Freeze



      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 35 replies
    • Goblin Miner: Idle Merger v3.11.0 [ +5 Cheats ] Coins Unlimited
      Modded/Hacked App: Goblin Miner: Idle Merger By ProGamesLab LTD
      Bundle ID: com.goblins.idle.merge.game
      App Store Link: https://apps.apple.com/us/app/goblin-miner-idle-merger/id6751527945?uo=4

      🤩 Hack Features

      - Unlimited Coins / Mine Upgrade
      - Unlimited Goblin Drop / No Limite
      - Goblin LvL Higher / Easy To Skip Time Mine / First Drop Goblin Then Chose Higher LvL
      - Unlimited Magic Dust
      - Ruby Pass
        • Haha
        • Thanks
        • Winner
        • Like
      • 22 replies
    • Goblin Miner: Idle Merger v3.11.0 [ +5 Jailed ] Coins Unlimited
      Modded/Hacked App: Goblin Miner: Idle Merger By ProGamesLab LTD
      Bundle ID: com.goblins.idle.merge.game
      App Store Link: https://apps.apple.com/us/app/goblin-miner-idle-merger/id6751527945?uo=4

      🤩 Hack Features

      - Unlimited Coins / Mine Upgrade
      - Unlimited Goblin Drop / No Limite
      - Goblin LvL Higher / Easy To Skip Time Mine / First Drop Goblin Then Chose Higher LvL
      - Unlimited Magic Dust
      - Ruby Pass
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 26 replies
    • Darkest Hero! v0.1.6 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Darkest Hero! By MINIDRAGON LTD
      Bundle ID: com.minidragon.randomdungeon
      App Store Link: https://apps.apple.com/us/app/darkest-hero/id6746927122?uo=4

      🤩 Hack Features

      - Unlimited Gems / Earn
      - Unlimited Red Crystal / Earn
      - Unlimited Gold / Earn
      - Unlimited Keys / Earn
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 30 replies
    • Darkest Hero! v0.1.6 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Darkest Hero! By MINIDRAGON LTD
      Bundle ID: com.minidragon.randomdungeon
      App Store Link: https://apps.apple.com/us/app/darkest-hero/id6746927122?uo=4

      🤩 Hack Features

      - Unlimited Gems / Earn
      - Unlimited Red Crystal / Earn
      - Unlimited Gold / Earn
      - Unlimited Keys / Earn
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 47 replies
    • Disney Solitaire v1.13.0 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/ph/app/disney-solitaire/id6475757306?uo=4
       

      🤩 Hack Features

      - Coins [ Win Match ]

      - Task [ No Need Star ]

      - Stars

      - Undo

      - Wild Card

      - Free Ticket

      - Auto Win
        • Informative
        • Agree
        • Thanks
        • Like
      • 50 replies
    • Disney Solitaire v1.13.0 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/ph/app/disney-solitaire/id6475757306?uo=4


      🤩 Hack Features

      - Coins [ Win Match ]

      - Task [ No Need Star ]

      - Stars

      - Undo

      - Wild Card

      - Free Ticket

      - Auto Win
        • Agree
        • Thanks
        • Winner
        • Like
      • 56 replies
    • [ Last Cloudia TW ] 最後的克勞迪亞 v6.12.0 Jailed Cheats +4
      Modded/Hacked App: 最後的克勞迪亞 By Hong Kong Bao Chuan Software Technology Limited
      Bundle ID: com.boltrend.cloudia
      iTunes Store Link: https://apps.apple.com/tw/app/%E6%9C%80%E5%BE%8C%E7%9A%84%E5%85%8B%E5%8B%9E%E8%BF%AA%E4%BA%9E/id1530784975?uo=4



      Hack Features:
      - God Mode
      - Infinite MP
      - Infinite SP
      - Infinite Ether


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/139142-last-cloudia-tw-%E6%9C%80%E5%BE%8C%E7%9A%84%E5%85%8B%E5%8B%9E%E8%BF%AA%E4%BA%9E-v161-jailed-cheats-4/


      iOS Hack Download Link: https://iosgods.com/topic/139142-last-cloudia-tw-%E6%9C%80%E5%BE%8C%E7%9A%84%E5%85%8B%E5%8B%9E%E8%BF%AA%E4%BA%9E-v1141-jailed-cheats-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 373 replies
    • LAST CLOUDIA v6.12.0 Jailed Cheats +4
      Modded/Hacked App: LAST CLOUDIA By AIDIS Inc.
      Bundle ID: com.aidis.lastcloudiaen
      iTunes Store Link: https://apps.apple.com/us/app/last-cloudia/id1473588527?uo=4


      Hack Features:
      - God Mode
      - Infinite MP
      - Infinite SP
      - Infinite Ether


      iOS Hack Download Link: https://iosgods.com/topic/147069-last-cloudia-v201-jailed-cheats-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 439 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