PDA

View Full Version : What plugin am I missing?


Chriham3
22/06/2012, 08:48 PM
Hello. I am getting Script[gamemodes/gm.amx]: Run time error 19: "File or function is not found".
I downloaded nativechecker and it prompted me with this;



[22:57:10] Error: Function not registered: 'Streamer_CallbackHook'
[22:57:10] Error: Function not registered: 'SSCANF_Init'
[22:57:10] Error: Function not registered: 'SSCANF_Join'
[22:57:10] Error: Function not registered: 'SSCANF_Leave'
[22:57:10] Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[22:57:10] Error: Function not registered: 'cache_get_data'
[22:57:10] Error: Function not registered: 'cache_get_field_content'
[22:57:10] Error: Function not registered: 'WP_Hash'
[22:57:10] Error: Function not registered: 'mysql_function_query'
[22:57:10] Error: Function not registered: 'mysql_debug'
[22:57:10] Error: Function not registered: 'mysql_connect'
[22:57:10] Error: Function not registered: 'mysql_ping'
[22:57:10] Error: Function not registered: 'mysql_close'
[22:57:10] Error: Function not registered: 'mysql_real_escape_string'
[22:57:10] Error: Function not registered: 'GetDynamicObjectPos'
[22:57:10] Error: Function not registered: 'CreateDynamicSphere'
[22:57:10] Error: Function not registered: 'DestroyDynamicObject'
[22:57:10] Error: Function not registered: 'MoveDynamicObject'
[22:57:10] Error: Function not registered: 'CreateDynamic3DTextLabel'
[22:57:10] Error: Function not registered: 'DestroyAllDynamicObjects'
[22:57:10] Error: Function not registered: 'DestroyAllDynamic3DTextLabels'
[22:57:10] Error: Function not registered: 'DestroyAllDynamicCPs'
[22:57:10] Error: Function not registered: 'DestroyAllDynamicMapIcons'
[22:57:10] Error: Function not registered: 'DestroyAllDynamicRaceCPs'
[22:57:10] Error: Function not registered: 'DestroyAllDynamicAreas'
[22:57:10] Error: Function not registered: 'Streamer_UpdateEx'
[22:57:10] Error: Function not registered: 'DestroyDynamic3DTextLabel'
[22:57:10] Error: Function not registered: 'IsValidDynamicObject'
[22:57:10] Error: Function not registered: 'IsPlayerInDynamicArea'
[22:57:10] Error: Function not registered: 'CreateDynamicObject'
[22:57:10] Error: Function not registered: 'CreateDynamicRectangle'
[22:57:10] Error: Function not registered: 'DestroyDynamicArea'
[22:57:10] Error: Function not registered: 'sscanf'
[22:57:10] Error: Function not registered: 'IsValidDynamicMapIcon'
[22:57:10] Error: Function not registered: 'DestroyDynamicMapIcon'
[22:57:10] Error: Function not registered: 'cache_get_row'
[22:57:10] Error: Function not registered: 'CreateDynamicMapIcon'
[22:57:10] Error: Function not registered: 'IsValidDynamic3DTextLabel'
[22:57:10] Error: Function not registered: 'Streamer_TickRate'
[22:57:10] Error: Function not registered: 'SetDynamicObjectPos'
[22:57:10] Error: Function not registered: 'Streamer_SetIntData'
[22:57:10] Error: Function not registered: 'IsValidDynamicArea'
[22:57:10] Error: Function not registered: 'SetDynamicObjectRot'
[22:57:10] Error: Function not registered: 'GetDynamicObjectRot'
[22:57:10] Error: Function not registered: 'mysql_stat'
[22:57:10] Error: Function not registered: 'mysql_affected_rows'
[22:57:10] Error: Function not registered: 'CountDynamicObjects'
[22:57:10] Error: Function not registered: 'CountDynamicMapIcons'
[22:57:10] Error: Function not registered: 'CountDynamic3DTextLabels'
[22:57:10] Error: Function not registered: 'CreateDynamicPickup'
[22:57:10] Error: Function not registered: 'DestroyDynamicPickup'


What plugins am I missing? Any links to the plugins are greatly appreciated.

newbienoob
22/06/2012, 08:51 PM
Get the latest sscanf and streamer plugins

Kindred
22/06/2012, 08:53 PM
sscanf (http://forum.sa-mp.com/showthread.php?t=120356)
streamer (http://forum.sa-mp.com/showthread.php?t=102865)
whirlpool (http://forum.sa-mp.com/showthread.php?t=65290)
Some sort of mysql, possibly this (http://forum.sa-mp.com/showthread.php?t=122983) one.

I think these are all that you need. Hope I helped.

Dubya
22/06/2012, 08:56 PM
Which way are you #includes registered?

// Are they like this?
#include <sscanf2>
#include <streamer>
#include <a_samp>
// if so, change to this:
#include <a_samp>
#include <sscanf2>
#include <streamer>

Chriham3
22/06/2012, 09:02 PM
#include <a_samp>
#include <streamer>
#include <sscanf2>
#include <a_zones>
#include <foreach>
#include <yom_buttons>
#include <djson>
#include <YSI\y_timers>
#include <YSI\y_utils>
#include <ZCMD>
#include <RemoveBuilding>


I still get:

[23:19:11] Error: Function not registered: 'Streamer_CallbackHook'
[23:19:11] Error: Function not registered: 'SSCANF_Init'
[23:19:11] Error: Function not registered: 'SSCANF_Join'
[23:19:11] Error: Function not registered: 'SSCANF_Leave'
[23:19:11] Error: Function not registered: 'UpdateDynamic3DTextLabelText'
[23:19:11] Error: Function not registered: 'cache_get_data'
[23:19:11] Error: Function not registered: 'cache_get_field_content'
[23:19:11] Error: Function not registered: 'WP_Hash'
[23:19:11] Error: Function not registered: 'mysql_function_query'
[23:19:11] Error: Function not registered: 'mysql_debug'
[23:19:11] Error: Function not registered: 'mysql_connect'
[23:19:11] Error: Function not registered: 'mysql_ping'
[23:19:11] Error: Function not registered: 'mysql_close'
[23:19:11] Error: Function not registered: 'mysql_real_escape_string'
[23:19:11] Error: Function not registered: 'GetDynamicObjectPos'
[23:19:11] Error: Function not registered: 'CreateDynamicSphere'
[23:19:11] Error: Function not registered: 'DestroyDynamicObject'
[23:19:11] Error: Function not registered: 'MoveDynamicObject'
[23:19:11] Error: Function not registered: 'CreateDynamic3DTextLabel'
[23:19:11] Error: Function not registered: 'DestroyAllDynamicObjects'
[23:19:11] Error: Function not registered: 'DestroyAllDynamic3DTextLabels'
[23:19:11] Error: Function not registered: 'DestroyAllDynamicCPs'
[23:19:11] Error: Function not registered: 'DestroyAllDynamicMapIcons'
[23:19:11] Error: Function not registered: 'DestroyAllDynamicRaceCPs'
[23:19:11] Error: Function not registered: 'DestroyAllDynamicAreas'
[23:19:11] Error: Function not registered: 'Streamer_UpdateEx'
[23:19:11] Error: Function not registered: 'DestroyDynamic3DTextLabel'
[23:19:11] Error: Function not registered: 'IsValidDynamicObject'
[23:19:11] Error: Function not registered: 'IsPlayerInDynamicArea'
[23:19:11] Error: Function not registered: 'CreateDynamicObject'
[23:19:11] Error: Function not registered: 'CreateDynamicRectangle'
[23:19:11] Error: Function not registered: 'DestroyDynamicArea'
[23:19:11] Error: Function not registered: 'sscanf'
[23:19:11] Error: Function not registered: 'IsValidDynamicMapIcon'
[23:19:11] Error: Function not registered: 'DestroyDynamicMapIcon'
[23:19:11] Error: Function not registered: 'cache_get_row'
[23:19:11] Error: Function not registered: 'CreateDynamicMapIcon'
[23:19:11] Error: Function not registered: 'IsValidDynamic3DTextLabel'
[23:19:11] Error: Function not registered: 'Streamer_TickRate'
[23:19:11] Error: Function not registered: 'SetDynamicObjectPos'
[23:19:11] Error: Function not registered: 'Streamer_SetIntData'
[23:19:11] Error: Function not registered: 'IsValidDynamicArea'
[23:19:11] Error: Function not registered: 'SetDynamicObjectRot'
[23:19:11] Error: Function not registered: 'GetDynamicObjectRot'
[23:19:11] Error: Function not registered: 'mysql_stat'
[23:19:11] Error: Function not registered: 'mysql_affected_rows'
[23:19:11] Error: Function not registered: 'CountDynamicObjects'
[23:19:11] Error: Function not registered: 'CountDynamicMapIcons'
[23:19:11] Error: Function not registered: 'CountDynamic3DTextLabels'
[23:19:11] Error: Function not registered: 'CreateDynamicPickup'
[23:19:11] Error: Function not registered: 'DestroyDynamicPickup'

Dovydux
23/06/2013, 10:09 PM
I have the same problem, I've tried everything that I could think of and everything written here, but it still doesn't work
p.s. errors that I get is exactly same as this topic's creator had

Pooh7
23/06/2013, 10:11 PM
You must put plugins' names in your server.cfg.

Dovydux
23/06/2013, 10:16 PM
well I'm not that stupid -.-

Scenario
23/06/2013, 10:20 PM
Show your server.cfg please.

Also, you might try updating your includes and re-compiling the script. ;)

Dovydux
23/06/2013, 10:22 PM
echo Executing Server Config...
lanmode 1
rcon_password LKHlgfslksLKdfdsdfsLK544gf3df4
maxplayers 200
port 7777
hostname testing
gamemode0 rng 1
filterscripts ELC_AC keiksmai
announce 1
query 1
weburl
maxnpc 100
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
plugins nativechecker crashdetect mysql streamer sscanf merrandom Whirlpool audio
fpslimit 100
I tried updating plugins and compiling gamemode file several times and still I get those errors

Scenario
23/06/2013, 10:23 PM
Put nativechecker at the end of the line.

Dovydux
23/06/2013, 10:25 PM
EDIT:
I changed Mysql plugin to r7 and got rid of those mysql errors, but still some errors left
[01:32:02] Error: Function not registered: 'MRandom'
[01:32:02] Error: Function not registered: 'MRandRange'

Scenario
23/06/2013, 10:28 PM
Okay, update to BlueG's MySQL R7 plugin (and not any further than that because it takes out mysql_debug(), mysql_reconnect(), and enable_mutex() and it will probably break your mode due to the other changes).

I'm not sure what MRandom or MRandRange are from- probably a math plugin. ****** 'em!

Dovydux
23/06/2013, 10:29 PM
MRandom is from randomization plugin

Scenario
23/06/2013, 10:34 PM
So, is everything solved then?

Dovydux
23/06/2013, 10:38 PM
Yes, thank you very much for your help :)