Log in

View Full Version : Add additional functionality to an old online game


Aleck79
March 30th, 2006, 05:55
alright guys, I've read and read and read about all I can about cracking and breakpoints but am getting stumped over the WinSock API. *ducks for fear of flames*

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/winsock_functions.asp ("http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/winsock_functions.asp")
^the reference I've been using

Anyway, the general idea involves an old online game that is no longer being developed, but still has a good deal of support left (more than 500 people). The idea is to modify the game to add additional functionality to correct for some cheats that have occured over the years. I am not working on modifying the game iself, but the server that the game runs in conjunction with, to give it the ability to detect the cheaters. Alright, I understand the general idea, except when it comes to WinSock and how to use it to set up breakpoints that will give me the correct memory location, or close to it.

I assume that I would be looking for the recv() function, but there are just so many recv()'s that its so complicated, I need to look for the one I need.

Also there is the issue of just making sense of the data that is recv()'ed.

Any tips, hints, or guides with similar projects would be greatly appreciated

Silver
March 31st, 2006, 04:46
It depends what you are actually trying to achieve. The solution may not be in the winsock calls. For example, the wallhack and ogc in Halflife/Counterstrike works for network players and allows them to shoot and see through walls, but it's 100% implemented on the client side (at least it used to be, about 4 years ago or so).

In summary: more information needed - what's the hack, how does it work, what do the subjects of the hack see, what does the cheater see/do, what is the game coded in (does it use OGL, DX, SDL etc)...

Incidentally if the game is no longer being developed or supported it may be classed as abandonwarez, at which point you might be able to discuss it more openly. JMI will no doubt clarify, with the assistance of a large wooden pole