norukid 0 Report post Posted September 22, 2015 (edited) It is possible that the server restart only with sqf ,but we have to modify a orignal script file of Exile.orignal: ExileServer_system_process_preInit.sqf17 _MySql_connection = [] call ExileServer_system_database_connect;18 if !(_MySql_connection) exitWith19 {20 "extDB2" callExtension "9:SHUTDOWN";21 false22 };modify:ExileServer_system_process_preInit.sqf17 ExileServerDatabaseSessionId = uiNamespace getVariable ["DataBaseSessionId",""];18 if(ExileServerDatabaseSessionId == "") then {19 _MySql_connection = [] call ExileServer_system_database_connect;20 if !(_MySql_connection) exitWith21 {22 "extDB2" callExtension "9:SHUTDOWN";23 false24 };25 uiNamespace setVariable ["DataBaseSessionId",ExileServerDatabaseSessionId];26 }else {27 format ["for server restarting, reuse database session id:%1",ExileServerDatabaseSessionId] call ExileServer_util_log;28 };use serverCommand "#restart" when would restart the server.Each update of Exile,I don't want to modify. In next update please merge this modification.thank you for reading my poor English. Edited September 22, 2015 by norukid Share this post Link to post Share on other sites
fabianoza 1 Report post Posted September 22, 2015 Where do I find? ExileServer_system_process_preInit.sqf Share this post Link to post Share on other sites
norukid 0 Report post Posted September 22, 2015 Where do I find? ExileServer_system_process_preInit.sqfit is a server file in @ExlieServer\addons\exile_server.pbo. Share this post Link to post Share on other sites
hangender 16 Report post Posted September 22, 2015 you have to comment out the 9:LOCK first, and then you can use 9:SHUTDOWN Share this post Link to post Share on other sites
norukid 0 Report post Posted September 22, 2015 you have to comment out the 9:LOCK first, and then you can use 9:SHUTDOWNit is right as extdb2,but not is important.i don't want to change an original as much as possible, so you should change there so that you like it. Share this post Link to post Share on other sites
norukid 0 Report post Posted September 22, 2015 (edited) it is right as extdb2,but not is important.i don't want to change an original as much as possible, so you should change there so that you like it.Oh,did i misunderstand it? did you mean ext2 have to be shutdown after unlock?If it is so I don't yet try it. Edited September 22, 2015 by norukid Share this post Link to post Share on other sites
fabianoza 1 Report post Posted September 22, 2015 tanks Share this post Link to post Share on other sites