Run time error
#1

Hello,
I am using a script i downloaded and I keep getting a runtime error when i launch 'samp_server'

I read that i should install nativechecker, so i have done. Below is the log from samp_server.
Код:
SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[19:30:10] 
[19:30:10] Server Plugins
[19:30:10] --------------
[19:30:10]  Loading plugin: nativechecker.dll
[19:30:10]   Loaded.
[19:30:10]  Loading plugin: streamer.dll
[19:30:10] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[19:30:10]   Loaded.
[19:30:10]  Loaded 2 plugins.

[19:30:10] 
[19:30:10] Filterscripts
[19:30:10] ---------------
[19:30:10]   Loading filterscript 'gl_actions.amx'...
[19:30:10]   Loading filterscript 'gl_realtime.amx'...
[19:30:10]   Loading filterscript 'gl_property.amx'...
[19:30:10] 
-----------------------------------
[19:30:10] Grand Larceny Property Filterscript		
[19:30:10] -----------------------------------

[19:30:10]   Loading filterscript 'gl_mapicon.amx'...
[19:30:10]   Loading filterscript 'ls_mall.amx'...
[19:30:10]   Loading filterscript 'ls_elevator.amx'...
[19:30:10]   Loading filterscript 'attachments.amx'...
[19:30:10]   Loading filterscript 'skinchanger.amx'...
[19:30:10] 
--Admin Player Skin Changer Loaded

[19:30:10]   Loading filterscript 'vspawner.amx'...
[19:30:10] 
--Admin Vehicle Spawner Loaded

[19:30:10]   Loaded 9 filterscripts.

[19:30:10]    Error: Function not registered: 'samp_mysql_connect'
[19:30:10]    Error: Function not registered: 'samp_mysql_select_db'
[19:30:10]    Error: Function not registered: 'samp_mysql_ping'
[19:30:10]    Error: Function not registered: 'samp_mysql_close'
[19:30:10]    Error: Function not registered: 'samp_mysql_query'
[19:30:10]    Error: Function not registered: 'samp_mysql_real_escape_string'
[19:30:10]    Error: Function not registered: 'samp_mysql_store_result'
[19:30:10]    Error: Function not registered: 'samp_mysql_num_rows'
[19:30:10]    Error: Function not registered: 'samp_mysql_fetch_row'
[19:30:10]    Error: Function not registered: 'samp_mysql_free_result'
[19:30:10]    Error: Function not registered: 'samp_mysql_strtok'
[19:30:10] Reading File: blank
[19:30:10] Reading File: properties/houses.txt
[19:30:10] Reading File: properties/businesses.txt
[19:30:10] Reading File: properties/banks.txt
[19:30:10] Reading File: properties/police.txt
[19:30:10] Script[gamemodes/mtrp-final.amx]: Run time error 19: "File or function is not found"
[19:30:10] Number of vehicle models: 0
Please help if you can,

Thanks

Note: I hope this is the right section i was debating this section or server support.
Reply
#2

It uses the MySQL plugin by ADreNaLiNe-DJ which is TOO outdated. That plugin is not loaded to your server.
Nevertheless, I would highily recommend you to switch to MySQL R38 by BlueG which is updated often and it's faster and better.
Reply
#3

Where is mysql ?
Put in server.cfg plugins mysql
Quote:

[19:30:10] Server Plugins
[19:30:10] --------------
[19:30:10] Loading plugin: nativechecker.dll
[19:30:10] Loaded.
[19:30:10] Loading plugin: streamer.dll
[19:30:10]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[19:30:10] Loaded.
[19:30:10] Loaded 2 plugins.

I dont see Loading plugin: mysql failed or something
Reply
#4

i have wc-rp script but i dont know how to use mysql datebase! anyone help me with this
Reply
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
It uses the MySQL plugin by ADreNaLiNe-DJ which is TOO outdated. That plugin is not loaded to your server.
Nevertheless, I would highily recommend you to switch to MySQL R38 by BlueG which is updated often and it's faster and better.
How would i go about switching this?
Reply
#6

Quote:
Originally Posted by Micheal123
Посмотреть сообщение
i have wc-rp script but i dont know how to use mysql datebase! anyone help me with this
You need a website for into your .sql base in your datababes
You can use search https://sampforum.blast.hk/showthread.php?tid=391920

Create you datebase name , user and a password if you have a server with another ip you can use Remote Mysql and
on localhost but a webhost ip.
Reply
#7

Quote:
Originally Posted by stueycow
Посмотреть сообщение
How would i go about switching this?
The latest release: https://github.com/pBlueG/SA-MP-MySQL/releases
A tutorial about cache and threaded queries: https://sampforum.blast.hk/showthread.php?tid=337810
An example of a register/login system with R34 (as the tutorial was mostly for R7 + the functions cache_get_row_(int/float) in r14): https://sa-mp-mysql-plugin.******cod...le_scripts.rar
SA-MP Wiki for MySQL R33+: https://sampwiki.blast.hk/wiki/MySQL/R33
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)