SA-MP Forums Archive
Run time error 19: "File or function is not found" - 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: Run time error 19: "File or function is not found" (/showthread.php?tid=280707)



Run time error 19: "File or function is not found" - alanbr00 - 02.09.2011

Olб pessoal to com um problema Tento rodar meu server de dm pelo linux porйm fica dando 2 erros:


[23:36:22] Loading plugin: streamer
[23:36:22] Failed (plugins/streamer: cannot open shared object file: No such file or directory)

Script[gamemodes/hsdm.amx]: Run time error 19: "File or function is not found"

Quem puder me ajudar agradeзo desde jб e claro agradeзo o espaзo para poder postar minha dъvida que pode ser de outro.


Re: Run time error 19: "File or function is not found" - JiHost - 02.09.2011

Please use english.
Make sure all plugins are located in "plugins" folder.


Re: Run time error 19: "File or function is not found" - array13 - 02.09.2011

i will speak portuguese(should be better for he, i will translate below)

Primeiro, quais sao os plugins que usa?
Segundo, tire da internet o sscanf e streamer(dependendo do host)
terзeiro, como o OS й linux, meta streamer.so e sscanf.so no server.cfg(fazer o upload dos mesmos pro host)
Quart, de-me rep se isto o ajudou

ENGLISH

first, what is the plugins you are using
second, donwload the streamer and sscanf(depending of Host operating system)
Thirs, like you refer, the host use linux OS so you need to put on server.cfg streamer.so and sscanf.so(and upload the streamer.so and sscanf.so file to the Host)
Four. Give me rep if this helped


Re: Run time error 19: "File or function is not found" - Surferdude - 03.09.2011

Alright. If you are using linux you must have the streamer.so for you plugins. If your using windows you need the streamer.dll

Also, You should be using streamer plugin by Incognito if Im correct which is here:
https://sampforum.blast.hk/showthread.php?tid=102865

Put both the .so and .dll and your Plugins Folder and The Includes in your PAWNO > Includes.

Now, I think I know where you are having problems. If you are using linux in your server.cfg next to plugins you need to do streamer.so

If you are using windows you just need the streamer next to plugins.

So this is how it would look if you have linux.

Код:
echo Executing Server Config...
lanmode 0
rcon_password apple
maxplayers 50
port 7777
hostname Test
gamemode0 grandlarc
filterscripts 
plugins streamer.so
announce 1
query 1
weburl 
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
And This is how it would look if you have windows.

Код:
echo Executing Server Config...
lanmode 0
rcon_password apple
maxplayers 50
port 7777
hostname Test
gamemode0 grandlarc
filterscripts 
plugins streamer
announce 1
query 1
weburl 
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
Hope this has helped!


Re: Run time error 19: "File or function is not found" - alanbr00 - 03.09.2011

Sorry guys for the portuguese.
And i get fixed the problem was so small in server.cfg in windows the plugin is only "streamer" at linux has to be "streamer.so" because of this .so the GM stay unknow. So thanks all!


Re: Run time error 19: "File or function is not found" - JiHost - 03.09.2011

Glad your problem is fixed. Next time use search, this question was answered like billion times.


Re: Run time error 19: "File or function is not found" - array13 - 03.09.2011

Rep for me?