Page 8 of 11

Re: XC_Engine megathread

Posted: Wed Jul 03, 2019 4:46 am
by sektor2111
Unblocking a BlockedPath too early is not really a good idea. BlockedPath is added with reasons - MH-SK_Godz, AS-Mazon, etc. are evidences about this. PathToggler is also done with reasons. Definitely nothing looks more stupid that a Bot running into a closed door because BlockedPath is being unlocked...

Re: XC_Engine megathread

Posted: Wed Jul 03, 2019 5:21 am
by Higor
The trick is exactly NOT going towards the blocked area, but to the trigger that unblocks it. (look at the green path nodes)
Trigger, Mover, or whatever is the 'root' of said event.

XC_Engine will come with an expandable event chain system tracker that will allow bots to recognize what triggers a BlockedPath (or other unlockable paths, provided support is added) no matter how many dispatchers or other event trampolines occur inbetween.
You're about to see some interesting shit :loool:

EDIT:
The following function in XC_Engine_Actor should give you an idea of how significant this is:

Code: Select all

native final function DefinePathsFor( NavigationPoint N, optional Actor AdjustTo, optional Pawn Reference, optional float MaxDistance); //N must have no connections!

Re: XC_Engine megathread

Posted: Wed Jul 03, 2019 5:31 am
by sektor2111
I'll see those in maps patched with togglers done for enlarging their roaming area - if libs are good...
Higor wrote:The following function in XC_Engine_Actor should give you an idea of how significant this is:

Code: Select all

    native final function DefinePathsFor( NavigationPoint N, optional Actor AdjustTo, optional Pawn Reference, optional float MaxDistance); //N must have no connections!
I think I can use some N without connections or deleting connections from whatever N ( Paths[x] = -1, etc... )

Edit:
I'm back home and I fired my private server with those... PM things. So far it looks operational. I have to check "EXIT" and default client...
Edit2:
There are still problems when original client does a travel, somewhere around garbage collector and... when is joined and an additional connection is closed but client can play if it's retrying to join. XC Player has no issues at all.
Edit3:Other test
NfoServers XCv23 hosting a DeathMatch - using UT Client original. Joined properly (better network ?) - disconnecting from server, executing "obj garbage" = Kaput client. XC_Engine is triggering something null in client (not patched maps) and garbage collector is trying to remove a nothing.
Edit4: XC Player
Game hosted at NFOServers XCv23. Client using XCv24 = NO issues (of course only default Epic ones...)
Spoiler

Code: Select all

DevAudio: Galaxy SetViewport: WindowsViewport0
Log: New File, Existing Package (Package MH-Brutality, Package E885EB6811D5D91CB5EEFD9B61CA648E)
Log: New File, Existing Package (Package XC_MonsterHunt, Package 8202809E489D20062C91ED82E8C15A70)
Log: New File, Existing Package (Package P_BRUTALITY, Package DB291CBB4441BF2E06AE928A8F06221D)
Log: New File, Existing Package (Package Ns_SpawnPoint2, Package 747DDDE64EAB34E383F9349A4EA1B651)
Log: New File, Existing Package (Package QUAKE3c, Package F487CC4111D3A77CDFE705922A3EC027)
DevNet: Attempt load MyLevel
XC_Engine: NotifyLevelChange() begin...
ScriptLog: XC: Helper Win Created
ScriptLog: XC: LevelChange
XC_Engine: NotifyLevelChange() end
XC_Engine: Replacing ULevel vtable...
XC_Engine: Disabling Native Extensions.
Log: Collecting garbage
Log: Purging garbage
NetComeGo: Close XC_TcpipConnection1 07/03/19 22:07:57
Log: 0.0ms Unloading: Package SkTrooperSkins
Log: 0.0ms Unloading: Package DacomaFem
Log: 0.0ms Unloading: Package GothFem
Log: 0.0ms Unloading: Package Male1Skins
Log: 0.0ms Unloading: Package GothSkins
Log: 0.0ms Unloading: Package DoorsMod
Log: 0.0ms Unloading: Package NsDM3
Log: 0.0ms Unloading: Package UTToolbox
Log: 0.0ms Unloading: Package NsMonster
Log: 0.0ms Unloading: Package Cacher
Log: 0.0ms Unloading: Package UTrooper
Log: 0.0ms Unloading: Package UTrooper2
Log: 0.0ms Unloading: Package GenIn
Log: 0.0ms Unloading: Package Female1Skins
Log: 0.0ms Unloading: Package Male3Skins
Log: 0.0ms Unloading: Package DacomaSkins
Log: 0.0ms Unloading: Package Male2Skins
Log: 0.0ms Unloading: Package Chairs_Ns
Log: 0.0ms Unloading: Package Female2Skins
Log: 0.0ms Unloading: Package DM-BL-Grendalkeep-TM_Rv
Exit: WinSock shut down
Log: 0.0ms Unloading: Package AmbOutside
Log: 0.0ms Unloading: Package AmbModern
Log: 0.0ms Unloading: Package Crypt_FX
Log: 0.0ms Unloading: Package SkyBox
Log: 0.0ms Unloading: Package CTF
Log: 0.0ms Unloading: Package GenEarth
Log: Garbage: objects: 46360->34904; refs: 461974
XC_Engine: Reverting ULevel vtable...
Log: Level is Level MH-Brutality.MyLevel
XC_Engine: Bringing Level MH-Brutality.MyLevel up for play (100)...
Init: Initialized moving brush tracker for Level MH-Brutality.MyLevel
Log: Spawning new actor for Viewport WindowsViewport0
ScriptLog: Team 1
ScriptLog: Login: Nelsona
Log: Possessed PlayerPawn: TFemale1 Entry.TFemale3
DevAudio: Galaxy SetViewport: WindowsViewport0
Log: Possessed PlayerPawn: TFemale1 MH-Brutality.TFemale4
ScriptLog: Pawn Notify Initialized.
ScriptLog: Light Notify Initialized...
Brutality: Deco Notify Initialized...
Speed_Aligner: Spawned with ROLE 2 for Level NetMode 3
Coroner: Coron0 Client-Type Instance Started...
ScriptLog: XC: Helper Win Closed
Coroner: Coron0 in state Trackinglights works...
DevMusic: Unregister music: Music utmenu23.utmenu23
DevMusic: Load music: Music Godown.Godown
ScriptLog: Getting SGirlSkins.Garf1T_3, SGirlSkins.Garf2T_3, SGirlSkins.Garf3, SGirlSkins.Garf4Vixen
ScriptLog: Getting SGirlSkins.Army1T_2, SGirlSkins.Army2T_2, SGirlSkins.Army3, SGirlSkins.Army4Sara
ScriptLog: Getting SoldierSkins.RawS1T_3, SoldierSkins.RawS2T_3, SoldierSkins.RawS3, SoldierSkins.RawS4Arkon
ScriptLog: Getting SoldierSkins.Sldr1T_2, SoldierSkins.Sldr2T_2, SoldierSkins.sldr3, SoldierSkins.sldr4Johnson
ScriptWarning: UT_Eightball MH-Brutality.UT_Eightball4 (Function Botpack.UT_Eightball.ClientReload.AnimEnd:0026) Accessed None
ScriptWarning: UT_FlakCannon MH-Brutality.UT_FlakCannon10 (Function Botpack.UT_FlakCannon.ClientAltFiring.AnimEnd:001B) Accessed None
Log: URL: Adding default option Name=Nelsona
Log: URL: Adding default option Class=BotPack.TFemale1
Log: URL: Adding default option team=1
Log: URL: Adding default option skin=FCommandoSkins.daco
Log: URL: Adding default option Face=FCommandoSkins.Tanya
Log: URL: Adding default option Voice=BotPack.VoiceFemaleOne
Log: URL: Adding default option OverrideClass=
XC_Engine: [WARNING] Found dangerous actor references pointing to Level actors, nulling out:
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[0]=BotReplicationInfo MH-Brutality.BotReplicationInfo10
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[1]=PlayerReplicationInfo MH-Brutality.PlayerReplicationInfo6
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[2]=BotReplicationInfo MH-Brutality.BotReplicationInfo9
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[3]=BotReplicationInfo MH-Brutality.BotReplicationInfo11
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[4]=BotReplicationInfo MH-Brutality.BotReplicationInfo11
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[5]=BotReplicationInfo MH-Brutality.BotReplicationInfo9
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[6]=BotReplicationInfo MH-Brutality.BotReplicationInfo12
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[7]=PlayerReplicationInfo MH-Brutality.PlayerReplicationInfo6
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[8]=BotReplicationInfo MH-Brutality.BotReplicationInfo12
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[9]=BotReplicationInfo MH-Brutality.BotReplicationInfo11
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[10]=BotReplicationInfo MH-Brutality.BotReplicationInfo10
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[11]=PlayerReplicationInfo MH-Brutality.PlayerReplicationInfo6
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[12]=PlayerReplicationInfo MH-Brutality.PlayerReplicationInfo6
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[13]=BotReplicationInfo MH-Brutality.BotReplicationInfo12
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[14]=PlayerReplicationInfo MH-Brutality.PlayerReplicationInfo6
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[15]=BotReplicationInfo MH-Brutality.BotReplicationInfo11
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[16]=BotReplicationInfo MH-Brutality.BotReplicationInfo10
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[17]=BotReplicationInfo MH-Brutality.BotReplicationInfo11
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[18]=BotReplicationInfo MH-Brutality.BotReplicationInfo11
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[19]=PlayerReplicationInfo MH-Brutality.PlayerReplicationInfo6
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[20]=PlayerReplicationInfo MH-Brutality.PlayerReplicationInfo6
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[21]=BotReplicationInfo MH-Brutality.BotReplicationInfo10
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[22]=BotReplicationInfo MH-Brutality.BotReplicationInfo11
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[23]=BotReplicationInfo MH-Brutality.BotReplicationInfo10
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[24]=BotReplicationInfo MH-Brutality.BotReplicationInfo9
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[25]=PlayerReplicationInfo MH-Brutality.PlayerReplicationInfo6
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[26]=BotReplicationInfo MH-Brutality.BotReplicationInfo10
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[27]=PlayerReplicationInfo MH-Brutality.PlayerReplicationInfo6
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[28]=BotReplicationInfo MH-Brutality.BotReplicationInfo10
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[29]=BotReplicationInfo MH-Brutality.BotReplicationInfo11
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[30]=BotReplicationInfo MH-Brutality.BotReplicationInfo12
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[31]=BotReplicationInfo MH-Brutality.BotReplicationInfo10
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[32]=BotReplicationInfo MH-Brutality.BotReplicationInfo11
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[33]=PlayerReplicationInfo MH-Brutality.PlayerReplicationInfo6
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[34]=PlayerReplicationInfo MH-Brutality.PlayerReplicationInfo6
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[35]=PlayerReplicationInfo MH-Brutality.PlayerReplicationInfo6
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[36]=BotReplicationInfo MH-Brutality.BotReplicationInfo12
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[45]=BotReplicationInfo MH-Brutality.BotReplicationInfo10
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[50]=BotReplicationInfo MH-Brutality.BotReplicationInfo12
XC_Engine: [WARNING]=== XConsole Transient.XConsole0: MsgPlayer[54]=BotReplicationInfo MH-Brutality.BotReplicationInfo9
XC_Engine: [WARNING] Transient cleaner has removed all dangerous references
XC_Engine: Browse() Start: unreal  7777
Log: Browse: Index.unr?failed?Name=Nelsona?Class=BotPack.TFemale1?team=1?skin=FCommandoSkins.daco?Face=FCommandoSkins.Tanya?Voice=BotPack.VoiceFemaleOne?OverrideClass=
Log: Failed; returning to Entry
Init: Shut down moving brush tracker for Level MH-Brutality.MyLevel
XC_Engine: NotifyLevelChange() begin...
ScriptLog: XC: Helper Win Created
ScriptLog: XC: LevelChange
XC_Engine: NotifyLevelChange() end
Log: Spawning new actor for Viewport WindowsViewport0
ScriptLog: Team 1
ScriptLog: Login: Nelsona
Log: Possessed PlayerPawn: TFemale1 Entry.TFemale3
DevAudio: Galaxy SetViewport: WindowsViewport0
XC_Engine: Browse() End
XC_Engine: Enabling Native Extensions.
XC_Engine: Engine function replacements done (0.000324 second)
XC_Engine: Conditional function replacements loaded (0.087431 second)
ScriptLog: XC: Helper Win Closed
DevMusic: Unregister music: Music Godown.Godown
DevMusic: Load music: Music utmenu23.utmenu23
Log: FactoryCreateText: TextBuffer with TextBufferFactory (0 1 cln)
Log: Execing cln
Log: Collecting garbage
Log: Purging garbage
NetComeGo: Close XC_TcpipConnection2 07/03/19 22:20:05
Exit: WinSock shut down
Log: 0.0ms Unloading: Package MonsterHunt
Log: 0.0ms Unloading: Package Godown
Log: 0.0ms Unloading: Package MH-Brutality
Log: 0.0ms Unloading: Package MultiMesh
Log: 0.0ms Unloading: Package EpicCustomModels
Log: 0.0ms Unloading: Package MBot_F
Log: 0.0ms Unloading: Package SkeletalCharsFix313
Log: 0.0ms Unloading: Package SkeletalChars
Log: 0.0ms Unloading: Package XXanPackage
Log: 0.0ms Unloading: Package AdvancedModelSupport
Log: 0.0ms Unloading: Package DarkHelmet
Log: 0.0ms Unloading: Package HoFIntroV7
Log: 0.0ms Unloading: Package NWUltraGoreSSEb
Log: 0.0ms Unloading: Package MVU3
Log: 0.0ms Unloading: Package Coroner
Log: 0.0ms Unloading: Package DmgTimer
Log: 0.0ms Unloading: Package hofpackage18
Log: 0.0ms Unloading: Package CountryFlags2
Log: 0.0ms Unloading: Package TSkMSkins
Log: 0.0ms Unloading: Package TNaliMeshSkins
Log: 0.0ms Unloading: Package tcowmeshskins_bdsm
Log: 0.0ms Unloading: Package TCowMeshSkins
Log: 0.0ms Unloading: Package BossSkins
Log: 0.0ms Unloading: Package SGirlSkinsHOF
Log: 0.0ms Unloading: Package SGirlSkins
Log: 0.0ms Unloading: Package FCommandoHOFgirl
Log: 0.0ms Unloading: Package FCommandoAsia
Log: 0.0ms Unloading: Package CommandoSkins
Log: 0.0ms Unloading: Package SoldierSkins_HOFjester
Log: 0.0ms Unloading: Package SoldierSkins_HOF
Log: 0.0ms Unloading: Package SoldierSkins
Log: 0.0ms Unloading: Package Chairs_Ns
Log: 0.0ms Unloading: Package P_BRUTALITY
Log: 0.0ms Unloading: Package AmbAncient
Log: 0.0ms Unloading: Package UTtech2
Log: 0.0ms Unloading: Package XC_MonsterHunt
Log: 0.0ms Unloading: Package Ns_SpawnPoint2
Log: 0.0ms Unloading: Package Metalmys
Log: 0.0ms Unloading: Package Starship
Log: 0.0ms Unloading: Package NaliCast
Log: 0.0ms Unloading: Package UTcrypt
Log: 0.0ms Unloading: Package NaliFX
Log: 0.0ms Unloading: Package UTbase1
Log: 0.0ms Unloading: Package ShaneChurch
Log: 0.0ms Unloading: Package UTtech1
Log: 0.0ms Unloading: Package GreatFire
Log: 0.0ms Unloading: Package QUAKE3c
Log: Garbage: objects: 44400->33340; refs: 397252
Log: appRequestExit(0)
Exit: Preparing to exit.
Log: Purging garbage
Log: Unbound to Engine.dll
Log: Unbound to Core.dll
Log: Unbound to Window.dll
Log: Unbound to XC_Engine.dll
Log: Unbound to XC_Core.dll
Log: 0.0ms Unloading: Package Engine
Log: 0.0ms Unloading: Package Core
Log: 0.0ms Unloading: Package XC_Core
Log: DESTROY XC_GAMEENGINE
Exit: Game engine shut down
Log: Unbound to WinDrv.dll
Log: DirectDraw End Mode
Log: Flushing cache
Exit: DirectDraw released
Exit: Windows client shut down
Log: Unbound to Render.dll
Exit: Lighting subsystem shut down
Exit: Rendering shut down
Log: 0.0ms Unloading: Package Entry
Log: 0.0ms Unloading: Package Logo
Log: Unbound to Fire.dll
Log: 0.0ms Unloading: Package Fire
Log: 0.0ms Unloading: Package credits
Log: 0.0ms Unloading: Package Botpack
Log: 0.0ms Unloading: Package UnrealShare
Log: 0.0ms Unloading: Package UnrealI
Log: 0.0ms Unloading: Package Female2Voice
Log: 0.0ms Unloading: Package Male2Voice
Log: 0.0ms Unloading: Package Female1Voice
Log: 0.0ms Unloading: Package BossVoice
Log: 0.0ms Unloading: Package Male1Voice
Log: 0.0ms Unloading: Package UMenu
Log: 0.0ms Unloading: Package UWindow
Log: 0.0ms Unloading: Package UBrowser
Log: Unbound to IpDrv.dll
Log: 0.0ms Unloading: Package IpDrv
Log: 0.0ms Unloading: Package Announcer
Log: 0.0ms Unloading: Package XFX
Log: 0.0ms Unloading: Package DecayedS
Log: 0.0ms Unloading: Package Detail
Log: 0.0ms Unloading: Package Palettes
Log: 0.0ms Unloading: Package genfluid
Log: 0.0ms Unloading: Package GenFX
Log: 0.0ms Unloading: Package XC_Engine
DevMusic: Unregister music: Music utmenu23.utmenu23
Log: 0.0ms Unloading: Package utmenu23
Log: 0.0ms Unloading: Package XC_Engine_Menu
Log: 0.0ms Unloading: Package UTMenu
Log: 0.0ms Unloading: Package LadderSounds
Log: Unbound to UWeb.dll
Log: 0.0ms Unloading: Package UWeb
Log: 0.0ms Unloading: Package UTServerAdmin
Log: 0.0ms Unloading: Package IpServer
Log: 0.0ms Unloading: Package LadrArrow
Log: 0.0ms Unloading: Package XConsole
Log: 0.0ms Unloading: Package Radiobox
Log: 0.0ms Unloading: Package hubeffects
Log: 0.0ms Unloading: Package greatfire2
Log: 0.0ms Unloading: Package chizraefx
Log: 0.0ms Unloading: Package fireeng
Log: 0.0ms Unloading: Package rainfx
Log: 0.0ms Unloading: Package mine
Log: 0.0ms Unloading: Package liquids
Log: 0.0ms Unloading: Package FCommandoSkins
Log: Unbound to D3D9Drv.dll
Log: Unbound to Galaxy.dll
DevAudio: Galaxy SetViewport: NULL
Exit: Galaxy shut down
Log: 0.0ms Unloading: Package LadderFonts
Log: 0.0ms Unloading: Package UWindowFonts
Log: 0.0ms Unloading: Package XFonts
Log: 0.0ms Unloading: Package UTBrowser
Log: Unbound to XC_IpDrv.dll
Log: 0.0ms Unloading: Package XC_Engine_UT99
Log: Garbage: objects: 34836->0; refs: 397252
Exit: Object subsystem successfully closed.
Exit: Exiting.
Uninitialized: Name subsystem shut down
Uninitialized: Memory Allocation Status
Uninitialized: Curr Memory  1.662M /  2.934M
Uninitialized: Peak Memory  167.980M /  168.988M
Uninitialized: Allocs         184 Current /  26169961 Total
Uninitialized: Log file closed, 07/03/19 22:20:10
That's all so far...

Re: XC_Engine megathread

Posted: Wed Jul 03, 2019 11:29 pm
by Higor
Do a temporary test with the non-XC client, remove all XC_Engine download managers on the server and see if the crash occurs.
Additionally, temporarily remove the XC files from it.

Code: Select all

[XC_IpDrv.XC_TcpNetDriver]
DownloadManagers=IpDrv.HTTPDownload
DownloadManagers=Engine.ChannelDownload

Re: XC_Engine megathread

Posted: Thu Jul 04, 2019 5:53 am
by sektor2111
Higor wrote:Additionally, temporarily remove the XC files from it.
Will take some time because I have a few tools done for XC_Engine, those are crashing without it...
Edit:
Removed Download managers XC_IpDrv and XC_Core. Server-travel to XC_MonsterHunt:

Code: Select all

DevAudio: Galaxy SetViewport: WindowsViewport0
ScriptLog: XC: Helper Win Created
ScriptLog: XC: LevelChange
Log: Collecting garbage
Log: Purging garbage
NetComeGo: Close TcpipConnection0 07/04/19 08:06:16
Exit: WinSock shut down
Log: 0.0ms Unloading: Package UT-Logo-Map
Log: 0.0ms Unloading: Package UTToolbox
Log: 0.0ms Unloading: Package WSRH
Log: 0.0ms Unloading: Package NsMonster
Log: 0.0ms Unloading: Package Chairs_Ns
Critical: FMallocWindows::Free
Critical: FMallocWindows::Free
Critical: DeleteObject
Critical: (27279)
Critical: DeleteGarbage
Critical: (TcpipConnection0)
Critical: UObject::PurgeGarbage
Critical: UObject::CollectGarbage
Critical: Cleanup
Critical: UGameEngine::LoadMap
Critical: AttemptLoadPending
Critical: TickPending
Critical: UGameEngine::Tick
Critical: UpdateWorld
Critical: MainLoop
Exit: Executing UObject::StaticShutdownAfterError
Exit: Executing UWindowsClient::ShutdownAfterError
Exit: UGalaxyAudioSubsystem::ShutdownAfterError
Log: DirectDraw End Mode
Exit: UD3D9RenderDevice::ShutdownAfterError
Exit: Exiting.
Uninitialized: Name subsystem shut down
Uninitialized: Log file closed, 07/04/19 08:06:19

Re: XC_Engine megathread

Posted: Fri Jul 05, 2019 9:35 pm
by sektor2111
Mmmm... I'm still trying to figure what kind of Null thing is removing garbage collector in client because the crash occurs even if I disconnect and reconnect - ONLY default non XC player. Game might be playable but... breaking at each Level change... XC Player is interesting how stable is working, it's like a damn rock...
I'm not sure if I need to spend X hours setting up an original UT server because I've done there a few mods using XC things and this test would mean removing everything - something is escaping from my eye... heck... Else this sort of crash happens even in that server which you have asked me to check in some duplicated connection removal stage... and that server I'm guessing has another configuration that mine one or another which I configured.

I believe that some of those XC specific mutators should have NO RemoteRole at all (some of them are unchecked here :? ), because I think they are triggering some objects wrong wrapped or unexistent, lol, or simply XC is triggering a garbage collection in a wrong timing stage.
Edit:
Right now I'm looking at that crash, I see garbage collector initiated saying purging garbage and without showing the progress, a connection is closed in that moment and in next millisecond is crashing without any other garbage related response. This might be a connection handling problem... during garbage collecting task which is probably a bad thing... and then I'm wasting time hunting ghosts, all happens because of natives not UScript and my machine goes out of timing being probably slower than expected and the lag created is causing a failure somewhere.

Re: XC_Engine megathread

Posted: Sat Jul 06, 2019 3:24 am
by Higor
New Beta.

Most changes here.
https://github.com/CacoFFF/XC-UT99/comm ... 6ed86702e1
https://github.com/CacoFFF/XC-UT99/comm ... a9025c3357
https://github.com/CacoFFF/XC-UT99/comm ... 2ee556e4dc

The most significant changes come from the script addon system which has been heavily restructured (and will have some more changes).
This includes a new Event Chain system used to improve bot AI, you may disable it in XC_Engine.ini

Re: XC_Engine megathread

Posted: Sat Jul 06, 2019 9:16 pm
by sektor2111
Interesting, I'm reading scripts... I think I have to prepare a few cubes for testing this EventSystem.

Re: XC_Engine megathread

Posted: Sun Jul 07, 2019 8:54 am
by sektor2111
Higor wrote:You're about to see some interesting shit :loool:
Ahah... but for me this is not interesting at all... After looking at scripts I was interested about some visible action.
[attachment=0]Can_tSeeAnything.PNG[/attachment]
From now on it looks like ALL TRAVEL does a game-crash without actually to log anything readable...
I will delay creating too much patch plugins for my NavAdder because right now I do not see why should I waste time with that... else if any would be fired, it will go for XCv21 - as said before.

Edit: An additional check.
After "upgrade" I went to disable this:

Code: Select all

bEventChainAddon=False
LastVersion=23
and I can see last version still being 23 and some Actors loaded even if I removed them from ini, because:

Code: Select all

	if ( LastVersion < 24 )
	{
		AddConditionUnique( "PACKAGE:Predator:XC_UPakPredator.XC_UPakPredator");
		AddConditionUnique( "XC_Engine.EventChainPack");
		AddConditionUnique( "PACKAGE:Unreali:XC_Engine_UT99.UT99AddonsPack");
	}
	
	LastVersion = 23; //I think this is wrong - it should be 24 letting me to remove previous actors especially when I'm not using any mismatched or not mismatched Predator.
Because after disabling "eventchainAddon" game is no longer crashing...
Now I have to check how do compile these things...

Re: XC_Engine megathread

Posted: Sun Jul 07, 2019 9:25 pm
by Higor
Version staying on 23 is intentional (because beta), will have to see what's up with the crashes.

Re: XC_Engine megathread

Posted: Sun Jul 07, 2019 10:27 pm
by sektor2111
All right... I got U files configurable for this v24 and I've dropped them for testing in private server - eventChain = True for the "dedicated server" environment - there seems to not crash anything. I voted MH-Detour - an empty map with paths created by plugins. A single crash occurred for some collision problem, I think a Scout was testing/mapping paths colliding with something... eh, I've enabled Collision hook for extra-testing. Client is XC using old v24 - no issues so far at testing On-Line. I'll test if default client has the same problems or not... I'll do more testing next days.

Re: XC_Engine megathread

Posted: Mon Jul 08, 2019 7:13 am
by Higor
Makes complete sense, the path definition function that does the reachability checks is the one used in the editor, but of course, the editor doesn't have the brush tracker or the collision hash running.
Which means that there's a bigger chance of crashing whenever the game is spawning 'AI markers' for triggerable events now...

Which means I DEFINITELY have to fix CollisionGrid new (some servers don't use it because it's not perfect) so crashes won't happen anymore on said servers/clients.
I guess that's what'll be the next long step before releasing 24... I didn't want to do it but that's a problem that I can't ignore anymore.

Re: XC_Engine megathread

Posted: Mon Jul 08, 2019 7:37 pm
by sektor2111
Note so far for default client:
- client did not dropped first connection to XCv24 server but is crashing between Levels - at Server-Travel.
- What happens during game: "Obj Garbage" in console = Nothing evil
- Breaking game with "Disconnect" = Nothing evil yet. After disconnecting firing "obj garbage" = Full crash. All time when old Level is purged, client is crashing for some reason, I have to figure what is fake loaded in client and does damage to Dev Garbage - this is... hard for me.
- in exchange game runs solid for time if client stay connected - my 3072 UU map was running for good minutes without problems.

Re: XC_Engine megathread

Posted: Tue Jul 09, 2019 6:53 am
by Higor
I'd say it's safe to assume it's the NetConnection object, or one of it's sub-elements (channels, packets, bunches, hashmap).
So I'm looking at a change in the login parameters/protocol, or the relevancy loop between v21 and v22.

Have you tried one of those MH maps where the channel list gets filled up immediately due to bad traces?
With the new netcode this should no longer be a problem, I remember I had one of those maps... but I'm sure I deleted it :loool:

Re: XC_Engine megathread

Posted: Wed Jul 10, 2019 6:06 pm
by sektor2111
Yep... Scout and AIMarkers - I gotta disable that add...

Code: Select all

Critical: AActor::SetCollision
Critical: FPathBuilder::getScout
Critical: ScriptDebugV
Critical: EL_Trigger1.CreateAIMarker
Critical: ScriptDebugV
Critical: EL_Trigger1.Update
Critical: UObject::execClassContext
Critical: (XC_Engine_Actor MH-Kings_And_Servants_R18.XC_Engine_Actor28 @ Function XC_Engine.XC_Engine_Actor.SetInitialState : 0051)
Critical: UObject::ProcessEvent
Critical: (XC_Engine_Actor MH-Kings_And_Servants_R18.XC_Engine_Actor28, Function XC_Engine.XC_Engine_Actor.SetInitialState)
Critical: BeginPlay
Critical: UXC_GameEngine::LoadMap
Critical: LocalMapURL
Critical: UGameEngine::Browse
Critical: ServerTravel
Critical: UGameEngine::Tick
Critical: UXC_GameEngine::Tick
Critical: UpdateWorld
Critical: UXC_ServerCommandlet::Main
This is NfoServer crashing in map which I tested X times before without issues, here are some client hacks embedded in map, I have to admit... but it was operational and has Bot Support mapped with Editor - using BlockedPath actors...