ItsKodas / Horizons-Universe

Horizons Space Engineers Binary
Other
3 stars 0 forks source link

NPC Issues #7

Closed ItsKodas closed 3 years ago

ItsKodas commented 3 years ago

We'll need to further investigate crashes and session lag causes during the open beta to determine whether or not certain NPC's are causing the server to mass lag and crash.

ItsKodas commented 3 years ago

Physics peaked at 60ms<, most likely caused by NPC hitting voxels. Best bet would be to discover which NPC mod is chucking ships into planets.

In Season 2 we discovered that REAVERS were flying directly into planets and not deleting, may be worth while removing them from planet based systems and only adding them to systems that do not have planets.

Further investigation is required.

lukeypookie111 commented 3 years ago

Could this be fixed by adjusting clean up setting?

ItsKodas commented 3 years ago

It would be a band-aid unfortunately, as it would also delete all other NPC's and blocks owned by nobody...

lukeypookie111 commented 3 years ago

In Season 2 we discovered that REAVERS were flying directly into planets and not deleting, may be worth while removing them from planet based systems and only adding them to systems that do not have planets.

this is proboly the best solution

lukeypookie111 commented 3 years ago

image

maybe adjust the threat levels if possible so they start spawning once you are actually big enough

lukeypookie111 commented 3 years ago

image

both SEMS AND IMBER are on ground colliding also they are fighting

ItsKodas commented 3 years ago

Decreased NPC Spawn Rate to 1 - 2 rather than 15+, we'll see how it goes

ItsKodas commented 3 years ago

Factions SEMS & IMDC has a tendency to kamakazi causing mass lag however changes to Spawn Rates have improved performance. We'll need to identify the exact mod/s that controls these factions and test performance after removal of them. Players are currently pointing towards Faction Wars as they are attacking each other which leads to them smashing into the ground.

On another note it seems that some factions are not spawning with an owner.

ItsKodas commented 3 years ago
<ModItem FriendlyName="More NPC Encounters V7 Faction Wars">
  <Name>2315059547.sbm</Name>
  <PublishedFileId>2315059547</PublishedFileId>
  <PublishedServiceName>Steam</PublishedServiceName>
</ModItem>
ItsKodas commented 3 years ago

NPCs don't seem to be spawning correctly after removing Faction Wars

lukeypookie111 commented 3 years ago

I believe there is no gravity base npcs spawns available recommend one or more of the following mods (i have check most of them and all seem to not have issues)

Reddit Custom Encounters

Orks: The Great WAAAGH! image

this is a really big mod might have issues due to adding police military trading ect [EEM] Exploration Enhancement Mod](https://steamcommunity.com/sharedfiles/filedetails/?id=531659576)

Air traffic sadly this cant be used due to the new ammo and is being overhaul but will be updated soon

Smugglers

CULT Remains

Assertive Cargo Ships

image

Abominations PvE Encounters

Mercenaries PvE Encounters

lukeypookie111 commented 3 years ago

one more thing, have the threat score level been played with?

image

ItsKodas commented 3 years ago

Server seems to be capable of handling faction wars, I'm going to try another NPC faction reset to attempt fixing some NPCs spawning without owners but I'll keep faction wars installed unless the server fails to handle it.

ItsKodas commented 3 years ago

Some NPCs Spawning without owners has been fixed

lukeypookie111 commented 3 years ago

after faction war added server performance drops as low at 0.3 sim speed

lukeypookie111 commented 3 years ago

atleast i think its something to do with factoin wars

ItsKodas commented 3 years ago

image Faction Wars needs to be investigated further

lukeypookie111 commented 3 years ago

was facton wars removed?

part of investigation look at performance from the last 5 mins when i post this, 530 nzt

lukeypookie111 commented 3 years ago

another though could it just be that the world is slightly corrupts or something which leads to memory leaks, i remeber you saying that i was using like 8 GB of ram after just restarting

lukeypookie111 commented 3 years ago

big performance drop 6:26am nzt

lukeypookie111 commented 3 years ago

image looking into adjusting settings the above one might help despawn grids that go further away from players

image i read that this might also be causing issue, the sim speed is tanking when npcs try to spawn, so possibly lowering this might help

i know that i cant recreate the scope of a dedicated server but i have cranked the settings up to 150 in the same area, spawning every minute ect

lukeypookie111 commented 3 years ago

image

So after investigation of what i could, couldn't find anything on my end but since i am running it on single player doesn't really matter

One idea that we could do is make a creative world and do some testing with the npcs test if it is actually faction wars or is it just npcs overall, if so would changing from a framework such as MES that has other people make mods for, to EEM, its a big mod but its a single mod that is developed by one team/person which means the quality is high and less impact full on the server, this way we could remove npcs from one sector and have it on another to do "long term testing"(is a day long term?), we can also fix the asteroid problem

i really think this would be better it adds something for every one EEM to go with EEM might need this to replace the weapons on the npcs

guessing you already do something like this but might be usefull I keep seeing the word sync distance and it needing to be greater than 10 k, i assume it is but still going to put this info for reference

ItsKodas commented 3 years ago

EEM would be awesome but I'm sure we had it previously and I think it was causing server crashes, I'll have to check with froggie

lukeypookie111 commented 3 years ago

FUCK

lukeypookie111 commented 3 years ago

have a look at this https://steamcommunity.com/sharedfiles/filedetails/?id=2085051314

ItsKodas commented 3 years ago

yeah I'm gonna add that, looks useful