Delaying mutators with DelayerM mutator
Posted: Wed Sep 12, 2018 4:41 pm
While heavy patch files can mess up stuff based on navigation, we need to wait for patch jobs to get done. This means waiting 2-4 seconds for various things to do their jobs. Several mutators and even ServerActors are supporting a delay in load with no single issue, others... don't.
Relics, SwarmSpawn, ScoreSaver, ipToCountry stuff, etc. everything which has nothing to do with Level or Game initialization can be loaded later preventing various iterators to complete first load and coming later successfully.
Because I did not see too many such tools and probably I'm not bother to search Internet everywhere, I did such tools (two pieces for multi-server).
DelayerM is the tool having a configuration accessible even from "preferences" console command where all required with delay things are described and load-timer is being set. At closing Preferences or running these first time, an INI file is saved accordingly.
As a matter of fact ipToCountry do seems to work a bit better than when is loaded in server's launch at NfoServers - it's alive more time, proving that some "INIT" related stuff in UT is not that entertaining but that server is a good one as I could figure so far.
Here is archive: containing two pieces, one I'm using in DM and so on, the other one in MH gaming (both MonsterHunt versions running there).
Sample snippets from INI used
Discussions around might go below for some cases of evil situations encountered.
Relics, SwarmSpawn, ScoreSaver, ipToCountry stuff, etc. everything which has nothing to do with Level or Game initialization can be loaded later preventing various iterators to complete first load and coming later successfully.
Because I did not see too many such tools and probably I'm not bother to search Internet everywhere, I did such tools (two pieces for multi-server).
DelayerM is the tool having a configuration accessible even from "preferences" console command where all required with delay things are described and load-timer is being set. At closing Preferences or running these first time, an INI file is saved accordingly.
As a matter of fact ipToCountry do seems to work a bit better than when is loaded in server's launch at NfoServers - it's alive more time, proving that some "INIT" related stuff in UT is not that entertaining but that server is a good one as I could figure so far.
Here is archive: containing two pieces, one I'm using in DM and so on, the other one in MH gaming (both MonsterHunt versions running there).
Sample snippets from INI used
Code: Select all
[DelayerM.DelayerM]
LaterMuts[0]=SwarmSpawn.SS
LaterMuts[1]=ipToCountry.LinkActor
LaterMuts[2]=TBooster.TBooster
LaterMuts[3]=LessTele3.LessTele
LaterMuts[4]=
...
LaterMuts[63]=
DelayLoadTime=3.000000
[DelayerM_MH.DelayerM]
LaterMuts[0]=MAHelp.MATune
LaterMuts[1]=ipToCountry.LinkActor
LaterMuts[2]=MRele.Rele
LaterMuts[3]=LessTele3.LessTele
LaterMuts[4]=
...
LaterMuts[63]=
DelayLoadTime=4.000000