So I'm trying to set up a debugging process where I can see what functions are being called when I do certain things in game, that way I can hopefully locate exactly which functions in which cpp files might possibly be involved with the bug I'm trying to fix. Is something like this possible? I can get VS Code to launch my worldserver or attach to the worldserver process but beyond that I'm not getting any other information out of the Call Stack or anything when I make certain actions in-game.
i've met a strange problem on linux running TC worldserver.
everything is ok when i direct type ./worldserver and don't close ssh window. the worldserver session only take 1% less cpu use.
but when i try to use nohup or setsid to put worldserver backgroud.
this world server instantly taking 100% cpu percent .no matter how long i wait,%cpu will not come down.
i even try to use systemctl's service to made server run background,and i found server and systemctl still got 100% cpu use.
i'm asking for help about how to run server background on ubuntu16.04,and not with 100%cpu use.
Hi, I notice that the wordl server display a message when he think that a player is cheating.
I would like to know if there a way to get the all the server log messages using php (or another way).
I notice that the file Server.log contain some logs but not all of them for me the log stop at :
"TrinityCore rev. e86a2c439aa2 2017-12-17 16:45:50 +0100 (master branch) (Win64, RelWithDebInfo, Static) (worldserver-daemon) ready..."
And even if there other logs after it doesn't record.
So my questions are:
- is there a way to get the log of the worldserver using a coding language or command ?
- is there a way to update the Server.log file with the current log message of the server using a coding language or command ?
I was checking my DB but I didn't find any table that could tell "this is when it will happen"
I wonder how it work, I activated it but is there a table to put the unix time? (like to do : every wednesday, at 15:25:30 there will be the distribution)