Search found 207 matches

by mikaelh
Tue Mar 24, 2020 11:30 am
Forum: General Discussion
Topic: TomeNET 4.7.3
Replies: 3
Views: 9216

Re: TomeNET 4.7.3

europe.tomenet.eu is running the latest development version. So it has a bunch of unreleased changes. Those changes will eventually be released as version 4.7.3. If a client claims to be newer than 4.7.2, our server assumes it's running with our unreleased 4.7.3 changes. Jumping to version 4.8.0 is ...
by mikaelh
Wed Sep 19, 2018 9:11 pm
Forum: General Discussion
Topic: Connection issues on private server.
Replies: 12
Views: 28205

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: 28205

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: 28205

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: 28205

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 ...
by mikaelh
Sun Sep 16, 2018 9:16 am
Forum: General Discussion
Topic: Connection issues on private server.
Replies: 12
Views: 28205

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: 15286

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: 9627

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: 9899

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: 54
Views: 244118

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