This object is in archive! 

"Exhausted NPC PCUs" - no encounters or drones since Frostbite?

Bleifish shared this bug 4 years ago
Solved

Hi,

our server log has messages like "Info: Exhausted NPC PCUs. Encounter will not spawn." and no encounter / drones will spawn. Even the "Escort missions" dont spawn drones.


There are no grids owned by the pirates at the moment (except trading stations). so there sould be pcu left.


i already increased the "PiratePCU" from 50.000 to 250.000 to 1.000.000 (in all 3 files) but still the message keeps coming, and nothing will spawn.

iam not sure if the problem is related to frostbite or not. but before the update we had PC encounter spawning.


<TotalPCU>2000000</TotalPCU>

<PiratePCU>1000000</PiratePCU>

<EnableIngameScripts>true</EnableIngameScripts>

<EnableScripterRole>true</EnableScripterRole>

<EnableEncounters>true</EnableEncounters>

<MaxDrones>50</MaxDrones>

<EnableDrones>true</EnableDrones>

<EnableWolfs>false</EnableWolfs>

<EnableSpiders>false</EnableSpiders>

<EnableEconomy>true</EnableEconomy>

<SimplifiedSimulation>false</SimplifiedSimulation> <- new unknown setting?

Replies (9)

photo
1

Maybe there are already too much drones around, but they stopped flying aorund (shot down, crashed). Otherwise idk.

photo
1

no. they dont even have a single block.

i checked the safe-file for owner-id.

the message appeared in the log file for the first time direct after the frostbyte update.

the first log-file with mili-seconds as timestemp, instead of seconds in its name.

photo
1

A friend may have found the problem. a missing "!" (negate IF)


MyEncounterGenerator.cs


if (MySession.Static.NPCBlockLimits.HasRemainingPCU)

{

MyLog.Default.Log(MyLogSeverity.Info, "Exhausted NPC PCUs. Encounter will not spawn.", (object[]) Array.Empty<object>());

flag = false;

}


//// we think it should be

if (!MySession.Static.NPCBlockLimits.HasRemainingPCU)

photo
1

jeah thats it. we set <PiratePCU>0</PiratePCU> and drones and ecounter are spawning again. it seems to be a typo in the IF condion

photo
1

Hello, Engineer!


Thank you for your feedback! We were able to reproduce the issue and your topic has been added between considered issues. We will update status of the thread once we have more info.


Thank you.Kind Regards,

Keen Software House: QA Department

photo
1

Should be fixed in v194.081. Please test it and let us know.

photo
1

Fix confirmed

photo
1

I am still getting this issue in 1.197.073

The world i'm encountering this on used to have NPC ships spawining in, but it just stopped at some point. I have tried, as suggested above setting PiratePCU to 0 in the save file but this has not resolved the issue

photo
1

Duplicate comment

Replies have been locked on this page!