Valhalla Legends Forums Archive | Battle.net Bot Development | Logged On With A Ping Of.....

AuthorMessageTime
ChR0NiC
When logging on I discovered of course that during
Case &HA

You receive your username, product and username again.....
I believe the 2nd username determines whether you are logged on as the original person or #2, #3, etc...

But I was wondering if there was a place where you could find your ping when logging on. If yes, that would be very much so appreciated.

Man....I am bad at wording things.....and obviously &HA is entering chat, but I don't know how else to get your logon information without pulling it out of your config.....and I hate to do that ???
January 25, 2004, 6:20 PM
UserLoser.
[quote author=ChR0NiC link=board=17;threadid=4898;start=0#msg41081 date=1075054801]
When logging on I discovered of course that during
Case &HA

You receive your username, product and username again.....
I believe the 2nd username determines whether you are logged on as the original person or #2, #3, etc...

But I was wondering if there was a place where you could find your ping when logging on. If yes, that would be very much so appreciated.

Man....I am bad at wording things.....and obviously &HA is entering chat, but I don't know how else to get your logon information without pulling it out of your config.....and I hate to do that ???
[/quote]

The first time you'll know what the server calculated your ping as, is when you join a channel (0xF event id 0x7)
January 25, 2004, 7:17 PM
ChR0NiC
[quote author=UserLoser. link=board=17;threadid=4898;start=0#msg41085 date=1075058237]
The first time you'll know what the server calculated your ping as, is when you join a channel (0xF event id 0x7)
[/quote]

For those of you who don't know.....
[0xF] = SID_CHATEVENT
[0x7] = ID_CHAN

Anyways.....how does someone like SPHT post the ping that was logged on with in his status bar in Eternal Chat?? Cuz I really wanna have a good logon message.
January 25, 2004, 7:26 PM
Zakath
He enters chat and checks to see what ping he has. It's not that complicated.
January 25, 2004, 8:34 PM
ChR0NiC
[quote author=Zakath link=board=17;threadid=4898;start=0#msg41093 date=1075062861]
He enters chat and checks to see what ping he has. It's not that complicated.
[/quote]

You have give me no information.......
I can't just "check to see what ping I have" it's not like there is a welcome message giving you your ping, or an area up top somewhere.
January 25, 2004, 8:45 PM
DarkMinion
...it's sent with the channel event?
January 25, 2004, 9:35 PM
botmaster
[code]
Case &HF
'CHAT EVENTS!
Dim chatevent As String
Dim Flags As String
Dim Ping As String
Dim UserName As String
Dim Message As String
chatevent = MakeLong(Mid$(data, 5, 4))
Flags = MakeLong(Mid$(data, 9, 4))
Ping = MakeLong(Mid$(data, 13, 4))
UserName = KillNull(Mid$(data, 29))
Message = KillNull(Mid$(data, Len(UserName) + 30))

[/code]

won't that get the ping for you?
January 25, 2004, 9:40 PM
ChR0NiC
[quote author=botmaster link=board=17;threadid=4898;start=0#msg41101 date=1075066820]
[code]
Case &HF
'CHAT EVENTS!
Dim chatevent As String
Dim Flags As String
Dim Ping As String
Dim UserName As String
Dim Message As String
chatevent = MakeLong(Mid$(data, 5, 4))
Flags = MakeLong(Mid$(data, 9, 4))
Ping = MakeLong(Mid$(data, 13, 4))
UserName = KillNull(Mid$(data, 29))
Message = KillNull(Mid$(data, Len(UserName) + 30))

[/code]

won't that get the ping for you?
[/quote]

But will it get my ping??? For sure always mine?
January 25, 2004, 10:15 PM
UserLoser.
[quote author=DarkMinion link=board=17;threadid=4898;start=0#msg41100 date=1075066539]
...it's sent with the channel event?
[/quote]

Yes.... Your ping is recieved with almost every chat event....
January 25, 2004, 10:27 PM
DarkMinion
[quote]Yes.... Your ping is recieved with almost every chat event.... [/quote]

Correct...with the exception of when you whisper to someone else or someone else's in-channel event.
January 25, 2004, 10:44 PM
Myndfyr
[quote author=DarkMinion link=board=17;threadid=4898;start=0#msg41111 date=1075070696]
[quote]Yes.... Your ping is recieved with almost every chat event.... [/quote]

Correct...with the exception of when you whisper to someone else or someone else's in-channel event.
[/quote]

For example, when you have EVENT_USERJOIN or EVENT_USER (when a user joins the channel, or when the user was in the channel that you are joining), that packet contains that user's ping.
January 25, 2004, 10:55 PM
UserLoser.
[quote author=DarkMinion link=board=17;threadid=4898;start=0#msg41111 date=1075070696]
[quote]Yes.... Your ping is recieved with almost every chat event.... [/quote]

Correct...with the exception of when you whisper to someone else or someone else's in-channel event.
[/quote]

Sounded like to me that you didn't know that...
January 25, 2004, 11:23 PM
ChR0NiC
[quote author=DarkMinion link=board=17;threadid=4898;start=0#msg41111 date=1075070696]
Correct...with the exception of when you whisper to someone else or someone else's in-channel event.
[/quote]

*stares blankly*

UH........so I guess I'm not gonna get an answer....
January 25, 2004, 11:35 PM
Kp
[quote author=ChR0NiC link=board=17;threadid=4898;start=0#msg41118 date=1075073746]*stares blankly* UH........so I guess I'm not gonna get an answer....[/quote]

You've already been answered multiple times. If you aren't going to recognize that, I see no reason for this thread to continue.
January 25, 2004, 11:48 PM
Arta
Hopefully in non-misunderstandble terms:

The ping field in SID_CHATEVENT will contain YOUR PING for the following chat events:

EID_CHANNEL
EID_CHANNELFULL
EID_CHANNELFULL
EID_CHANNELRESTRICTED
EID_INFO
EID_ERROR

There may be others, without checking, I'm not entirely sure.

In other words, when you enter chat and get EID_CHANNEL to say you've joined a channel, that packet will always contain your ping.

I don't think it can be made much more clear than that.
January 26, 2004, 4:09 PM
DarkMinion
Yeah userloser...I've only been working with the binary interface for years, much longer than you.

I had no clue. ::)
January 26, 2004, 8:22 PM
Adron
[quote author=DarkMinion link=board=17;threadid=4898;start=15#msg41214 date=1075148563]
Yeah userloser...I've only been working with the binary interface for years, much longer than you.

I had no clue. ::)
[/quote]

You should never assume such things... There can be obvious things you overlook for years, and then suddenly you see them and laugh at how you could miss them sitting right under your nose for all this time.
January 26, 2004, 9:26 PM
DarkMinion
I realize that, but we're just talking about chat events here...
January 26, 2004, 9:31 PM
Adron
[quote author=DarkMinion link=board=17;threadid=4898;start=15#msg41225 date=1075152692]
I realize that, but we're just talking about chat events here...
[/quote]

Well, how long did it take for people to realize that the account# of a chat client in a chat event was the IP address of the client?
January 26, 2004, 9:56 PM
R.a.B.B.i.T
Also: You get your own ping in EID_USER if the username is yours.
January 27, 2004, 10:25 PM

Search