Quote from: mrm on March 17, 2007, 01:44:30 AM
THIS IS VERY OLD NEWS M8 LOL
And Medic thought I had my head up my ass...
Solid Snake- you are the biggest cock job for letting Medic in here.
Subsky
subsky ^ that shows you have your head up your ass ..
everyone .. this is the allmighty subsky lol
Q: RE. Aimbots
? Sent to: mrm on: November 28, 2006, 09:46:44 PM ?
? You have forwarded or responded to this message. ? Quote Reply Remove
--------------------------------------------------------------------------------
G'day mate.
Been reversing EnumProcessModules() today- and started implementing a way to prevent in-memory signature scans; by changing the DllBase field of the _LDR_DATA_TABLE_ENTRY to point to some manually mapped clone of the original DLL; fingers crossed.
What I was going to ask you was- I'm really wanting to write my first proper aim-bot; and not that colour scanning shit... I real one; good a proper- using the player structures- but I'm having troubles finding them.
How do you find them, m8? I tried searching for other player names (as strings)- and using a RAM-watcher 1024 bytes around those strings; with no luck. Finding other player co-ordinates and using them to locate the player structures in memory is also not working (or I just can't spot them :S).
Is there an easier or faster way? Or have I just missed something? I imagine you get the base address for the first player info structure- and then do something like
*BasePtr + (sizeof(playInfoStuct) * index) to get the next one etc? Is that correct?
And regarding DMA- you'd have to find static pointers, yeah?
Sorry mate- I don't like asking how to do things, but sometimes a little help in a hard spot can be a strong motivator.
Thanks champ,
Subsky
///////////////////////////////////////////////////
my answer was
Re: Q: RE. Aimbots
? Sent to: Subsky on: November 29, 2006, 06:04:01 PM ? Quote Reply Remove
--------------------------------------------------------------------------------
hi subsky,
you allready have the x y z of players in the warp hack you made do you not?
if so then do this..
set a fov ( imaginary circle ) around your head like a halo type thing and do this
1: is enemy ?
2: is in fov ?
3: is in range?
4: if in range load it into your view co-ordinates.
5: fire
6: is still alive goto step 2 ( not step 1 the bot can lock onto another enemy and leave him alive , best to make sure hes dead first before selecting another player )
7: he is obviously dead so goto step 1 ( repeats the scan )
i have more than 1 pc so i usually run a lan game with 4 players , and search for the player locations usually in a table of x y z sometimes x z y depending on the type of engine, find the player tables , find the view coords ( your cross hair ) and then the rest is easy as pissing in the wind and getting your trousers wet , also i find it a good idea to add an intelligent routine to auto find offsets incase of updates as this saves on time, good luck.
Medic
///////////////////////////////////////////////////////////////////////////////////
his reply
Re: Q: RE. Aimbots
? Sent to: mrm on: December 02, 2006, 02:34:23 PM ?
? You have forwarded or responded to this message. ? Quote Reply Remove
--------------------------------------------------------------------------------
Quote from: mrm on December 02, 2006, 12:36:23 PM
as for the player tables , backtrace to the routine that looks at your found x y z floats , that will be the base pointer for the tables , then check for 1 if alive , 0 if dead etc , think .. the game knows when they are dead or alive and spectating .
Farking incredible... I actually did do that in VC when writing that teleportmeplz hack (it compared my team against the to be teleported player)- but it totally slipped my memory...
Quote from: mrm on December 02, 2006, 12:36:23 PM
anyway if you dont do d3d hacks i could help you get the basics of d3d as it never needs updating where as table bots do.
I love trying to teach myself, and then asking the questions later- I feel it's the best/only way to learn when it comes to real-deal computer stuff. If you could recommend any extremely good DirectX/3D books for learning the important things I need to know (price is not of a concern- just good contents)- send us a link on amazon or a title , as that would be of enormous value to me. I have actually been into a bookstore several times to purchase one but it's really hard to know whats good from bad when you don't know what you're looking at :S. I know all the fundamentals (like the C++ language etc) inside out... so just raw DX stuff .
Quote from: mrm on December 02, 2006, 12:36:23 PM
anyway good luck m8 , hope you get it done
Yeah mate, I will- definately. I'm determined and capable. I appreciate all your time explaining shit to me as I know it can be frustrating sometimes (I teach almost everyone else in TKC how to do more than CBF hacks in VC1, lol).
Damn this shit is cool- thanks again mate.
Subsky
want more ? plenty of pms with him asking how to .. what do i do .. how do i do ... dont bite the hand that fed you subsky you will never get anywhere if you do not grow up soon m8