SA-MP Forums Archive
Please help me ! - 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: Please help me ! (/showthread.php?tid=631698)



Please help me ! - Chesher - 03.04.2017

When i start my server is UNKNOWN. I check server.log it says :
[09:29:21] [debug] mysql_query
[09:29:21] [debug] mysql_store_result
[09:29:21] [debug] mysql_fetch_field
[09:29:21] [debug] mysql_free_result
[09:29:21] [debug] mysql_real_escape_string
[09:29:21] [debug] mysql_fetch_row
[09:29:21] [debug] mysql_num_rows
[09:29:21] [debug] mysql_insert_id
[09:29:21] [debug] mysql_init
[09:29:21] [debug] mysql_connect
[09:29:21] [debug] mysql_close

I use CZCNR script.


Re: Please help me ! - Runn3R - 03.04.2017

You have the wrong mysql plugin/include.

Or you have not declared it in your server.cfg correctly.


Re: Please help me ! - Chesher - 03.04.2017

Quote:
Originally Posted by Runn3R
Посмотреть сообщение
You have the wrong mysql plugin/include.

Or you have not declared it in your server.cfg correctly.
echo Executing Server Config...
lanmode 0
rcon_password xx
maxplayers 100
port 7790
hostname
gamemode0 CnR1 1
filterscripts gps antirapidfire lab stunt shouryamaps
plugins crashdetect mysql sscanf streamer announce 1
chatlogging 0
weburl
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
language English
query 1


Re: Please help me ! - Chesher - 03.04.2017

is there any wrong of my server.cfG?


Re: Please help me ! - coool - 03.04.2017

compile with the same MySQL include which you use as plugin


Re: Please help me ! - Chesher - 03.04.2017

Quote:
Originally Posted by coool
Посмотреть сообщение
compile with the same MySQL include which you use as plugin
i download the mysql plugin but the czcnr use mysql.inc not a_mysql.inc


Re: Please help me ! - LazzyBoy - 03.04.2017

You need to update a_mysql.inc and also mysql plugin but make sure that it is same plugin/inc version as the script otherways you will still get this error.