I have this error:
Could not load script 'scripts/main.nut
[WARNING] cannot open the file
[ERROR] No Squirrel gamemode was specified.
But the script is in the folder...whats the problem.?
Can you show us the contents of server.cfg ? There's should be a line like this in there:
sqgamemode scripts/main.nut
gamemode Default
plugins squirrel04rel32 xmlconf04rel32 announce04rel32 sockets04rel32 hashing04rel32 sqlite04rel32 mysql04rel32
port 8192
sqgamemode scripts/main.nut
maxplayers 100
Are you trying the server on Linux? If so. Is the server allowed to read that file? Make sure that the user who runs the server is actually allowed to read that file. Check the file permissions.
Yes on Linux Debian 7!
In the server folder all files have 777 permission.
But only have the same problem.
This is an image:
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fkepfeltoltes.hu%2F150514%2Ferrr_www.kepfeltoltes.hu_.png&hash=029ce77683d3cb378ba259e8c3957498f5b50dfe)
Did you actually put your script file in the scripts/ folder? (case sensitive, Scripts wont work)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fkepfeltoltes.hu%2F150514%2Fasd_www.kepfeltoltes.hu_.png&hash=2394038de351718ebb94f1382d3a945ae6d6c0ae)
Change this line to this and see if that helps with anything:
sqgamemode ./scripts/main.nut
Could not load script './scripts/main.nut
[WARNING] cannot open the file
[ERROR] No Squirrel gamemode was specified.
Ohh,it's an old version server. Do you send me the Linux x86 server files?(With scripts,startup files)
Anyone?
Quote from: Chrispapa on May 14, 2015, 11:07 AMOhh,it's an old version server. Do you send me the Linux x86 server files?(With scripts,startup files)
http://forum.vc-mp.org/?topic=514.0
Really?
Its only a startup file
Quote from: Chrispapa on May 14, 2015, 12:49 PMIts only a startup file
That's all you need since you already seem to have a script.
And what's the problem?
Why not load the script??
Quote from: Chrispapa on May 14, 2015, 03:19 PMAnd what's the problem?
Why not load the script??
Like we said, it's not able to load the file you specified.
What program did you use to create the config file? Make sure they only use linux line endings.
Try executing this in your server directory:
echo "gamemode Default\nplugins squirrel04rel32 xmlconf04rel32 announce04rel32 sockets04rel32 hashing04rel32 sqlite04rel32 mysql04rel32\nport 8192\nsqgamemode scripts/main.nut\nmaxplayers 100" > server.cfg
Notepad++