So, I've noticed on my server that I had high numbers of planner.prefab... I take to be the building planner thing? Today, when trying to debug a different issue, I was checking the OnEntitySpawned() hook output, just basically just:
And I did find the entities I was looking for (Scientist, and NPCPlayerCorpse) -- but I also noticed that there was a really high number of Planner entities being spawned... like super frequently... A quick search found that other servers have had this too? Anyone got any ideas?Code:void OnEntitySpawned(BaseEntity entity) { Puts("Entity is {0}", entity); Puts("Entity type is {0}", entity.GetType()); }
The other question I have, is just about general debugging stuff I can use... The above, and just cycling through the variables that VisualStudio lets me see... is just about everything I've found/used... Anything else I should be using?
Thanks!!!
Planner spawn spamming? Also, debugging general bonus question...
Discussion in 'Rust Development' started by KittyMeowMeow, Dec 17, 2017.