Server Help
#1

Okay, so I'm trying to start a local server so I can test my script, but I get this error:
Код:
SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[13:21] 
[13:21] Server Plugins
[13:21] --------------
[13:21]  Loading plugin: streamer
[13:21] 

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

[13:21]   Loaded.
[13:21]  Loaded 1 plugins.

[13:21] 
[13:21] Filterscripts
[13:21] ---------------
[13:21]   Loaded 0 filterscripts.

[13:21] Script[gamemodes/COD2.amx]: Run time error 19: "File or function is not found"
[13:21] Number of vehicle models: 0
Here's my server.cfg which I've been editing with notepad:
Код:
echo Executing Server Config...
lanmode 1
rcon_password cod1
maxplayers 50
port 1234
hostname COD2
gamemode0 COD2
announce 0
query 1
chatlogging 0
weburl www.hi.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
plugins streamer
logtimeformat [%H:%S]
It says there's no COD2 in my gamemodes, but there is.. Someone help, please.
Reply
#2

amx file missing, compile the script and maybe you find errors
Reply
#3

The AMX file is in the gamemodes file. I've compiled it 5 times a few seconds ago, and no errors or warnings.
Reply
#4

Are you sure you don't need any more plugins than the streamer plugin? Most scripts nowadays use sscanf, streamer, MySQL, etc. You might want to double check your includes and make sure you're loading the necessary plugins.
Reply
#5

Update your plugins and your pawno\include\
Reply
#6

Update your streamer and other plugins, get new .inc files.
and then compile
Reply
#7

I've updated my plugins, and I'll go ahead and update my includes right now.
The only plugins I have are streamer.

Includes are:
#include <a_samp>
#include <sscanf2>
#include <zcmd>
#include <YSI\y_ini>
Reply
#8

Have you tried updating whirlpool? That solved my problem once
Reply
#9

Quote:
Originally Posted by Dopefull
Посмотреть сообщение
Have you tried updating whirlpool? That solved my problem once
I don't have that plugin
I'll install it now...

I get this once I placed "sscanf" to plugins.

Let me install Whirlpool now.

EDIT: Same error. What's going on?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)