File or Function not found, Help!
#1

Ok, So my script has no errors or anything, but it still seems to be unable to find TSRP.amx.



Script has no errors either!
Halp meh ;'c
Reply
#2

In the server.cfg file, did you change the gamemode?
Reply
#3

Quote:
Originally Posted by Jernu
Посмотреть сообщение
In the server.cfg file, did you change the gamemode?
Yup.
Reply
#4

It is able to find tsrp.pwn, but it is not able to execute certain functions used in it. Do you use any include that requires a plugin? Like streamer or mysql? If so, make sure that those are loaded.
Reply
#5

Show your server_log, and make sure your plugins are up to date and also make sure that you are not missing main() {} in your gamemode.
Reply
#6

https://sampforum.blast.hk/showthread.php?tid=249226
Reply
#7

Quote:
Originally Posted by Jstylezzz
Посмотреть сообщение
It is able to find tsrp.pwn, but it is not able to execute certain functions used in it. Do you use any include that requires a plugin? Like streamer or mysql? If so, make sure that those are loaded.
They are loaded... :S
Reply
#8

Quote:
Originally Posted by [MP]Ditch
Посмотреть сообщение
They are loaded... :S
Can you list the plugins from your mode and the plugins from your server.cfg? Maybe you're missing a plugin for another include, just to be sure. Also, check the link MP2 posted, and like SilverKiller said, please show the whole server log.
Reply
#9

Quote:
Originally Posted by Jstylezzz
Посмотреть сообщение
Can you list the plugins from your mode and the plugins from your server.cfg? Maybe you're missing a plugin for another include, just to be sure. Also, check the link MP2 posted, and like SilverKiller said, please show the whole server log.
In my Mode...
#include <a_samp>
#include <streamer>
#include <a_zones>
#include <foreach>
#include <yom_buttons>
#include <djson>
#include <progress>
#include <YSI\y_timers>
#include <ZCMD>
#include <sscanf2>
#include <audio>



And in my server cfg...:
audio sscanf streamer mysql nativechecker
Reply
#10

Quote:
Originally Posted by Jstylezzz
Посмотреть сообщение
Can you list the plugins from your mode and the plugins from your server.cfg? Maybe you're missing a plugin for another include, just to be sure. Also, check the link MP2 posted, and like SilverKiller said, please show the whole server log.
Код:
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[13:09:29] 
[13:09:29] Server Plugins
[13:09:29] --------------
[13:09:29]  Loading plugin: audio
[13:09:29] 

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[13:09:29]   Loaded.
[13:09:29]  Loading plugin: sscanf
[13:09:29] 

[13:09:29]  ===============================

[13:09:29]       sscanf plugin loaded.     

[13:09:29]    © 2009 Alex "******" Cole

[13:09:29]    0.3d-R2 500 Players "dnee"

[13:09:29]  ===============================

[13:09:29]   Loaded.
[13:09:29]  Loading plugin: streamer
[13:09:29] 

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

[13:09:29]   Loaded.
[13:09:29]  Loading plugin: mysql
[13:09:29]  SA:MP MySQL Plugin v2.1.1 Loaded.
[13:09:29]   Loaded.
[13:09:29]  Loading plugin: nativechecker
[13:09:29]   Loaded.
[13:09:29] [MySQL] Thread running. Threadsafe: Yes.
[13:09:29]  Loaded 5 plugins.

[13:09:29] 
[13:09:29] Filterscripts
[13:09:29] ---------------
[13:09:29]   Loading filterscript 'buttons.amx'...
[13:09:29]   Loading filterscript 'iradio.amx'...
[13:09:29]   Loading filterscript 'anims.amx'...
[13:09:29]   Loading filterscript 'knpc.amx'...
[13:09:29]    Error: Function not registered: 'file_create'
[13:09:29]    Error: Function not registered: 'file_exists'
[13:09:29]    Error: Function not registered: 'file_delete'
[13:09:29]    Error: Function not registered: 'file_move'
[13:09:29]   Loading filterscript 'Firework2.amx'...
[13:09:29] *** Streamer Plugin: Warning: Include file version (0x26104) does not match plugin version (0x26105) (script might need to be recompiled with the latest include file)
[13:09:29]   Loading filterscript 'gcustom.amx'...
[13:09:29] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_RegisterInterface" found (script might need to be recompiled with the latest include file)
[13:09:29] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_AddPlayer" found (script might need to be recompiled with the latest include file)
[13:09:29] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_RemovePlayer" found (script might need to be recompiled with the latest include file)
[13:09:29] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_VerifyPickup" found (script might need to be recompiled with the latest include file)
[13:09:29] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_VerifyCheckpoint" found (script might need to be recompiled with the latest include file)
[13:09:29] *** Streamer Plugin: Warning: Include file version (unknown version) does not match plugin version (0x26105) (script might need to be recompiled with the latest include file)
[13:09:29]   Loading filterscript 'vacations.amx'...
[13:09:29]   Unable to load filterscript 'vacations.amx'.
[13:09:29]   Loading filterscript '*******.amx'...
[13:09:29] ******* player by usrb1n has been loaded
[13:09:29]   Loading filterscript 'F_streamer.amx'...
[13:09:29] F_Streamer Loaded successful.
[13:09:29]   Loading filterscript 'maploader.amx'...
[13:09:29]    Error: Function not registered: 'xml_open'
[13:09:29]    Error: Function not registered: 'xml_get_int'
[13:09:29]    Error: Function not registered: 'xml_get_float'
[13:09:29]   Loading filterscript 'Mapv1.amx'...
[13:09:29] 
--------------------------------------
[13:09:29]  Map by Joe v1
[13:09:29] --------------------------------------

[13:09:29]   Loading filterscript 'notepad.amx'...
[13:09:29]   Loading filterscript 'Weaponholder.amx'...
[13:09:29]   Loading filterscript 'MP3.amx'...
[13:09:29] 
--------------------------------------
[13:09:29]  Police Flash lights V2.1
[13:09:29]  By Stefantjuh97
[13:09:29] --------------------------------------

[13:09:29]   Loading filterscript 'MegaPhone.amx'...
[13:09:29]   Loading filterscript 'Xballoon.amx'...
[13:09:29]   Loaded 15 filterscripts.

[13:09:29]    Error: Function not registered: 'Audio_Seek'
[13:09:29] Script[gamemodes/TSRP.amx]: Run time error 19: "File or function is not found"
[13:09:29] Number of vehicle models: 0

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[13:09:54] 
[13:09:54] Server Plugins
[13:09:54] --------------
[13:09:54]  Loading plugin: audio
[13:09:54] 

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[13:09:54]   Loaded.
[13:09:54]  Loading plugin: sscanf
[13:09:54] 

[13:09:54]  ===============================

[13:09:54]       sscanf plugin loaded.     

[13:09:54]    © 2009 Alex "******" Cole

[13:09:54]    0.3d-R2 500 Players "dnee"

[13:09:54]  ===============================

[13:09:54]   Loaded.
[13:09:54]  Loading plugin: streamer
[13:09:54] 

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

[13:09:54]   Loaded.
[13:09:54]  Loading plugin: mysql
[13:09:54]  SA:MP MySQL Plugin v2.1.1 Loaded.
[13:09:54]   Loaded.
[13:09:54]  Loading plugin: nativechecker
[13:09:54] [MySQL] Thread running. Threadsafe: Yes.
[13:09:54]   Loaded.
[13:09:54]  Loaded 5 plugins.

[13:09:54] 
[13:09:54] Filterscripts
[13:09:54] ---------------
[13:09:54]   Loading filterscript 'buttons.amx'...
[13:09:54]   Loading filterscript 'iradio.amx'...
[13:09:54]   Loading filterscript 'anims.amx'...
[13:09:54]   Loading filterscript 'knpc.amx'...
[13:09:54]    Error: Function not registered: 'file_create'
[13:09:54]    Error: Function not registered: 'file_exists'
[13:09:54]    Error: Function not registered: 'file_delete'
[13:09:54]    Error: Function not registered: 'file_move'
[13:09:54]   Loading filterscript 'Firework2.amx'...
[13:09:54] *** Streamer Plugin: Warning: Include file version (0x26104) does not match plugin version (0x26105) (script might need to be recompiled with the latest include file)
[13:09:54]   Loading filterscript 'gcustom.amx'...
[13:09:54] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_RegisterInterface" found (script might need to be recompiled with the latest include file)
[13:09:54] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_AddPlayer" found (script might need to be recompiled with the latest include file)
[13:09:54] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_RemovePlayer" found (script might need to be recompiled with the latest include file)
[13:09:54] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_VerifyPickup" found (script might need to be recompiled with the latest include file)
[13:09:54] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_VerifyCheckpoint" found (script might need to be recompiled with the latest include file)
[13:09:54] *** Streamer Plugin: Warning: Include file version (unknown version) does not match plugin version (0x26105) (script might need to be recompiled with the latest include file)
[13:09:54]   Loading filterscript 'vacations.amx'...
[13:09:54]   Unable to load filterscript 'vacations.amx'.
[13:09:54]   Loading filterscript '*******.amx'...
[13:09:54] ******* player by usrb1n has been loaded
[13:09:54]   Loading filterscript 'F_streamer.amx'...
[13:09:54] F_Streamer Loaded successful.
[13:09:54]   Loading filterscript 'maploader.amx'...
[13:09:54]    Error: Function not registered: 'xml_open'
[13:09:54]    Error: Function not registered: 'xml_get_int'
[13:09:54]    Error: Function not registered: 'xml_get_float'
[13:09:54]   Loading filterscript 'Mapv1.amx'...
[13:09:54] 
--------------------------------------
[13:09:54]  Map by Joe v1
[13:09:54] --------------------------------------

[13:09:54]   Loading filterscript 'notepad.amx'...
[13:09:54]   Loading filterscript 'Weaponholder.amx'...
[13:09:54]   Loading filterscript 'MP3.amx'...
[13:09:54] 
--------------------------------------
[13:09:54]  Police Flash lights V2.1
[13:09:54]  By Stefantjuh97
[13:09:54] --------------------------------------

[13:09:54]   Loading filterscript 'MegaPhone.amx'...
[13:09:54]   Loading filterscript 'Xballoon.amx'...
[13:09:54]   Loaded 15 filterscripts.

[13:09:54]    Error: Function not registered: 'Audio_Seek'
[13:09:54] Script[gamemodes/TSRP.amx]: Run time error 19: "File or function is not found"
[13:09:54] Number of vehicle models: 0

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[13:10:39] 
[13:10:39] Server Plugins
[13:10:39] --------------
[13:10:39]  Loading plugin: audio
[13:10:39] 

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[13:10:39]   Loaded.
[13:10:39]  Loading plugin: sscanf
[13:10:39] 

[13:10:39]  ===============================

[13:10:39]       sscanf plugin loaded.     

[13:10:39]    © 2009 Alex "******" Cole

[13:10:39]    0.3d-R2 500 Players "dnee"

[13:10:39]  ===============================

[13:10:39]   Loaded.
[13:10:39]  Loading plugin: streamer
[13:10:39] 

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

[13:10:39]   Loaded.
[13:10:39]  Loading plugin: mysql
[13:10:39]  SA:MP MySQL Plugin v2.1.1 Loaded.
[13:10:39]   Loaded.
[13:10:39]  Loading plugin: nativechecker
[13:10:39] [MySQL] Thread running. Threadsafe: Yes.
[13:10:39]   Loaded.
[13:10:39]  Loaded 5 plugins.

[13:10:39] 
[13:10:39] Filterscripts
[13:10:39] ---------------
[13:10:39]   Loading filterscript 'buttons.amx'...
[13:10:39]   Loading filterscript 'iradio.amx'...
[13:10:39]   Loading filterscript 'anims.amx'...
[13:10:39]   Loading filterscript 'knpc.amx'...
[13:10:39]    Error: Function not registered: 'file_create'
[13:10:39]    Error: Function not registered: 'file_exists'
[13:10:39]    Error: Function not registered: 'file_delete'
[13:10:39]    Error: Function not registered: 'file_move'
[13:10:39]   Loading filterscript 'Firework2.amx'...
[13:10:39] *** Streamer Plugin: Warning: Include file version (0x26104) does not match plugin version (0x26105) (script might need to be recompiled with the latest include file)
[13:10:39]   Loading filterscript 'gcustom.amx'...
[13:10:39] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_RegisterInterface" found (script might need to be recompiled with the latest include file)
[13:10:39] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_AddPlayer" found (script might need to be recompiled with the latest include file)
[13:10:39] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_RemovePlayer" found (script might need to be recompiled with the latest include file)
[13:10:39] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_VerifyPickup" found (script might need to be recompiled with the latest include file)
[13:10:39] *** Streamer Plugin: Warning: Obsolete or invalid native "Streamer_VerifyCheckpoint" found (script might need to be recompiled with the latest include file)
[13:10:39] *** Streamer Plugin: Warning: Include file version (unknown version) does not match plugin version (0x26105) (script might need to be recompiled with the latest include file)
[13:10:39]   Loading filterscript 'vacations.amx'...
[13:10:39]   Unable to load filterscript 'vacations.amx'.
[13:10:39]   Loading filterscript '*******.amx'...
[13:10:39] ******* player by usrb1n has been loaded
[13:10:39]   Loading filterscript 'F_streamer.amx'...
[13:10:39] F_Streamer Loaded successful.
[13:10:39]   Loading filterscript 'maploader.amx'...
[13:10:39]    Error: Function not registered: 'xml_open'
[13:10:39]    Error: Function not registered: 'xml_get_int'
[13:10:39]    Error: Function not registered: 'xml_get_float'
[13:10:39]   Loading filterscript 'Mapv1.amx'...
[13:10:39] 
--------------------------------------
[13:10:39]  Map by Joe v1
[13:10:39] --------------------------------------

[13:10:39]   Loading filterscript 'notepad.amx'...
[13:10:39]   Loading filterscript 'Weaponholder.amx'...
[13:10:39]   Loading filterscript 'MP3.amx'...
[13:10:39] 
--------------------------------------
[13:10:39]  Police Flash lights V2.1
[13:10:39]  By Stefantjuh97
[13:10:39] --------------------------------------

[13:10:39]   Loading filterscript 'MegaPhone.amx'...
[13:10:39]   Loading filterscript 'Xballoon.amx'...
[13:10:39]   Loaded 15 filterscripts.

[13:10:39]    Error: Function not registered: 'Audio_Seek'
[13:10:39] Script[gamemodes/TSRP.amx]: Run time error 19: "File or function is not found"
[13:10:39] Number of vehicle models: 0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)