Author Topic: [fixed] MG 3.5.3 beta1 - headless server (Rev 2815) kicks from game  (Read 826 times)

TotalNoob

  • Guest
Hi

Today Derek and me were having a duel on headless(engineer) server (Rev 2815). In the middle of the fight we just saw the finishing screen with our results (both with loss) and no error message (no information about server disconnect, nothing). Maybe there will be some log on the server. No idea how to reproduce this situation. I was playing Romans, Derek Norsemen, map Conflict, tileset Mediterran(?). The server was available to play just after we came back to the lobby and dissappeared after a while. Perhaps it was just shut down, maybe we should ask the owner. Time of our game: Tuesday, 15 November 2011, around 22:20 (GMT+1).
« Last Edit: 19 November 2011, 00:15:58 by softcoder »

treba

  • Guest
Re: MG 3.5.3 beta1 - headless server (Rev 2815) kicks from game
« Reply #1 on: 15 November 2011, 21:52:41 »
hey.
it was on my server (engineer) and there is the following log:
Code: [Select]
Di 15. Nov 22:19:30 CET 2011
Starting server...
Forcing quit after game has compelted [exit]
v3.5.3-beta1-GNUC: 40602-Nov 15 2011 20:21:50, SVN: [Rev: 2815], [STREFLOP]
Waiting for players to join and start a game...
Headless server is now running...
server command []
server command []
server command []
server command []
server command []
server command []
server command []
server command []
server command []
server command []
server command []
server command []
server command []
...

the file was about 4mb :/

i have a similar log from a game before, it starts the same and has about 20mb.

the server was not shut down in between and was still running after the "crash".
there is also a debugWorld.log, but i doubt there is anything usefull in it.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MG 3.5.3 beta1 - headless server (Rev 2815) kicks from game
« Reply #2 on: 15 November 2011, 22:01:16 »
It is possible that the network connection was lost to the server? The server command [] output means something was pressing on the keyboard of the server (or triggering a keyboard event)

treba

  • Guest
Re: MG 3.5.3 beta1 - headless server (Rev 2815) kicks from game
« Reply #3 on: 15 November 2011, 22:08:03 »
hehe thats funny.
it's a vps, i doubt it has a keyboard :)

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: MG 3.5.3 beta1 - headless server (Rev 2815) kicks from game
« Reply #4 on: 16 November 2011, 04:46:28 »
try the latest svn (if possible) and report back the modified output (I try to log more error conditions).

Thanks

UPDATE: Just added this special for vps's

./megalgest --headless-server-mode=vps

This will never try to read the local console for commands. This can be stacked with the existing exit command:

--headless-server-mode=exit,vps

Thanks
« Last Edit: 16 November 2011, 05:23:50 by softcoder »