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.
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++
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.
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.
Thank you Ringo , I2K-Shadow! :)
My 0x03 does work!