Mysql Problems - Not loading.
#1

When i run the server, it shows the server is unkowned

Код:
 > MySQL plugin R7 successfully loaded.

[04:13:40]   Loaded.
[04:13:40]  Loaded 3 plugins.

[04:13:40] 
[04:13:40] Filterscripts
[04:13:40] ---------------
[04:13:40]   Loaded 0 filterscripts.

[04:13:40] Script[gamemodes/CLEANGM.amx]: Run time error 19: "File or function is not found"
[04:13:40] Number of vehicle models: 0
Server settings:

Код:
echo Executing Server Config...
lanmode 0
rcon_password new123
maxplayers 50
port 7777
hostname ERPTestEmptyGM
gamemode0 CLEANGM 1
filterscripts 
announce 0
query 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
plugins sscanf streamer mysql
Logging to the database
Код:
#define DB_HOST "127.0.0.1"
#define DB_USER "root"
#define DB_PASS ""
#define DB_NAME "samp"
Reply
#2

Download nativechecker.dll and post the server log afterwards
Reply
#3

Quote:
Originally Posted by Hybris
Посмотреть сообщение
Download nativechecker.dll and post the server log afterwards
Where i put nativechecker.dll at?
Reply
#4

put it in your plugins folder and on the server.cfg where it says plugins
Reply
#5

Quote:
Originally Posted by Hybris
Посмотреть сообщение
put it in your plugins folder and on the server.cfg where it says plugins
Ok thanks i got this error


Код:
  > MySQL plugin R7 successfully loaded.

[04:50:58]   Loaded.
[04:50:58]  Loading plugin: nativechecker
[04:50:58]   Loaded.
[04:50:58]  Loaded 4 plugins.

[04:50:58] 
[04:50:58] Filterscripts
[04:50:58] ---------------
[04:50:58]   Loaded 0 filterscripts.

[04:50:58]    Error: Function not registered: 'mysql_tquery'
[04:50:58]    Error: Function not registered: 'cache_get_row_count'
[04:50:58]    Error: Function not registered: 'cache_get_row_int'
[04:50:58]    Error: Function not registered: 'cache_get_row_float'
[04:50:58] Script[gamemodes/CLEANGM.amx]: Run time error 19: "File or function is not found"
[04:50:58] Number of vehicle models: 0
Reply
#6

Do you have at the top of your script #include <a_mysql>?
Also in pawno/include a_mysql.inc
Reply
#7

Quote:
Originally Posted by Hybris
Посмотреть сообщение
Do you have at the top of your script #include <a_mysql>?
Also in pawno/include a_mysql.inc
yes i got that.
Reply
#8

you need libmySQL.dll
http://www.dll-files.com/dllindex/dl...shtml?libmysql
P.S. nativechecker must be the last
Reply
#9

Lol all the above are wrong...
You're being told

[04:50:58] Error: Function not registered: 'mysql_tquery'
[04:50:58] Error: Function not registered: 'cache_get_row_count'
[04:50:58] Error: Function not registered: 'cache_get_row_int'
[04:50:58] Error: Function not registered: 'cache_get_row_float'

So obviously..
You've compiled your .pwn to .amx using the wrong SQL Version to what your server is using.

Stop using outdated SQL's ...
You're using R7 when R39 or w,e is out
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)