Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Racial on August 31, 2008, 03:55 PM

Title: [D2GS] 0x15 C>S Chat_Message
Post by: Racial on August 31, 2008, 03:55 PM
    InsertBYTE &H1
    InsertBYTE &H0
    InsertNTString "hi"
    InsertBYTE &H0
    InsertNTString ""
    InsertNTString ""
    Debug.Print Buffer
    SendD2GSPacket &H15
    Wait (1000)
    AddChat vbGreen, "Holy shit 1st message already got sent a second ago!"
    D2GSSendPing
    Wait (1000)
    SendD2GSText1 'basically sending the same packet just saying dif message else
    Wait (1000)
    SendD2GSText2'basically sending the same packet just saying dif message else
    DisconnectD2GS

is anythign wrong there?