Search found 203 matches

by mikaelh
Mon Dec 19, 2022 11:50 am
Forum: Bugs
Topic: "format not a string literal and no format arguments"
Replies: 1
Views: 375

Re: "format not a string literal and no format arguments"

It's fixed now in the git repo. Thanks for pointing it out.

https://github.com/TomenetGame/tomenet/ ... d6d2df0894
by mikaelh
Mon Jul 11, 2022 10:11 pm
Forum: General Discussion
Topic: [HOWTO] Build and run tomenet windows client on manjaro linux
Replies: 4
Views: 2778

Re: [HOWTO] Build and run tomenet windows client on manjaro linux

Congratulations, you figured out how me and C. Blue do most of the development work for the Windows client. :D Btw, you should install SDL2 now. Looks like C. Blue decided to migrate to SDL2 just two days after you posted your instructions. I have some old instructions on how to manually cross-compi...
by mikaelh
Sat Jun 19, 2021 9:01 pm
Forum: General Discussion
Topic: #tomenet IRC channel has moved to Libera Chat
Replies: 0
Views: 2716

#tomenet IRC channel has moved to Libera Chat

The #tomenet IRC channel has moved over to Libera Chat because Freenode has launched a new network without migrating over user and channel registrations.
by mikaelh
Sat Jan 02, 2021 4:38 pm
Forum: Bugs
Topic: Elven Cloak of Protection without luck [SOLVED]
Replies: 2
Views: 9795

Re: Elven Cloak of Protection without luck

It's just a bug in the character sheet. Should be fixed now with this commit:
https://github.com/TomenetGame/tomenet/ ... 84272053b7
by mikaelh
Sun Nov 15, 2020 11:51 am
Forum: General Discussion
Topic: [SOLVED] Self compiled server isn't working
Replies: 2
Views: 6352

Re: Self compiled server isn't working

You should probably compile the server without SDL. SDL is only needed to build the client with sound support and it seems to break the server somehow.
by mikaelh
Sat Nov 07, 2020 8:31 pm
Forum: General Discussion
Topic: [SOLVED] client/w_play.c: No such file or directory
Replies: 6
Views: 8479

Re: [SOLVED] client/w_play.c: No such file or directory

Yeah, I think 4.7.2 doesn't compile with newer versions of glibc. The issue was that player.pkg is generated by passing it through the C preprocessor (cpp). The preprocessor injects a file from glibc at the beginning. That file had a comment block with a URL that tolua chokes on. We had a hack in ou...
by mikaelh
Tue Jun 23, 2020 9:43 pm
Forum: Ideas
Topic: [idea] Graphics
Replies: 4
Views: 10618

Re: [idea] Graphics

Interesting work. I'll need to test it when I have more time. Windows client runs just fine under Wine so you don't actually needs Windows for anything. That's what me and C. Blue do most of the time anyway. Just install the MinGW-w64 cross compiler. There's a separate makefile.mingw for cross compi...
by mikaelh
Sun Apr 05, 2020 4:31 pm
Forum: Bugs
Topic: Client flickering after window occlusions [Linux client 4.7.2]
Replies: 4
Views: 13484

Re: Client flickering after window occlusions [Linux client 4.7.2]

Yeah, it should be fine without the +1.

I see you also removed the struct copy. I didn't complain about the struct copy because it gets optimized away by the compiler. So the main benefit is that the code is more compact.

I merged the pull request.
by mikaelh
Sun Apr 05, 2020 12:35 pm
Forum: General Discussion
Topic: TomeNET on Github
Replies: 2
Views: 7742

TomeNET on Github

Our git repository is now available on Github:

https://github.com/TomenetGame/tomenet

The early history was imported from CVS so it shows up a bit differently.
by mikaelh
Sun Apr 05, 2020 10:39 am
Forum: Bugs
Topic: Client flickering after window occlusions [Linux client 4.7.2]
Replies: 4
Views: 13484

Re: Client flickering after window occlusions [Linux client 4.7.2]

Nice work. I cherry-picked it into our git repository now. Your fix is quite similar to the latest Angband code: https://github.com/angband/angband/blob/master/src/main-x11.c#L1834 I think the " + 1" isn't necessary for x2 and y2. The Angband code is rounding down all the results. Angband ...