Page 1 of 2

Server Issue

Posted: Thu Feb 07, 2013 7:24 am
by risen_GER
Hey Guys,

at first, respect to that wonderful project! Nice work!


Now - the problem :D

I recently set up 2 Servers, one in original, one in vietnam. Both processes seem to run fine, both are administerable through bc2cc, but i only can connect to the one that starts up first.

All used Ports and the listed in FAQ got opened, even the port after the listed ones due to the higher port from second server.

List of data:

Servers: risen.eu
Ports: original:19567 vietnam: 19568


Ingame notice: "Connection lost to game server. Check your Internet."

Seems like both are listening to one port at a same time? But wich? And how to solve?
Any suggestions? :|


//Edit: What about that line in server logs?

Code: Select all

UTC 02/07/2013 07:16:57.410 Engine/Game/Server/Server.cpp(1160): "Main": Info: Attempting listen to :1003

Re: Server Issue

Posted: Thu Feb 07, 2013 5:44 pm
by risen_GER
Ok, Problem seems solved. Changed the port-distance between both servers a little, now everything is fine...

original: 19567
vietnam: 19572

Re: Server Issue

Posted: Mon Feb 11, 2013 6:35 am
by risen_GER
I know about that double-posting rule, but i don't see the use of opening a new thread and fill in all the server Data once again?

The "original" server had at least two, if not even three hangs/crashes. Process is running, but no response to anything. Last lines of that logfile are these:

Code: Select all

[UTC 02/10/2013 17:59:17.936] Engine/Game/Online/Engine/Server/ServerPeer.cpp(1001): "Main": Info: Net status: 24 connections (2 throttled), 123659 Bps out, 21822 Bps in
[UTC 02/10/2013 17:59:19.870] Engine/Game/Server/Presence/ServerVoiceManager.cpp(204): "Main": Info: releaseVoiceReference(36631) leaveAutomatic: 0 shouldLeaveSquad: 1
[UTC 02/10/2013 17:59:19.870] Engine/Game/Server/Presence/ServerVoiceManager.cpp(144): "Main": Info: obtainVoiceReference(36631) joinAutomatic: 0 shouldJoinSquad: 1
[UTC 02/10/2013 17:59:21.037] Engine/Game/GameplayCommon/Time/GameTimer.cpp(354): "Main": Info: Time: 900.007 Frames: 300 Slept: 8.3704 Lost: 0 Bad frames: 1
[UTC 02/10/2013 17:59:23.872] Engine/Game/Server/Presence/ServerVoiceManager.cpp(204): "Main": Info: releaseVoiceReference(36631) leaveAutomatic: 0 shouldLeaveSquad: 1
[UTC 02/10/2013 17:59:23.872] Engine/Game/Server/Presence/ServerVoiceManager.cpp(144): "Main": Info: obtainVoiceReference(36631) joinAutomatic: 0 shouldJoinSquad: 1
[UTC 02/10/2013 17:59:25.772] Engine/Game/Server/Presence/ServerVoiceManager.cpp(204): "Main": Info: releaseVoiceReference(36631) leaveAutomatic: 0 shouldLeaveSquad: 1
[UTC 02/10/2013 17:59:25.772] Engine/Game/Server/Presence/ServerVoiceManager.cpp(144): "Main": Info: obtainVoiceReference(36631) joinAutomatic: 0 shouldJoinSquad: 1
[UTC 02/10/2013 17:59:31.037] Engine/Game/GameplayCommon/Time/GameTimer.cpp(354): "Main": Info: Time: 910.007 Frames: 300 Slept: 8.17443 Lost: 0 Bad frames: 0
[UTC 02/10/2013 17:59:41.037] Engine/Game/GameplayCommon/Time/GameTimer.cpp(354): "Main": Info: Time: 920.006 Frames: 300 Slept: 7.8221 Lost: 0 Bad frames: 0
[UTC 02/10/2013 17:59:49.907] Engine/Game/GameplayCommon/Entities/Controllables/Human/FakeAnimatedSoldierCollision.cpp(505): "Main": Assert: (false) Found no matching poses...will not hit anything.


Server was full at this time, and if I am right, RobbingHood was playing, too? (Only name in logs where I am sure to meet in forums :mrgreen: ) Perhaps you can tell me what happened ingame?

Re: Server Issue

Posted: Mon Feb 11, 2013 9:53 am
by RobbingHood
Hm, I don't know what that error means, but you can try to add those parameters to your ~StartServer.bat

Code: Select all

-displayErrors 0 -displayAsserts 0


The error should no longer be displayed with these parameters enabled. Hope that helps.

and if I am right, RobbingHood was playing, too?


Hm, might be...On Harvest Day? If so, then I really sucked that round :lol: Also, my ingame Nick is [GER] RobbingHood

Re: Server Issue

Posted: Mon Feb 11, 2013 4:31 pm
by risen_GER
Hm, that only would prevent the server from logging or putting out any errors, but would not preserve errors to occur. Am I right?


RobbingHood wrote:Hm, might be...On Harvest Day? If so, then I really sucked that round :lol: Also, my ingame Nick is [GER] RobbingHood


Yes, Harvest Day. If GER is your Clantag it definately was you enjoying that serverhang... Do you still know what happened ingame? Must have been exactly 19:00 UTC+1 ;)


I checked my other logs, and there was only one other crash, containing an "Assert" at the logfiles end, too:

Code: Select all

[UTC 02/07/2013 20:11:15.988] Engine/Game/GameplayCommon/Weapons/WeaponFiring.cpp(1277): "Main": Assert: (primaryHasInfiniteMags() || numBulletsWanted >= 0) Mags 6, -6 (S20K)

Re: Server Issue

Posted: Mon Feb 11, 2013 6:49 pm
by RobbingHood
Hm, that only would prevent the server from logging or putting out any errors, but would not preserve errors to occur. Am I right?


Yes... The server won't show those erros anymore and it also shoudln't freeze when an error occurs.

Yes, Harvest Day. If GER is your Clantag it definately was you enjoying that serverhang... Do you still know what happened ingame? Must have been exactly 19:00 UTC+1 ;)


I can't even remember that crash... Are you sure I was still playing when it happened?

I checked my other logs, and there was only one other crash, containing an "Assert" at the logfiles end, too:

Code: Select all

[UTC 02/07/2013 20:11:15.988] Engine/Game/GameplayCommon/Weapons/WeaponFiring.cpp(1277): "Main": Assert: (primaryHasInfiniteMags() || numBulletsWanted >= 0) Mags 6, -6 (S20K)


Ahh, I know that one :) The chance is really high that someone with a normal shotgun (in this case S20K) picked up a shotgun with the additional-ammo upgrade.

Then there are suddenly more bullets in the weapon than theoretically possible, which leads to a crash.

That also happens on my Shotgun-only Server :/

Re: Server Issue

Posted: Tue Feb 12, 2013 4:39 am
by risen_GER
Yes... The server won't show those erros anymore and it also shoudln't freeze when an error occurs.


Do you have that options on your shotgun server? And does it help not to crash any more? If it's still crashing it would be no advantage in not knowing why it crashed :)

I can't even remember that crash... Are you sure I was still playing when it happened?


Checked again, and - no, you weren't :roll:

Code: Select all

[UTC 02/10/2013 16:53:58.589] Engine/Game/Server/Backend/Plasma/ServerGameManagerListener.cpp(890): "Main": Info: Player 347 requesting entry RobbingHood
...
[UTC 02/10/2013 17:57:20.243] Engine/Game/Server/Backend/Plasma/ServerSocketManager.cpp(287): "Main": Info: ServerSocketManager :: Removing player 0444E48C with index 347


//EDIT:

And just by now, same on my vietnam server:

Code: Select all

[UTC 02/12/2013 06:07:01.459] Engine/Game/GameplayCommon/Weapons/WeaponFiring.cpp(1091): "Main": Assert: (m_primaryFire.projectilesInMagazine <= primaryAmmoMagCapacity()) Magazine with capacity 4 contains 8 projectiles.


I'll give these start parameters a chance, but I don't have a good feeling... :?

Re: Server Issue

Posted: Tue Feb 12, 2013 12:24 pm
by RobbingHood
To be honest, I was too lazy to try those parameters out :mrgreen:

I would need another player to test it...

Another way to prevent those errors from happening would be disabling all shotguns via the extension sysem :geek:

You might want to try that out. Also, please tell me if the paramters did their job.

Re: Server Issue

Posted: Tue Feb 12, 2013 12:47 pm
by risen_GER
Yeah that idea about forbidding shotguns came up to me earlier, but I don't really like servers with restrictions on anything, so I won't put any of those on mine 8-)

Parameters are set, but since last crash both servers are empty :| If you want we might give it a try and provocate some errors :twisted:

Re: Server Issue

Posted: Tue Feb 12, 2013 1:08 pm
by RobbingHood
The server is currently down :lol:

As soon as it gets restarted, I'll gladly crash your server :P