Jump to content

Telekill - Forward Assault v1.2003


Ted2

21 posts in this topic

Recommended Posts

This is a very simple example & forward assault is the easiest game I did it on. It can be modified to work on other games.

 

I suggest to read this code inside a text editor with the syntax of C/C++ as iG's C syntax doesn't really look well.

// Don't worry to much about this, you just need this for location handling.
class Vector3 {
public:
  float x;
  float y;
  float z;
  Vector3() : x(0), y(0), z(0) {}
  Vector3(float x1, float y1, float z1) : x(x1), y(y1), z(z1) {}
  Vector3(const Vector3 &v);
  ~Vector3();
};
Vector3::Vector3(const Vector3 &v) : x(v.x), y(v.y), z(v.z) {}
Vector3::~Vector3() {}

/************************************************
Function pointers that will be used in this hack.
*************************************************/
//public Transform get_transform() ---> Class Component
void *(*Component_GetTransform)(void *component) = (void *(*)(void *))getRealOffset(0x101F84228);  

//private void INTERNAL_set_position(Vector3 value) ---> Class Transform
void (*Transform_INTERNAL_set_position)(void *transform, Vector3 newPosition) = (void (*)(void *, Vector3))getRealOffset(0x101FAB724);

//private void INTERNAL_get_position(out Vector3 value) --> get the object of a transform
void (*Transform_INTERNAL_get_position)(void *transform, Vector3 *out) = (void (*)(void *, Vector3 *))getRealOffset(0x101FAB7D0);

/*****************************************************
Utility functions which will help us with some checks.
******************************************************/
// Utility function to get a players location.
Vector3 GetPlayerLocation(void *player) {
  Vector3 location;
  Transform_INTERNAL_get_position(Component_GetTransform(player), &location);

  return location;  
}

// Utility function to get a players health
float GetPlayerHealth(void *player) {
  //private float FEHAJLBCGIN; // 0x1EC
  return *(float*)((uint64_t)player + 0x1EC);
}

// Utility function to check if a enemy is dead
bool isPlayerDead(void *player) {
  if(GetPlayerHealth(player) < 1) {
    return true;
  }

  return false;
}

// Utility function to get a players team number
int GetPlayerTeam(void *player) {
  //private int BMFGOOEECIC; // 0x210 --> Player
  return *(int*)((uint64_t)player + 0x210);
}

//Creating a null objects for enemy & my player. It will be asigned later inside the actual hook.
void *enemyPlayer = NULL;
void *myPlayer = NULL;

// Hook code
void(*old_Player_Update)(void *player);
void Player_Update(void *player) {

  //public bool isMine; // 0xCC
  bool isMine = *(bool*)((uint64_t)player + 0xCC);

  //getting my player
  if(isMine) {
    myPlayer = player;
  }

  // getting enemy player by checking whether the other players team is the same as mine
  if(myPlayer) {
    if(GetPlayerTeam(myPlayer) != GetPlayerTeam(player)) {
      enemyPlayer = player;
    }    
  }


  /*********************
    TELE KILL FEATURE
  **********************/

  // Checking if enemyPlayer object is not null
  if(enemyPlayer) {
    // checking if it's not dead, if it is enemyPlayer is NULL & it should look for a new one.
    if(!isPlayerDead(enemyPlayer)) {
      if([switches isSwitchOn:@"Teleport to Enemy"]) {
        Vector3 enemyLocation = GetPlayerLocation(enemyPlayer);
        // You can mod these values to your liking  
        Transform_INTERNAL_set_position(Component_GetTransform(myPlayer), Vector3(enemyLocation.x, enemyLocation.y, enemyLocation.z - 1));
      }      
    } else {
      enemyPlayer = NULL;
      return;
    }
  }
  old_Player_Update(player);
}

//private void Update(); --> Class: Player (bigger one)
HOOK(0x101743A8C, Player_Update, old_Player_Update);

 

If you use this source in hacks, I'd appreciate actual credits.

  • Like 8
  • Winner 2
  • Informative 1
Link to comment
Share on other sites

Just now, busmanl30 said:

no, ill add it in my current hack if you wantwith more features

No I mean when you was trying it i used it in same room then the game freez it looks like if more than one use it in same room it not work, not sure

Link to comment
Share on other sites

21 minutes ago, X204 said:

No I mean when you was trying it i used it in same room then the game freez it looks like if more than one use it in same room it not work, not sure

you are doing something room, dont worry about it, ill be adding it to my public hack 

 

Link to comment
Share on other sites

  • Our picks

    • [iOS 17/18 Support] Plants vs. Zombies™ 2 v11.5.1 +3 Jailed Cheats [Unlimited Currencies]
      Modded/Hacked App: Plants vs. Zombies™ 2 By PopCap
      Bundle ID: com.popcap.ios.PvZ2
      iTunes Store Link: https://itunes.apple.com/us/app/plants-vs-zombies-2/id597986893
       

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Mints
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,477 replies
    • Plants vs. Zombies™ 2 (All Versions) +4 Cheats [Unlimited Currencies]
      Modded/Hacked App: Plants vs. Zombies™ 2 By PopCap
      Bundle ID: com.popcap.ios.PvZ2
      iTunes Store Link: https://itunes.apple.com/us/app/plants-vs-zombies-2/id597986893

       

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Mints
      - Unlimited Sun - Will increase instead of decrease.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 4,010 replies
    • Jurassic World Alive v3.7.32 - [ Dino Don't Move & More ]
      Modded/Hacked App: Jurassic World Alive By Ludia
      Bundle ID: com.ludia.jw2
      iTunes Store Link: https://apps.apple.com/us/app/jurassic-world-alive/id1231085864

      Hack Features:
      - Dino Don't Move
      - Inf.Battery
      - VIP Enabled

      This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.


      Jailbreak required hack(s): https://iosgods.com/topic/103431-jurassic-world-alive-v1829-dino-dont-move-more/?tab=comments#comment-3107135
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,579 replies
    • Jurassic World Alive v3.7.32 - [ Dino Don't Move & More ]
      Modded/Hacked App: Jurassic World Alive By Ludia
      Bundle ID: com.ludia.jw2
      iTunes Store Link: https://apps.apple.com/us/app/jurassic-world-alive/id1231085864


      Hack Features:
      - Dino Don't Move
      - Inf. Battery
      - VIP Enabled

      This hack is an In-Game Mod Menu (iGMM). In order to activate the Mod Menu, tap on the iOSGods button found inside the app. This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,495 replies
    • Modded/Hacked App: Kritika: The White Knights by GAMEVIL Inc.
      Bundle ID: com.gamevil.kritikam.ios.apple.global.normal
      iTunes Store Link: https://apps.apple.com/us/app/kritika-the-white-knights/id865958296

      Hack Features:
      - Infinite Potions (Increase instead of decrease)
      - Infinite Mana
      - No Potion Cooldown
      - Instant EX Gauge Fill
      - God Mode / Never Die
      - No Stage Timer -> Added upon request.

      This hack works on the latest x64 or ARM64 & ARM64e iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, 11, 11 Pro, 11 Pro Max, 12, 12 Pro, 12 Pro Max, 12 Mini, 13, 13 Pro, 13 Pro Max, 13 Mini, 14, 14 Plus, 14 Pro, 14 Pro Max, SE, iPod Touch 6G, 7G, iPad Air, Air 2, iPad Pro & iPad Mini 2, 3, 4, 5, 6 and later.
      Jailbroken version of this hack: https://iosgods.com/topic/44092-vip-exclusive-kritika-the-white-knights-v2412-15-cheats/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,330 replies
    • Kritika: The White Knights v5.5.2 +3 [God Mode & Set Damage Multiplier]
      Modded/Hacked App: Kritika: The White Knights By GAMEVIL Inc.
      Bundle ID: com.gamevil.kritikam.ios.apple.global.normal
      iTunes Store Link: https://itunes.apple.com/us/app/kritika-the-white-knights/id865958296
       

      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate or Substitute.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - God Mode Works Everywhere
      - Set Damage Multiplier - Do not set it too high, you will get kicked out if you do.
      - No Skill Cooldown 

      All features are unlinked!
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,860 replies
    • Bullet Force v1.100.7 +3 Jailed Cheats [Radar Hack]
      Modded/Hacked App: Bullet Force by Blayze Games, L.L.C.
      Bundle ID: com.blayzegames.iosfps
      iTunes Store Link: https://itunes.apple.com/us/app/bullet-force/id1009134067

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Radar Hack - Shows all enemies on the radar.
      - Instant Reload
      - Anti-Flash - Flashbangs have no effect.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 524 replies
    • [FREE] Bullet Force v1.100.7 +10 Cheats [Shoot Through Walls]
      Modded/Hacked App: Bullet Force By Blayze Games, L.L.C.
      Bundle ID: com.blayzegames.iosfps
      iTunes Store Link: https://itunes.apple.com/us/app/bullet-force/id1009134067


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - Unlimited Ammo + Increased Fire Rate - Both are linked. I can't unlink them, sorry.
      - Shoot Through Walls - Doesn't work for all walls.
      - ESP - Shows enemies nametags through walls.
      - Radar Hack - Shows all enemies on the radar.
      - Unlock All Perks
      - Instant Reload
      - Anti-Flash - Flashbangs have no effect.
      - Unlimited Throwables - Will not decrease. Works online, kinda.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,695 replies
    • [ViP-Exclusive] Kritika: The White Knights v5.5.2 +10 Cheats
      Hacked App: Kritika: The White Knights By GAMEVIL Inc.
      iTunes Link: https://itunes.apple.com/us/app/kritika-the-white-knights/id865958296
      Bundle ID: com.gamevil.kritikam.ios.apple.global.normal


      Hack Features
      - Infinite Potions (Increase instead of decrease)
      - Infinite Mana
      - No Potion Cooldown
      - Instant EX Gauge Fill
      - God Mode in Stage Mode
      - God Mode in Tower & Monster Wave
      - God Mode in Arena & PvP (Untested)
      - Timer Hack*
      - Mao Support Always Active
      - 1 Hit Kill in Monster -> One Hit Kill was Replaced with "Monster Level 1"
      - Enemy Doesn't Attack
      - Boss Doesn't Attack
      - Enemy Doesn't Move
      - Boss Doesn't Move
      - Monster Level 1 -> Easy kills
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,043 replies
    • DRAGON BALL LEGENDS v5.5.1- [ Enemies Don't Attack & More ]
      Modded/Hacked App: DRAGON BALL LEGENDS By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0334
      iTunes Store Link: https://itunes.apple.com/us/app/dragon-ball-legends/id1358222641


      Mod Requirements:
      - Jailbroken or Non-Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Enemies Don't Attack
      - No Ki Cost
      - Unlimited Ki
      - Tutorial Bypassed - No Need To Play Tutorial
      - No Character Swap CoolDown
      - No Vanish CoolDown
      - Auto Complete All Challenges - Currency/Chrono Crystals Hack! 
      - Always Critical
      - All Cards Give DragonBall 
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,508 replies
    • DRAGON BALL LEGENDS v5.5.1 +3 Jailed Cheats [No Ki Cost + More]
      Modded/Hacked App: DRAGON BALL LEGENDS By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0334
      iTunes Store Link: https://itunes.apple.com/us/app/dragon-ball-legends/id1358222641


      Mod Requirements:
      - Jailbroken or Non-Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - No Ki Cost
      - No Character Swap Cooldown
      - No Vanish Cooldown
      - Tutorial Bypassed
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 4,880 replies
    • DRAGON BALL LEGENDS v5.5.1 +7 FREE Cheats
      Modded/Hacked App: DRAGON BALL LEGENDS by BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0334
      iTunes Store Link: https://apps.apple.com/us/app/dragon-ball-legends/id1358222641


      Hack Features:
      - No Swap Cooldown
      - No Vanish Cooldown
      - No KI Cost
      -  Auto Complete all Challenges
      - Always Critical
      - Tutorial Bypassed
      - Enemies don't Attack


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/70408-ios-13-support-dragon-ball-legends-v2110-3-jailed-cheats-no-ki-cost-more/
      Japanese Version: https://iosgods.com/topic/75598-dbl-%E3%83%89%E3%83%A9%E3%82%B4%E3%83%B3%E3%83%9C%E3%83%BC%E3%83%AB-%E3%83%AC%E3%82%B8%E3%82%A7%E3%83%B3%E3%82%BA-by-bandai-namco-entertainment-inc-v2100-instant-win-more/?
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,049 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