Menu

#17 game looks stuck after a while

open
server (11)
5
2006-11-04
2006-11-04
Simon
No

the server is running for a few days now, but the game
seems to be stuck. I can't colonize planets and can't
create more ships.
i used the
HSQLDB
and got this in my db directory
server/db $ ll
-rw-r--r-- 1 twist users 16 4. Nov 10:25 game-
wgdeutz.db.lck
-rw-r--r-- 1 twist users 22639958 4. Nov 10:16 game-
wgdeutz.db.log
-rw-r--r-- 1 twist users 411 2. Nov 12:55 game-
wgdeutz.db.properties
-rw-r--r-- 1 twist users 620754 2. Nov 12:55 game-
wgdeutz.db.script
server/db $

the attached screen shot shows why i mean stuck you
can see that the col ship is build but it won't be
ready and come out so i can use it

Discussion

  • Simon

    Simon - 2006-11-04

    game got stucked?

     
  • Simon

    Simon - 2006-11-04

    Logged In: YES
    user_id=1121598

    now i stoped the server and if i try to restart it (restart + loading the game files) i got this in the server console:
    10:46:26.514 EVENT Starting Jetty/4.2.9
    10:46:27.017 EVENT Started WebApplicationContext[/,DarkWorld Web Administrator]
    10:46:27.193 EVENT Started SocketListener on 0.0.0.0:9042
    10:46:27.193 EVENT Started org.mortbay.jetty.Server@c8f6f8
    04.11.2006 10:46:42 darkWorld.admin.GameImpl resume
    INFO: Initialized game simulation DB in 0.0
    10:46:57.285 WARN!! Exception for /gameDispatcher
    java.lang.NullPointerException
    at darkWorld.sim.Probe.initializeFromPersistentData(Probe.java:423)
    at darkWorld.sim.data.PersistenceManager.finishRestoration(PersistenceManager.java:143)
    at darkWorld.sim.data.SimDataFacade.restore(SimDataFacade.java:116)
    at darkWorld.sim.SimImpl.loadData(SimImpl.java:306)
    at darkWorld.admin.GameImpl.resume(GameImpl.java:314)
    at darkWorld.webAdmin.GameServlet.service(GameServlet.java:98)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
    at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
    at org.mortbay.http.HttpServer.service(HttpServer.java:863)
    at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)

     
  • Keith Turner

    Keith Turner - 2006-11-06

    Logged In: YES
    user_id=28123

    In reponse to your first comment, do you see any exceptions
    in the server logs?

    Your second post exposes a seperate bug related to
    reloading, I fixed this bug and checked it into CVS.

     
  • Simon

    Simon - 2006-11-06

    Logged In: YES
    user_id=1121598

    I'm sorry that was my first game i set up so i didn't store the log files

     

Log in to post a comment.

MongoDB Logo MongoDB