Seth^^

marma re editor Restart in 30 seconds

5 posts in this topic

This script is for mARMAcp > RE Editor

If you don't know what mARMAcp is, check out this thread http://www.exilemod.com/topic/26-marma-server-monitoring-live-map-re/

Say you want to restart (shutdown) your server in 30 seconds. You can do that with this nifty script.
Stole this from Grim's live broadcast a few days ago :)

[] spawn {
	"#lock" call ExileServer_system_rcon_event_sendCommand;
	"Server locked for restart" call ExileServer_util_log;
	["notificationRequest",["LockKickWarning",["You will be kicked from the server due to restart."]]] call ExileServer_system_network_send_broadcast;
	ExileServerIsLocked = true;

	uiSleep 30;

	call ExileServer_system_rcon_event_kickAllrestart;
	"Evryone kicked for restart" call ExileServer_util_log;
	call ExileServer_system_rcon_event_clearBuffers;
	"Buffers cleared!" call ExileServer_util_log;
	for "_i" from 0 to 9 do
	{
		"SERVER READY FOR RESTART!!" call ExileServer_util_log;
	};
	ExileServerRestartMode = true;
	"#shutdown" call ExileServer_system_rcon_event_sendCommand;
};

 

Edited by Seth^^
forum icon, can we pls fix the basepath already? thx
2 people like this

Share this post


Link to post
Share on other sites
Advertisement

 

Stole this from Grim's live broadcast a few days ago :)

lol that is cheeky, you screenshoted the live cast and wrote it down? :D

2 people like this

Share this post


Link to post
Share on other sites

lol that is cheeky, you screenshoted the live cast and wrote it down? :D

Thats how i get fixes for the next update before anyone else :)

Share this post


Link to post
Share on other sites

lol that is cheeky, you screenshoted the live cast and wrote it down? :D

http://i.imgur.com/hq0vZ9O.png

Unfortunately he isn't streaming 1080p so i had to guess a few of the words before i got it right :( 

Lucky for me, most of that code can be found in ExileServer_system_rcon_thread_check.sqf :D

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.