StarMade 0.094: NPC Spam Fix

    schema

    Cat God
    Joined
    Feb 17, 2012
    Messages
    1,552
    Reaction score
    2,604
    • Schine
    Hello,

    the last updates contained a few serious bugs.

    For one, the delay between spawning mobs was interpreted as milliseconds and not as seconds, therefore the default delay of ~500 caused the system to possibly spawn mobs every half second instead of almost every 10 minutes.

    Another bug was, that even if the limit was reached, the system would still spawn the ships in the database, but not adding any AI to them. This means that mobs would gather in the same sectors, and then lag out the game when they suddenly got loaded "for real", since they all are mostly overlapping, and therefore crippling the physics.

    I added a one-time simulation mob cleanup hook to the update. If you want to use the cleanup hook in the future, just start the actual game with the parameter "-cleansim".

    Also, enemy patrols and raiding parties will no longer be spawned near players in a sector with a shop. Shop & Station frequency has been reduced a bit.

    I hope this update finally takes care of the problems,

    Thanks for playing StarMade, and sorry about the bug,

    - schema