Skip to content

v3.1.0R

Choose a tag to compare

@github-actions github-actions released this 10 Oct 18:13
· 35 commits to master since this release
e0c3227

New (ported from 3.1-dev)

  • Per-player storage: vip_storage table, sm_vip_storage_id, VIP_SetClientStorageValue / VIP_GetClientStorageValue, VIP_OnClientStorageLoaded
  • Feature statuses are stored in vip_storage instead of clientprefs cookies (USE_CLIENTPREFS 0); existing cookie values are migrated on first load
  • VIP_AddGroup / VIP_RemoveGroup (in-memory groups), VIP_IsGroupExists (VIP_IsValidVIPGroup is deprecated), VIP_OnConfigsLoaded, VIP_CORE_INTERFACE 310
  • Features are turned off when VIP is removed by a plugin or an admin
  • vip_modules.phrases.txt added (the core already loaded it)

Fixes

  • Server hang when sm_vip_menu_commands is empty or ends with ;
  • SQL injection in the admin menu player search
  • Every in-game player loaded twice on start / late load (leaks, double forwards and toggles)
  • Expired VIPs deleted in-game with sm_vip_delete_expired -1
  • Admin menu acting on a stale target after picking from the DB list; deleting an online player left in-game VIP active
  • VIP_OnVIPClientLoaded and feature toggles firing twice while the status store was loading
  • Text with % (player names) breaking chat messages, VIP_LogMessage and logs
  • Removals not logged / DataPack leaks when the admin leaves mid-query
  • iAdmin -1 ("plugin") throwing in VIP_GiveClientVIP / VIP_RemoveClientVIP2
  • Wrong old group in the group change log, wrong SteamID in the temp VIP info menu, admin menu "back" after adding a VIP
  • VIPs not yet authorized by Steam on connect never getting VIP that session
  • VIP_OnClientLoaded not firing for an invalid group or a DB error; client reset wiping spawn/chat flags
  • Storage changes lost on plugin unload/reload (saved synchronously in OnPluginEnd)
  • VIP_RegisterFeature breaking modules built against an older include
  • sm_addvip int overflow on large durations; malformed STEAM_ ids accepted
  • VIP_GetClientFeatureBool ignoring the value, cookie leak on VIP_UnregisterFeature, VIP_GetDatabase throwing before connect
  • Info messages: KeyValues leak when blocked, Plugin_Changed ignored, https:// URLs broken
  • VIP menu flood guard never triggering

Other

  • Code, comments, cvar descriptions and docs are English-only; guides moved to docs/
  • Code style and comment rules in AGENTS.md
  • updates.md removed: the changelog lives in GitHub Releases (3.0 DEV history moved into the 3.0 R notes)

Builds clean on SM 1.10–1.13.

Full Changelog: v3.0.7R...v3.1.0R