Raised This Month: $32 Target: $400
 8% 

Is possible to cancel the SVC_INTERMISSION display message after send it?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 05-21-2017 , 19:31   Is possible to cancel the SVC_INTERMISSION display message after send it?
Reply With Quote #1

This is mostly for curiosity. Today I noticed an admin can completely cancel the map change
after the SVC_INTERMISSION message being sent, i.e., while the players are waiting the
`mp_chattime`.

For example, if the server admins sends a `sv_restartround 1` before the `mp_chattime` ends
but while SVC_INTERMISSION is being displayed, the map change is canceled correctly, except
for the SVC_INTERMISSION message which sticks on the screen of everybody.

I could found these threads about intermission:
  1. hl1 map end
  2. Display MOTD at end of map
  3. Half-Life 1 Engine Messages#SVC_FINALE
There it is suggested to send the message `SVC_FINALE` which seems to be a more friendly
version of `SVC_INTERMISSION`, but it stills a end game message which is terminal.

This is how I send the `SVC_INTERMISSION` message:
Code:
public intermission_hold() {     message_begin( MSG_ALL, SVC_INTERMISSION );     message_end(); }

To avoid this situation, instead of sending the `SVC_INTERMISSION` message, I can just send
`client_cmd( 0, "+showscores" )`. For the clients would just look like the same, unless someone
press the `TAB` key (+showscores), then the fake "intermission" would be discovered, as the
scores tab would go out of view as soon as they release the pressed key.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 05-21-2017 at 19:35.
addons_zz is offline
PartialCloning
Senior Member
Join Date: Dec 2015
Old 05-23-2017 , 10:25   Re: Is possible to cancel the SVC_INTERMISSION display message after send it?
Reply With Quote #2

Try SVC_SERVERINFO.
PartialCloning is offline
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 05-23-2017 , 14:06   Re: Is possible to cancel the SVC_INTERMISSION display message after send it?
Reply With Quote #3

It can't be removed in-game, only via reconnect.
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode