View Single Post
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 01-11-2017 , 03:18   Re: CS_TerminateRound not firing?
Reply With Quote #4

Quote:
Originally Posted by Mitchell View Post
If terminate round isn't actually ending the round then that makes me think that the gamedata is bad.
Also terminate round will need a higher value for the map end time or it will wait only 1 second and then cut to the map change.
mp_match_restart_delay may be the value to set the CS_TerminateRound value to.
Edit: you are right about setting the timelimit and max rounds to a low value, as it will trigger the end-of-map checks.
I'll try using a higher value, hopefully that will solve it! I was almost thinking I wasn't calling CS_TerminateRound correctly...

Quote:
Originally Posted by Neuro Toxin View Post
I dont think settings cheats on and off like that is an issue because nothing can can be processed inbetween the squential calls as SRCDS isnt threaded.

Slaying everyone is a bit harsh and would effect stats plugins like rankme. Calling endround wouldn't require you to slay the clients.
I'm running SMAC, so sv_cheats is automatically set back to 0 before endround is called, so that's that doesn't work unfortunately, hence why I'm attempting to use CS_TerminateRound.

I'm not worried about stats since this is for movement servers (surf, bhop, etc), the slaying is just an added protection to ensure the round ends and the server changes to the next map. If I got the round to end properly then I could probably take out the slaying after testing, but that's what I'm stuck on.
__________________

Last edited by sneaK; 01-11-2017 at 03:28.
sneaK is offline