Two errors while running samp-server.exe - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Two errors while running samp-server.exe (
/showthread.php?tid=167503)
Two errors while running samp-server.exe -
JonyAvati - 12.08.2010
Hi,
While trying to run a server, I get these errors :
First error
Код:
Server plugins
--------------
Loading plugin: sampmysql
Failed.
Loaded 0 plugins.
Second error
Код:
Script[gamemodes/mtrp-final.amx]: Run time error 19: "File or function is not found"
This is my configuration :
Код:
echo Executing Server Config...
lanmode 0
rcon_password testpass
maxplayers 50
port 7777
hostname Testserver
gamemode0 mtrp-final
filterscripts
announce 0
query 1
weburl www.sa-mp.com
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
plugins sampmysql
Plugin "sampmysql.dll" is in "include" folder
Plugin "libmysql.dll" is in main folder ( With samp-server.exe )
File "mtrp-final.amx" is in "gamemodes" folder, with 0 compilation errors/warnings.
Where is the problem?
Thanks
Re: Two errors while running samp-server.exe -
0ne - 12.08.2010
Obviously, you've done something wrong with sql library,
the second problem well i think adding:
main();
{
}
would work.
Re: Two errors while running samp-server.exe -
Agent Smith - 12.08.2010
sampmysql.dll does not go in the include folder. You need to create a folder in the main directory called plugins, hence that's why in the server.cfg file you have plugins sampmysql