SA-MP Forums Archive
Runtime error 19 - 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: Runtime error 19 (/showthread.php?tid=456623)



[Fixed] Runtime error 19 - juanrivas - 06.08.2013

Okay I've just gotten a new VPS and i tried running the server and I got a run time error 19. It used to work on my last VPS..

Before you say anything, yes I have all the plugins, latest version.
This the log i get with nativecheker:
Код:
[04:49:10]    Error: Function not registered: 'FCNPC_SetUpdateRate'
[04:49:10]    Error: Function not registered: 'FCNPC_IsNodeOpen'
[04:49:10]    Error: Function not registered: 'FCNPC_OpenNode'
[04:49:10]    Error: Function not registered: 'FCNPC_Create'
[04:49:10]    Error: Function not registered: 'FCNPC_Spawn'
[04:49:10]    Error: Function not registered: 'FCNPC_SetHealth'
[04:49:10]    Error: Function not registered: 'FCNPC_GetNodeInfo'
[04:49:10]    Error: Function not registered: 'FCNPC_SetNodePoint'
[04:49:10]    Error: Function not registered: 'FCNPC_GetNodePointPosition'
[04:49:10]    Error: Function not registered: 'FCNPC_SetPosition'
[04:49:10]    Error: Function not registered: 'FCNPC_PlayNode'
[04:49:10]    Error: Function not registered: 'FCNPC_GetPosition'
[04:49:10]    Error: Function not registered: 'FCNPC_GoTo'
[04:49:10]    Error: Function not registered: 'FCNPC_IsDead'
[04:49:10]    Error: Function not registered: 'FCNPC_Respawn'
[04:49:10]    Error: Function not registered: 'FCNPC_GetHealth'
[04:49:10]    Error: Function not registered: 'FCNPC_CloseNode'
[04:49:10]    Error: Function not registered: 'FCNPC_Destroy'
[04:49:10]    Error: Function not registered: 'FCNPC_SetKeys'
Full log:
Код:
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[04:49:09] filterscripts = ""  (string)
[04:49:10] 
[04:49:10] Server Plugins
[04:49:10] --------------
[04:49:10]  Loading plugin: streamer
[04:49:10] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[04:49:10]   Loaded.
[04:49:10]  Loading plugin: Whirlpool
[04:49:10]  
[04:49:10]  ==================
[04:49:10]  
[04:49:10]   Whirlpool loaded
[04:49:10]  
[04:49:10]  ==================
[04:49:10]  
[04:49:10]   Loaded.
[04:49:10]  Loading plugin: sscanf
[04:49:10] 

[04:49:10]  ===============================

[04:49:10]       sscanf plugin loaded.     

[04:49:10]          Version:  2.8.1        

[04:49:10]    © 2012 Alex "******" Cole  

[04:49:10]  ===============================

[04:49:10]   Loaded.
[04:49:10]  Loading plugin: FCNPC
[04:49:10]   Failed.
[04:49:10]  Loading plugin: nativechecker
[04:49:10]   Loaded.
[04:49:10]  Loaded 4 plugins.

[04:49:10] 
[04:49:10] Ban list
[04:49:10] --------
[04:49:10]  Loaded: samp.ban
[04:49:10] 
[04:49:10] 
[04:49:10] Filterscripts
[04:49:10] ---------------
[04:49:10]   Loaded 0 filterscripts.

[04:49:10]    Error: Function not registered: 'FCNPC_SetUpdateRate'
[04:49:10]    Error: Function not registered: 'FCNPC_IsNodeOpen'
[04:49:10]    Error: Function not registered: 'FCNPC_OpenNode'
[04:49:10]    Error: Function not registered: 'FCNPC_Create'
[04:49:10]    Error: Function not registered: 'FCNPC_Spawn'
[04:49:10]    Error: Function not registered: 'FCNPC_SetHealth'
[04:49:10]    Error: Function not registered: 'FCNPC_GetNodeInfo'
[04:49:10]    Error: Function not registered: 'FCNPC_SetNodePoint'
[04:49:10]    Error: Function not registered: 'FCNPC_GetNodePointPosition'
[04:49:10]    Error: Function not registered: 'FCNPC_SetPosition'
[04:49:10]    Error: Function not registered: 'FCNPC_PlayNode'
[04:49:10]    Error: Function not registered: 'FCNPC_GetPosition'
[04:49:10]    Error: Function not registered: 'FCNPC_GoTo'
[04:49:10]    Error: Function not registered: 'FCNPC_IsDead'
[04:49:10]    Error: Function not registered: 'FCNPC_Respawn'
[04:49:10]    Error: Function not registered: 'FCNPC_GetHealth'
[04:49:10]    Error: Function not registered: 'FCNPC_CloseNode'
[04:49:10]    Error: Function not registered: 'FCNPC_Destroy'
[04:49:10]    Error: Function not registered: 'FCNPC_SetKeys'
[04:49:10] Script[gamemodes/dayzsql.amx]: Run time error 19: "File or function is not found"
[04:49:10] Number of vehicle models: 0
It seems is a problem with FCNPC plugin.

Yes i've updated them... http://i.imgur.com/VYFiVbI.png


Re: Runtime error 19 - Scenario - 06.08.2013

Quote:

Loading plugin: FCNPC
[04:49:10] Failed.

This is why it's not working. Check the permissions and make sure it's compatible with your system. You could even try to compile it on your system and get your own binaries. Also, ask the author for a static version perhaps, too.


Re: Runtime error 19 - PrinceKumar - 06.08.2013

Have you scripted main() in ur gamemode.


Re: Runtime error 19 - Scenario - 06.08.2013

Quote:
Originally Posted by PrinceKumar
Посмотреть сообщение
Have you scripted main() in ur gamemode.
That causes a different runtime error.


Re: Runtime error 19 - juanrivas - 06.08.2013

Yes Prince. It works on my PC, I uploaded every file to the VPS and it doesn't work.
I don't know if its a Windows thing? Am I missing a program required by samp?


Re: Runtime error 19 - Necip - 06.08.2013

Quote:
Originally Posted by juanrivas
Посмотреть сообщение
Yes Prince. It works on my PC, I uploaded every file to the VPS and it doesn't work.
I don't know if its a Windows thing? Am I missing a program required by samp?
Is your host Linux or Windows? Can you show your server.cfg ?


Re: Runtime error 19 - juanrivas - 06.08.2013

Windows
Код:
echo Executing Server Config...
lanmode 0
rcon_password hidden
maxplayers 150
port 7777
hostname .:GTA SA: Dayz:.
gamemode0 dayzsql
filterscripts
plugins FCNPC streamer Whirlpool sscanf
query 1
chatlogging 0
weburl www.sampdayz.com
onfoot_rate 41
incar_rate 40
weapon_rate 40
stream_distance 700.0
stream_rate 1000
maxnpc 50
logtimeformat [%H:%M:%S]



Re: Runtime error 19 - juanrivas - 06.08.2013

Thank you guys for the assist, but I was able to fix it. Since the VPS was new and it had just been installed all I did was install Microsoft Visual C++ 2008 Redistributable Package (x86) and (x64)

This fixed the problem.