View Full Version : How does the server know, I hit someone?
shadow110
2nd April 2004, 05:29
Hello.
Someone taked a closer look on aiming and hitting other players?
How is it send to the server?
Only Theory. Could it be done, to always make a headshot?
My game knows, where the other players are... and therefor I have all x/y coordinates?
Would like to head your ideas about it.
Regards
Shadow110
test0r
2nd April 2004, 10:24
yes this can be done, you are right.
THe thing you talk about is an Aim-Hack.
shadow110
2nd April 2004, 14:14
Hi.
Any ideas or starting points for that. Would like to take a closer look on it.
Greetings
Shadow110
NOPing for Food
2nd April 2004, 20:26
You would need to know the x,y,z coords for the other players, transform them to a 2d coord to find out where they are on the screen, then take the closest one to the center of the screen (where the mouse it) and either use api or some other method to move the mouse to the 2d coords of that player... Not something you would want to do with code-injection...
RaDaR
7th April 2004, 02:15
hmm thinin about it, y dusnt ne1 make a multihack with an aimbot in it?
DrKenneth
7th April 2004, 04:25
BF's netcode sucks and an aimbot woulden't be worth the effort. (Woulden't be accurate with the laggy server and all.)
tommyw
7th April 2004, 06:03
Your Position as well as other players positions are stored serverside.
When You Fire, It sends the fire command to the server and the server plays the game for you. You just play the game like a terminal. Theoretically, one could not really do an aimhack by moving you too much. One could Lock Onto the Nametag and Aim about 15 pixels lower than their name for an aimhack.
MarlonB
7th April 2004, 11:16
Originally posted by tommyw
Your Position as well as other players positions are stored serverside.
When You Fire, It sends the fire command to the server and the server plays the game for you. You just play the game like a terminal. Theoretically, one could not really do an aimhack by moving you too much. One could Lock Onto the Nametag and Aim about 15 pixels lower than their name for an aimhack.
Couldn't have explained it better :)
An aimbot is always possible, but for BF nearly impossible. There are so many factors to take into account compared to "normal" 3d shooters. Every weapon has it's own characteristics (compare sniper with bazooka :) ) and also you have to take leading, and lagging into account.
It even get's harder when you are in a moving vehicle shooting another moving vehicle, the calculations will become very complex. Can you imagine an aimbot for plains :P
The best aimbot would be if you could nick the AI routines from the game....they already did al the calculations for ya...
If ya put them in Rambo mode, they even shoot you when you're on the other side of a hill :)
chilli
7th April 2004, 12:04
a ai controlled 'zooka would rock indeed. fire trigger-> ai routine -> fire send to server.
try and figure that out into the code *i have a headache*
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.