Help wanted / HowTo: Dedicated hosting - Page 4

Help wanted / HowTo: Dedicated hosting

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Help wanted / HowTo: Dedicated hosting

Post by bibim »

Hum, Spring no longer spawns a commander at start if you are alone in the game. The "You won" screen appears as before but you're no longer able to move this screen and continue to play. So I tried to add a bot but this didn't work.
Is there a way to play as the only one human player on a dedicated server ?
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Help wanted / HowTo: Dedicated hosting

Post by LordMatt »

Do you mean when you launch from spring.exe, or from the lobby? IIRC it never worked that way from the lobby.
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Help wanted / HowTo: Dedicated hosting

Post by bibim »

I've just checked with 0.76b1 from the lobby, and I can play alone even if the "You won the game" screen appears at start. You just have to move it in a corner for example and it's ok.
Posts
Posts: 63
Joined: 02 Oct 2007, 04:00

Re: Help wanted / HowTo: Dedicated hosting

Post by Posts »

need some help with your autohost

it says svn6004 in the battle description, is this info kept up to date?

from #buildserv i can get 6003 and 6005 but not 6004

!rebuild linux and !rehost doesn't seem to help

won't let me start/forcestart unless i'm synced
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Help wanted / HowTo: Dedicated hosting

Post by bibim »

Posts wrote:need some help with your autohost
No problem, thank you for taking a look at it ;)
Posts wrote:it says svn6004 in the battle description, is this info kept up to date?
Yes, this information is automatically updated each time a "!rebuild linux" command is successful. The problem is that the dedicated server no longer compiles on my system, due to following error (maybe related to amd64 architecture and/or configure script)
Posts wrote:!rebuild linux and !rehost doesn't seem to help
Actually, "!rebuild linux" compiles Spring successfully, except the dedicated server part. So anyway, even if you managed to start the game it wouldn't work because there is no dedicated server binary available :?
Posts wrote:from #buildserv i can get 6003 and 6005 but not 6004
You can make BuildServ build Windows binaries for rev 6004 by entering "!rebuild 6004" in #buildserv. However it wouldn't help in your case, because the base files used by the autohost actually are up to date (if Spring itself compiles, base files are updated, even if the dedicated server part doesn't compile).

Unfortunately the latest checksum calculation algorithm in SVN produces inconsistent results on my Linux server (maybe due to amd64 architecture too ?). So, currently, even if you had the same unitsync library and base files versions as the dedicated server, you wouldn't be in sync :(
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Help wanted / HowTo: Dedicated hosting

Post by bibim »

bibim wrote:the dedicated server no longer compiles
bibim wrote:the latest checksum calculation algorithm in SVN produces inconsistent results
These bugs have been fixed by Auswaschbar and trepan, so now it should be possible to launch games on the dedicated autohost.

However, I think there are 2 new problems:
- current SVN unitsync library doesn't work very well with TASClient (it crashes for me when joining a battle lobby)
- the dedicated server no longer sends the SERVER_QUIT message when shutting down
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Help wanted / HowTo: Dedicated hosting

Post by Auswaschbar »

bibim wrote:
bibim wrote:- the dedicated server no longer sends the SERVER_QUIT message when shutting down
I have no clue where that piece of code has gone, but it should now work again.
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Help wanted / HowTo: Dedicated hosting

Post by bibim »

bibim wrote:- current SVN unitsync library doesn't work very well with TASClient (it crashes for me when joining a battle lobby)
And concerning this, I found that it is due to the "SpringData" entry in windows registery. This entry seems to be used now by unitsync to get the "read-write data directory", however it doesn't seem to be updated on install if Spring is already installed somewhere :/
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Help wanted / HowTo: Dedicated hosting

Post by bibim »

I got a client-side "Exception: Access violation (0xc0000005)" when trying to launch a game on the dedicated server (r6108). Here is the stacktrace:

Code: Select all

rts/Game/UI/StartPosSelecter.cpp:96
rts/Game/Game.cpp:2766
rts/System/SpringApp.cpp:798
rts/System/SpringApp.cpp:983
rts/System/Main.cpp:49
rts/System/Main.cpp:111
Mephistos
Posts: 50
Joined: 20 Jun 2008, 06:48

Re: Help wanted / HowTo: Dedicated hosting

Post by Mephistos »

bibim,

have you done any further development on this?

I think it's time to start bringing up a host running this.
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Help wanted / HowTo: Dedicated hosting

Post by bibim »

Spads development went in stand-by mode some time ago, due to various reasons (new Lobby server coming, dedicated server no longer compiling with scons, BuildServ evolutions, less free time etc.). I will go back working on it, but not right now. And I don't think it's really a problem for AutoHost owners, since Springie works with dedicated server too.
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Help wanted / HowTo: Dedicated hosting

Post by bibim »

bibim wrote:I've linked my autohost to BuildServ, so if you want you can test by yourself.

Entering "!rebuild linux" in #buildserv channel will rebuild my local Spring linux binaries from SVN repository, including the dedicated server.

Spads is the AutoHost running this dedicated server on main lobby server (password is "aaa"). The start pos mode can be changed by entering "!bset startPosType <n>" (n=0, 1, or 2) in the battle lobby. "!start" can be used to start a game, and "!say <command>" to send something on the autohost interface while in game.
This is back online, but following changes have been applied:
  • The AutoHost running SVN dedicated server (0.77b4+) is "SpadsSvn". Now "Spads" is simply using the standard release of Spring dedicated server (0.77b4).
  • To update "SpadsSvn" dedicated server binaries, "!rebuild sys=linux buildsys=cmake" must be entered in #buildserv instead of "!rebuild linux", because it's no longer possible to build dedicated server through scons.
andre
Posts: 58
Joined: 21 Jun 2008, 04:52

Re: Help wanted / HowTo: Dedicated hosting

Post by andre »

bibim wrote:Spads development went in stand-by mode some time ago, due to various reasons (new Lobby server coming, dedicated server no longer compiling with scons, BuildServ evolutions, less free time etc.). I will go back working on it, but not right now. And I don't think it's really a problem for AutoHost owners, since Springie works with dedicated server too.
I think that's a problem, Springie is only running under Windows, so users with a Linux-Server can't autohost games with the dedicated server
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Help wanted / HowTo: Dedicated hosting

Post by bibim »

andre wrote:I think that's a problem, Springie is only running under Windows, so users with a Linux-Server can't autohost games with the dedicated server
I though Tizbac had fixed Springie for Mono ?
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Help wanted / HowTo: Dedicated hosting

Post by Licho »

Springie now works under linux - official version (from SVN), no changes needed.
Run with -nogui if desired.
No unitsync needed, no spring installation needed with latest dedicated.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Help wanted / HowTo: Dedicated hosting

Post by Licho »

Just to remind - 2 issues remain with dedicated:

1) fixed and random start positions dont work (appear top left)
2) server does not send quit message to client when quitting
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Help wanted / HowTo: Dedicated hosting

Post by Auswaschbar »

http://jobjol.nl/1516
Now has working startpositions. I'm afraid linux users had to compile it from svn (still working with 0.77b4).
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Help wanted / HowTo: Dedicated hosting

Post by Licho »

User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: Help wanted / HowTo: Dedicated hosting

Post by Licho »

When you have time, /cheat command would be handy too :)
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: Help wanted / HowTo: Dedicated hosting

Post by bibim »

Licho wrote:When you have time, /cheat command would be handy too :)
It seems to work already :?
Post Reply

Return to “Engine”