SA-MP Forums Archive
Server won't run, gamemode doesn't have any errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Server won't run, gamemode doesn't have any errors (/showthread.php?tid=175955)



Server won't run, gamemode doesn't have any errors - nescha - 11.09.2010

Hello SA-MP Community,

first i will be sorry for my bad english.

Actually, i have a error, that i can't fix... It's not directly an error, i think it is due to a change in the game mode. (I have a Godfather). Here is the entry from the server log ..

Quote:

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

SA-MP Dedicated Server
----------------------
v0.3b R2, ©2005-2010 SA-MP Team

[17:39:53] gamemode1 = "" (string)
[17:39:53] gamemode2 = "" (string)
[17:39:53] gamemode3 = "" (string)
[17:39:53] gamemode4 = "" (string)
[17:39:53] gamemode5 = "" (string)
[17:39:53] gamemode6 = "" (string)
[17:39:53] gamemode7 = "" (string)
[17:39:53] gamemode8 = "" (string)
[17:39:53] gamemode9 = "" (string)
[17:39:53]
[17:39:53] Server Plugins
[17:39:53] --------------
[17:39:53] Loaded 0 plugins.

[17:39:53]
[17:39:53] Filter Scripts
[17:39:53] ---------------
[17:39:53] Loading filter script 'opa_objects.amx'...
[17:39:53]
...Opas Objectstremer loading [1/2]...

[17:39:53] [opa_objects] Starte streamer...
[17:39:53] [opa_objects] Successfully started!
[17:39:53] Loaded 1 filter scripts.

[17:39:53]
...Opas Objectstremer loading [2/2]...

[17:39:53] [opa_objects] Gamemode Connected!
[17:39:53] Pickups Max = 2048, Current Pickups = 298
I have successfully Compilt, uploaded the new, (compilt) game mode and it dont work anymore....
I can not explain why it does not work...

Thanks for any help! =)


Re: Server won't run, gamemode doesn't have any errors - sooky - 11.09.2010

Make sure you have a gamemode0 line. It really looks like you don't, right now. Example:
Код:
gamemode0 godfather
Replacing godfather with your gamemode's name, of course.


Re: Server won't run, gamemode doesn't have any errors - Master™ - 11.09.2010

Quote:
Originally Posted by sooky
Посмотреть сообщение
Make sure you have a gamemode0 line. It really looks like you don't, right now. Example:
Код:
gamemode0 godfather
Replacing godfather with your gamemode's name, of course.
Actually make sure it says
Код:
gamemode0 yourgmname 1
^^Replaying "YourGmName" with your gamemodes name


Re: Server won't run, gamemode doesn't have any errors - nescha - 11.09.2010

i have a server by go2nova.de.. all works fine, but when i edited my gamemode (there are no errors!) and i load it up, it won't work.


Re: Server won't run, gamemode doesn't have any errors - nescha - 11.09.2010

Sorry for push, but i have tested it with another gamemode and it works exactly!! i dont know why... -.- please help anyone..


Re: Server won't run, gamemode doesn't have any errors - Master™ - 11.09.2010

Quote:
Originally Posted by nescha
Посмотреть сообщение
Sorry for push, but i have tested it with another gamemode and it works exactly!! i dont know why... -.- please help anyone..
Can you post your config.cfg and server_log.txt


Re: Server won't run, gamemode doesn't have any errors - nescha - 11.09.2010

server.cfg:

Quote:

echo Executing Server Config...
lanmode 0
rcon_password kaka
maxplayers 50
port 9709
hostname REAL ROLEPLAY BETA 0.2
gamemode0 RGR-GermanReallife
filterscripts opa_objects
announce 0
query 1
weburl www.real-roleplay.de
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000

Server_log:

Quote:

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

SA-MP Dedicated Server
----------------------
v0.3b R2, ©2005-2010 SA-MP Team

[19:21:50] gamemode1 = "" (string)
[19:21:50] gamemode2 = "" (string)
[19:21:50] gamemode3 = "" (string)
[19:21:50] gamemode4 = "" (string)
[19:21:50] gamemode5 = "" (string)
[19:21:50] gamemode6 = "" (string)
[19:21:50] gamemode7 = "" (string)
[19:21:50] gamemode8 = "" (string)
[19:21:50] gamemode9 = "" (string)
[19:21:50]
[19:21:50] Server Plugins
[19:21:50] --------------
[19:21:50] Loaded 0 plugins.

[19:21:50]
[19:21:50] Filter Scripts
[19:21:50] ---------------
[19:21:50] Loading filter script 'opa_objects.amx'...
[19:21:50]
...Opas Objectstremer loading [1/2]...

[19:21:50] [opa_objects] Starte streamer...
[19:21:50] [opa_objects] Successfully started!
[19:21:50] Loaded 1 filter scripts.

[19:21:50]
...Opas Objectstremer loading [2/2]...

[19:21:50] [opa_objects] Gamemode Connected!
[19:21:50] Pickups Max = 2048, Current Pickups = 298




Re: Server won't run, gamemode doesn't have any errors - ••• ĤБĶБM ••• - 11.09.2010

Quote:
Originally Posted by Master™
Посмотреть сообщение
Actually make sure it says
Код:
gamemode0 yourgmname 1
^^Replaying "YourGmName" with your gamemodes name
Actually! For your information, either way would work incase you do not know.


Re: Server won't run, gamemode doesn't have any errors - Leone_Davin - 13.09.2010

I got the same problem too everything works but if i open samp-server it openup and than close back in 0.1 second, Please could someone help us?


Re: Server won't run, gamemode doesn't have any errors - jonrb - 13.09.2010

Check your OnGameModeInit Code, there might be a number of issues. Are you trying to open a file that doesn't exist, or write to a directory that doesn't exist?