vasyyshakov / zombiereloaded

Automatically exported from code.google.com/p/zombiereloaded
0 stars 0 forks source link

Safe mode #116

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Because the plugin is pretty complex and touch a lot of areas in the 
engine, there should be a safe mode that could help troubleshooting server 
issues.

It will simply disable all features except for important core stuff.

Active modules in safe mode:
* admin
* config (but map configs disabled)
* cvars
* damage hooks
* events
* infect
* knockback
* log
* menu
* round end/start
* sayhooks
* tools
* translation
* zadmin

Module notes:
* downloads and models must be disabled and plugin forced to use standard 
files from valve.
* classes will fall back to safe mode classes. make hard coded class 
profiles for humans and zombies?
* sound effects disabled (ambience, zombie sounds)
* visual effects disabled
* weapon restriction and ammo control disabled

More ideas for safe mode are welcome. Btw, another good reason to use the 
sm plugin template project.

Original issue reported on code.google.com by richard.helgeby@gmail.com on 31 Jan 2010 at 1:19

GoogleCodeExporter commented 8 years ago
This could also be made as a game mode where almost all features are stripped 
to a 
minimal safe mode setup.

Original comment by richard.helgeby@gmail.com on 31 Jan 2010 at 1:21

GoogleCodeExporter commented 8 years ago
Should be easy with the new module system.

Original comment by alon.gub...@gmail.com on 31 May 2011 at 8:38

GoogleCodeExporter commented 8 years ago
We might even don't need this no longer. The way modules are separated now a 
native error in a module event can't break the entire event chain in the plugin 
anymore, I think.

Otherwise it might be useful as a debugging game mode where special effects and 
other stuff is disabled. A game mode is all it takes for this feature to be 
implemented.

Original comment by richard.helgeby@gmail.com on 1 Jun 2011 at 6:33

GoogleCodeExporter commented 8 years ago
Errors will still still kill the stack.

This can now be accomplished by just editting the gamerules file and only 
keeping essential modules enabled.  We could create a "safe mode" version of 
each game mode and comment it out by default.

Original comment by andrewbo...@gmail.com on 1 Jun 2011 at 6:55