View previous topic :: View next topic |
Author |
Message |
redrum

Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York
|
Posted: Mon Jul 30, 2007 2:08 am Post subject: print commands |
|
|
What's the difference between sprint and bprint?
Also, what's the difference between PRINT_LOW, PRINT_MEDIUM, PRINT_HIGH? _________________ Welcome to the Overlook Hotel 69.113.123.178:27500 |
|
Back to top |
|
 |
Sajt
Joined: 16 Oct 2004 Posts: 1026
|
Posted: Mon Jul 30, 2007 2:29 am Post subject: |
|
|
sprint prints to one client, bprint (broadcast print) prints to all clients
as for the other stuff, they're QW-only, some priority thing. I'll just make up a guess answer. HIGH probably gets sent reliably, LOW probably won't be resent if the packet is lost. And the clients can probably filter messages by type, so if you don't want your screen spammed by LOW messages, you can filter them out. _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe. |
|
Back to top |
|
 |
Teiman
Joined: 03 Jun 2007 Posts: 309
|
Posted: Mon Jul 30, 2007 10:46 am Post subject: Re: print commands |
|
|
I must add that PRINT_LOW, PRINT_MEDIUM, PRINT_HIGH is also usefull to drive n00bs like me to madness. |
|
Back to top |
|
 |
redrum

Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York
|
Posted: Mon Jul 30, 2007 4:11 pm Post subject: |
|
|
Thank you! _________________ Welcome to the Overlook Hotel 69.113.123.178:27500 |
|
Back to top |
|
 |
FrikaC Site Admin

Joined: 08 Oct 2004 Posts: 947
|
Posted: Mon Jul 30, 2007 6:55 pm Post subject: |
|
|
Sajt: All are sent reliably, but! Clients can set their message level to filter out what messages they see...This actually saves on bandwidth, the server doesn't actually send the prints if the messagelevel is known to be above the print priority. |
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Tue Jul 31, 2007 7:01 pm Post subject: |
|
|
those prints are filtered based on the client's 'msg' cvar/userinfo.
set msg 0 and you get all the annoying spam.
0:pickups (you got the nails! yay! woot!)
1:deaths (haha you died!)
2:game ends (rofl, you got pwned again!)
3:chat (rofl at you loosing yet another game!)
ahh, msg 4. peace. _________________ What's a signature? |
|
Back to top |
|
 |
FrikaC Site Admin

Joined: 08 Oct 2004 Posts: 947
|
Posted: Tue Jul 31, 2007 7:26 pm Post subject: |
|
|
I forgot what the var is called. Add to wiki plz. |
|
Back to top |
|
 |
|