Help With mySQL
#1

Hey There,I have a RP script,but it is mySQL,every time I start it it runs and runs ,then It says Everything Unloaded,then It closes,
I added the native checker:
Here are the results

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

[04:51:09] weburl = "www.sa-mp.com" (string)
[04:51:09]
[04:51:09] Server Plugins
[04:51:09] --------------
[04:51:09] Loading plugin: sscanf
[04:51:09]

[04:51:09] ===============================

[04:51:09] sscanf plugin loaded.

[04:51:09] © 2009 Alex "******" Cole

[04:51:09] 0.3d-R2 500 Players "dnee"

[04:51:09] ===============================

[04:51:09] Loaded.
[04:51:09] Loading plugin: streamer
[04:51:09]

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

[04:51:09] Loaded.
[04:51:09] Loading plugin: Whirlpool
[04:51:09]
[04:51:09] ==================
[04:51:09]
[04:51:09] Whirlpool loaded
[04:51:09]
[04:51:09] ==================
[04:51:09]
[04:51:09] Loaded.
[04:51:09] Loading plugin: libmysql
[04:51:09] Plugin does not conform to architecture.
[04:51:09] Failed.
[04:51:09] Loading plugin: nativechecker
[04:51:09] Loaded.
[04:51:09] Loaded 4 plugins.

[04:51:09]
[04:51:09] Filterscripts
[04:51:09] ---------------
[04:51:09] Loading filterscript 'gcustom03e.amx'...
[04:51:09] Error: Function not registered: 'Streamer_CallbackHook'
[04:51:09] Loading filterscript 'vactions.amx'...
[04:51:09] Loaded 2 filterscripts.

[04:51:10] Error: Function not registered: 'Streamer_CallbackHook'
[04:51:10] Error: Function not registered: 'cache_get_data'
[04:51:10] Error: Function not registered: 'cache_get_field_content'
[04:51:10] Error: Function not registered: 'mysql_function_query'
[04:51:10] Error: Function not registered: 'mysql_debug'
[04:51:10] Error: Function not registered: 'mysql_connect'
[04:51:10] Error: Function not registered: 'mysql_ping'
[04:51:10] Error: Function not registered: 'mysql_close'
[04:51:10] Error: Function not registered: 'mysql_real_escape_string'
[04:51:10] Error: Function not registered: 'cache_get_row'
[04:51:10] Error: Function not registered: 'AttachDynamicObjectToVehicle'
[04:51:10] Error: Function not registered: 'Streamer_SetArrayData'
[04:51:10] Error: Function not registered: 'mysql_stat'
[04:51:10] Error: Function not registered: 'mysql_affected_rows'
[04:51:10] Script[gamemodes/insanityrp2.amx]: Run time error 19: "File or function is not found"
[04:51:10] Number of vehicle models: 0

Could someone please help me to fix these errors,or help me to convert it .
Reply
#2

Wrong Plugin version.
Reply
#3

Could you link me to a later version?
Reply
#4

double post.
Reply
#5

Well those functions are from Stricken's plugin

https://sampforum.blast.hk/showthread.php?tid=122983
Reply
#6

Quote:
Originally Posted by MikkaVanBuuren
Посмотреть сообщение
Hey There,I have a RP script,but it is mySQL,every time I start it it runs and runs ,then It says Everything Unloaded,then It closes,
I added the native checker:
Here are the results

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

[04:51:09] weburl = "www.sa-mp.com" (string)
[04:51:09]
[04:51:09] Server Plugins
[04:51:09] --------------
[04:51:09] Loading plugin: sscanf
[04:51:09]

[04:51:09] ===============================

[04:51:09] sscanf plugin loaded.

[04:51:09] © 2009 Alex "******" Cole

[04:51:09] 0.3d-R2 500 Players "dnee"

[04:51:09] ===============================

[04:51:09] Loaded.
[04:51:09] Loading plugin: streamer
[04:51:09]

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

[04:51:09] Loaded.
[04:51:09] Loading plugin: Whirlpool
[04:51:09]
[04:51:09] ==================
[04:51:09]
[04:51:09] Whirlpool loaded
[04:51:09]
[04:51:09] ==================
[04:51:09]
[04:51:09] Loaded.
[04:51:09] Loading plugin: libmysql
[04:51:09] Plugin does not conform to architecture.
[04:51:09] Failed.
[04:51:09] Loading plugin: nativechecker
[04:51:09] Loaded.
[04:51:09] Loaded 4 plugins.

[04:51:09]
[04:51:09] Filterscripts
[04:51:09] ---------------
[04:51:09] Loading filterscript 'gcustom03e.amx'...
[04:51:09] Error: Function not registered: 'Streamer_CallbackHook'
[04:51:09] Loading filterscript 'vactions.amx'...
[04:51:09] Loaded 2 filterscripts.

[04:51:10] Error: Function not registered: 'Streamer_CallbackHook'
[04:51:10] Error: Function not registered: 'cache_get_data'
[04:51:10] Error: Function not registered: 'cache_get_field_content'
[04:51:10] Error: Function not registered: 'mysql_function_query'
[04:51:10] Error: Function not registered: 'mysql_debug'
[04:51:10] Error: Function not registered: 'mysql_connect'
[04:51:10] Error: Function not registered: 'mysql_ping'
[04:51:10] Error: Function not registered: 'mysql_close'
[04:51:10] Error: Function not registered: 'mysql_real_escape_string'
[04:51:10] Error: Function not registered: 'cache_get_row'
[04:51:10] Error: Function not registered: 'AttachDynamicObjectToVehicle'
[04:51:10] Error: Function not registered: 'Streamer_SetArrayData'
[04:51:10] Error: Function not registered: 'mysql_stat'
[04:51:10] Error: Function not registered: 'mysql_affected_rows'
[04:51:10] Script[gamemodes/insanityrp2.amx]: Run time error 19: "File or function is not found"
[04:51:10] Number of vehicle models: 0

Could someone please help me to fix these errors,or help me to convert it .

Stricken's one is outdated, use BlueG's one, also update your streamer to v2.6.1, along with latest includes from both plugin packages and re-compile your gamemode.
Reply
#7

When I try to compile it says this:

C:\Users\Administrator\Desktop\Infinity RP\pawno\include\a_mysql.inc(41) : error 021: symbol already defined: "mysql_affected_rows"
C:\Users\Administrator\Desktop\Infinity RP\pawno\include\a_mysql.inc(42) : error 021: symbol already defined: "mysql_close"
C:\Users\Administrator\Desktop\Infinity RP\pawno\include\a_mysql.inc(43) : error 021: symbol already defined: "mysql_connect"
C:\Users\Administrator\Desktop\Infinity RP\pawno\include\a_mysql.inc(43) : error 025: function heading differs from prototype
C:\Users\Administrator\Desktop\Infinity RP\pawno\include\a_mysql.inc(43) : error 025: function heading differs from prototype
C:\Users\Administrator\Desktop\Infinity RP\pawno\include\a_mysql.inc(43) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


6 Errors.


And when I start the server it shows this:

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

[15:35:06] weburl = "www.sa-mp.com" (string)
[15:35:06]
[15:35:06] Server Plugins
[15:35:06] --------------
[15:35:06] Loading plugin: sscanf
[15:35:06]

[15:35:06] ===============================

[15:35:06] sscanf plugin loaded.

[15:35:06] © 2009 Alex "******" Cole

[15:35:06] 0.3d-R2 500 Players "dnee"

[15:35:06] ===============================

[15:35:06] Loaded.
[15:35:06] Loading plugin: streamer
[15:35:06]

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

[15:35:06] Loaded.
[15:35:06] Loading plugin: Whirlpool
[15:35:06]
[15:35:06] ==================
[15:35:06]
[15:35:06] Whirlpool loaded
[15:35:06]
[15:35:06] ==================
[15:35:06]
[15:35:06] Loaded.
[15:35:06] Loading plugin: mysql
[15:35:07] SA:MP MySQL Plugin v2.1.1 Loaded.
[15:35:07] Loaded.
[15:35:07] Loading plugin: nativechecker
[15:35:07] [MySQL] Thread running. Threadsafe: Yes.
[15:35:07] Loaded.
[15:35:07] Loaded 5 plugins.

[15:35:07]
[15:35:07] Filterscripts
[15:35:07] ---------------
[15:35:07] Loading filterscript 'gcustom03e.amx'...
[15:35:07] Error: Function not registered: 'Streamer_CallbackHook'
[15:35:07] Loading filterscript 'vactions.amx'...
[15:35:07] Loaded 2 filterscripts.

[15:35:08] Error: Function not registered: 'Streamer_CallbackHook'
[15:35:08] Error: Function not registered: 'cache_get_data'
[15:35:08] Error: Function not registered: 'cache_get_field_content'
[15:35:08] Error: Function not registered: 'mysql_function_query'
[15:35:08] Error: Function not registered: 'mysql_debug'
[15:35:08] Error: Function not registered: 'cache_get_row'
[15:35:08] Error: Function not registered: 'AttachDynamicObjectToVehicle'
[15:35:08] Error: Function not registered: 'Streamer_SetArrayData'
[15:35:08] Script[gamemodes/insanityrp2.amx]: Run time error 19: "File or function is not found"
[15:35:08] Number of vehicle models: 0
[15:35:20] --- Server Shutting Down.
Reply
#8

Still getting this error while compiling??:

C:\Users\Administrator\Desktop\Infinity RP\pawno\include\a_mysql.inc(41) : error 021: symbol already defined: "mysql_affected_rows"
C:\Users\Administrator\Desktop\Infinity RP\pawno\include\a_mysql.inc(42) : error 021: symbol already defined: "mysql_close"
C:\Users\Administrator\Desktop\Infinity RP\pawno\include\a_mysql.inc(43) : error 021: symbol already defined: "mysql_connect"
C:\Users\Administrator\Desktop\Infinity RP\pawno\include\a_mysql.inc(43) : error 025: function heading differs from prototype
C:\Users\Administrator\Desktop\Infinity RP\pawno\include\a_mysql.inc(43) : error 025: function heading differs from prototype
C:\Users\Administrator\Desktop\Infinity RP\pawno\include\a_mysql.inc(43) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)