• Welcome to Valhalla Legends Archive.
 

[D2GS] Why doesn't work my 0x03 code?

Started by zeroirc, August 08, 2008, 08:35 AM

Previous topic - Next topic

zeroirc

Here my 0x03 code

x = 31
y = 12

D2GSP.InsertWORD X
D2GSP.InsertWORD Y
D2GSP.SendD2GSP &H3

Sent:
03 1F 00 0C 00

Help me please, i need your help.

Ringo

Quote from: zeroirc on August 08, 2008, 08:35 AM
Here my 0x03 code

x = 31
y = 12

D2GSP.InsertWORD X
D2GSP.InsertWORD Y
D2GSP.SendD2GSP &H3

Sent:
03 1F 00 0C 00

Help me please, i need your help.

31/12 is an invalid map location.
You can only walk at a distance of about 40 from you're current X/Y in the game, the location must also be on a walkable part of the map and it must also be attached to the part of the map you're standing on (can't walk through walls or over water etc, and theres no jesus class in d2 :p)

You can get you're current X/Y location on a map, from the S>C packets 0x0D, 0x15, 0x18, 0x95 and 0x96 etc.
If you want to walk left by 3 spaces for example, you would do somthing like X = MyX - 3, Y = MyY, then send them cords.
iirc:
Left = X--
Right = X++
Down = Y--
Up = Y++

zeroirc

i got current X/Y location from 0x15, 0x0D.
and i Sent 0x03

MyX = 31239 - 3
MyY = 3857

Sent:
03 04 7A 11 0F

It Doesn't Work....

Help me please Ringo.

l2k-Shadow

Quote from: zeroirc on August 08, 2008, 11:45 PM
i got current X/Y location from 0x15, 0x0D.
and i Sent 0x03

MyX = 31239 - 3
MyY = 3857

Sent:
03 04 7A 11 0F

It Doesn't Work....

Help me please Ringo.


Is packet logging an option? You could easily find out how the coordinates are handled by sniffing those specific clients in the connection between D2GS and a D2 Client.
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

zeroirc

Thank you Ringo , I2K-Shadow!  :)
My 0x03 does work!