SA-MP Forums Archive
Probably a very simple problem - 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: Probably a very simple problem (/showthread.php?tid=624619)



Probably a very simple problem - Leo Delvecchio - 19.12.2016

Hey guys, cant get my server to run and this is what keeps coming up in the server log:
I couldn't load any gamemode scripts. Please verify your server.cfg
[23:32:05] It needs a gamemode0 line at the very least.
ANy help would be much appreciated

This problem has been solved, thank you to everyone for all the help provided


Re: Probably a very simple problem - Leo Delvecchio - 19.12.2016

Updated^


Re: Probably a very simple problem - CantBeJohn - 19.12.2016

Did you do what it told you?

Take a look at the gamemode's name, let's assume it's named "Test".

Then just go into the server config and go to the line "gamemode0", you'd then put the script's name:

"gamemode0 Test 1" (without the quotes, obviously)


Re: Probably a very simple problem - Leo Delvecchio - 19.12.2016

Quote:
Originally Posted by CantBeJohn
Посмотреть сообщение
Did you do what it told you?

Take a look at the gamemode's name, let's assume it's named "Test".

Then just go into the server config and go to the line "gamemode0", you'd then put the script's name:

"gamemode0 Test 1"
That's why I'm confused, it's already there...


Re: Probably a very simple problem - Konstantinos - 19.12.2016

Have you uploaded the .amx file and it has been placed inside gamemodes folder?


Re: Probably a very simple problem - CantBeJohn - 19.12.2016

Quote:
Originally Posted by Leo Delvecchio
Посмотреть сообщение
That's why I'm confused, it's already there...
Are you sure it's correctly spelt, capitalization sensitive and all?

Also, make sure there aren't two "gamemode0" lines.


Re: Probably a very simple problem - Leo Delvecchio - 19.12.2016

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Have you uploaded the .amx file and it has been placed inside gamemodes folder?
Yep already there
Quote:
Originally Posted by CantBeJohn
Посмотреть сообщение
Are you sure it's correctly spelt, capitalization sensitive and all?
Yep


Re: Probably a very simple problem - CantBeJohn - 19.12.2016

Quote:
Originally Posted by Leo Delvecchio
Посмотреть сообщение
Yep already there

Yep
I'd try recompiling the script and try running it again, assuming you've got no errors. When you run the server, the console instantly closes, yeah?


Re: Probably a very simple problem - Sew_Sumi - 19.12.2016

Just saying, you NEED to have the gamemode0 line IN THE RIGHT SPOT IN THAT FILE...


If you've messed the whole order of the cfg file up, it'll lose odd settings, one of which being gamemode0.


(Had it happen last month or 3 where someone had completely and utterly re-ordered the entire cfg file, and that ended up being the problem.)

Ended up fixing it by getting the order from a blank cfg, coupled with citing the wiki to see what other options needed to be brought in.


Re: Probably a very simple problem - Leo Delvecchio - 20.12.2016

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Just saying, you NEED to have the gamemode0 line IN THE RIGHT SPOT IN THAT FILE...


If you've messed the whole order of the cfg file up, it'll lose odd settings, one of which being gamemode0.


(Had it happen last month or 3 where someone had completely and utterly re-ordered the entire cfg file, and that ended up being the problem.)

Ended up fixing it by getting the order from a blank cfg, coupled with citing the wiki to see what other options needed to be brought in.
It's all in order