DynamicCupShare

DynamicCupShare 3.1.14

  • Modified "OnTurretTarget" contra returning NullReferenceException
  • Replaced too slow IPlayer search methods by faster one's
  • Like
Reactions: gormie
  • Added again more stupid null checks to the fukkin "CanBeTargeted" hooks
  • Since i do now already check each input against null, and anyone has still NRE's there, then sorry, but you need to set finally:
    Code:
        "includeFlameTurrets": false,
        "includeGunTraps": false
    Cause i've maxed out already whats possible by the plugin to check against null.
  • Fix for "InvalidOperationException"
  • Trying to fix "OnTurretTarget" NRE
  • Possible fix for NRE at "CanBeTargeted"
  • Fixed "Friends" support
  • Probable fix for NRE at OnTurretTarget
  • Major code-overhaul across the whole plugin;
    Got rid of unneeded calculations or replaced them to a centralized position
  • Improved performance especially for any turret hooks on FlameTurret and GunTrap;
    These cannot save users by internal lists (like the AutoTurret) and need therefore to re-check the targets on each turret-tick;
    This uses now a smart caching method to prevent the same repeating Clan/Friends-status checks on the same turret while the player is still in range of.
  • Multiple times tested, but can still have a few|new non-critical bugs.
  • Tweaked the performance (= consumed plugintime) for the per-player based cupboard authorization checks.
    For any who knows how to compare before and after: plz note the current runtime and plugintime, let it run the same time, and take then note of the plugintime again.
  • Trying to fix NRE at "SetPlayer"
  • Trying to fix NRE at "CanBeTargeted"