Error 19
#1

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.....
Reply
#2

Post your server_log here.
Reply
#3

Код:
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
Reply
#4

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

I removed it, it still does nothing :@
Reply
#6

Do you have streamer?
Reply
#7

Download Anticheat plugin again and upload it. Might work.
Reply
#8

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

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.)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)