Valhalla Legends Forums Archive | Battle.net Bot Development | help with d2gs 0x96 plz

AuthorMessageTime
ShadowDancer
Does anyone know the format of this packet or can someone help me to track it in the dlls?
July 12, 2006, 3:18 PM
Infamous
I don't have my docs with me atm, but I can tell you that it has the X,Y location and users stamina..the last Word is unknown.
July 12, 2006, 4:48 PM
Ringo
Iv got the format here:
[color=Yellow]
96 5C 00 08 8C 25 8A F6 0D
(BITS[15]) Stamina
(BITS[15]) Location X
(BITS[1]) Unknown
(BITS[15]) Location Y
(BITS[18]) Unknown
[/color]
[code]
Public Function READ_S_0x96(ByRef objBuf As clsRecvBuffer, ByRef udtGame As D2GS_UDT_GAME, ByRef NewStamina As Integer) As Boolean
'96 5C 00 08 8C 25 8A F6 0D
    Dim i As Integer
    i = modRet.FindPlayer(udtGame, udtGame.MyChar.ID)
    READ_S_0x96 = False
    If i = -1 Then Exit Function
    Dim iRead As clsItemReader
    Set iRead = New clsItemReader
    Dim tmpX As Integer
    Dim tmpY As Integer
    iRead.ItemPacket = objBuf.gVOID(9)
    Call iRead.SkipBits(8) 'packet ID
    NewStamina = iRead.ReadAsInteger(15)
    tmpX = iRead.ReadAsInteger(15)
    Call iRead.SkipBits(1) 'unknown
    tmpY = iRead.ReadAsInteger(15)
    Call modRet.SwitchMovement(udtGame.Player(i).Movment, tmpX, tmpY, -1)
    Call iRead.SkipBits(18) 'unknown
    Set iRead = Nothing
    READ_S_0x96 = True
End Function
[/code]
Hope this helps
July 13, 2006, 2:19 AM
ShadowDancer
thanks a lot :P
July 13, 2006, 4:31 AM

Search