UTzone.de

UTzone.de (https://www.utzone.de/forum/index.php)
-   UT - Server (alle) (https://www.utzone.de/forum/forumdisplay.php?f=43)
-   -   [Open] LinxDedServFix (https://www.utzone.de/forum/showthread.php?t=3543)

Jefe 05.03.2015 12:42

[Open] LinxDedServFix
 
Zitat:

Zitat von Ovidiu1969 (Beitrag 36100)
I tested the server and it seems to work fine now. But 1-2 hours ago, when I was playing with a friend, when we vote the next map (we vote the same map), the server crashed. Then the server restart, but not with the selected mutators in, even ComLine was enabled...

I must read and learn many tweaks for servers, how to modify the .ini files, etc. But at this moment I am happy if the server work fine untill I can make myself the settings...

Your server crashing after a map has been played is generally caused by a bug related to emitters, of all things.

This should fix, assuming this is a linux server (link is at the end of the thread:)

https://forums.epicgames.com/threads/761329

Donzi 05.03.2015 12:56

Liste der Anhänge anzeigen (Anzahl: 1)
:)
incl. u, ucl & txt


Zitat:

http://forums.epicgames.com/archive/.../t-761329.html


Skrilax_CZ
03-20-2011, 05:52 PM
It seems the problem is caused by improper cleanup of emitters (not only them) having no remote role on dedicated server and both bNoDelete and bNotOnDedServer set to true as we just observerd on LDG Ballistic Weapons server.

I've created a simple serverside mutator which is going to unset bNotOnDedServer for everything having bNoDelete. This will however produce some mess (because emitters now live on the dedicated server for example) but since the affected classes have no remote role then it won't affect networking.

Code:

Mutator=(ClassName=LinxDedServFix.LinxDedServFixMut,IconMaterialName=MutatorArt.nosym,FriendlyName=LinxDedServFix.LinxDedServFixMut.FriendlyName,Description=LinxDedServFix.LinxDedServFixMut.Description,FriendlyName=LinxDedServFix.LinxDedServFixMut.FriendlyName,FallbackName="Linux Dedicated Server Crash Fix",FallbackDesc="Fixes garbage collection crash for linux dedicated servers.")



Code:

ServerActors=LinxDedServFix


Donzi 05.03.2015 17:27

!OOPS!


Dont use it @ DNW Servers.

Code:

Executing Class Engine.ServerCommandlet
Browse: RecoveryMap?Name=Player?Class=Engine.Pawn?Character=Jakob?team=255?SpectatorOnly=0?Game=3spnv3141.TeamArenaMaster??GameStats=true?bAllowBehindView=False?Mutator=Zound55.Zound,UTzoneTAv1.MutUTzoneTA,UTzoneGTFake2.MutUTzoneGTFake2,ServerLogo4a.MutServerLogo,PostalBabes_V2.MutPostalBabes?Translocator=False?BlueTeamSymbol=UTzone_Logos_02.UTzone_Team_Blue_TAM?RedTeamSymbol=UTzone_Logos_02.UTzone_Team_Red_TAM
Collecting garbage
Purging garbage
Garbage: objects: 37858->37854; refs: 401252
Game class is 'TeamArenaMaster'
Can't resolve package name
Executing UObject::StaticShutdownAfterError
Can't resolve package name



History:

Exiting due to error
Exiting.
FileManager: Reading 0 GByte 67 MByte 25 KByte 181 Bytes from HD took 0.141573 seconds (0.141573 reading, 0.000000 seeking).
FileManager: 0.000000 seconds spent with misc. duties
Name subsystem shut down

Because we use 3369.3 LinuxPatch!

Jefe 09.03.2015 04:55

Zitat:

Zitat von Ovidiu1969 (Beitrag 36163)
Really ? At the end of the tread ? Thanks ! I see that some people seems to make jokes, even they want to help you. I don't want irony, I want a working server. If you are good on UT2004 servers, OK. But I am a good football player, so let's play football to see how you feel. Please, respect !

I wasn't joking, it's supposed to fix the issue. I didn't link to the file directly so you could read through the thread for an explanation.

Zitat:

Zitat von Donzi (Beitrag 36131)
!OOPS!


Dont use it @ DNW Servers.

Code:

Executing Class Engine.ServerCommandlet
Browse: RecoveryMap?Name=Player?Class=Engine.Pawn?Character=Jakob?team=255?SpectatorOnly=0?Game=3spnv3141.TeamArenaMaster??GameStats=true?bAllowBehindView=False?Mutator=Zound55.Zound,UTzoneTAv1.MutUTzoneTA,UTzoneGTFake2.MutUTzoneGTFake2,ServerLogo4a.MutServerLogo,PostalBabes_V2.MutPostalBabes?Translocator=False?BlueTeamSymbol=UTzone_Logos_02.UTzone_Team_Blue_TAM?RedTeamSymbol=UTzone_Logos_02.UTzone_Team_Red_TAM
Collecting garbage
Purging garbage
Garbage: objects: 37858->37854; refs: 401252
Game class is 'TeamArenaMaster'
Can't resolve package name
Executing UObject::StaticShutdownAfterError
Can't resolve package name

History:

Exiting due to error
Exiting.
FileManager: Reading 0 GByte 67 MByte 25 KByte 181 Bytes from HD took 0.141573 seconds (0.141573 reading, 0.000000 seeking).
FileManager: 0.000000 seconds spent with misc. duties
Name subsystem shut down

Because we use 3369.3 LinuxPatch!

Are you sure that's the problem, Donzi? 'Can't resolve package name' usually means either the file is missing or misspelled in the ini, and from what I see there, the error seems to indicating a problem with the TAM mod. Also the emitter fix isn't in the command line either, but you might have set it up as a server actor (which I can confirm does work on my server.) Also, I see two questions marks after 3spnv3141.TeamArenaMaster in the command line instead of just one. I don't know if that will cause a problem or not.

Additionally, there's a limit to how much text can be in the map vote config; going over that amount will also cause a crash, and IIRC, it looks similar to that. (There's a way around that, by using Druid Mutator to house your mutator configurations in a separate ini, so that the only mutator on your command line is DM.u. It doesn't seem to be on this site so I'll upload it.)

What I would do just to be sure is try booting up a server with just the emitter fix running as a mutator first and as a server actor second. Also confirm that it is correctly listed in the server packages list and uploaded into the system directory. It's a lot easier to tell if you don't have a ton of other mods running at the same time on the command line. If it does boot, try running a map that is known to have the emitter bug, like DM-TheOnion or DM-Waisten (the original versions, not DM-TheOnion-LE or DM-Waisten-Fix.)

EDIT: Actually you do have Druid Mutator. Here's a link: http://www.utzone.de/forum/downloads...o=file&id=1017

Donzi 09.03.2015 14:35

Had cut the "LinxDedServFix" Discussion into another Thread


I must test this later on our servers, because we run 1 Masterserver with Symlinks to others

brb

Donzi 09.03.2015 15:36

Fresh Server installation, naked
All Files are Symlinks, only ini and ucl are real
Uploaded ony 2 Files, LinxDedServFix.ucl & LinxDedServFix.u



If we add "LinxDedServFix" as an Serveractor, the Server crashes with this:
Code:

Demo-182@donzi ~/server/144.76.72.214_7777/ut2004/System $ ./ucc-bin server DM-1on1-Spirit?Game=XGame.xDeathMatch?MaxPlayers=12 -ini=UT2004.ini -log=UT2004.log -multihome=144.76.72.214 -port=7777 -queryport=7787 -WebServerListenPort=7787 -nohomedir
Executing Class Engine.ServerCommandlet
Browse: DM-1on1-Spirit?Name=Player?Class=Engine.Pawn?Character=Jakob?team=255?SpectatorOnly=0?Game=XGame.xDeathMatch?MaxPlayers=12
Collecting garbage
Purging garbage
Garbage: objects: 36941->36936; refs: 462635
Game class is 'xDeathMatch'
Can't resolve package name
Executing UObject::StaticShutdownAfterError
Can't resolve package name

History:

Exiting due to error
Exiting.
FileManager: Reading 0 GByte 42 MByte 663 KByte 398 Bytes from HD took 0.029224 seconds (0.029224 reading, 0.000000 seeking).
FileManager: 0.000000 seconds spent with misc. duties
Name subsystem shut down
Demo-182@donzi ~/server/144.76.72.214_7777/ut2004/System $

ini:
Code:

[Engine.GameEngine]
CacheSizeMegs=4
UseSound=True
VoIPAllowVAD=False
UseStaticMeshBatching=True
ColorHighDetailMeshes=False
ColorSlowCollisionMeshes=False
ColorNoCollisionMeshes=False
ColorWorldTextures=False
ColorPlayerAndWeaponTextures=False
ColorInterfaceTextures=False
MainMenuClass=GUI2K4.UT2K4MainMenu
ConnectingMenuClass=GUI2K4.UT2K4ServerLoading
DisconnectMenuClass=GUI2K4.UT2K4DisconnectOptionPage
LoadingClass=GUI2K4.UT2K4SP_LadderLoading
SinglePlayerMenuClass=GUI2K4.UT2K4SP_Main
ServerReadsStdin=False
bSlowRefChecking=False
DetectedVideoMemory=0
ServerActors=IpDrv.MasterServerUplink
ServerActors=UWeb.WebServer
ServerActors=ComLine.ComLine
ServerActors=LinxDedServFix
ServerPackages=Core
ServerPackages=Engine
ServerPackages=Fire
ServerPackages=Editor
ServerPackages=IpDrv
ServerPackages=UWeb
ServerPackages=GamePlay
ServerPackages=UnrealGame
ServerPackages=XEffects
ServerPackages=XPickups
ServerPackages=XGame
ServerPackages=XWeapons
ServerPackages=XInterface
ServerPackages=Vehicles
ServerPackages=TeamSymbols_UT2003
ServerPackages=TeamSymbols_UT2004
ServerPackages=BonusPack
ServerPackages=SkaarjPack_rc
ServerPackages=SkaarjPack
ServerPackages=UTClassic
ServerPackages=UT2k4Assault
ServerPackages=Onslaught
ServerPackages=GUI2K4
ServerPackages=UT2k4AssaultFull
ServerPackages=OnslaughtFull
ServerPackages=xVoting



BUT, removed as an Actor, add it as a Mutator, it works
Code:

Demo-182@donzi ~/server/144.76.72.214_7777/ut2004/System $ ./ucc-bin server DM-1on1-Spirit?Game=XGame.xDeathMatch?Mutator=LinxDedServFix.LinxDedServFixMut?MaxPlayers=12 -ini=UT2004.ini -log=UT2004.log -multihome=144.76.72.214 -port=7777 -queryport=7787 -WebServerListenPort=7787 -nohomedir
Executing Class Engine.ServerCommandlet
Browse: DM-1on1-Spirit?Name=Player?Class=Engine.Pawn?Character=Jakob?team=255?SpectatorOnly=0?Game=XGame.xDeathMatch?Mutator=LinxDedServFix.LinxDedServFixMut?MaxPlayers=12
Collecting garbage
Purging garbage
Garbage: objects: 36941->36936; refs: 462635
Game class is 'xDeathMatch'
Bringing Level DM-1on1-Spirit.myLevel up for play (45) appSeconds: 1.270451...
Loading Admins & Groups
Kick and Ban Privileges Loaded
Maps & Game Privileges Loaded
Admins & Groups Management Loaded
Extra Privileges Loaded
Mutators LinxDedServFix.LinxDedServFixMut
GameInfo::InitGame : bEnableStatLogging True
MasterServerGameStats initializing
UdpServerQuery(crt): Port 7787 successfully bound.
Resolving master0.gamespy.com...
Defaulting to false
Defaulting to false
Resolving ut2004master2.epicgames.com...
Loading Available Maps
Loading Game Types
xWebAdmin.UTServerAdmin Initialized on port 7787
MasterServerUplink: Resolved ut2004master2.epicgames.com as 199.255.40.171.
Resolved master0.gamespy.com (176.9.123.154)
UdpGameSpyUplink: Master Server is master0.gamespy.com:27900
UdpGameSpyUplink: Port 7788 successfully bound.
MasterServerUplink: Connection to ut2004master2.epicgames.com established.
Approval APPROVED
Master server requests heartbeat 0 with code 1808
Master server requests heartbeat 1 with code 1808
Master server requests heartbeat 2 with code 1808
Master server assigned our MatchID: 64691433
^CCTRL-C has been pressed.

appRequestExit(0)
Demo-182@donzi ~/server/144.76.72.214_7777/ut2004/System $


So, nothing todo with textlength of vote/comandline or anything else
:confused::confused::confused:

Jefe 09.03.2015 15:50

Hmm, in the first code block, I don't see ServerPackages=LinxDedServFix anywhere. It shouldn't need it as a server actor, but it wouldn't hurt to check.

Since it is booting with the mutator option, did you test one of those maps I mentioned to see if the server still crashes after playing them and then voting for a new map?

If the server still crashes after those two maps, then it is useless for DNW servers even if it does "work."

Donzi 09.03.2015 15:57

ServerPackages ?????

ServerActor ????


really... my fault that i used it as an actor?

//Edit

Ill upload the maps, moment

Donzi 09.03.2015 19:15

Ok, i think we need no ServerPackages or Serveractor.


ini
+/- Klappen
Code:

[Engine.GameEngine]
CacheSizeMegs=4
UseSound=True
VoIPAllowVAD=False
UseStaticMeshBatching=True
ColorHighDetailMeshes=False
ColorSlowCollisionMeshes=False
ColorNoCollisionMeshes=False
ColorWorldTextures=False
ColorPlayerAndWeaponTextures=False
ColorInterfaceTextures=False
MainMenuClass=GUI2K4.UT2K4MainMenu
ConnectingMenuClass=GUI2K4.UT2K4ServerLoading
DisconnectMenuClass=GUI2K4.UT2K4DisconnectOptionPage
LoadingClass=GUI2K4.UT2K4SP_LadderLoading
SinglePlayerMenuClass=GUI2K4.UT2K4SP_Main
ServerReadsStdin=False
bSlowRefChecking=False
DetectedVideoMemory=0
ServerActors=IpDrv.MasterServerUplink
ServerActors=UWeb.WebServer
ServerActors=ComLine.ComLine
;ServerPackages=LinxDedServFix
ServerPackages=Core
ServerPackages=Engine
ServerPackages=Fire
ServerPackages=Editor
ServerPackages=IpDrv
ServerPackages=UWeb
ServerPackages=GamePlay
ServerPackages=UnrealGame
ServerPackages=XEffects
ServerPackages=XPickups
ServerPackages=XGame
ServerPackages=XWeapons
ServerPackages=XInterface
ServerPackages=Vehicles
ServerPackages=TeamSymbols_UT2003
ServerPackages=TeamSymbols_UT2004
ServerPackages=BonusPack
ServerPackages=SkaarjPack_rc
ServerPackages=SkaarjPack
ServerPackages=UTClassic
ServerPackages=UT2k4Assault
ServerPackages=Onslaught
ServerPackages=GUI2K4
ServerPackages=UT2k4AssaultFull
ServerPackages=OnslaughtFull
ServerPackages=xVoting


Only add it to the VotingConf
+/- Klappen
Code:

GameConfig=(GameClass="XGame.xDeathMatch",Prefix="DM",Acronym="DM",GameName="Deathmatch",Mutators="LinxDedServFix.LinxDedServFixMut",Options=)
GameConfig=(GameClass="XGame.xTeamGame",Prefix="DM",Acronym="DM",GameName="TeamDeathmatch",Mutators="LinxDedServFix.LinxDedServFixMut",Options=)
GameConfig=(GameClass="XGame.xCTFGame",Prefix="CTF",Acronym="CTF",GameName="CaptureTheFlag",Mutators="LinxDedServFix.LinxDedServFixMut",Options=)
GameConfig=(GameClass="XGame.xCTFGame",Prefix="CTF",Acronym="iCTF",GameName="Instagib CTF",Mutators="LinxDedServFix.LinxDedServFixMut,XGame.MutInstaGib",Options=)
GameConfig=(GameClass="Onslaught.ONSOnslaughtGame",Prefix="ONS",Acronym="ONS",GameName="Onslaught",Mutators="LinxDedServFix.LinxDedServFixMut",Options=)




I started the server with this:
Code:

Demo-182@donzi ~/server/144.76.72.214_7777/ut2004/System $ ./ucc-bin server DM-1on1-Spirit?Game=XGame.xDeathMatch?Mutator=?MaxPlayers=12 -ini=UT2004.ini -log=UT2004.log -multihome=144.76.72.214 -port=7777 -queryport=7787 -WebServerListenPort=7787 -nohomedir
Executing Class Engine.ServerCommandlet
Browse: DM-1on1-Spirit?Name=Player?Class=Engine.Pawn?Character=Jakob?team=255?SpectatorOnly=0?Game=XGame.xDeathMatch?Mutator=?MaxPlayers=12
Collecting garbage

*cut*
Mapswitch to Waisten and after this to Antalus
Code:

New Player Donzi.UTzone id=d7047b538f1a93d59cc7eca851fbcd6b
START MATCH
ProcessServerTravel: DM-Waisten?Game=XGame.xDeathMatch?Mutator=LinxDedServFix.LinxDedServFixMut
PreClientTravel
Server switch level: DM-Waisten?Game=XGame.xDeathMatch?Mutator=LinxDedServFix.LinxDedServFixMut
Browse: DM-Waisten?Name=Player?Class=Engine.Pawn?Character=Jakob?team=255?SpectatorOnly=0?Game=XGame.xDeathMatch?Mutator=LinxDedServFix.LinxDedServFixMut?MaxPlayers=12
Socket shut down
Collecting garbage
Purging garbage
(Karma): Level Karma Terminated.
Garbage: objects: 48168->40302; refs: 577432
Game class is 'xDeathMatch'
Bringing Level DM-Waisten.myLevel up for play (45) appSeconds: 77.818047...
center pointLoading Admins & Groups
Kick and Ban Privileges Loaded
Maps & Game Privileges Loaded
Admins & Groups Management Loaded
Extra Privileges Loaded
Mutators LinxDedServFix.LinxDedServFixMut
GameInfo::InitGame : bEnableStatLogging True
MasterServerGameStats initializing
UdpServerQuery(crt): Port 7787 successfully bound.
Resolving master0.gamespy.com...
Defaulting to false
Defaulting to false
Resolving ut2004master2.epicgames.com...
Loading Available Maps
Loading Game Types
xWebAdmin.UTServerAdmin Initialized on port 7787
MasterServerUplink: Resolved ut2004master2.epicgames.com as 199.255.40.171.
Resolved master0.gamespy.com (176.9.123.154)
UdpGameSpyUplink: Master Server is master0.gamespy.com:27900
UdpGameSpyUplink: Port 7788 successfully bound.
MasterServerUplink: Connection to ut2004master2.epicgames.com established.
Approval APPROVED
Master server requests heartbeat 0 with code 1096
Master server requests heartbeat 1 with code 1096
Master server requests heartbeat 2 with code 1096
Master server assigned our MatchID: 64692004
New Player Donzi.UTzone id=d7047b538f1a93d59cc7eca851fbcd6b
START MATCH
ProcessServerTravel: DM-Antalus?Game=XGame.xDeathMatch?Mutator=LinxDedServFix.LinxDedServFixMut
PreClientTravel
Server switch level: DM-Antalus?Game=XGame.xDeathMatch?Mutator=LinxDedServFix.LinxDedServFixMut
Browse: DM-Antalus?Name=Player?Class=Engine.Pawn?Character=Jakob?team=255?SpectatorOnly=0?Game=XGame.xDeathMatch?Mutator=LinxDedServFix.LinxDedServFixMut?MaxPlayers=12
Socket shut down
Collecting garbage
Purging garbage
(Karma): Level Karma Terminated.
Garbage: objects: 47503->39107; refs: 447918
Game class is 'xDeathMatch'
Fixing up DM-Antalus
Bringing Level DM-Antalus.myLevel up for play (45) appSeconds: 96.286198...
Loading Admins & Groups
Kick and Ban Privileges Loaded
Maps & Game Privileges Loaded
Admins & Groups Management Loaded
Extra Privileges Loaded
Mutators LinxDedServFix.LinxDedServFixMut
GameInfo::InitGame : bEnableStatLogging True
MasterServerGameStats initializing
UdpServerQuery(crt): Port 7787 successfully bound.
Resolving master0.gamespy.com...
Defaulting to false
Defaulting to false
Resolving ut2004master2.epicgames.com...
Loading Available Maps
Loading Game Types
xWebAdmin.UTServerAdmin Initialized on port 7787
MasterServerUplink: Resolved ut2004master2.epicgames.com as 199.255.40.171.
Resolved master0.gamespy.com (176.9.123.154)
UdpGameSpyUplink: Master Server is master0.gamespy.com:27900
UdpGameSpyUplink: Port 7788 successfully bound.
MasterServerUplink: Connection to ut2004master2.epicgames.com established.
Approval APPROVED
Master server requests heartbeat 0 with code 1092
Master server requests heartbeat 1 with code 1092
Master server requests heartbeat 2 with code 1092
New Player Donzi.UTzone id=d7047b538f1a93d59cc7eca851fbcd6b
Master server assigned our MatchID: 64692007

or jefe?

Jefe 09.03.2015 22:45

It does work as a server actor on my server, no idea why not here.

Looks like it's working properly. Normally Waisten will cause the server to crash after it has been played, so it would have rebooted to DM-1on1-Spirit.

One last thing to check would be if Waisten does indeed force a crash on your server without the emitter fix mutator.


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:33 Uhr.

Powered by vBulletin® Version 3.8.11 (Deutsch)
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
CopyRight-Licence © 1999 - 2024 by UTzone.de