Server won't work, gamemode problem
#1

I updated my server from 0.3z to 0.3.7.

When everything was done and compiling my gamemode.

The server didn't start.

In server_log it says:

Код:

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

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[21:15:22] 
[21:15:22] Server Plugins
[21:15:22] --------------
[21:15:22]  Loading plugin: streamer.dll
[21:15:22] 

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

[21:15:22]   Loaded.
[21:15:22]  Loading plugin: strlib
[21:15:22]   Failed.
[21:15:22]  Loading plugin: sscanf2
[21:15:22] 

[21:15:22]  ===============================

[21:15:22]       sscanf plugin loaded.     

[21:15:22]          Version:  2.8.1        

[21:15:22]    © 2012 Alex "******" Cole  

[21:15:22]  ===============================

[21:15:22]   Loaded.
[21:15:22]  Loaded 2 plugins.

[21:15:22] I couldn't load any gamemode scripts. Please verify your server.cfg
[21:15:22] It needs a gamemode0 line at the very least.
My server.cfg


Код:
echo Executing Server Config...
lanmode 0
rcon_password *******
maxplayers 50
port 7777
hostname Desert Wars 15 0.3.7
gamemode0 Desert
filterscripts Cars
announce 0
query 1
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
language English
plugins streamer.dll strlib sscanf2
If you need more info please tell me.

Edit: I have also tried to unpack the server package and re-done everything and it didn't work.
And yeah the script are compiled for 0.3.7.
Reply
#2

That error normally would be given if the .amx did not exist.

However, it has happened to me as well a couple of times even though the script has been compiled successful so the fix was to open a "New" file in the editor and paste everything from script that couldn't load, saving it with another name and it worked.
Reply
#3

PHP код:
echo Executing Server Config...
lanmode 0
rcon_password 
*******
maxplayers 50
port 7777
hostname Desert Wars 15 0.3.7
gamemode Desert 0
filterscripts Cars
announce 0
query 1
chatlogging 0
weburl www
.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat 
[%H:%M:%S]
language English
plugins streamer
.dll strlib sscanf2 
Or check your .amx saving file.
Reply
#4

Код:
gamemode Desert 0
Change this to " gamemode Desert 1 " and try again
Reply
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
That error normally would be given if the .amx did not exist.

However, it has happened to me as well a couple of times even though the script has been compiled successful so the fix was to open a "New" file in the editor and paste everything from script that couldn't load, saving it with another name and it worked.
Thanks this worked for me too!

Sorry for a small bump though.
Reply
#6

Sorry for bump but the problem have came up again after I formated the pc.

I have tried both things suggested here.
And anything didn't work.

Edit: It says that MSVCP120.dll is missing when I start the server.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)