What plugin am I missing?
#1

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;

Code:
[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.
Reply
#2

Get the latest sscanf and streamer plugins
Reply
#3

sscanf
streamer
whirlpool
Some sort of mysql, possibly this one.

I think these are all that you need. Hope I helped.
Reply
#4

Which way are you #includes registered?
pawn Code:
// Are they like this?
#include <sscanf2>
#include <streamer>
#include <a_samp>
// if so, change to this:
#include <a_samp>
#include <sscanf2>
#include <streamer>
Reply
#5

pawn Code:
#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:
Code:
[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'
Reply
#6

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
Reply
#7

You must put plugins' names in your server.cfg.
Reply
#8

well I'm not that stupid -.-
Reply
#9

Show your server.cfg please.

Also, you might try updating your includes and re-compiling the script.
Reply
#10

Code:
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
Reply
#11

Put nativechecker at the end of the line.
Reply
#12

EDIT:
I changed Mysql plugin to r7 and got rid of those mysql errors, but still some errors left
Code:
[01:32:02]    Error: Function not registered: 'MRandom'
[01:32:02]    Error: Function not registered: 'MRandRange'
Reply
#13

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!
Reply
#14

MRandom is from randomization plugin
Reply
#15

So, is everything solved then?
Reply
#16

Yes, thank you very much for your help
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)