Portal Home > Knowledgebase > Addons/Mods > Condition Zero > Crash Guard


Crash Guard




More information about this plugin: amx_crash
Up to date downloads available through my website: amx.dvl.pl
This plugin can be compiled online through amx.dvl.pl compiler or amxmodx.org compiler.

Quote:
Version: 1.3

Description:
This plugins reverts to the last played map after a crash, thus preventing the undesirable problem of mapcycle repetition.

Instructions:
For detailed instructions check the attached readme file.

Changelog:
Version 1.3 (2007-09-08)
  • License upgraded to GPL v3 or later
  • Added version broadcasting
Version 1.2 (2006-06-26)
  • Added optional usage mode, see CRASH_DETECT_MODE (thanks goes to _KaszpiR_ for pointing out the idea and probably Maddo as the originator)
  • Some minor inconsistency fixes in set_task calls
  • Ignore case when comparing map names
Version 1.1 (2006-06-02)
  • Cleaned up the code, commented, GPL-ed
  • Added TimelimitMultiplier variable
  • Added directory check when writing to 'vault'
Version 1.0 (2005-07-20)
  • Initial private release (not open published)

It's quite simple (KISS principle). Originally it was written more than a year ago. After some polishing I decided to go open source with my small collection. And this is the first from my pack.

During this time, as I have recently got to know, a similar project was created: Plugin - Map Cycle Restoration on Crash (Linux Only). Nevertheless, I think it can be quite a useful alternative (a bit different work basis). Don't know if the mods won't be reluctant to approve it due to that fact, but it's worth a try. Hope you'll like it. ;-)

Code:
 * Short usage instructions:                                                       *
* 1) Compile & install. *
* 2) Create your failover map (place it in ~/cstrike/maps). *
* 3) Ensure that your server starts with this map (change your run script)*
* f.e.: ./hlds_run [...] +map de_restart *
* 4) Recompile nextmap.sma with mapcycle following enabled. *
* Uncomment: #define OBEY_MAPCYCLE *
* 5) Restart your server, change manually to your first map in mapcycle *
Crash Guard


Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Hide N Seek (Views: 120)
Loading Song Advanced (Views: 95)