I am developing a sort of gui for gunbot since the included GUI crashes the bot a lot. I already made the GUI to display the bot info in a webpage but now, i want to edit the configs of the bot from my GUI.
The questions i have are:
1 Do the configs take effect on the fly after editing configs.js Or do they take effect after bot restart.
2 Whats the best way to externally restart my gunbot, lets say i wanna restart, stop, start on will from my c++ program how would it be???
i know i have the option of kill the process but that method may lead to corrupt bots data, i want to do it the standard way like the gunbot GUI does when you click Stop gunbot / Start gunbot.