print commands
Moderator: InsideQC Admins
7 posts
• Page 1 of 1
print commands
What's the difference between sprint and bprint?
Also, what's the difference between PRINT_LOW, PRINT_MEDIUM, PRINT_HIGH?
Also, what's the difference between PRINT_LOW, PRINT_MEDIUM, PRINT_HIGH?
Welcome to the Overlook Hotel: The-Overlook-Hotel.game-server.cc
-

redrum - Posts: 410
- Joined: Wed Mar 28, 2007 11:35 pm
- Location: Long Island, New York
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.
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.
- Sajt
- Posts: 1215
- Joined: Sat Oct 16, 2004 3:39 am
Re: print commands
I must add that PRINT_LOW, PRINT_MEDIUM, PRINT_HIGH is also usefull to drive n00bs like me to madness.
- Teiman
- Posts: 309
- Joined: Sun Jun 03, 2007 9:39 am
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.
- FrikaC
- Site Admin
- Posts: 1026
- Joined: Fri Oct 08, 2004 11:19 pm
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.
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.
- Spike
- Posts: 2892
- Joined: Fri Nov 05, 2004 3:12 am
- Location: UK
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest