View Single Post
Author Message
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 07-26-2019 , 23:38   [ANY] Valve Server Plugin Late Load Fix
Reply With Quote #1

This plugin is written to bypass the restriction of loading valve server plugin files after a map has been loaded. The following response would normally be "plugin_load : cannot load a plugin while running a map" on games affected by this. This means you have to restart the server and load the VSP using only a VDF file. You can instead load this sourcemod plugin (late) and gain access to use the command without a server reboot.

This may not work on ALL source game versions as it has only been tested against cstrike and tf2. The code which blocks the plugin_load appears to be mostly the same between game engine versions. If you test this against another game and it works please post below so I can add it to the list. If theres an issue with it not working also post so I can add support for it.

Install Instructions:
Place the 'VSPLateLoadFix.txt' inside of your 'addons\sourcemod\gamedata\' directory.
Place the 'VSPLateLoadFix.smx' inside of your 'addons\sourcemod\plugins\' directory.
Use sm_rcon or rcon to issue command 'plugin_load VSPLateLoadFix' or just change maps.
Attached Files
File Type: sp Get Plugin or Get Source (VSPLateLoadFix.sp - 138 views - 915 Bytes)
File Type: txt VSPLateLoadFix.txt (434 Bytes, 65 views)
Taking Free/Paid Requests! Send a PM
--->Donate here if you like my work. <--- (or ask for my paypal in private)

Last edited by 1337norway; 07-27-2019 at 13:48.
1337norway is offline