 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
louie999 How do I cheat?
Reputation: 0
Joined: 12 Sep 2015 Posts: 8 Location: Classified
|
Posted: Mon Nov 30, 2015 10:34 am Post subject: Am I doing it correctly? |
|
|
So I'm trying to create an aimbot for a game called CS2D, I wanna be sure if what I'm doing so far is correct, I'm trying to find the base address/pointer of the x/y positions of the players. So far I only found the x/y base address/pointer for 1 player. Just wondering, Am I doing it correctly ? Or am I missing something?
|
|
Back to top |
|
 |
grtnd Newbie cheater
Reputation: 0
Joined: 29 Nov 2015 Posts: 14
|
Posted: Mon Nov 30, 2015 11:12 am Post subject: |
|
|
You proabily aren't, most games that doesn't have a preset amount of player objects or objects in general will most likely have a structure containg the objects, alternatively an array containing pointers to the objects. this structure/array is most likely dynamic in size, meaning it can allocate more memory as it needs it.
so in summary, you'd need to find the base pointer to the structure/array holding the player objects (or all objects in general if that is the case) / pointers and from there find follow the pointers to each player object.
right now, you're only having the pointer to the player object you mentioned. this pointer will most likely change when the object is destroyed and replaced with something else.
from what i know, the developers of CS2D is like all about stopping cheaters so i'd guess they'd put in a lot of anticheat methods.
anyway, for this, lets assume they didn't.
so here's a little more detailed version of the process i mentioned above:
what you'd need to do first off is find the structure/array that holds the player objects / pointers to all the player objects. alternativly, if the game stores the player object inside a structure you'd just need to look into the structure containing the playerdata itself.
from there you'd need to work out how it finds specific values about that player, like x/y values and that's where you'd usally find a pointer.
then loop through the structure / array, either using your own loop or hooking the main player /object update loop so you can get all the player's positions, check their team and visibility and aim at the player of choice.
this is the most common and usally the best way to make aimbots, assuming the game works through player objects every step i mentioned here aren't exacly easy tasks. but you know where to start, and if you get stuck somewhere, me, and proabily a lot more members on this forum, are free to help you out.
|
|
Back to top |
|
 |
louie999 How do I cheat?
Reputation: 0
Joined: 12 Sep 2015 Posts: 8 Location: Classified
|
Posted: Tue Dec 01, 2015 12:38 am Post subject: |
|
|
Hmm, there's a max limit of 32 players per server in CS2D, the base address/pointer that I found only works for a player with id 1. But you're right, I'd best find the array holding all player objects, tho I have no idea how I can search for those, though I'll try my best to find it first before asking
Quote: | from what i know, the developers of CS2D is like all about stopping cheaters so i'd guess they'd put in a lot of anticheat methods. |
Well, the developer of CS2D is only 1, the game usually closes when I try to attach the debugger of CheatEngine or when I open CheatEngine while the game is open(though it doesn't close when I first open CE before opening CS2D), so I only use pointer scan to find the base addresses.[/quote]
|
|
Back to top |
|
 |
|
|
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
|
|