Skip to content

10.8

Choose a tag to compare

@JonnygamingTv JonnygamingTv released this 25 Feb 15:55
· 101 commits to simple since this release
d934bee

Put files inside /U3DS/Modules/Rocket.Unturned/

Total changes overall:

Optimized (Speed)

  • Command lookups (more effect, with ~0.5 ms saved per lookup with 300 registered commands. ~0.02 ms per lookup with 100 registered commands.) Check source
  • Cooldown lookups (might save ~0.01 ms per check) Check source
  • Permissions (the more groups or the more group members, the more time saved with my changes. ~0.01-0.1 ms + ~0.01-0.1 ms saved per group check, which amounts with more players per groups or more existing groups overall) Check source B
  • TranslationList (same as command lookups pretty much) Check change
  • Tiny improvement to QueueOnMainThread (save some overhead by not re-allocating the variables every tick, just clearing them instead) Check change
  • Removed FixedUpdate() in permissions manager, saving overhead for servers that don't use web-based permissions. (Web-based permissions now use a Coroutine instead) RocketPermissionsManager R

Patches:

  • Fixed error when GetCommand() returns null
  • Added nullcheck to GetCooldown() Source

Patches for things this fork caused (this version undid a modification made by me):

  • Undid a few minor changes made to permissions to get compatibility with a few selection of plugins (ShimmysAdminTools, AdvancedRegions)

Changes:

  • Patched /p reload not syncing members from List<> to HashSet<>

Todo:

  • Optimize memory usage by removing List<> objects that are never used (will need some testing)
  • Clean up commented code

Bugs:

No bugs should be on this version, however some bugs that some of the previous builds had were:

  • Memberlist not loading properly on server load (the List -> HashSet conversion weren't done correctly)
  • were wiped due to putting [obsolete] over List<> Members variable.

If you want to download this automatically:

wget https://github.com/JonnygamingTv/RocketModFix/releases/download/2.8/Rocket.Core.dll -O ./Rocket.Core.dll
wget https://github.com/JonnygamingTv/RocketModFix/releases/download/2.6/Rocket.API.dll -O ./Rocket.API.dll
wget https://github.com/JonnygamingTv/RocketModFix/releases/download/2.6/Rocket.Unturned.dll -O ./Rocket.Unturned.dll