[DiscordArchive] thats not windows?
[DiscordArchive] thats not windows?
Archived author: Vel • Posted: 2025-06-24T18:38:58.160000+00:00
Original source
But now it works. <:dracthyr_shrug:1002463671538155570>
Archived author: Vel • Posted: 2025-06-24T18:41:16.460000+00:00
Original source
Ah now it crashed again!
Archived author: Vel • Posted: 2025-06-24T18:41:18.992000+00:00
Original source
Going for the log.
Archived author: Vel • Posted: 2025-06-24T18:42:38.982000+00:00
Original source
But still no log...
I am using this:
```bash
#! /bin/bash
DIRPATH=$(cd `dirname "${BASH_SOURCE[0]}"` && pwd -P)
echo $DIRPATH
cd $DIRPATH
echo "run" > gdbcommands
echo "shell echo -e \"\nCRASHLOG BEGIN\n\"" >> gdbcommands
echo "info program" >> gdbcommands
echo "shell echo -e \"\nBACKTRACE\n\"" >> gdbcommands
echo "bt" >> gdbcommands
echo "shell echo -e \"\nBACKTRACE FULL\n\"" >> gdbcommands
echo "bt full" >> gdbcommands
echo "shell echo -e \"\nTHREADS\n\"" >> gdbcommands
echo "info threads" >> gdbcommands
echo "shell echo -e \"\nTHREADS BACKTRACE\n\"" >> gdbcommands
echo "thread apply all bt full" >> gdbcommands
chmod +x gdbcommands
while :
do
echo "starting worldserver";
./worldserver
NOW=$(date +"%s-%d-%m-%Y")
mkdir -p $DIRPATH/log && mkdir -p $DIRPATH/log/crashes
gdb $DIRPATH/worldserver --batch -x gdbcommands | tee currentcrash
mv currentcrash $DIRPATH/log/crashes/$NOW.log &>/dev/null
echo "$(date +"%T %d-%m-%Y") SERVER CRASHED !!! Full report in attachment, crashlog available at: $DIRPATH/log/crashes/$NOW.log" | mutt -a "$DIRPATH/log/crashes/$NOW.log" -s "$(date +"%T %d-%m-%Y") / WorldServer CRASH REPORT" -- [email protected]
find log/crashes/ -type f -mtime 3 -exec rm -f {} \;
echo "worldserver stopped";
sleep 1
done
```
Archived author: Vel • Posted: 2025-06-24T18:45:04.430000+00:00
Original source
After the restart the waypoint works as expected. I just don't know why it sometimes crashes and sometimes not. And no idea how to push out those logs.
Archived author: Vel • Posted: 2025-06-24T18:45:12.847000+00:00
Original source
I always had a feeling that sometimes they appear and sometimes they won't.
Archived author: Vel • Posted: 2025-06-24T20:32:13.127000+00:00
Original source
Got it.
message.txt
Archived author: Fabian • Posted: 2025-06-24T20:36:35.663000+00:00
Original source
doesnt like null in the float field i guess
Archived author: Tea • Posted: 2025-06-24T20:38:06.613000+00:00
Original source
that cant be true, that table is full of nulls
Archived author: Tea • Posted: 2025-06-24T20:38:52.677000+00:00
Original source
well of course its that...