Save Map - Restore map after server crashed or restarted
3 Attachment(s)
Save Map Version: 1.0 (30/12/2011 Updated) This plugin can save the map name when the map loaded and it can change to the saved map after the server crashed or restart. It is useful with Serverdoc or HL Server Monitor for Windows server. This plugin used FValut system. http://forums.alliedmods.net/showthread.php?t=76453 Cvar: defaultmap <map name> - Default map if the map record isn't exist or unreadable (Default: de_dust) Credits: Exolent[jNr] - His FVault system How to compile: 1. Download fvault.inc and place it in scripting/include folder 2. Download savemap.sma (Click Get Source) and place it in scripting folder 3. Drag savemap.sma into compiler.exe 4. Go to scripting/compiled find savemap.amxx You MUST place server.bsp into maps folder and change your startup parameter to +map server (YOU DON'T NEED TO UPLOAD THIS MAP ON YOUR FASTDL SERVER) The web compiler cannot compile this plugin. Please download the source and compile it locally.:mrgreen: |
Re: Save Map - Restore map after server crashed or restarted
Cool
|
Re: Save Map - Restore map after server crashed or restarted
there is a much simpler way to do this without fvault (or any vault) and without a new bsp.
Also, the client_connect() function is not needed. Just remove it. |
Re: Save Map - Restore map after server crashed or restarted
Interesting! Simple, but good.
|
Re: Save Map - Restore map after server crashed or restarted
I just deleted the client_connect() function and the g_NoPlayers global variable.
Thank you. Could u tell me your saving method without vault?:oops: |
Re: Save Map - Restore map after server crashed or restarted
Nice :)
|
Re: Save Map - Restore map after server crashed or restarted
Good :)
|
Re: Save Map - Restore map after server crashed or restarted
I'm pretty sure this plugin has been made before. This is probably how I would do it:
PHP Code:
|
Re: Save Map - Restore map after server crashed or restarted
|
Re: Save Map - Restore map after server crashed or restarted
Excellent :wink:
|
All times are GMT -4. The time now is 11:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.