As stated in title, AngelScript plugin fails to load for an unknown reason on my Debian 9 VPS when added to "default_plugins.txt".
However, the weapons and menus work absolutely fine when added to a map .cfg file manually using:
map_script ins2/ins2_register
Other AngelScript plugins load without issue, but plugin 'Insurgency Mod' fails to compile. I have also tried running just "Insurgency Mod" with all other plugins removed, but the issue still persists.
It also seems to work properly on my local machine when running a listen server, although this may have something to do with me using the Proton/WINE version of Sven Co-op. I ran into these exact same issues with the CS1.6 weapons mod as well.
Any help would be greatly appreciated!
as_reloadplugins results:
as_reloadplugins
Angelscript: Reloading plugins
Angelscript: Removed 1 plugin(s)
Angelscript: Loading plugin lists
Angelscript: Loading plugin list 'default_plugins.txt'
Angelscript: Loading plugins from file 'default_plugins.txt'
Angelscript: Plugin list 'default_plugins.txt' - 3 plugin(s) listed
ERROR: Angelscript: Failed to add plugin 'Insurgency Mod'!
Angelscript: Included script 'StringUtils'
Angelscript: Included script '../../Cfg'
Angelscript: Beginning plugin 'PlayerManagement' compilation
Angelscript: Starting compilation: 3 scripts
Angelscript: Plugin script compilation succeeded
Angelscript: Registering hook: module 'PlayerManagement', hook 'ClientSay', function 'PlayerManagement::ClientSay'
PlayerManagement: config file scripts/plugins/admin/Config/PlayerManagement.cfg loaded
Angelscript: Adding console command 'plrmgr.admin_slap'
Angelscript: Adding console command 'plrmgr.admin_slay'
Angelscript: Adding console command 'plrmgr.admin_kick'
Angelscript: Adding console command 'plrmgr.admin_ban'
Angelscript: Adding console command 'plrmgr.admin_teleport'
Angelscript: Adding console command 'plrmgr.admin_teleportto'
Angelscript: Adding console command 'plrmgr.admin_sethealth'
Angelscript: Adding console command 'plrmgr.admin_setarmor'
Angelscript: Beginning plugin 'Speedometer' compilation
Angelscript: Starting compilation: 1 scripts
Angelscript: Plugin script compilation succeeded
Angelscript: Registering hook: module 'Speedometer', hook 'ClientSay', function '::ClientSay'
Angelscript: 3 plugin(s) total
Angelscript: 2 plugin(s) successfully compiled
Angelscript: 1 plugin(s) failed compilation
When attempting as_reloadplugin "Insurgency Mod"
as_reloadplugin 'Insurgency Mod'
Angelscript: as_reloadplugin usage:
"as_reloadplugin <plugin name>" to reload a plugin
as_reloadplugin "Insurgency Mod"
WARNING: Angelscript: No such plugin 'Insurgency Mod', cannot remove
WARNING: Angelscript: No such plugin 'Insurgency Mod', cannot reload
Reloading plugin list file to locate plugin data
Angelscript: Loading plugin lists
Angelscript: Loading plugin list 'default_plugins.txt'
Angelscript: Loading plugins from file 'default_plugins.txt'
ERROR: Angelscript: Failed to add plugin 'Insurgency Mod'!
Contents of the server's default_plugins.txt:
//========================================
//
// This file lists all plugins that are loaded by the game
// Plugins use Angelscript
//
//========================================
"plugins"
{
"plugin"
{
"name" "Insurgency Mod"
"script" "../maps/ins2/ins2_register"
"concommandns" "ins2"
}
"plugin"
{
"name" "PlayerManagement"
"script" "admin/PlayerManagement"
"concommandns" "plrmgr"
}
"plugin"
{
"name" "Speedometer"
"script" "SpeedoMeter"
}
// "plugin"
// {
// "name" "EntityManager"
// "script" "EntityManager"
// "concommandns" "entmngr"
// }
//
// "plugin"
// {
// "name" "Teleport"
// "script" "Teleport"
// }
//
// "plugin"
// {
// "name" "Vox"
// "script" "Vox"
// }
}