Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Questions

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
HonestGamer
Cheater
Reputation: 1

Joined: 13 Aug 2009
Posts: 27
Location: India

PostPosted: Tue Aug 18, 2009 1:27 am    Post subject: Questions Reply with quote

1) How do you make a one-sided option? What do you compare and with what?

2) How do you make an injected code take effect instantly. Suppose I make an auto assemblar script and enable it, and go to my game, I get full health instantly without having to use any aids or damage? i.e. The values should get loaded instantly? Is there any command for this? Please explain how can I do that.

3) How can I make No Recoil and One Hit Kill hacks? And how do I use the Breakpoin system?
Back to top
View user's profile Send private message
isair
Grandmaster Cheater
Reputation: 0

Joined: 28 Dec 2007
Posts: 804

PostPosted: Tue Aug 18, 2009 6:56 am    Post subject: Reply with quote

Either create a codecave someplace in memory that gets called constantly while the game is running (like key event checks), or write a DLL and inject it.

There is no fixed method to do no recoil and one hit kill hacks. Assuming that each weapon is a class/structure stored in an array with fixed amount of variables like this (I'm gonna use classes):

weapons.h
Code:


#include "player.h" //PLAYER class is defined there.

#define WEP_NONE 0x00
#define WEP_GLOCK 0x01
#define WEP_SHOTGUN 0x02

class Weapon
{
private:
    char recoil, damage;
    unsigned int currentBullets, bulletsPerRound, maxRounds;
    PLAYER *owner;

public:
    Weapon();
    void InitWeapon(char type);
};


weapons.cpp
Code:

#include "weapons.h"

Weapon::Weapon()
{
    InitWeapon(WEP_NONE);
}

void Weapon::InitWeapon(char type)
{
    switch(type)
    {
     case WEP_GLOCK:
         recoil = 2;
         damage = 5;
         currentBullets = 50;
         bulletPerRound = 20;
         maxRounds = 10;
         owner = (PLAYER*)0x00000000;
         break;
     case WEP_SHOTGUN:
         recoil = 10;
         damage = 15;
         currentBullets = 20;
         bulletPerRound = 8;
         maxRounds = 5;
         owner = (PLAYER*)0x00000000;
         break;
     default:
         recoil = 0;
         damage = 0;
         currentBullets = 0;
         bulletPerRound = 0;
         maxRounds = 0;
         owner = (PLAYER*)0x00000000;
         break;
    }
}



Somewhere in player.cpp
Code:

#include "weapons.h"

#define MAX_WEAPONS 10

Code:

Weapon *weapons[MAX_WEAPONS];


you can write a simple application to change the recoil and damage variables of all the weapons you have on your character or the whole game.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites