Valhalla Legends Forums Archive | Battle.net Bot Development | [D2GS] Why doesn't work my 0x03 code?

AuthorMessageTime
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.
August 8, 2008, 1:35 PM
Ringo
[quote author=zeroirc link=topic=17598.msg179250#msg179250 date=1218202518]
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]

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++
August 8, 2008, 2:14 PM
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.
August 9, 2008, 4:45 AM
l2k-Shadow
[quote author=zeroirc link=topic=17598.msg179256#msg179256 date=1218257115]
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]

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.
August 9, 2008, 7:01 AM
zeroirc
Thank you Ringo , I2K-Shadow!  :)
My 0x03 does work!
August 12, 2008, 4:42 AM

Search