SA-MP Forums Archive
Plugins won't run through Windows VPS (Runtime error 9) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Plugins won't run through Windows VPS (Runtime error 9) (/showthread.php?tid=465693)



Plugins won't run through Windows VPS (Runtime error 9) - [SF]OutLawZ - 23.09.2013

Hi,

I've recently purchased a windows VPS although I couldn't get some plugins to run as I am getting a run time error 9.
Streamer plugin and Path Finder wouldn't run at all. I've obviously installed .Net Framework but that doesn't seem to be the problem.

Any suggestions? Please don't give me lame responses such as check your .dll files. Thanks


Re: Plugins won't run through Windows VPS (Runtime error 9) - LeoBawler - 23.09.2013

You mind posting the code, and what comes up in the console?


Re: Plugins won't run through Windows VPS (Runtime error 9) - [SF]OutLawZ - 23.09.2013

Woops, forgot to post the log. It ain't going to show much at all but here we are.
I am also running just the standard 'bare' gamemode.
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x-R2, ©2005-2013 SA-MP Team

[16:12:59] 
[16:12:59] Server Plugins
[16:12:59] --------------
[16:12:59]  Loading plugin: PathFinder
[16:12:59]   Failed.
[16:12:59]  Loading plugin: FCNPC
[16:12:59] 
[16:12:59] -------------------------------------------------
[16:12:59]      FCNPC - Fully Controllable NPC v0.1 B8 R2
[16:12:59] 
[16:12:59] - Author: OrMisicL
[16:12:59] - Build:  May 15 2013 at 12:22:37
[16:12:59] -------------------------------------------------
[16:12:59] 
[16:12:59] Loading ...
[16:12:59] Warning: the maxnpc limit is 0 (you will not be able to create NPCs unless you change it)
[16:12:59] FCNPC Loaded.
[16:12:59] 
[16:12:59]   Loaded.
[16:12:59]  Loading plugin: Whirlpool
[16:12:59]  
[16:12:59]  ==================
[16:12:59]  
[16:12:59]   Whirlpool loaded
[16:12:59]  
[16:12:59]  ==================
[16:12:59]  
[16:12:59]   Loaded.
[16:12:59]  Loading plugin: sscanf
[16:12:59] 

[16:12:59]  ===============================

[16:12:59]       sscanf plugin loaded.     

[16:12:59]    © 2009 Alex "******" Cole

[16:12:59]    0.3d-R2 500 Players "dnee"

[16:12:59]  ===============================

[16:12:59]   Loaded.
[16:12:59]  Loading plugin: streamer
[16:12:59]   Failed.
[16:12:59]  Loaded 3 plugins.


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x-R2, ©2005-2013 SA-MP Team

[16:13:50] 
[16:13:50] Server Plugins
[16:13:50] --------------
[16:13:50]  Loading plugin: crashdetect
[16:13:50]   Failed.
[16:13:50]  Loading plugin: PathFinder
[16:13:50]   Failed.
[16:13:50]  Loading plugin: FCNPC
[16:13:50] 
[16:13:50] -------------------------------------------------
[16:13:50]      FCNPC - Fully Controllable NPC v0.1 B8 R2
[16:13:50] 
[16:13:50] - Author: OrMisicL
[16:13:50] - Build:  May 15 2013 at 12:22:37
[16:13:50] -------------------------------------------------
[16:13:50] 
[16:13:50] Loading ...
[16:13:50] Warning: the maxnpc limit is 0 (you will not be able to create NPCs unless you change it)
[16:13:50] FCNPC Loaded.
[16:13:50] 
[16:13:50]   Loaded.
[16:13:50]  Loading plugin: Whirlpool
[16:13:50]  
[16:13:50]  ==================
[16:13:50]  
[16:13:50]   Whirlpool loaded
[16:13:50]  
[16:13:50]  ==================
[16:13:50]  
[16:13:50]   Loaded.
[16:13:50]  Loading plugin: sscanf
[16:13:50] 

[16:13:50]  ===============================

[16:13:50]       sscanf plugin loaded.     

[16:13:50]    © 2009 Alex "******" Cole

[16:13:50]    0.3d-R2 500 Players "dnee"

[16:13:50]  ===============================

[16:13:50]   Loaded.
[16:13:50]  Loading plugin: streamer
[16:13:50]   Failed.
[16:13:50]  Loaded 3 plugins.
I'm not sure why it's giving me that NPC warning message, I already declared 50 slots of NPC'S in my server.cfg but anyways..


Re: Plugins won't run through Windows VPS (Runtime error 9) - Khanz - 23.09.2013

Can you show your server.cfg file?


Re: Plugins won't run through Windows VPS (Runtime error 9) - Jstylezzz - 23.09.2013

About FNCP, it gives a warning saying that maxnpc in the server.cfg is 0, try changing that.
Код:
[16:13:50] Warning: the maxnpc limit is 0 (you will not be able to create NPCs unless you change it)
[16:13:50] FCNPC Loaded.



Re: Plugins won't run through Windows VPS (Runtime error 9) - [SF]OutLawZ - 24.09.2013

Код:
echo Executing Server Config...
lanmode 1
rcon_password 123
maxplayers 100
port 7777
hostname My server
gamemode0 bare 1
plugins PathFinder FCNPC Whirlpool sscanf streamer
announce 1
query 1
chatlogging 1
weburl website
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 50
logtimeformat [%H:%M:%S]
Never mind the FCNPC, I got that working.


Re: Plugins won't run through Windows VPS (Runtime error 9) - [SF]OutLawZ - 24.09.2013

I got it working, thanks for your attempts on helping. It was actually a .NET Framework problem. The server wasn't reading the program so I just put msvcp100.dll and msvcr100.dll in the sa:mp directory folder.