Valhalla Legends Forums Archive | Battle.net Bot Development | Re: -3 ping in warez all the time?

AuthorMessageTime
Sixen
Hmmmm.. Wasn't really sure where to put this, so here it is. It was either here or the BnetDocs research forum, ahwell. Has anyone ever tried to ping themselves in "warez"? Apparently no matter what your ping is -3, any ideas why? :/.
October 7, 2007, 11:36 PM
Barabajagal
What the hell are you using to ping yourself?
October 8, 2007, 12:06 AM
Leaky
this thread is irrelivent considering blizzard removed warez... you can't even get into it with 0x0C anymore
October 8, 2007, 1:30 AM
BreW
[quote author=Leaky link=topic=17091.msg173694#msg173694 date=1191807049]
this thread is irrelivent considering blizzard removed warez... you can't even get into it with 0x0C anymore
[/quote]
False. You always could and still can join the channel warez with 0x0C.
As for getting the ping, I would imagine, by parsing the ping value within a EID_FLAGSUPDATE chat packet received while in that channel? Probably from unsquelching your own username.
Sixen: Since -3 is an extremely strange value, I suggest you review the code you use to determine ping within your bot.
@Ripple: Nice avatar.
October 8, 2007, 1:49 AM
warz
oh snap - FALSE
October 8, 2007, 2:11 AM
Barabajagal
Thanks, I've been improving my site's UI a bit... Still no graphic artist, but hell.

As for the claims on this page:
Ping works fine. You don't get flags update on yourself when you unsquelch someone. I got my ping using emote, and it was correct.
You can force your way into warez no problem.
October 8, 2007, 2:36 AM
Sixen
Technically this isn't "Bot Development", it's more of a general Programming question.. Or something of the sort. I was simply using StealthBot, joined warez, and pinged myself. However, I just heard that -3 is the default ping on SB, which would make sense.

[quote author=brew link=topic=17091.msg173695#msg173695 date=1191808158]
[quote author=Leaky link=topic=17091.msg173694#msg173694 date=1191807049]
this thread is irrelivent considering blizzard removed warez... you can't even get into it with 0x0C anymore
[/quote]
False. You always could and still can join the channel warez with 0x0C.[/quote]

QFT.

October 8, 2007, 3:27 AM
BreW
[quote author=Sixen link=topic=17091.msg173698#msg173698 date=1191814054]
Technically this isn't "Bot Development", it's more of a general Programming question.. Or something of the sort. I was simply using StealthBot, joined warez, and pinged myself. However, I just heard that -3 is the default ping on SB, which would make sense.
[/quote]
-3 is the default ping on Stealthbot? That's pretty amazing, especially considering how you don't have to wait some 4294967293 milliseconds to get that value.
October 8, 2007, 1:28 PM
Quarantine
[quote author=brew link=topic=17091.msg173709#msg173709 date=1191850120]
[quote author=Sixen link=topic=17091.msg173698#msg173698 date=1191814054]
Technically this isn't "Bot Development", it's more of a general Programming question.. Or something of the sort. I was simply using StealthBot, joined warez, and pinged myself. However, I just heard that -3 is the default ping on SB, which would make sense.
[/quote]
-3 is the default ping on Stealthbot? That's pretty amazing, especially considering how you don't have to wait some 4294967293 milliseconds to get that value.
[/quote]

I love what brew has become. His sarcasm levels are unprecedented.
October 8, 2007, 3:33 PM
Sixen
[quote author=brew link=topic=17091.msg173709#msg173709 date=1191850120]
-3 is the default ping on Stealthbot? That's pretty amazing, especially considering how you don't have to wait some 4294967293 milliseconds to get that value.
[/quote]

I'm just going by what was said to me, I have no idea. If I knew, I wouldn't have made this thread, :P.
October 8, 2007, 10:57 PM
BreW
Could it be -1 instead, by chance?
October 9, 2007, 1:05 AM
Barabajagal
Brew... you do realize Stealthbot was written in VB6, and uses Longs for ping values, right?
October 9, 2007, 2:05 AM
UserLoser
[quote author=Andy link=topic=17091.msg173718#msg173718 date=1191895520]
Brew... you do realize Stealthbot was written in VB6, and uses Longs for ping values, right?
[/quote]

Still doesn't make sense because the server would have to be telling the client the ping is 0xfffffffd for it to be -3.  I'm yet to test this my self so has anyone else verified this ?
October 9, 2007, 7:12 PM
Barabajagal
It's stealthbot specific. You can never get yourself in a warez userlist because flags update doesn't update your own flags. If you use emote to get your ping, it returns the correct ping. In stealthbot, if it can't find your ping, it returns -3 apparently.
October 9, 2007, 8:15 PM
BreW
[quote author=Andy link=topic=17091.msg173718#msg173718 date=1191895520]
Brew... you do realize Stealthbot was written in VB6, and uses Longs for ping values, right?
[/quote]
Of course I do, why wouldn't I realize that?

[quote]
Still doesn't make sense because the server would have to be telling the client the ping is 0xfffffffd for it to be -3
[/quote]

Hrmm. That seems to be exactly what I said, except I said it in decimal. You would have to wait 0xFFFFFFFD (aka 4294967293) milliseconds to get the value of -3 ping. Sorry Andy, but nice try on making me sound stupid
October 9, 2007, 9:47 PM
Barabajagal
You still don't understand. The server does NOT send a ping of -3. It doesn't send a ping AT ALL. The actual code in stealthbot (whatever the ping request function is) returns -3 if the user is NOT IN THE CHANNEL LIST.

Understand yet?
October 9, 2007, 10:09 PM
UserLoser
[quote author=Andy link=topic=17091.msg173738#msg173738 date=1191967774]
You still don't understand. The server does NOT send a ping of -3. It doesn't send a ping AT ALL. The actual code in stealthbot (whatever the ping request function is) returns -3 if the user is NOT IN THE CHANNEL LIST.

Understand yet?
[/quote]

I hope this isn't directed at me, but it makes sense now because it sounded crazy before.  Seems kind of stupid in my opinion.  How would StealthBot not know it's own ping?  Because there's no userlist?  Your ping is included in the channel event message--someone should fix StealthBot.  Why would it clear it's ping anyways when joining a new channel?
October 9, 2007, 10:31 PM
BreW
[quote author=Andy link=topic=17091.msg173738#msg173738 date=1191967774]
You still don't understand. The server does NOT send a ping of -3. It doesn't send a ping AT ALL. The actual code in stealthbot (whatever the ping request function is) returns -3 if the user is NOT IN THE CHANNEL LIST.

Understand yet?
[/quote]

Stealthbot must suck then. At first, sixen had me under the impression that he was using his own battle.net bot. (which is why i told him he should review his code for determining ping)
Then, you talk about having the bot return -3 if it's not in the channel list, IIRC Stealthbot just errored with the message "That user is not in the channel" when it did that.
October 9, 2007, 10:38 PM
Barabajagal
I think the point is it wasn't designed to realize that it might not be in the channel it's in. If you think about that concept, it doesn't seem likely. It's a singular case, and as such, wasn't taken into account.

The final verdict is that no, your ping is not -3 in Warez. It's a glitch in the bot you're using.
October 9, 2007, 10:48 PM
Denial
Sixen i checked channel warez with 2 of the bots i use and they come up regular ping.
October 10, 2007, 9:14 AM

Search