2 Errors with MySQL - Crashdetector and Native checker 'Error: Function not registered: 'mysql_debug'' ...
#1

Ze Errors

Error: Function not registered: 'mysql_debug'
Error: Function not registered: 'mysql_fetch_row_format'


Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3e, ©2005-2012 SA-MP Team

password = ""  (string)

Server Plugins
--------------
 Loading plugin: whirlpool

 ==================

  Whirlpool loaded

 ==================

  Loaded.
 Loading plugin: mysql
 SA:MP MySQL Plugin v2.1.1 Loaded.
  Loaded.
 Loading plugin: sscanf
[MySQL] Thread running. Threadsafe: Yes.


 ===============================

      sscanf plugin loaded.

   © 2009 Alex "******" Cole

   0.3d-R2 500 Players "dnee"

 ===============================

  Loaded.
 Loading plugin: streamer


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

  Loaded.
 Loading plugin: crashdetect
  crashdetect v4.8.1 is OK.
  Loaded.
 Loading plugin: nativechecker
  Loaded.
 Loaded 6 plugins.


Started server on port: 7777, with maxplayers: 500 lanmode is OFF.


Filterscripts
---------------
  Loading filterscript 'npcs.amx'...
  Unable to load filterscript 'npcs.amx'.
  Loaded 0 filterscripts.

   Error: Function not registered: 'mysql_debug'
   Error: Function not registered: 'mysql_fetch_row_format'
[debug] Run time error 19: "File or function is not found"
[debug]   mysql_debug
[debug]   mysql_fetch_row_format
Script[gamemodes/NewCore.amx]: Run time error 19: "File or function is not found
"
Number of vehicle models: 0
Reply
#2

Hello there.

The two functions you are using, "mysql_debug" and "mysql_fetch_row_format" are from a DIFFERENT mysql plugin. They are for BlueG's mysql plugin, while you are using StrickenKid's plugin.

Open your gamemode "NewCore.pwn", then find and remove the lines:
mysql_debug
mysql_fetch_row_format
Reply
#3

Or just download BlueG's plugin :P

Been a while since I played around with one of my old GMs.

Whos is better do you think? Sticken or BlueG's?
Is there a difference?
Reply
#4

You can compare for yourself:
BlueG
Stricken
Reply
#5

Cheers was just looking at them.
But after fixing those, Now my mysql_query is getting picked on :/

Error: Function not registered: 'mysql_query'

I have noticed it's not in my 'a_mysql.inc'
Reply
#6

I downloaded the same plugin as what you have and I found mysql_query in the include file, so I'd recommend you re-download it and replace your include with the one you'll download:
https://sampforum.blast.hk/showthread.php?tid=122983
Reply
#7

I am getting 2warnings which have nothing to do with this error in pawno, and 1 error when I start the server...

Reply
#8

open pawno.exe where you put this include and compile
Reply
#9

Yea, I have already done that, Trust me... I am doing that bit right.
Reply
#10

This problem you are having seems like the sort of problem to do with most commonly out of date files/missing files.

So first, if you haven't already, re-download the plugin, put the plugin file into the "plugins" folder inside your server folder, and put the plugin include file into your "pawno/includes" folder.
(I'm guessing you've already done this, but it's best to remove all possible causes when dealing with an error created by an unknown cause).


Now there is a possibility that maybe one of the functions you're using has been updated, and is causing problems inside your gamemode, so I'd recommend making a basic gamemode script to test that your installation on the plugin isn't causing the problem.
Make sure to not run any filterscripts, just the test gamemode.

In the test gamemode, I'd recommend you just run a simple query to modify a row of data in one of your tables, so that you don't have to worry about processing the result, just checking that the row has been modified.
Reply
#11

Sorry I should have stated that I had fixed this problem.
I realised that 'BlueG's' R7 update didn't support Threaded scripts.
'* = R5, R6 (supports threaded and non-threaded scripts)
* = R7 (supports only threaded scripts)'

So I just went back to R6-2 and it worked fine.

Cheers for your help though.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)