Not sure what I'm doing wrong.
#1

Good evening all, I have been working on this error for several hours and using the ****** to help me understand where I am going wrong. I think I have confused myself even further, so I am turning to you for assistance. I load my script to my server and I am getting the following error when I run crashdetect.

[23:50:46] Loading plugin: mysql
[23:50:46] >> plugin.mysql: R39-2 successfully loaded.
[23:50:46] Loaded.
[23:50:46] Loaded 5 plugins.

[23:50:46]
[23:50:46] Filterscripts
[23:50:46] ---------------
[23:50:46] Loaded 0 filterscripts.

[23:50:46] [debug] Run time error 19: "File or function is not found"
[23:50:46] [debug] mysql_real_escape_string
[23:50:46] [debug] mysql_store_result
[23:50:46] [debug] mysql_num_rows
[23:50:46] [debug] mysql_free_result
[23:50:46] [debug] mysql_ping
[23:50:46] [debug] mysql_retrieve_row
[23:50:46] [debug] mysql_fetch_field_row
[23:50:46] [debug] mysql_fetch_row_format
[23:50:46] Script[gamemodes/CARP.amx]: Run time error 19: "File or function is not found"
[23:50:46] Number of vehicle models: 0

If anyone can point me in the right direction or help me understand the issue, I would be most grateful.
Thank you in advance.
Reply
#2

IDK to be honest.
Try compiling with debug information by passing -d3 to the compiler and make sure you are using latest crash detect version
Reply
#3

Run nativechecker as found here, and post what it says:
https://sampforum.blast.hk/showthread.php?tid=249226

But I believe the [debug] lines may be the functions you're missing - the script may be targeted to a different version of(most likely r5, r6 or r7 as those change almost every aspect of the plugin) the plugin.
Reply
#4

[00:55:03] Error: Function not registered: 'mysql_real_escape_string'
[00:55:03] Error: Function not registered: 'mysql_store_result'
[00:55:03] Error: Function not registered: 'mysql_num_rows'
[00:55:03] Error: Function not registered: 'mysql_free_result'
[00:55:03] Error: Function not registered: 'mysql_ping'
[00:55:03] Error: Function not registered: 'mysql_retrieve_row'
[00:55:03] Error: Function not registered: 'mysql_fetch_field_row'
[00:55:03] Error: Function not registered: 'mysql_fetch_row_format'
[00:55:03] [debug] Run time error 19: "File or function is not found"
[00:55:03] [debug] mysql_real_escape_string
[00:55:03] [debug] mysql_store_result
[00:55:03] [debug] mysql_num_rows
[00:55:03] [debug] mysql_free_result
[00:55:03] [debug] mysql_ping
[00:55:03] [debug] mysql_retrieve_row
[00:55:03] [debug] mysql_fetch_field_row
[00:55:03] [debug] mysql_fetch_row_format
[00:55:03] Script[gamemodes/CARP.amx]: Run time error 19: "File or function is not found"
[00:55:03] Number of vehicle models: 0
Reply
#5

I was thinking the same thing too about R5 and tried it and got a ton of errors when compiling it.
Reply
#6

The "mysql_ping" function belongs to R7. We'd be glad to assist you with any errors you may accur, however you'll need to give us the information required to do so:
* The errors
* The affected lines of code
Reply
#7

Loading this on a linux machine?
Reply
#8

After taking a small break and going for a walk, I sat down and looked at it again with a slightly different perspective. I was using the wrong plug in for the MySql. I required R6 and was using a mix of R5 and R33. Not sure how I managed to do that but after some searching, I found the proper one.

Thanks to Abagail for pointing me in the right direction, that is exactly what I wanted to know. +1 to you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)