SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 12/07/2019, 12:24 AM   #1
alexjanjaj
Little Clucker
 
Join Date: May 2015
Posts: 23
Reputation: 0
Default Run time error 19: "File or function is not found"

Been getting Run time error 19: "File or function is not found", no idea what to do at this point.
Updated all plugins, recompiled the gamemode and yet again nothing.
Any ideas?
alexjanjaj is offline   Reply With Quote
Old 12/07/2019, 12:53 AM   #2
Mobtiesgangsa
Big Clucker
 
Join Date: Oct 2016
Posts: 131
Reputation: 16
Default Re: Run time error 19: "File or function is not found"

We're not Jedi to guess your problem/issue please provide logs and other things like what is included at the very top of the script, what contains your server config file plugin line and server log
Mobtiesgangsa is offline   Reply With Quote
Old 12/07/2019, 02:15 AM   #3
alexjanjaj
Little Clucker
 
Join Date: May 2015
Posts: 23
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

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

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[04:16:19] filterscripts = ""  (string)
[04:16:19] 
[04:16:19] Server Plugins
[04:16:19] --------------
[04:16:19]  Loading plugin: streamer
[04:16:19]   Failed.
[04:16:19]  Loading plugin: whirlpool
[04:16:19]  
[04:16:19]  ==================
[04:16:19]  
[04:16:19]   Whirlpool loaded
[04:16:19]  
[04:16:19]  ==================
[04:16:19]  
[04:16:19]   Loaded.
[04:16:19]  Loading plugin: sscanf
[04:16:19] 

[04:16:19]  ===============================

[04:16:19]       sscanf plugin loaded.     

[04:16:19]          Version:  2.8.2        

[04:16:19]    (c) 2012 Alex "******" Cole  

[04:16:19]  ===============================

[04:16:19]   Loaded.
[04:16:19]  Loaded 2 plugins.

[04:16:19] 
[04:16:19] Filterscripts
[04:16:19] ---------------
[04:16:19]   Loaded 0 filterscripts.

[04:16:19] Script[gamemodes/test.amx]: Run time error 19: "File or function is not found"
[04:16:19] Number of vehicle models: 0
alexjanjaj is offline   Reply With Quote
Old 12/07/2019, 06:44 AM   #4
Mugala
High-roller
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: Georgia, Tbilisi
Posts: 1,065
Reputation: 50
Default Re: Run time error 19: "File or function is not found"

make sure you have a streamer plugin in plugins folder.
if exists, update it with newer version. (do replaces)
__________________
Coding in 8 languages including Pawn, C#, C++ and SQL.
Available for hiring.

If you have a coding question or need an assistance in a code, just PM me.
If you want me to create something for you, here is a Discord Mugala#5651

Currently helping Community members in a coding.
Mugala is offline   Reply With Quote
Old 12/07/2019, 11:57 AM   #5
alexjanjaj
Little Clucker
 
Join Date: May 2015
Posts: 23
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

Okay so, not sure if this means anything. I tried running the samp server on my pc and it perfectly works fine.
It only gives me Run time error 19 when i try to run it on my VPS.
Any ideas?
alexjanjaj is offline   Reply With Quote
Old 12/07/2019, 12:04 PM   #6
Mugala
High-roller
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: Georgia, Tbilisi
Posts: 1,065
Reputation: 50
Default Re: Run time error 19: "File or function is not found"

if your VPS using Linux OS, make sure you have right configs for server.cfg
I mean, check if you have streamer.so in your server.cfg and streamer.so file in plugins folder.
__________________
Coding in 8 languages including Pawn, C#, C++ and SQL.
Available for hiring.

If you have a coding question or need an assistance in a code, just PM me.
If you want me to create something for you, here is a Discord Mugala#5651

Currently helping Community members in a coding.
Mugala is offline   Reply With Quote
Old 12/07/2019, 12:11 PM   #7
alexjanjaj
Little Clucker
 
Join Date: May 2015
Posts: 23
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

Currently running Windows Server 2016.
alexjanjaj is offline   Reply With Quote
Old 12/07/2019, 12:15 PM   #8
Mugala
High-roller
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: Georgia, Tbilisi
Posts: 1,065
Reputation: 50
Default Re: Run time error 19: "File or function is not found"

can u upload screen of your plugins folder?
and copy text from server.cfg? (RCON is not necessary)
__________________
Coding in 8 languages including Pawn, C#, C++ and SQL.
Available for hiring.

If you have a coding question or need an assistance in a code, just PM me.
If you want me to create something for you, here is a Discord Mugala#5651

Currently helping Community members in a coding.
Mugala is offline   Reply With Quote
Old 12/07/2019, 01:04 PM   #9
alexjanjaj
Little Clucker
 
Join Date: May 2015
Posts: 23
Reputation: 0
Default Re: Run time error 19: "File or function is not found"

Honestly i dont think it's the files that have the issues but rather the VPS, maybe there is some c++ library missing? I tested the exact files on my pc and seems to work fine.


server.cfg:

Code:
echo Executing Server Config...
lanmode 0
rcon_password test123
maxplayers 50
port 7777
hostname name
gamemode0 test
filterscripts 
plugins streamer whirlpool sscanf
announce 1
chatlogging 1
weburl 
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
language English
Plugins: Imgur
alexjanjaj is offline   Reply With Quote
Old 12/07/2019, 01:08 PM   #10
Mugala
High-roller
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: Georgia, Tbilisi
Posts: 1,065
Reputation: 50
Default Re: Run time error 19: "File or function is not found"

last version of streamer.dll is nearly 400kb, there is 250kb with your version, try to update last version. re-compile with newer include and upload streamer.dll and new gamemode.

if this wont work, than try starting server with crashdetect, we might see what causes that error with carshdetect.
__________________
Coding in 8 languages including Pawn, C#, C++ and SQL.
Available for hiring.

If you have a coding question or need an assistance in a code, just PM me.
If you want me to create something for you, here is a Discord Mugala#5651

Currently helping Community members in a coding.
Mugala is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] Ajuda - "Run time error 19: "File or function is not Found" UserUnk0wn PortuguÍs/Portuguese 6 04/01/2017 12:46 PM
[HELP]Script [gamemodes/v7.amx]: Run time error 19: "File or function is not found" Ravnos Scripting Help 11 10/03/2012 10:32 AM
Run time error 19: " File on function is not found" With MySQL Server Cremater Server Support 3 27/07/2010 04:17 AM
"Run time error 19: "File or function is not found" TouR Help Archive 2 18/06/2010 10:04 AM


All times are GMT. The time now is 09:21 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.