• Welcome to Valhalla Legends Archive.
 

Logged On With A Ping Of.....

Started by ChR0NiC, January 25, 2004, 12:20 PM

Previous topic - Next topic

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  ???

UserLoser.

Quote from: ChR0NiC on January 25, 2004, 12:20 PM
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  ???

The first time you'll know what the server calculated your ping as, is when you join a channel (0xF event id 0x7)

ChR0NiC

Quote from: UserLoser. on January 25, 2004, 01:17 PM
The first time you'll know what the server calculated your ping as, is when you join a channel (0xF event id 0x7)

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.

Zakath

He enters chat and checks to see what ping he has. It's not that complicated.
Quote from: iago on February 02, 2005, 03:07 PM
Yes, you can't have everybody...contributing to the main source repository.  That would be stupid and create chaos.

Opensource projects...would be dumb.

ChR0NiC

Quote from: Zakath on January 25, 2004, 02:34 PM
He enters chat and checks to see what ping he has. It's not that complicated.

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.

DarkMinion

...it's sent with the channel event?

botmaster


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))

     


won't that get the ping for you?

ChR0NiC

Quote from: botmaster on January 25, 2004, 03:40 PM

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))

     


won't that get the ping for you?

But will it get my ping??? For sure always mine?

UserLoser.

Quote from: DarkMinion on January 25, 2004, 03:35 PM
...it's sent with the channel event?

Yes.... Your ping is recieved with almost every chat event....

DarkMinion

QuoteYes.... Your ping is recieved with almost every chat event....

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

MyndFyre

Quote from: DarkMinion on January 25, 2004, 04:44 PM
QuoteYes.... Your ping is recieved with almost every chat event....

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

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.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

UserLoser.

Quote from: DarkMinion on January 25, 2004, 04:44 PM
QuoteYes.... Your ping is recieved with almost every chat event....

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

Sounded like to me that you didn't know that...

ChR0NiC

Quote from: DarkMinion on January 25, 2004, 04:44 PM
Correct...with the exception of when you whisper to someone else or someone else's in-channel event.

*stares blankly*

UH........so I guess I'm not gonna get an answer....

Kp

Quote from: ChR0NiC on January 25, 2004, 05:35 PM*stares blankly* UH........so I guess I'm not gonna get an answer....

You've already been answered multiple times.  If you aren't going to recognize that, I see no reason for this thread to continue.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

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.