wizel1 0 Report post Posted May 4, 2019 any know how properly close server and restart without player clone or dupe items? have saeed antindupe but is not always 100% is there method for stop dupe or clone when restarting? if so how? Quote Share this post Link to post Share on other sites
Waka~ 10 Report post Posted May 4, 2019 (edited) Need correctly stop gameserver.exe command "stop 30" or in game "&gamesvrstop 30" Where 30 - it time in sec Edited May 4, 2019 by Waka~ Quote Share this post Link to post Share on other sites
wizel1 0 Report post Posted May 4, 2019 (edited) 3 hours ago, Waka~ said: Need correctly stop gameserver.exe command "stop 30" or in game "&gamesvrstop 30" Where 30 - it time in sec I know that but am looking for other way like make sure all log out before I close or if server disconnect randomly how make sure no dupe/clone or rollback Edited May 4, 2019 by wizel1 Quote Share this post Link to post Share on other sites
Waka~ 10 Report post Posted May 4, 2019 &kick (name) ex: &kick Waka or @@ disable name,1 (as long as I remember) ex: @@ disable Waka,1 and check online Quote Share this post Link to post Share on other sites
wizel1 0 Report post Posted May 4, 2019 2 hours ago, Waka~ said: &kick (name) ex: &kick Waka or @@ disable name,1 (as long as I remember) ex: @@ disable Waka,1 and check online any automatic system? examples: i want to restart or if server disconnect then kick all before closing Quote Share this post Link to post Share on other sites
Faller 93 Report post Posted May 4, 2019 (edited) 51 minutes ago, wizel1 said: any automatic system? examples: i want to restart or if server disconnect then kick all before closing Yea, simply add something like this to your char_timer: if maintenance then KickCha(role) end Then when you're ready to make a maintenance, simply do "&lua maintenance=true". You can also add other conditions, like don't kick players who are GM, or don't kick X name. Ps.: Don't forget to add the following line to variables.lua: maintenance = false Edited May 4, 2019 by Faller Quote Share this post Link to post Share on other sites
wizel1 0 Report post Posted May 4, 2019 (edited) 2 hours ago, Faller said: Yea, simply add something like this to your char_timer: if maintenance then KickCha(role) end Then when you're ready to make a maintenance, simply do "&lua maintenance=true". You can also add other conditions, like don't kick players who are GM, or don't kick X name. Ps.: Don't forget to add the following line to variables.lua: maintenance = false i must set maintenance = true then when i want restart, for kick all im type in local chat &lua maintenance=true ? will players have access to that? Edited May 4, 2019 by wizel1 Quote Share this post Link to post Share on other sites
Faller 93 Report post Posted May 4, 2019 1 hour ago, wizel1 said: i must set maintenance = true then when i want restart, for kick all im type in local chat &lua maintenance=true ? will players have access to that? Yup, that's it, actually, type: &lua_all maintenance=true ^ that way you'll kick players from all GameServers Players won't be able to use, only you have access to &lua/&lua_all commands. 2 Quote Share this post Link to post Share on other sites