Valhalla Legends Forums Archive | Battle.net Bot Development | Odd War3 Problem

AuthorMessageTime
CrAz3D
[quote][10:37:42 PM] «CrAz3D»rejoin/reconnect or w/e plz?
[10:37:48 PM] Retained has left then channel
[10:37:50 PM] Retained has joined has joined the channel using WAR3 with a ping of 31 and the flags 0
[10:37:50 PM] Retained is in the channel using WAR3 with a ping of 31 and the flags 0

[/quote]
Retained (a stealthbot) leaves the channel, the enters the channel. Upon entering I recieve a Join event & a User event.

Any ideas what I'm doing wrong?...this has only happened when bot the bot rejoinning & my bot are both on WAR3.


OnUser Code:
[code]If Flags And &H2 Then
Form1.RoomList.ListItems.Add 1, , Username
Form1.RoomList.FindItem(Username).ForeColor = vbGreen
Form1.RoomList.ListItems(1).ListSubItems.Add , , Funcs.ReverseString(Left(Message, 4))
Form1.RoomList.ListItems(1).ListSubItems.Add , , Ping
Form1.RoomList.ListItems(1).ToolTipText = Username & ":" & Funcs.ReverseString(Left(Message, 4)) & ":" & Ping
Else
Form1.RoomList.ListItems.Add , , Username
Form1.RoomList.ListItems(Form1.RoomList.ListItems.Count).ListSubItems.Add , , Funcs.ReverseString(Left(Message, 4))
Form1.RoomList.ListItems(Form1.RoomList.ListItems.Count).ListSubItems.Add , , Ping
Form1.RoomList.ListItems(Form1.RoomList.ListItems.Count).ToolTipText = Username & ":" & Funcs.ReverseString(Left(Message, 4)) & ":" & Ping
End If[/code]

OnJoin Code:
[code]Form1.RoomList.ListItems.Add , , Username
Form1.RoomList.ListItems(Form1.RoomList.ListItems.Count).ToolTipText = Username & ":" & Funcs.ReverseString(Left(Message, 4)) & ":" & Ping
Form1.RoomList.ListItems(Form1.RoomList.ListItems.Count).ListSubItems.Add , , Funcs.ReverseString(Left(Message, 4))
Form1.RoomList.ListItems(Form1.RoomList.ListItems.Count).ListSubItems.Add , , Ping[/code]
May 31, 2004, 4:45 AM
LoRd
It's a stats update.
May 31, 2004, 4:54 AM
CrAz3D
So ignore it, if I don't care what the user's stats are?
May 31, 2004, 4:55 AM
PaiD
Correct
May 31, 2004, 4:57 AM
CrAz3D
Stupid war3...or not

Thanks
May 31, 2004, 5:03 AM
LoRd
[quote author=CrAz3D link=board=17;threadid=7046;start=0#msg62899 date=1085979820]
Stupid war3...or not

Thanks
[/quote]
Same thing happens with D2.
May 31, 2004, 5:27 AM
CrAz3D
Alrighty then, I just decided to ignore all of the info, I wouldn't use it/display it anway. Thanks
May 31, 2004, 3:22 PM
DarkMinion
Why wouldn't you use it?
May 31, 2004, 6:14 PM
CrAz3D
My bot isn't much of a chat bot, is has a chat box & a send textbox, that is all in the way of chatting.
May 31, 2004, 7:05 PM

Search