Valhalla Legends Forums Archive | Battle.net Bot Development | Connected D2GS Lost Bnet

AuthorMessageTime
PaiD
Ok This is ready odd. I connected To D2GS and it sent me 1 packet right when I connected but bnet also disconnects me and ipbans me, Why?
[code]
[21:16:16] Joining Game.
[21:16:16] Realm Packet: 0x04
[21:16:16] 15 00 04 69 00 15 00 00 00 3F F1 53 A9 C3 8F 06 ...i.....?.S....
08 00 00 00 00 .....
[21:16:16] Connected to D2GS. IP: 63.241.83.169
[21:16:16] BNET: Connection Closed.
[21:16:16] Unidentified D2GS Packet: 0x01
[21:16:16] AE 01 ..
[/code]
March 10, 2004, 2:17 AM
UserLoser.
What exactly are you sending? I do believe there are some values that you have to store from previously recieved packets and are required to send back in the first D2GS packet to the server
March 10, 2004, 2:27 AM
PaiD
I didnt get a change to send anything to d2gs. I connected to the server and then it sent 0x01 and I got disconnected by bnet and ipbanned.

[code]
frmMain.sckD2GS.Close
frmMain.sckD2GS.Connect FinIp, 4000
With PBuffer
.InsertNonNTString StrReverse(Bot.Product)
.InsertNTString "&H" & verByte
.InsertNonNTString &H0
.InsertNTString frmGame.txtName
.InsertNTString frmGame.txtPass
.SendPacket &H22
End With
[/code]

edit: Added the coding.


Edit Again: Ok I found my problem it was with 0x22. I didnt send the correct format.
[code]
With PBuffer
.InsertNonNTString StrReverse(Bot.Product)
.InsertDWORD "&H" & verByte
.InsertNTString frmGame.txtName
.InsertNTString frmGame.txtPass
.SendPacket &H22
End With
[/code]
March 10, 2004, 2:30 AM

Search