Help wanted / HowTo: Dedicated hosting
Moderator: Moderators
Re: Help wanted / HowTo: Dedicated hosting
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 ?
Is there a way to play as the only one human player on a dedicated server ?
Re: Help wanted / HowTo: Dedicated hosting
Do you mean when you launch from spring.exe, or from the lobby? IIRC it never worked that way from the lobby.
Re: Help wanted / HowTo: Dedicated hosting
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.
Re: Help wanted / HowTo: Dedicated hosting
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
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
Re: Help wanted / HowTo: Dedicated hosting
No problem, thank you for taking a look at itPosts wrote:need some help with your autohost
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:it says svn6004 in the battle description, is this info kept up to date?
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 availablePosts wrote:!rebuild linux and !rehost doesn't seem to help
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).Posts wrote:from #buildserv i can get 6003 and 6005 but not 6004
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
Re: Help wanted / HowTo: Dedicated hosting
bibim wrote:the dedicated server no longer compiles
These bugs have been fixed by Auswaschbar and trepan, so now it should be possible to launch games on the dedicated autohost.bibim wrote:the latest checksum calculation algorithm in SVN produces inconsistent results
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
I have no clue where that piece of code has gone, but it should now work again.bibim wrote:bibim wrote:- the dedicated server no longer sends the SERVER_QUIT message when shutting down
Re: Help wanted / HowTo: Dedicated hosting
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 :/bibim wrote:- current SVN unitsync library doesn't work very well with TASClient (it crashes for me when joining a battle lobby)
Re: Help wanted / HowTo: Dedicated hosting
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:111Re: Help wanted / HowTo: Dedicated hosting
bibim,
have you done any further development on this?
I think it's time to start bringing up a host running this.
have you done any further development on this?
I think it's time to start bringing up a host running this.
Re: Help wanted / HowTo: Dedicated hosting
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.
Re: Help wanted / HowTo: Dedicated hosting
This is back online, but following changes have been applied: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.
- 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.
Re: Help wanted / HowTo: Dedicated hosting
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 serverbibim 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.
Re: Help wanted / HowTo: Dedicated hosting
I though Tizbac had fixed Springie for Mono ?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
Re: Help wanted / HowTo: Dedicated hosting
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.
Run with -nogui if desired.
No unitsync needed, no spring installation needed with latest dedicated.
Re: Help wanted / HowTo: Dedicated hosting
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
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
http://jobjol.nl/1516
Now has working startpositions. I'm afraid linux users had to compile it from svn (still working with 0.77b4).
Now has working startpositions. I'm afraid linux users had to compile it from svn (still working with 0.77b4).
Re: Help wanted / HowTo: Dedicated hosting
Start pos fixed, one more bug:
http://spring.clan-sy.com/mantis/view.php?id=1152
http://spring.clan-sy.com/mantis/view.php?id=1152
Re: Help wanted / HowTo: Dedicated hosting
When you have time, /cheat command would be handy too :)
Re: Help wanted / HowTo: Dedicated hosting
It seems to work alreadyLicho wrote:When you have time, /cheat command would be handy too :)
