Page 1 of 1

The game is closed.

PostPosted: Wed May 28, 2008 6:16 pm
by beeblebrox
So, seemingly at random, when I try to connect to my server ("House of Beeble" on DAoC Portal), I get the "The game is closed" message. Looking at my "start DoLServer" window shows no errors or anything, yet I (or others) cannot connect. If I EXIT and restart the server, everything is fine... for a while.

Any ideas? Or, better yet, where can I look for an error log of some kind?

Re: The game is closed.

PostPosted: Wed May 28, 2008 6:30 pm
by stealth215

Re: The game is closed.

PostPosted: Wed May 28, 2008 6:59 pm
by beeblebrox
Nope. The only new script added is the one to auto-update the DAoC Portal. I could remove that...

Re: The game is closed.

PostPosted: Wed May 28, 2008 11:23 pm
by beeblebrox
I removed everything except Auto.cs, buffbot5.cs, and the 'porter scripts I have (one for each realm). Not it, the problem still happens.

The firewall service isn't even installed (this is a virtualized Windows Server with plenty of RAM and HD space).

I can run my WoW shard just fine on this setup, no issues. When I turn that off and go DAoC, though, I eventually get the "Game closed" message.

Any other places to look?

Re: The game is closed.

PostPosted: Thu May 29, 2008 5:42 am
by DOLBot
Hi,

I was the original poster and for a while i had no problems. Yesterday however I started getting this message again.

The server is working fine but then the game closed message prevents people logging in, this includes me lol.

back to square one :(

Isus

Re: The game is closed.

PostPosted: Thu May 29, 2008 6:42 am
by Tiv
in DOL server console check this:
Code: Select all
/code print(GameServer.Instance.ServerStatus);
i'm sure i recieve GSS_Closed

so.. i think problem in strange code in GameClient
Code: Select all
...
public override void OnConnect()
{
if (ServerProperties.Properties.ALLOW_DUAL_LOGINS == false)
...
GameServer.Instance.Close();
...
i'm not sure why on multiple login from one IP server must close connection status if in properties setted ALLOW_DUAL_LOGINS = false

so.. for not fixed code just set ALLOW_DUAL_LOGINS = TRUE in serverproperties
it allow multiple logins from one IP, but not closing server

Re: The game is closed.

PostPosted: Thu May 29, 2008 6:53 am
by Tiv
p.s. for me more logic will be remove this code from GameClient.OnConnect to AbstractServerRules.IsAllowedToConnect

Re: The game is closed.

PostPosted: Thu May 29, 2008 8:41 am
by Etaew
Yes, it would make sense to move it Tiv, but I'm not going to do that, instead I'll fix the bug by replacing GameServer.Instance.Close() with OnDisconnect(); which will disconnect the client.

Re: The game is closed.

PostPosted: Thu May 29, 2008 2:25 pm
by beeblebrox
I get the same "Closed" status with that /print command. Nifty.

So if I want to change the GameClient.cs line, can I just drop the modded GameClient.cs into my Scripts folder, or do I need to recompile?

Re: The game is closed.

PostPosted: Thu May 29, 2008 2:56 pm
by beeblebrox
And, would it simply change from GameServer.Instance.Close(); to OnDisconnect();, or does it need to be GameServer.OnDisconnect();?

Re: The game is closed.

PostPosted: Thu May 29, 2008 3:52 pm
by Etaew
OnDisconnect() is fine