SA-MP Forums Archive
Error 19 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Error 19 (/showthread.php?tid=339256)



Error 19 - Infinity90 - 02.05.2012

ok, I have just added my script and i get no errors but when I try and load the gamemode and run it on the Console thing, it says Error 19: File Or Function Not Found
help please
other gamemodes it loads.....


Re: Error 19 - Mark™ - 02.05.2012

Post your server_log here.


Re: Error 19 - Infinity90 - 02.05.2012

Код:
SA-MP Dedicated Server
----------------------
v0.3d-R2, ©2005-2011 SA-MP Team

[01:20:07] filterscripts = ""  (string)
[01:20:07] password = ""  (string)
[01:20:07] maxnpc = 0  (int)
[01:20:07] 
[01:20:07] Server Plugins
[01:20:07] --------------
[01:20:07]  Loading plugin: audio.so
[01:20:07] 
*** Audio Plugin v0.4 by Incognito loaded ***

[01:20:07]   Loaded.
[01:20:07]  Loading plugin: sscanf.so
[01:20:07] 

[01:20:07]  ===============================

[01:20:07]       sscanf plugin loaded.     

[01:20:07]    © 2009 Alex "******" Cole

[01:20:07]    0.3d-R2 500 Players "dnee"

[01:20:07]  ===============================

[01:20:07]   Loaded.
[01:20:07]  Loading plugin: AntiCheat.so
[01:20:07]   Failed (libsampgdk.so.2: cannot open shared object file: No such file or directory)
[01:20:07]  Loaded 2 plugins.

[01:20:07] 
[01:20:07] Filterscripts
[01:20:07] ---------------
[01:20:07]   Loaded 0 filterscripts.

[01:20:07] Script[gamemodes/nerp.amx]: Run time error 19: "File or function is not found"
[01:20:07] Number of vehicle models: 0



Re: Error 19 - Mark™ - 02.05.2012

The anticheat plugin fails to load, have you uploaded the .so plugin to the plugins folder ?


Re: Error 19 - Infinity90 - 03.05.2012

I removed it, it still does nothing :@


Re: Error 19 - dannyk0ed - 03.05.2012

Do you have streamer?


Re: Error 19 - Nєχυѕ - 03.05.2012

Download Anticheat plugin again and upload it. Might work.


Re: Error 19 - Infinity90 - 03.05.2012

I've tryed that, I don't use streamer either.


Re: Error 19 - ColorHost-Kevin - 03.05.2012

Looks to me like you dont have the shared file as it sees here:

Failed (libsampgdk.so.2)

I would suggest getting that file, then retrying.

EDIT:

I was searching, and found this to be very handy with that error.

1.Download libsampgdk-x.y.z-Linux.sh.

2.Run it as follows: sudo sh sampgdk-x.y.z-Linux.sh --prefix=/usr/local/. This will install the library and headers to /usr/local/lib and /usr/local/include respectively.

3.Link against libsampgdk, e.g. g++ -shared plugin.cpp -lsampgdk -o plugin.so.

Try doing that (if you have access, if not you need to ask your host to fix it.)