![]() amonitor : Brings back the realmd console (press "Ctrl+A+D" to re-detach it).astop : Stops only realmd - in a screened process.arestart : Restarts only realmd - in a screened process.astart : Starts only realmd - in a screened process.wmonitor : Brings back the mangosd console from the screened process (press "Ctrl+A+D" to re-detach it).wstop : Stops mangosd - screened process.wrestart : Restarts only mangosd - in a screened process.wdstart: Starts only mangosd in DEBUG mode - in a screened process.wstart: Starts only mangosd - in a screened process.restart : Retarts realmd and mangosd - in a screened process. ![]() stop: Stops realmd and mangosd - in a screened process.start : Starts realmd and mangosd - in a screened process.You can use the script with its options like : Mv current $THIS_FOLDERPATH/crashes/$NOW.log &>/dev/nullĮcho $NOW $WSRV_BIN stopped, restarting! | tee -a $THIS_FULLPATH.logĮcho crashlog available at: $THIS_FOLDERPATH/crashes/$NOW.logĮcho $NOW $ASRV_BIN stopped, restarting! | tee -a $THIS_FULLPATH.logĮcho "usage: start | stop | restart | wstart | wdstart | wrestart | wstop | wmonitor | astart | arestart | astop | amonitor" Gdb $WPATH/$WSRV_BIN -batch -x gdbcommands | tee current Screen -AmdS $ASRV_BIN $THIS_FULLPATH $ASRV_BIN Screen -S $WSRV_SCR -X stuff "server restart 5$(printf \\r)"Įcho saveall sent, waiting 5 seconds to kill $WSRV_BINĮcho press ctrl+a+d to detach from the server without shutting it down Screen -S $WSRV_SCR -X stuff "saveall$(printf \\r)"Įcho saved all characters, and server restart initialized Screen -AmdS $WSRV_SCR $THIS_FULLPATH $WSRV_BIN $DEBUG Trinit圜ore: worldserver MaNGOS: mangosd ArcEmu: whocares?Įcho "shell echo -e \"\nCRASHLOG BEGIN\n\"" > gdbcommandsĮcho "shell echo -e \"\nBACKTRACE\n\"" > gdbcommandsĮcho "shell echo -e \"\nBACKTRACE FULL\n\"" > gdbcommandsĮcho "shell echo -e \"\nTHREADS\n\"" > gdbcommandsĮcho "shell echo -e \"\nTHREADS BACKTRACE\n\"" > gdbcommandsĮcho "thread apply all bt full" > gdbcommands WSRV_BIN_ORG=mangosd #This usually doesnt change. Trinit圜ore: authserver MaNGOS: realmd ArcEmu: whocares? THIS_FULLPATH=$(cd `dirname "$"` & pwd -P)ĪSRV_BIN=realmd #This usually doesnt change.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |