Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: fataly on January 04, 2009, 01:32 PM

Title: I need ask about d2 packets...
Post by: fataly on January 04, 2009, 01:32 PM
Can i do like this :
first i do 1 new reamlist ( that where is europe.battle.net , asia, uswest.... ) lets say.. local realm. ip can be localhost
then  i connect winsock to that realm like :
winsock1.connect localhost,4000

and ( i dont got packets yet so this is just question, answer it ) i connect normaly with diablo client that realm and then i join game, in game i send 0x01 (walk packet) and its move my character. Can this do like this? this is like redvex and others works?
Plz answer that question, dont tell me what i need learn etc...
Fataly
Title: Re: I need ask about d2 packets...
Post by: Sixen on January 04, 2009, 03:26 PM
Quote from: fataly on January 04, 2009, 01:32 PM
Can i do like this :
first i do 1 new reamlist ( that where is europe.battle.net , asia, uswest.... ) lets say.. local realm. ip can be localhost
then  i connect winsock to that realm like :
winsock1.connect localhost,4000

and ( i dont got packets yet so this is just question, answer it ) i connect normaly with diablo client that realm and then i join game, in game i send 0x01 (walk packet) and its move my character. Can this do like this? this is like redvex and others works?

First off:
Winsock1.Connect "localhost", 4000
That will only work if you're hosting the game.

Secondly, you'll need to send the correct packets to create a connection with the D2GS, which can be found on bnetdocs (http://www.bnetdocs.org/).
Without properly connecting to the game, you won't have a character to walk with.


Quote
Plz answer that question, dont tell me what i need learn etc...
Fataly
Uhm? If you don't know how to make a connection through Winsock in Vb6, then obviously you'll need to do more learning.. Sending/receiving packets is a whole lot more than just establishing a connection with Winsock, which you haven't got down yet. If you're not willing to learn, why ask for help?
Title: Re: I need ask about d2 packets...
Post by: fataly on January 05, 2009, 03:56 AM
Ok, tell me how i connect to d2gs, i can build header / packet / log income packets / send packets.
Title: Re: I need ask about d2 packets...
Post by: Sixen on January 05, 2009, 08:04 PM
Quote from: Sixen on January 04, 2009, 03:26 PM
Secondly, you'll need to send the correct packets to create a connection with the D2GS, which can be found on bnetdocs (http://www.bnetdocs.org/).

It's under like.. "Logon Sequences" or something.
Title: Re: I need ask about d2 packets...
Post by: fataly on January 06, 2009, 04:55 AM
that is bncs sequense... that is done and working. But d2gs?
Title: Re: I need ask about d2 packets...
Post by: fataly on January 06, 2009, 01:06 PM
Aah nvm, i solved what i did wrong. But thanks for all who posted :)