PDA

View Full Version : Internet Programming??


MickeyFinn
11-04-2004, 06:33 PM
I'd like to write a trainer for a game like Diablo 1 that interacts with the internet. More of an exercise really, but I'm really interested as to how these work. Anybody want to tell me what I need to know? DirectX programming?

spyder913
11-04-2004, 06:40 PM
.net!

MickeyFinn
11-04-2004, 06:46 PM
Gee, thanks for the help there Phal. Why don't you just say "MICROSOFT!" , that'd be even more help! :p

Grundy
11-05-2004, 12:26 AM
Everytime you post on this thread Bill Gates donates $5 to charity.

Noleader
11-05-2004, 03:40 AM
Hmm... Well saying interact with the internet is very vague. It all depends on what you hope to be able to do. The fact is some things are not possible over the web without Active X controls. Ask yourself this, do you want to be able to change/read something on someones computer in the background? If so it can not be done with strait ASP or .Net. You will need to have a Active X control that the users will have to accept before use.

DirectX programming does not deal with the internet in any way, shape, or form.

MickeyFinn
11-05-2004, 09:01 AM
Perhaps I should rephrase it now that I'm sober.


I want to read incomming network traffic through my trainer, and adjust my client accordingly. For instance, if it reads 50 enemies are coming from the right side, to turn my character that direction. It's not for any productive use, I just want to know how to do that. I will make a constructive use for it later.

Grundy
11-05-2004, 10:45 AM
You are gonna need a few things. First off the data is incoming to your computer on a port. So step one you need to know which ports, and be able to listen on that port to intercept data. Secondly you need to know the communication protocol and data format of the incoming message so you can parse it, understand it and react to it. Thirdly you need to know the out going protocol and data format so you can package your response properly.

spyder913
11-05-2004, 01:48 PM
Gee, thanks for the help there Phal. Why don't you just say "MICROSOFT!" , that'd be even more help! :p
=P .NET is more specific than just microsoft

Post
11-05-2004, 02:07 PM
Look around for a program called Ethereal. It reads everything incoming and outgoing from your computer, and puts them in semi-readable packets.

Noleader
11-05-2004, 03:50 PM
No making radar for WoW :)

It is really easy to read the traffic coming in though... check out pscode.com for some network sniffing code and just make the interface yourself.

MickeyFinn
11-06-2004, 05:27 AM
Cool. Thanks :)

MickeyFinn
11-06-2004, 05:31 AM
Heh. If I were to try to make radar for WoW, that'd be like handing a 6 year old a book on Newtonian Mechanics