Question about the bf2 engine and damage hacks.
-
DavidP
- Posts: 951
- Joined: 2007-03-23 04:20
Question about the bf2 engine and damage hacks.
Sorry for such an outta the blue question, But how are damage hacks possible in bf2? I know the hit detection is server side so how are they possible?
-
KingofCamelot
- Retired PR Developer
- Posts: 2365
- Joined: 2006-01-07 18:17
Hit detection may be server side, but any server needs player input, and thats where it is compromised.
Hacks like that work off of exploits in the game, in other words they find loopholes that the game creators didn't think of.
Such as, in vBF2 there are often medic packs on the ground at any given time. If I tell the server, I just walked over a medic pack, it will apply the heal. If programmed with that in mind, the server would double check and ensure that the player is on top of the medic pack, but if it doesn't, theres a loophole where you could heal off of a medic pack half way across the map.
Stuff like that. Its basically tricking the server into doing something for you, by means of a loophole. Its quite difficult to program for every possible hack/situation, which is why its a lot easier to find holes than to make something holeless.
Hacks like that work off of exploits in the game, in other words they find loopholes that the game creators didn't think of.
Such as, in vBF2 there are often medic packs on the ground at any given time. If I tell the server, I just walked over a medic pack, it will apply the heal. If programmed with that in mind, the server would double check and ensure that the player is on top of the medic pack, but if it doesn't, theres a loophole where you could heal off of a medic pack half way across the map.
Stuff like that. Its basically tricking the server into doing something for you, by means of a loophole. Its quite difficult to program for every possible hack/situation, which is why its a lot easier to find holes than to make something holeless.
Ruthless Executioner of 280 SpamBots
Retired Lead Coder for Project Reality - 0.25 through 0.4
Retired Lead Coder for Project Reality - 0.25 through 0.4
-
DavidP
- Posts: 951
- Joined: 2007-03-23 04:20
Thanks for the answer man it does make alot of sense, Do what you wish to this thread.[R-DEV]KingofCamelot wrote:Hit detection may be server side, but any server needs player input, and thats where it is compromised.
Hacks like that work off of exploits in the game, in other words they find loopholes that the game creators didn't think of.
Such as, in vBF2 there are often medic packs on the ground at any given time. If I tell the server, I just walked over a medic pack, it will apply the heal. If programmed with that in mind, the server would double check and ensure that the player is on top of the medic pack, but if it doesn't, theres a loophole where you could heal off of a medic pack half way across the map.
Stuff like that. Its basically tricking the server into doing something for you, by means of a loophole. Its quite difficult to program for every possible hack/situation, which is why its a lot easier to find holes than to make something holeless.

