Search found 186 matches

by mikaelh
Wed Sep 19, 2018 9:11 pm
Forum: General Discussion
Topic: Connection issues on private server.
Replies: 12
Views: 1530

Re: Connection issues on private server.

I simply turned on address sanitizer. After that it was quite obvious what was happening. Scanned 2 objects. Removed 1. 18 Sep (Tue) 00:33:48 EVENT_TIMEOUT: 5 - Arena Monster Challenge. 18 Sep (Tue) 00:33:48 EVENT_END: 5 - 'Arena Monster Challenge'. 18 Sep (Tue) 00:33:48 EVENT_NOPLAYERS: 11 (Highlan...
by mikaelh
Tue Sep 18, 2018 9:12 pm
Forum: General Discussion
Topic: Connection issues on private server.
Replies: 12
Views: 1530

Re: Connection issues on private server.

I found the reason why a fresh new server crashes. Apparently it crashes when it's trying to dump the contents of player stores but there are no player stores. So a simple workaround is to go and make a player store. So just inscribe some item with @S and put in a house.
by mikaelh
Sun Sep 16, 2018 5:49 pm
Forum: General Discussion
Topic: Connection issues on private server.
Replies: 12
Views: 1530

Re: Connection issues on private server.

Well, looks like it's stuck waiting for a lock. The stack trace is a bit weird because it's not complete. Does gdb complain about any missing debugging symbols? It seems to have found at least some symbols since it resolved the first two stack frames. It could also be a corrupt stack which is harder...
by mikaelh
Sun Sep 16, 2018 5:04 pm
Forum: General Discussion
Topic: Connection issues on private server.
Replies: 12
Views: 1530

Re: Connection issues on private server.

If the process is still running, you can try attaching gdb to it. Just run "gdb -p PID" in a console (where PID is the ID of the process). Then type "bt" to get a backtrace. Copy and paste the backtrace here. Then just type "quit" to get out of gdb and kill the process after that.
by mikaelh
Sun Sep 16, 2018 9:16 am
Forum: General Discussion
Topic: Connection issues on private server.
Replies: 12
Views: 1530

Re: Connection issues on private server.

I don't remember seeing an issue like this before so it seems to be something new. Are you running the latest release which is 4.7.1a? Have you changed anything besides config.h? BIND_NAME and BIND_IP from config.h are not actually used anymore so that's probably not the cause. Core dumps are very u...
by mikaelh
Mon Apr 23, 2018 7:45 pm
Forum: Bugs
Topic: [not a bug] teleport didn't work properly at small lvl with Q's
Replies: 4
Views: 2015

Re: [critical] teleport didn't work properly at small lvl with Q's

At 12:27 you got teleported by a monster:

The Lesser black reaver commands you to return.

This is the TELE_TO spell. Basically the monster will teleport you right next to it. So I don't see anything broken here. Just two unlucky teleportations and an unlucky encounter with a Q pit.
by mikaelh
Sat Jan 13, 2018 11:00 am
Forum: General Discussion
Topic: About editing penalties on death for private server
Replies: 2
Views: 1902

Re: About editing penalties on death for private server

The file does exists but it's part of the source code. So if you modify it, you would need to compile the server again.
by mikaelh
Mon Dec 04, 2017 10:16 pm
Forum: Bugs
Topic: lib dir problem
Replies: 2
Views: 2238

Re: lib dir problem

The game does need to write to the lib directory. You can change the path by setting the TOMENET_PATH environment variable:

export TOMENET_PATH=${HOME}/.tomenet/lib
./tomenet

Or by using a command line switch:

./tomenet -P${HOME}/.tomenet/lib
by mikaelh
Mon Aug 28, 2017 8:04 am
Forum: Your creations
Topic: Windows Server
Replies: 37
Views: 42129

Re: Windows Server

Open up src/server/util.c and search for mkdir. You should see something like this:

Code: Select all

#ifdef WINDOWS
        mkdir(buf2);
#else
        mkdir(buf2, 0770);
#endif
Change it to this:

Code: Select all

#if defined(WINDOWS) && !defined(CYGWIN)
        mkdir(buf2);
#else
        mkdir(buf2, 0770);
#endif
by mikaelh
Thu Aug 24, 2017 6:55 pm
Forum: Bugs
Topic: Can't even start game.
Replies: 5
Views: 4621

Re: Can't even start game.

Well, it doesn't crash for me when I run it under Xubuntu. Also, the addresses in the backtrace don't seem to point to anything sensible. Anyway, I uploaded a debugging version: http://www.tomenet.eu/downloads/tomenet-4.7.1a-linux-x86-dbg.tar.bz2 This version should still crash but maybe it'll produ...