AAO25.com

Assist => Support => Server Support => Topic started by: Turkie on Friday, November 08, 2013, 10:18:07 AM

Title: Change standard map after restart
Post by: Turkie on Friday, November 08, 2013, 10:18:07 AM
Hello guys,

We had issues with our last server ( a lot of lag). We decided to open a new server. Now this one is superb however i cant seem to get the standard map to change from bridge to hospital. Now i have been looking here:

http://aao25.com/general-chat-90/change-starting-map-on-hosted-server/

however this didnt seem to work. Where do i put the GLOBAL map-file-name. When i edit the

aa25srv.ini
Quote
[AGP_Gameplay.AGP_MapList]
Maps=weapons_cache
MapNum=0

and start the server the "Maps=weapons_cache" just disapears and the server boots again to Bridge. Now we have to stop and start the server through a webinterface. Could that be a problem?


Any help would be appriciated.
Title: Re: Change standard map after restart
Post by: ELiZ on Friday, November 08, 2013, 11:34:09 AM
If you are running Windows dedicated server:

Code: [Select]
server.exe GLOBAL SFhospital
For other options see

http://aao25.com/info
Title: Re: Change standard map after restart
Post by: Turkie on Friday, November 08, 2013, 12:28:04 PM
Thank you for your reply bro. Its a linux server. So i only need to add GLOBAL SFhospital and it should work ?
Title: Re: Change standard map after restart
Post by: ELiZ on Friday, November 08, 2013, 13:58:27 PM
Yes
Title: Re: Change standard map after restart
Post by: Turkie on Saturday, November 09, 2013, 18:27:34 PM
I tried renaming the file "server-bin" to "server-bin GLOBAL hospital". But if I do that the server wont start anymore. It just goes in a loop "restarting". Am I doing something wrong?
Title: Re: Change standard map after restart
Post by: BiG_SerGiO on Saturday, November 09, 2013, 18:47:45 PM
I tried renaming the file "server-bin" to "server-bin GLOBAL hospital". But if I do that the server wont start anymore. It just goes in a loop "restarting". Am I doing something wrong?

/server-bin global SFhospital
or
/server-bin global SFhospital.aao
Title: Re: Change standard map after restart
Post by: ELiZ on Saturday, November 09, 2013, 22:05:13 PM
/server-bin global SFhospital
or
/server-bin global SFhospital.aao

.aao after the mapname don't work anymore.

But Sergio is right, don't rename server-bin to something else, start it with parameters like this

Code: [Select]
/server-bin global SFhospital
Title: Re: Change standard map after restart
Post by: Turkie on Saturday, November 09, 2013, 22:56:15 PM
Thank you guys,

I know what you are trying to say. However i cant start the server with ./server-bin GLOBAL SFHospital.

The way i have to restart the server is via a webinterface. I made a screenshot, so you can see what i mean.

(https://aao25.com/forum/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv519%2FTurkish_Pride%2FAaoserver.png&hash=c82fc3fdb9f13c3b734ec3b522931951) (http://smg.photobucket.com/user/Turkish_Pride/media/Aaoserver.png.html)

The server stop has the same button. So there is no way i can start with the ./server-bin GLOBAL SFHospital. I can only press start and stop, thats it.
Title: Re: Change standard map after restart
Post by: ELiZ on Saturday, November 09, 2013, 23:36:04 PM
You might try what you tried the first.. use the map rotate, but change the number of maps from 0 to 1
Title: Re: Change standard map after restart
Post by: Turkie on Sunday, November 10, 2013, 15:01:51 PM
I tried didnt work, i've sent the host company an email where i ask them to start the server with a script called start.sh and within therei call ./server-bin global SFhospital. Now i just have to wait for the result :)