spectate command not working

spectate command not working

Postby thielet » 01 Jun 2021, 12:31

Hey,
I have a problem with my dedicated server.
Every command is working, except /spectate 1 or 0
It always says "unknown command" but all the other commands are working fine.

Does someone know how to fix it?
thielet
 
Posts: 4
Joined: 31 May 2021, 17:08

Re: spectate command not working

Postby benau » 01 Jun 2021, 18:01

Make sure your server stk version is up-to-dated, this command works on public server
Image
benau
STK Moderator
 
Posts: 407
Joined: 08 Dec 2015, 17:32

Re: spectate command not working

Postby thielet » 03 Jun 2021, 16:42

benau {l Wrote}:Make sure your server stk version is up-to-dated, this command works on public server


I switched the server to public but still not working.
Server version is 1.2, is this the latest version?
thielet
 
Posts: 4
Joined: 31 May 2021, 17:08

Re: spectate command not working

Postby benau » 03 Jun 2021, 18:47

I meant every public server out there works....

you can see if strings bin/supertuxkart | grep spectate shows "Usage: spectate [0 or 1], before game started"
Image
benau
STK Moderator
 
Posts: 407
Joined: 08 Dec 2015, 17:32

Re: spectate command not working

Postby thielet » 04 Jun 2021, 18:44

Okay, maybe I have to make my problem more precise.

I know that I can spectate races with /spectate on public servers.
But I'm organising a STK tournament and I would like to use a private server instead of an public one.

The server is up and running and is working. The /spectate command is the only "problem" that is left.
It would be nice to join with the players and see the start, instead of joining the race after it started.

All I wanted to know is, if there is a way to fix this problem.
Sorry for my stupid answer earlier.
thielet
 
Posts: 4
Joined: 31 May 2021, 17:08

Re: spectate command not working

Postby benau » 05 Jun 2021, 04:27

Only reason for not working spectate command is that your stk server binary is compromised

like I said you can strings bin/supertuxkart | grep spectate and see if result contains "Usage: spectate [0 or 1], before game started"

I don't know what to fix your problem, unless you give me access to your server so I can fix myself

you can send an email to supertuxkart.official@gmail.com if you want to
Image
benau
STK Moderator
 
Posts: 407
Joined: 08 Dec 2015, 17:32

Re: spectate command not working

Postby benau » 06 Jun 2021, 15:21

"Can" sorry...

If you want further remote debugging...
Image
benau
STK Moderator
 
Posts: 407
Joined: 08 Dec 2015, 17:32

Re: spectate command not working

Postby thielet » 07 Jun 2021, 10:25

benau {l Wrote}:Only reason for not working spectate command is that your stk server binary is compromised

like I said you can strings bin/supertuxkart | grep spectate and see if result contains "Usage: spectate [0 or 1], before game started"

I don't know what to fix your problem, unless you give me access to your server so I can fix myself

you can send an email to supertuxkart.official@gmail.com if you want to



we fixed it. It's working now.
Thank you :)
thielet
 
Posts: 4
Joined: 31 May 2021, 17:08

Who is online

Users browsing this forum: Google [Bot] and 1 guest