SA-MP Forums Archive
File or function not found? - 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: File or function not found? (/showthread.php?tid=485190)



File or function not found? - ShotzLucky - 03.01.2014

Hey, when I start my SA:MP Server I get "File or function not found" as an, I have looked up through tutorial's, etc and I can't fix it. Here's what I get.
http://gyazo.com/e260515e9c5246b7c420abed5ca485af

Here's my server.cfg:

echo Executing Server Config...
lanmode 0
rcon_password ((((()))))))
maxplayers 100
port 7777
hostname Tierra Robada Roleplay[0.3x]
gamemode0 LeeScript 1
filterscripts yrace interior anims
plugins GeoIP_Plugin streamer whirlpool
announce 0
query 1
weburl website
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
password (((((())))))


Re : File or function not found? - Flobesst - 03.01.2014

Hi,

Does the file LeeScript.amx and the file LeeScript.pwn exist at least ? They should be located into YourServerFolder/gamemodes/.


Re: File or function not found? - ShotzLucky - 03.01.2014

Yes, it does.
Here's a screenshot:
http://gyazo.com/fbcba7e4e8b1708942cd0d3761d89d04


Re : File or function not found? - Flobesst - 03.01.2014

Ok so your problem might be related to a plugin. Maybe you forgot to include something in your GameMode.

Maybe this will help you:
https://sampforum.blast.hk/showthread.php?tid=249226


Re: File or function not found? - driftg0d - 03.01.2014

Add this line if you don't have it on your gamemode

Код:
main ( ) { }
If you do have main, then make sure you have the latest dlls for your plugins


Re: File or function not found? - ShotzLucky - 03.01.2014

Quote:
Originally Posted by driftg0d
Посмотреть сообщение
Add this line if you don't have it on your gamemode

Код:
main ( ) { }
If you do have main, then make sure you have the latest dlls for your plugins
Well when I host it from my computer it works. But it's when I load it on the VPS I get the error
and I do have Main ( ) { }


Re: File or function not found? - ShotzLucky - 03.01.2014

Okay. So I installed the nativechecker.dll plugin and it now does this.
http://gyazo.com/db69ff2065458d6f7fd3f0dc43baf8de


Re: File or function not found? - UnknownGamer - 03.01.2014

Quote:
Originally Posted by ShotzLucky
Посмотреть сообщение
Okay. So I installed the nativechecker.dll plugin and it now does this.
http://gyazo.com/db69ff2065458d6f7fd3f0dc43baf8de
Make sure you're using the correct Streamer Plugin, that you have in your server includes.

#include <streamer> - Make sure you have that on it.

If it's Linux, make sure to put the ".so", on the end of the config's, Linux is case sensitive.


Re: File or function not found? - driftg0d - 03.01.2014

Seems to me that you're using an updated version on your personal computer.

Upload the same latest version of the plugin to the host as well.


Re: File or function not found? - FuilteachUrma - 03.01.2014

I've uploaded the exact version on my computer(operating perfectly) onto the VPS, yet it still fails to load.