Was playing a game tonight and got the error message
in the status window (or whatever you call the topmost
text display) "The time limit on this game has expired
and will now be destroyed". It caused the game to
terminate. Which is very sad as I had the point lead.
The obvious question - is there a built in time limit
on games? I think we were around 1.5 hours in when it
occured (connection time to the game window). I don't
see anything mentioning one so I'll include as much
detail as I can.
- I was running the Server with no user database or
MySQL driver.
- Counting myself 5 clients were connected (1 observer)
- The message was displayed almost instantly after 1
player was disconnected (got dropped). He was able to
rejoin the active channel but not the game
- java version "1.5.0_06" (build 1.5.0_06-b05) running
on a Windows 2000 Pro system
- we had 1 previous game that was aborted during setup.
- Total server up time was betwen 2.5-3 hours
If there are any other details that I can fill in just
ask.
Below is the text from the server and client windows.
I don't see anything relevant but including on the off
chance it could help.
Server-------------------------------------------------
Java Settlers Server 1.0.6, 2001-2004 Robb Thomas
Network layer based on code by Cristian Bogdan.
No user database available: MySQL driver is unavailable
Users will not be authenticated.
My Client ---------------------------------------------
Connecting to xxx.xxx.xx.xx:8880
SOCPlayerClient treat ERROR - 0 >= 0
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
at java.util.Vector.elementAt(Unknown Source)
at java.awt.List.getItemImpl(Unknown Source)
at java.awt.List.getItem(Unknown Source)
at soc.client.SOCPlayerClient.addToGameList
(SOCPlayerClient.java:2543)
at soc.client.SOCPlayerClient.handleNEWGAME
(SOCPlayerClient.java:1422)
at soc.client.SOCPlayerClient.treat
(SOCPlayerClient.java:925)
at soc.client.SOCPlayerClient.run
(SOCPlayerClient.java:748)
at java.lang.Thread.run(Unknown Source)
SOCPlayerClient treat ERROR - 0 >= 0
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
at java.util.Vector.elementAt(Unknown Source)
at java.awt.List.getItemImpl(Unknown Source)
at java.awt.List.getItem(Unknown Source)
at soc.client.SOCPlayerClient.addToGameList
(SOCPlayerClient.java:2543)
at soc.client.SOCPlayerClient.handleNEWGAME
(SOCPlayerClient.java:1422)
at soc.client.SOCPlayerClient.treat
(SOCPlayerClient.java:925)
at soc.client.SOCPlayerClient.run
(SOCPlayerClient.java:748)
at java.lang.Thread.run(Unknown Source)
Logged In: YES
user_id=1477540
Found the "problem". There is a timer. Which I suppose
makes sense if you are running this on a web server. A
little irritating if you don't know about it and are
running it locally though.
So the original "bug" above can be ammended instead to say
that the *addtime* warning was not displayed in that game 5
minutes prior to the game ending.