Page 1 of 1

Problem Hosting STK server on OSX

PostPosted: 13 Jun 2019, 22:25
by sNuntz
Hi,
I'm trying hosting STK server on Mac Osx
I tried to compile STK with -DSERVER_ONLY=ON
When STK start in a terminal it ends with an error message: "[fatal ] main: Couldn't initialise irrlicht device. Quitting."

Someone know a beginner's guide for hosting STK server?
Sorry for my bad english, i prefer italian

Re: Problem Hosting STK server on OSX

PostPosted: 14 Jun 2019, 03:21
by benau
https://github.com/supertuxkart/stk-cod ... WORKING.md

You can just use the normal stk binary, it should work too

Re: Problem Hosting STK server on OSX

PostPosted: 15 Jun 2019, 13:29
by sNuntz
Thanks for the quick response
I was able to start the server
What's the difference between mine and that marked with ☆★STK★☆ ?

Re: Problem Hosting STK server on OSX

PostPosted: 15 Jun 2019, 19:16
by sNuntz
Now i want to try server management
i run "sqlite3 stkservers.db" in a terminal
create a blank file
I can't do anything else
Someone have some advice?
Sorry i'm a newbie

Re: Problem Hosting STK server on OSX

PostPosted: 16 Jun 2019, 01:24
by benau
☆★STK★☆ are servers recommended by stk team

the database will be written when new players connect / disconnect, though you don't seem to follow advice on max players limit

Re: Problem Hosting STK server on OSX

PostPosted: 16 Jun 2019, 09:33
by benau
If Mini7 STK server is yours, it doesn't seem to compile in latest master (so server management is useless anyway)

Re: Problem Hosting STK server on OSX

PostPosted: 16 Jun 2019, 11:01
by sNuntz
I downloaded version 1.0 for mac
In a terminal type "/Applications/supertuxkart.app/Contents/MacOS/supertuxkart --server-config=mini7_config.xml --network-console"
The server start
but the database is not written

Now i try to set "<ranked value="true" />" in config but should I ask someone for this ?

Re: Problem Hosting STK server on OSX

PostPosted: 16 Jun 2019, 16:42
by benau
u need to compile git stk-code yourself or wait for next stable release, which should be soon (~2-3 weeks, alayan!)

Re: Problem Hosting STK server on OSX

PostPosted: 16 Jun 2019, 20:11
by sNuntz
I tried to compile the stk-code, but afterwards I am stuck on the error message: "[fatal] main: Failed to initialize the irrlicht device.

Re: Problem Hosting STK server on OSX

PostPosted: 17 Jun 2019, 21:43
by QwertyChouskie
I can confirm the issue on my system, opened https://github.com/supertuxkart/stk-code/issues/3965 to track the bug.

Re: Problem Hosting STK server on OSX

PostPosted: 03 Jul 2019, 15:56
by benau
Would you please stop creating a ranked server without permission?

Re: Problem Hosting STK server on OSX

PostPosted: 03 Jul 2019, 18:59
by sNuntz
Sorry
Will I be able to host a ranked server in the future?
what can I do to get permission?

Re: Problem Hosting STK server on OSX

PostPosted: 06 Jul 2019, 19:12
by benau
Sorry, we already have enough ranked servers.

And can you git pull and try server only build in osx again?

Re: Problem Hosting STK server on OSX

PostPosted: 07 Jul 2019, 19:05
by sNuntz
Can i tried to host server build on osx again
In the latest git solved -DSERVER_ONLY=ON compiling's problem

But I still haven't figured out how to get the sqlite3 database written by stk
I created the file stkservers.db but it remains blank

Re: Problem Hosting STK server on OSX

PostPosted: 07 Jul 2019, 19:27
by benau
<sql-management value="true" /> ?