Valhalla Legends Forums Archive | Visual Basic Programming | Ping

AuthorMessageTime
LizArD
Does anyone happen to have the code for pinging a user? And what I need to add for the command to work
March 4, 2004, 12:50 AM
Stealth
"Write my bot for me!"

Store their pings in an array alongside their usernames (whichever method pleases you -- parallel arrays, a UDT, collection, whatever). Once you have this data stored, simply find the ping that corresponds to the user you want to ping and display it. :)
March 4, 2004, 5:20 AM
o.OV
[quote author=LizArD link=board=31;threadid=5577;start=0#msg47341 date=1078361455]
Does anyone happen to have the code for pinging a user? And what I need to add for the command to work
[/quote]

I'm not clear on what you are asking..

To my knowledge .. you can't actually ping a user..
The only ping information that I know of is the Ping at Logon.

Do you mean whisper a user and get a ping?
If so then battle.net gives you the target's ping at logon
when you successfully whisper the target.

I won't give you the code for this though..
this is ridiculously simple.
March 4, 2004, 10:44 AM
R.a.B.B.i.T
The ping of a user is calculated at their login and sent to people who see the message (whispers, emotes, w/e).
March 13, 2004, 1:00 AM
g0dFraY
Lizard i suggest that you either go read a visual basic book, read online tutorials or if you happen to be to lazy, experiment untill you get the hang of it. People at this forum are willing to help but we are not going to give you complete code, so you can put it in your bot and say you made it.
March 16, 2004, 12:57 AM
ChR0NiC
Ping is received on the following Events Along With Other Info..

ID_USER = &H1
ID_JOIN = &H2
ID_LEAVE = &H3
ID_TALK = &H5
ID_CHAN = &H7
ID_FLAGS = &H9
ID_ERROR = &H13
ID_EMOTE = &H17
ID_WHISPTO = &HA

These are found when parsing 0x0F SID_CHATEVENT
I suggest using BNCSMon by Arta to learn more about 0xF.
It's really a very good tool to be using if any.

Or reading up on it at BNETDocs 0xF
You will need a login for this....
March 16, 2004, 8:41 PM
SPY-3
and how would you get ping if your not using somethin like csb?
August 27, 2004, 1:37 PM
LizArD
"Ping
« on: March 03, 2004, 06:50 pm » "

stop bringing up dead posts, n00b
August 27, 2004, 11:22 PM

Search