Help wanted / HowTo: Dedicated hosting
Moderator: Moderators
Re: Help wanted / HowTo: Dedicated hosting
Also /kill - can it be done so that it exits clients instead od displaying stats screen?
It would be very usefull for rehosting early - often people are AFK and rehost fails because people failed to close spring and cant join rehosted game.
It would be very usefull for rehosting early - often people are AFK and rehost fails because people failed to close spring and cant join rehosted game.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Help wanted / HowTo: Dedicated hosting
NoLicho wrote:Also /kill - can it be done so that it exits clients instead od displaying stats screen?
It would be very usefull for rehosting early - often people are AFK and rehost fails because people failed to close spring and cant join rehosted game.
Re: Help wanted / HowTo: Dedicated hosting
Why does it work without dedicated then?
If host exits game before game starts, clients quit instantly..
If host exits game before game starts, clients quit instantly..
Re: Help wanted / HowTo: Dedicated hosting
Also it seems that dedicated is sending "ready" to autohost even before people select point and click ready
Re: Help wanted / HowTo: Dedicated hosting
Currently, the dedicated server only sends PLAYER_JOINED messages when players manage to get in the game, not when they really connect on the socket. However, when a player timeouts, the dedicated server sends PLAYER_LEFT message. So if the player timeouts at start, without getting in the game, then the autohost receive a PLAYER_LEFT message with an unknown playerId since the PLAYER_JOINED message hasn't been received.
Are you sure ? It seems to work for me: the dedicated server sends "PLAYER_READY,<playerId>,0" to set ready status to 0 when player joins, then it sends "PLAYER_READY,<playerId>,1" when player clicks on ready.Licho wrote:Also it seems that dedicated is sending "ready" to autohost even before people select point and click ready
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Help wanted / HowTo: Dedicated hosting
Didn't remember it does this when hosting normal. Will fix it when I have time.Licho wrote:Why does it work without dedicated then?
If host exits game before game starts, clients quit instantly..
Re: Help wanted / HowTo: Dedicated hosting
This used to work for me up until recent versions.Are you sure ? It seems to work for me: the dedicated server sends "PLAYER_READY,<playerId>,0" to set ready status to 0 when player joins, then it sends "PLAYER_READY,<playerId>,1" when player clicks on ready.Licho wrote:Also it seems that dedicated is sending "ready" to autohost even before people select point and click ready
Note that I run dedicated server without actual map or mod file.
Re: Help wanted / HowTo: Dedicated hosting
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'd like to try an alternative to springie that doesn't involve coding in .NET if I need to make changes. This applies to Mono as well.
Re: Help wanted / HowTo: Dedicated hosting
This works, probably some wrong going experiment with dedicated server.Licho wrote:This used to work for me up until recent versions.Are you sure ? It seems to work for me: the dedicated server sends "PLAYER_READY,<playerId>,0" to set ready status to 0 when player joins, then it sends "PLAYER_READY,<playerId>,1" when player clicks on ready.Licho wrote:Also it seems that dedicated is sending "ready" to autohost even before people select point and click ready
Note that I run dedicated server without actual map or mod file.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Help wanted / HowTo: Dedicated hosting
I tried and failed to compile the dedicated server with Debian. I did a complete checkout of the spring-svn from svn://caspring.org:3691/trunk and ran cmake like stated in the first post.
This is what I get:
What am I doing wrong? Thanks in advance!
This is what I get:
Code: Select all
nxxs@stan:~/spring/trunk/tools/DedicatedServer$ cmake . && make
CMake Error at CMakeLists.txt:49 (install):
install TARGETS given no LIBRARY DESTINATION for shared library target
"springserver".
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.6)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Help wanted / HowTo: Dedicated hosting
Code: Select all
cd ~/spring/trunk/
cmake .
make spring-dedicated
Re: Help wanted / HowTo: Dedicated hosting
Can you also add a replay-saving feature to the dedicated server (it could also use a cli-argument to enable it if someone doesn't want replays of the dedicated server)
Re: Help wanted / HowTo: Dedicated hosting
Yeah, this would be great.
Better yet as a script options.
Better yet as a script options.
Re: Help wanted / HowTo: Dedicated hosting
I want ask again for a replay support of the dedicated server.. so it would be possible to generate some statistics for autohosts out of them.
Re: Help wanted / HowTo: Dedicated hosting
Andre, if you want ingame statistics, its now possible to send data from spring to springie. Its being used by planetwars.
But you need modside support for this (to send you data)
But you need modside support for this (to send you data)