Wrong "undecided" games with Spring 94.1

Wrong "undecided" games with Spring 94.1

SpringRTS Perl Autohost for Dedicated Server

Moderators: Moderators, Lobby Developers, SPADS AutoHost

Post Reply
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Wrong "undecided" games with Spring 94.1

Post by Jools »

I guess I should post here instead: spads will most of the time report wrong winner from the game, or report that the game was undecided (stopped) although it wasn't. I also takes very long time after the game is finished until the autohost exits. I think it gets stuck in some loop.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: SPADS AutoHost beta release

Post by abma »

thats a spring 94.1 bug... related to that replays don't work on differnt os / arch.
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

Jools wrote:I guess I should post here instead: spads will most of the time report wrong winner from the game
Aw that's bad :?

As abma said, there is a bug in current Spring release which prevents spring-dedicated from receiving/parsing some gameover messages. So when this happens, the game needs to be stopped manually or it will take very long to stop. But I wasn't aware of bad winning ally-team reporting cases, that's annoying...

Btw this bug alone should have motivated a bugfix release when it got detected imo, it annoyed us for so long now... And all these unwatchable replays auto-uploaded on dansan's site :roll:
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: SPADS AutoHost beta release

Post by abma »

only solution atm is: annoy a bit more about 95.0 getting released :-|
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: SPADS AutoHost beta release

Post by Jools »

Well, they are watchable on linux I assume. You could always convert them somehow, no?

Also: I'm not really sure we had wrong people winning, but I can confirm we had undecided games when there was a winner.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: SPADS AutoHost beta release

Post by Silentwings »

But I wasn't aware of bad winning ally-team reporting cases, that's annoying...
I've also never seen these, are you sure they really exist + got a demo of it?
User avatar
bibim
Lobby Developer
Posts: 952
Joined: 06 Dec 2007, 11:12

Re: SPADS AutoHost beta release

Post by bibim »

Jools wrote:Well, they are watchable on linux I assume.
I don't know exactly. For some reason afaik my hosts aren't impacted by this bug (the game auto-stops normally, and I can watch the replays using windows binaries whereas my hosts are under Linux). So this bug is a bit obscure to me tbh...
Jools wrote:You could always convert them somehow, no?
If all the required info really is in the demo and if someone coded such a converter, I guess yes. But does spring-dedicated write packets it can't parse in the demo?
Jools wrote:Also: I'm not really sure we had wrong people winning, but I can confirm we had undecided games when there was a winner.
Yes this happens if spring-dedicated wasn't able to receive/parse any gameover message.
User avatar
FabriceFABS
Posts: 354
Joined: 28 Jul 2010, 16:20

Re: SPADS AutoHost beta release

Post by FabriceFABS »

Silentwings wrote:I've also never seen these, are you sure they really exist + got a demo of it?
Same findings.

Also, I agree for «undecided games». Never saw any wrong winners for your information.
[ACE] hosts also hangs @ the end of some games for I think 20% of them...
I'm not sure when this occurs, but maybe when some of players has resigned (and not taken-back by the team) ?
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: SPADS AutoHost beta release

Post by Jools »

Ok, I investigated the one game where everybody said the winner was wrong. It wasn't, the winner was same in the game as what was reported by spads, but it was hard to see one lone fink that caused other team to win.*

So then I can just confirm undecided games and not wrong winners. Here is the replay in question, it's just 5 mins long and offers typical xta bickering as well as the difficulties with deciding who should win.

http://replays.springrts.com/replay/bce ... 61cdf4421/

* In this xta version, the commander ends mode is not fully implemented, and the winner will be the guy who has the last unit alive; the commander death just causes all units to explode, so the team with units farthest from commander explosion will win. Nobody saw the fink and therefore thought there was an error in the game.
Attachments
20131104_210343_duck_94.sdf
4 way ffa on duck
(191.85 KiB) Downloaded 6 times
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: SPADS AutoHost beta release

Post by Silentwings »

I suggest leave it and see if anything goes wrong in 95.0, since there has been a fix.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: SPADS AutoHost beta release

Post by dansan »

bibim wrote:For some reason afaik my hosts aren't impacted by this bug (the game auto-stops normally
My guess is, that only 64bit autohosts are affected.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: SPADS AutoHost beta release

Post by dansan »

Jools: I have installed the same system, just with 32bit binaries right besides the current one. Please try running semprini from this one, to see if "undecided" matches disappear (but clients on 64bit or different OS may not be able to replay them).
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: SPADS AutoHost beta release

Post by abma »

imo this bug occours when:

spring-dedicated is 64 bit and all clients are 32 bit or vice versa. if one client is the same architecture a "valid" packet is received by spring dedicated. but shouldn't matter at all, 95.0 is coming.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: SPADS AutoHost beta release

Post by Jools »

I think we always have both 32-bit and 64-bit people playing. I would assume so at least. I will try the other binary though and see what happens.
Post Reply

Return to “SPADS AutoHost”