Search found 208 matches

by mikaelh
Tue Mar 24, 2020 11:57 am
Forum: Bugs
Topic: Macro listing crashes client after scrolling [Linux client 4.7.2]
Replies: 6
Views: 14040

Re: Macro listing crashes client after scrolling [Linux client 4.7.2]

You can contribute by sending patches. I guess a commit on Github is pretty much the same thing. I have some minor complaints about this change: The comment you wrote is a bit difficult to read. Excess indentation for the default case. I guess I would prefer a revised version. If you do revise this,...
by mikaelh
Tue Mar 24, 2020 11:30 am
Forum: General Discussion
Topic: TomeNET 4.7.3
Replies: 3
Views: 9320

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

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

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

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

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

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

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

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

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