SA-MP Forums Archive
help error - 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: help error (/showthread.php?tid=479500)



help error - gotwarzone - 05.12.2013

Код:
[18:55:20]    Error: Function not registered: 'mysql_format'
[18:55:20]    Error: Function not registered: 'mysql_tquery'
[18:55:20]    Error: Function not registered: 'cache_insert_id'
[18:55:20]    Error: Function not registered: 'cache_get_row_int'
[18:55:20]    Error: Function not registered: 'cache_get_data'
[18:55:20]    Error: Function not registered: 'cache_affected_rows'
[18:55:20]    Error: Function not registered: 'cache_get_row'
[18:55:20]    Error: Function not registered: 'cache_get_row_float'
[18:55:20]    Error: Function not registered: 'cache_get_field_content'
[18:55:20]    Error: Function not registered: 'cache_get_field_content_int'
[18:55:20]    Error: Function not registered: 'mysql_connect'
[18:55:20]    Error: Function not registered: 'mysql_log'
[18:55:20]    Error: Function not registered: 'mysql_errno'
i'm using mysql r34 windows


Re: help error - Konstantinos - 05.12.2013

The versions of include and plugin file do not match. The include file is fine, the plugin is not for R34.

Update it again.


Re: help error - gotwarzone - 05.12.2013

but I wonder why the plugin did not match, I use the .dll that is also with .inc so its a pack.

Edit: can you please help me which is the correct plugin?


Re: help error - gotwarzone - 05.12.2013

So I used the MySQL R7

Now it lessen the the problems

Quote:

[19:29:16] Error: Function not registered: 'mysql_tquery'
[19:29:16] Error: Function not registered: 'cache_insert_id'
[19:29:16] Error: Function not registered: 'cache_get_row_int'
[19:29:16] Error: Function not registered: 'cache_affected_rows'
[19:29:16] Error: Function not registered: 'cache_get_row_float'
[19:29:16] Error: Function not registered: 'cache_get_field_content_int'
[19:29:16] Error: Function not registered: 'mysql_log'




Re: help error - Konstantinos - 05.12.2013

Quote:
Originally Posted by gotwarzone
Посмотреть сообщение
Код:
[18:55:20]    Error: Function not registered: 'mysql_format'
[18:55:20]    Error: Function not registered: 'mysql_tquery'
[18:55:20]    Error: Function not registered: 'cache_insert_id'
[18:55:20]    Error: Function not registered: 'cache_get_row_int'
[18:55:20]    Error: Function not registered: 'cache_get_data'
[18:55:20]    Error: Function not registered: 'cache_affected_rows'
[18:55:20]    Error: Function not registered: 'cache_get_row'
[18:55:20]    Error: Function not registered: 'cache_get_row_float'
[18:55:20]    Error: Function not registered: 'cache_get_field_content'
[18:55:20]    Error: Function not registered: 'cache_get_field_content_int'
[18:55:20]    Error: Function not registered: 'mysql_connect'
[18:55:20]    Error: Function not registered: 'mysql_log'
[18:55:20]    Error: Function not registered: 'mysql_errno'
i'm using mysql r34 windows
cache_get_row was added in R7
cache_get_row_float was added in r14

so the plugin was for R6-

Quote:
Originally Posted by gotwarzone
Посмотреть сообщение
So I used the MySQL R7

Now it lessen the the problems

Quote:

[19:29:16] Error: Function not registered: 'mysql_tquery'
[19:29:16] Error: Function not registered: 'cache_insert_id'
[19:29:16] Error: Function not registered: 'cache_get_row_int'
[19:29:16] Error: Function not registered: 'cache_affected_rows'
[19:29:16] Error: Function not registered: 'cache_get_row_float'
[19:29:16] Error: Function not registered: 'cache_get_field_content_int'
[19:29:16] Error: Function not registered: 'mysql_log'

mysql_tquery was renamed in r21

---

As you can see, changing the version of the plugin is not enough. You'll need to change the include too and re-name/change the functions to those are used in the current version you use.

Quote:
Originally Posted by gotwarzone
Посмотреть сообщение
but I wonder why the plugin did not match, I use the .dll that is also with .inc so its a pack.

Edit: can you please help me which is the correct plugin?
https://code.******.com/p/sa-mp-mysq...n.rar&can=2&q=

Replace a_mysql.inc mysql.dll and libmysql.dll

Then re-compile and it should be fine.


Re: help error - gotwarzone - 05.12.2013

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
cache_get_row was added in R7
cache_get_row_float was added in r14

so the plugin was for R6-



mysql_tquery was renamed in r21

---

As you can see, changing the version of the plugin is not enough. You'll need to change the include too and re-name/change the functions to those are used in the current version you use.



https://code.******.com/p/sa-mp-mysq...n.rar&can=2&q=

Replace a_mysql.inc mysql.dll and libmysql.dll

Then re-compile and it should be fine.
what you mean re-name/change the functions to those are used in the current version you use? You mean by replacing a_mysql.inc mysql.dll and libmysql.dll?

Tried but still error also this MSVCP100.dll is missing came up

I'm using this gamemode https://sampforum.blast.hk/showthread.php?tid=478324&page=3


Re: help error - Konstantinos - 05.12.2013

It's one of them that you should install:

http://www.microsoft.com/en-us/downl...s.aspx?id=5555

http://www.microsoft.com/en-us/downl...s.aspx?id=8328


Re : Re: help error - DeeJas - 23.12.2013

delete.