• Welcome to Valhalla Legends Archive.
 

[MCP] Parse0x04 to connect to D2GS

Started by Racial, August 26, 2008, 12:29 PM

Previous topic - Next topic

Racial

Dim Result As Long
'(WORD) Request ID
'(WORD) Game token
'(WORD) Unknown (0)
'(DWORD) IP of D2GS Server
'(DWORD) Game hash
'(DWORD) Result
ReqID = pDebuffer.DebuffWORD
GameToken = pDebuffer.DebuffWORD
UnknownWord = pDebuffer.DebuffWORD
D2GSIP = pDebuffer.DebuffDWORD
GameHash = pDebuffer.DebuffDWORD
Result = pDebuffer.DebuffDWORD

Select Case Result
Case &H0
wsD2GS.Connect D2GSIP, 4000



I know that this is not correct connecting to D2GS's IP, but i don't know how i am supposed to convert the ip from the Long when i have it. Any functions that can do that already?

brew

<3 Zorm
Quote[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P