File or function is not found
#1

When i start the server this error appears in server_log
Код:
----------
Loaded log file: "server_log.txt".
----------

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

[07:25:28] filterscripts = ""  (string)
[07:25:28] 
[07:25:28] Server Plugins
[07:25:28] --------------
[07:25:28]  Loaded 0 plugins.

[07:25:28] 
[07:25:28] Filterscripts
[07:25:28] ---------------
[07:25:28]   Loaded 0 filterscripts.

[07:25:28] Script[gamemodes/MSGZ2.amx]: Run time error 19: "File or function is not found"
[07:25:28] Number of vehicle models: 0

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

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

[07:26:10] filterscripts = ""  (string)
[07:26:10] 
[07:26:10] Server Plugins
[07:26:10] --------------
[07:26:10]  Loaded 0 plugins.

[07:26:10] 
[07:26:10] Filterscripts
[07:26:10] ---------------
[07:26:10]   Loaded 0 filterscripts.

[07:26:10] Script[gamemodes/MSGZ2.amx]: Run time error 19: "File or function is not found"
[07:26:10] Number of vehicle models: 0
Reply
#2

check if the script use any plugin and add that in cfg
Reply
#3

I have this plugins
audio.dll
sscanf.dll
streamer.dll
xStreamer.dll

When i add this to cfg file this error appers in server_log

Quote:

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

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

[06:22:11]
[06:22:11] Server Plugins
[06:22:11] --------------
[06:22:11] Loaded 0 plugins.

[06:22:11]
[06:22:11] Filterscripts
[06:22:11] ---------------
[06:22:11] Loading filterscript 'audio.amx'...
[06:22:11] Unable to load filterscript 'audio.amx'.
[06:22:11] Loading filterscript 'sscanf.amx'...
[06:22:11] Unable to load filterscript 'sscanf.amx'.
[06:22:11] Loading filterscript 'streamer.amx'...
[06:22:11] Unable to load filterscript 'streamer.amx'.
[06:22:11] Loading filterscript 'xStreamer.amx'...
[06:22:11] Loaded 1 filterscripts.

[06:22:11] Script[gamemodes/MSGZ2.amx]: Run time error 17: "Invalid/unsupported P-code file format"
[06:22:11] Failed to load 'gamemodes/MSGZ2.amx' script.
[06:22:11] Number of vehicle models: 0
[06:22:24] --- Server Shutting Down.

Reply
#4

It is a plugin not filterscript add a line under your filterscripts line so it would be like :

plugins audio sscanf streamer

And also i don't think two streamers will work so you either use "streamer" or "xStreamer"
Reply
#5

Noi i have this error.
Quote:

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

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

[06:39:25] filterscripts = "" (string)
[06:39:25]
[06:39:25] Server Plugins
[06:39:25] --------------
[06:39:25] Loading plugin: audio
[06:39:25]

*** Audio Plugin v0.4 by Incognito loaded ***


[06:39:25] Loaded.
[06:39:25] Loading plugin: streamer
[06:39:25]

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

[06:39:25] Loaded.
[06:39:25] Loaded 2 plugins.

[06:39:25]
[06:39:25] Filterscripts
[06:39:25] ---------------
[06:39:25] Loaded 0 filterscripts.

[06:39:25] Script[gamemodes/MSGZ2.amx]: Run time error 17: "Invalid/unsupported P-code file format"
[06:39:25] Failed to load 'gamemodes/MSGZ2.amx' script.
[06:39:25] Number of vehicle models: 0

Reply
#6

lol it should be
Код:
echo Executing Server Config...
lanmode 0
rcon_password lol
maxplayers 100
port 7777
hostname whatever
gamemode0 urwish
filterscripts xStreamer
pugins audio sscanf streamer
announce 0
query 1
weburl www.fstdm.co.cc
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
Reply
#7

Quote:
Originally Posted by shivkat
Посмотреть сообщение
lol it should be
Код:
echo Executing Server Config...
lanmode 0
rcon_password lol
maxplayers 100
port 7777
hostname whatever
gamemode0 urwish
filterscripts xStreamer
pugins audio sscanf streamer
announce 0
query 1
weburl www.fstdm.co.cc
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
With your .cfg
Код:
----------
Loaded log file: "server_log.txt".
----------

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

[06:48:22] 
[06:48:22] Server Plugins
[06:48:22] --------------
[06:48:22]  Loading plugin: audio
[06:48:22] 

*** Audio Plugin v0.4 by Incognito loaded ***


[06:48:22]   Loaded.
[06:48:22]  Loading plugin: sscanf
[06:48:22] 

[06:48:22]  ===============================

[06:48:22]       sscanf plugin loaded.     

[06:48:22]    © 2009 Alex "******" Cole

[06:48:22]  ===============================

[06:48:22]   Loaded.
[06:48:22]  Loading plugin: streamer
[06:48:22] 

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

[06:48:22]   Loaded.
[06:48:22]  Loaded 3 plugins.

[06:48:22] 
[06:48:22] Filterscripts
[06:48:22] ---------------
[06:48:22]   Loading filterscript 'xStreamer.amx'...
[06:48:22]   Loaded 1 filterscripts.

[06:48:22] Script[gamemodes/MSGZ2.amx]: Run time error 17: "Invalid/unsupported P-code file format"
[06:48:22] Failed to load 'gamemodes/MSGZ2.amx' script.
[06:48:22] Number of vehicle models: 0
Reply
#8

Need Help. Up.
Reply
#9

[06:48:22] Failed to load 'gamemodes/MSGZ2.amx' script.
You don't have the .amx script of your gamemode in gamemodes..
Reply
#10

I have the .amx script in my gamemodes. Romanule )
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)