• Welcome to Valhalla Legends Archive.
 

I need ask about d2 packets...

Started by fataly, January 04, 2009, 01:32 PM

Previous topic - Next topic

fataly

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

Sixen

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.
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?
Blizzard Tech Support/Op W@R - FallenArms
The Chat Gem Lives!
http://www.diablofans.com
http://www.sixen.org

fataly

Ok, tell me how i connect to d2gs, i can build header / packet / log income packets / send packets.

Sixen

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.

It's under like.. "Logon Sequences" or something.
Blizzard Tech Support/Op W@R - FallenArms
The Chat Gem Lives!
http://www.diablofans.com
http://www.sixen.org

fataly

that is bncs sequense... that is done and working. But d2gs?

fataly

Aah nvm, i solved what i did wrong. But thanks for all who posted :)