[ANY] Cassandra
2 Attachment(s)
As it's Christmas I thought it would be good to open-source some ancient (5+ yearold) plugins that have served me well... First off; Cassandra.
What is Cassandra? This VSP with MM:S and SM components installs a signal handler to catch any crashes your server unfortunately encounters. Great, doesn't TF do this by default now? Well... yes; I think it does? With the exception this will automatically reconnect clients before restarting. But my server keeps hanging; not crashing! Yes; the infallible hangy/crashy implementation with parallel snapshots and similar are still plaguing every released Valve game with the convar now defaulting to off... This also installs a watchdog and does the aforementioned behaviour when an issue is detected. What platforms does this work on? This should work without issue on CS:GO (pre-protobuf) and CS:S Linux (current). Hope this helps someone. |
Re: [ANY] Cassandra
This is really nice, I tried making something like this a few years ago but always ran into issues of the netchannels not being functional at the event of the un-handled exception. Attempting to transmit data to clients would force close the process and i assume this varies depending on the type of crash the server suffers. I attempted to just send the network data through the socket via a secondary program that would write every few seconds, all the connect clients ip:port. But I never finished the work on sending the single instance of reconnect client execute command binary data.
You can expand on this for standard game modes and attempt to restore the map and scoreboard data to its last known good snapshot which was saved to a file. Saving prop_physics positions and players kills/deaths to restore upon connect and allowing for a 15 - 30 second recovery time for alive players to be re-spawned alive. |
Re: [ANY] Cassandra
Quote:
Quote:
|
Re: [ANY] Cassandra
This vs Accelerator?
|
Re: [ANY] Cassandra
Quote:
|
Re: [ANY] Cassandra
I tried it on my CSGO server and get a crash about every 30-60 minutes with this stack:
Quote:
|
All times are GMT -4. The time now is 13:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.