Keuvyn T. 3 Report post Posted April 26, 2017 (edited) Good afternoon to all again of Pkodev. I know that lately I have asked a lot of questions but I do them because I know that I have obtained answers. I would like to know the following, usually when I reboot my server and the players are disconnected, some account is in a loop type basically online without the person actually logged in. This prevents us from logging into the account, so what I wanted to know is how to force the account to be removed without restarting the server? A command, anything? In Original when you tried to connect to an account that was logged in, the person who was logged in would eventually disconnect, but this does not happen on my server, on my server it just says that the account is malfunctioning. Lately I to resolve this, I'm having to restart the server. Edited April 26, 2017 by Keuvyn T. Quote Share this post Link to post Share on other sites
V3ct0r 2,117 Report post Posted April 26, 2017 Hello @Keuvyn T.! You can do SQL query before start server: USE AccountServer; UPDATE account_login SET login_status = 0; Also you can make .bat script that will execute query and start server. 1 Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites
Shako 97 Report post Posted April 27, 2017 9 hours ago, Keuvyn T. said: Good afternoon to all again of Pkodev. I know that lately I have asked a lot of questions but I do them because I know that I have obtained answers. I would like to know the following, usually when I reboot my server and the players are disconnected, some account is in a loop type basically online without the person actually logged in. This prevents us from logging into the account, so what I wanted to know is how to force the account to be removed without restarting the server? A command, anything? In Original when you tried to connect to an account that was logged in, the person who was logged in would eventually disconnect, but this does not happen on my server, on my server it just says that the account is malfunctioning. Lately I to resolve this, I'm having to restart the server. what server files are you using? @Keuvyn T. to solve this problem a different way, you can add these lines into your function cha_timer before doing a restart. if GetGmLv == 0 then KickCha ( role ) end this will make sure every character is kicked before the server kicks it due to disconnection. Quote Sunny Go! Online pko.host Share this post Link to post Share on other sites