Problem Hosting STK server on OSX

Problem Hosting STK server on OSX

Postby sNuntz » 13 Jun 2019, 22:25

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
sNuntz
 
Posts: 15
Joined: 13 Jun 2019, 20:12

Re: Problem Hosting STK server on OSX

Postby benau » 14 Jun 2019, 03:21

https://github.com/supertuxkart/stk-cod ... WORKING.md

You can just use the normal stk binary, it should work too
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Problem Hosting STK server on OSX

Postby sNuntz » 15 Jun 2019, 13:29

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

Re: Problem Hosting STK server on OSX

Postby sNuntz » 15 Jun 2019, 19:16

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
sNuntz
 
Posts: 15
Joined: 13 Jun 2019, 20:12

Re: Problem Hosting STK server on OSX

Postby benau » 16 Jun 2019, 01:24

☆★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
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Problem Hosting STK server on OSX

Postby benau » 16 Jun 2019, 09:33

If Mini7 STK server is yours, it doesn't seem to compile in latest master (so server management is useless anyway)
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Problem Hosting STK server on OSX

Postby sNuntz » 16 Jun 2019, 11:01

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 ?
sNuntz
 
Posts: 15
Joined: 13 Jun 2019, 20:12

Re: Problem Hosting STK server on OSX

Postby benau » 16 Jun 2019, 16:42

u need to compile git stk-code yourself or wait for next stable release, which should be soon (~2-3 weeks, alayan!)
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Problem Hosting STK server on OSX

Postby sNuntz » 16 Jun 2019, 20:11

I tried to compile the stk-code, but afterwards I am stuck on the error message: "[fatal] main: Failed to initialize the irrlicht device.
sNuntz
 
Posts: 15
Joined: 13 Jun 2019, 20:12

Re: Problem Hosting STK server on OSX

Postby QwertyChouskie » 17 Jun 2019, 21:43

I can confirm the issue on my system, opened https://github.com/supertuxkart/stk-code/issues/3965 to track the bug.
Contributor to/fan of STK (Upstreamed Cartoon theme, numerous random big fixes/tweaks)
User avatar
QwertyChouskie
 
Posts: 559
Joined: 29 Jun 2016, 14:57

Re: Problem Hosting STK server on OSX

Postby benau » 03 Jul 2019, 15:56

Would you please stop creating a ranked server without permission?
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Problem Hosting STK server on OSX

Postby sNuntz » 03 Jul 2019, 18:59

Sorry
Will I be able to host a ranked server in the future?
what can I do to get permission?
sNuntz
 
Posts: 15
Joined: 13 Jun 2019, 20:12

Re: Problem Hosting STK server on OSX

Postby benau » 06 Jul 2019, 19:12

Sorry, we already have enough ranked servers.

And can you git pull and try server only build in osx again?
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Problem Hosting STK server on OSX

Postby sNuntz » 07 Jul 2019, 19:05

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
sNuntz
 
Posts: 15
Joined: 13 Jun 2019, 20:12

Re: Problem Hosting STK server on OSX

Postby benau » 07 Jul 2019, 19:27

<sql-management value="true" /> ?
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Problem Hosting STK server on OSX

Postby sNuntz » 09 Nov 2019, 17:50

I think the server works fine
there is a way to see the messages written on it?
I read " Message received with type (a number)." in terminal's shell
sNuntz
 
Posts: 15
Joined: 13 Jun 2019, 20:12

Re: Problem Hosting STK server on OSX

Postby benau » 09 Nov 2019, 18:31

what message, player chat?
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Re: Problem Hosting STK server on OSX

Postby sNuntz » 09 Nov 2019, 20:47

Yes, if anyone enter in server alone,
send a chat message and leave server,
i can read it?
sNuntz
 
Posts: 15
Joined: 13 Jun 2019, 20:12

Re: Problem Hosting STK server on OSX

Postby benau » 10 Nov 2019, 02:39

if you enable sql-management, you can read it with sqlite3

chat message is not logged for stk servers
Image
benau
STK Moderator
 
Posts: 505
Joined: 08 Dec 2015, 17:32

Who is online

Users browsing this forum: No registered users and 1 guest