Insurgency

Insurgency

View Stats:
Fingolfin Dec 10, 2014 @ 5:44pm
rcon and changing mapcyclelist
Hello everyone.

I'm quite new at hosting source servers and I have a couple of questions. I have a private server setup that I use to play with friends and it's mostly working correctly but there's a few thing that I'd like to improve.

Note: All the square brackets [] are just for readability.

1) I can't get the remote console to work. I have [rcon_password "MyPwd"] in the server.cfg but when I use [rcon_password MyPwd] in the console while in game nothing happens. If I try something like [map ambush] or whatever it doesn't do anything. Entering the same command in the console locally works fine.

2) I can't find a way to change the mapcyclefile mid game. The [mapcyclefile "mapcycle.txt"] command in the server.cfg works fine, I can choose the maps I want. However let's say that we want to jump into a different playlist calling mapcyclefile again with a different file doesn't do anything, the server stays on the same map.

I can change the map manually using [map], but once the map is done it goes back to the previous rotation.

Thanks for any help!
< >
Showing 1-9 of 9 comments
Arc Dec 10, 2014 @ 9:19pm 
changing mapcycle does not change the map instanteniously, that's perfectly normal, change mapcycle then change map.

As for RCON, do you have the actual server on same machine as your Game Client ?

anyway, RCON may be not working because: port 27015, or you forget to portforward TCP 27015
Mike Hawk Dec 11, 2014 @ 3:03am 
Maybe you are not doing it right.

Type: rcon_password (your password)

Then to change the map enter: rcon map _correct map name)
Last edited by Mike Hawk; Dec 11, 2014 @ 3:04am
Fingolfin Dec 11, 2014 @ 4:42am 
ah .... thank you! I didn't know I needed to start everything with rcon. Which is a bit silly since you lose the autocomplete feature. Anyway rcon works fine now.

As for the mapcycle thing, I was talking about the next maps. I've just tested it right now, played a coop map alone, use [rcon mapcyclefile "mapcycle_occupy.txt"] and [mapcyclefile mapcycle_occupy.txt] (I wasn't sure about the quotes). I then suicided a bunch of times to end the match and the next vote window only contained coop maps again, no occupy.

I also tried switching manually to an occupy map after using mapcyclefile and once the occupy game was done, it only proposed coop again.

Thanks!
Arc Dec 11, 2014 @ 7:12am 
sv_playlist coop
i suppose ?

BTW better to read my guide:
http://steamcommunity.com/sharedfiles/filedetails/?id=345661185
Fingolfin Dec 11, 2014 @ 2:18pm 
Nice guide, I would have figured out my rcon problem if I had read this first.

If I understood correctly I don't think I can use sv_playlist, isn't something about matchmaking? My server is a private one and your guide says it's not compatible with sv_password.

I guess I'll play a bit more with it and try to find what I'm doing wrong.
Arc Dec 11, 2014 @ 2:25pm 
Exactly, it's sv_playlist OR sv_password, you can't have public server with password (aka private).
Last edited by Arc; Dec 11, 2014 @ 3:01pm
Fingolfin Dec 11, 2014 @ 3:40pm 
I sort of made it work. First I had to disable map voting (sv_map_vote 0) because the vote was always stuck on the initial mapcyclefile. Once voting was disabled the server will change to my new mapcyclefile, however it resets to the initial settings after the first match. Essentially I have to change the mapcyclefile every match if I want to stay on it.

Here's what I've done:

I created 2 mapcycle files: "test1.txt" and "test2.txt" both with 2 maps each (let's say A, B and Y, Z).
I create my server and starts on "test1.txt" with map A. Finish this map and it goes to A or B, so far so good.

I then type: [rcon mapcyclefile "test2.txt"]. If I type [rcon mapcyclefile] it confirms that I'm using "test2.txt". Once the map finish, map Y or Z loads. (Note: if I go to vote screen I still see A or B even though I changed to test2.txt)

But once on map Y/Z, if I type [rcon mapcyclefile] again, it says I'm back to "test1.txt". If I do nothing, the server will go back to map A or B after the match. So every match I have to enter [rcon mapcyclefile "test2.txt"] if I want to stay on that rotation.

Am i missing some command to make a setting permanent?

Thanks for your help, it's appreciated.
Arc Dec 11, 2014 @ 9:30pm 
Yea, i tested it just now, didn't working. I think you can't change such settings via RCON to permament state (if yes, i don't know how).

Anyway, if you have really private server, why do you need to swap mapcycle file when you can put all your maps into 1 file and then use vote for it ?
I can understand public server and random guys changing modes for no reason, but private server is totally different, that's why i'm asking :)
Last edited by Arc; Dec 11, 2014 @ 9:30pm
Fingolfin Dec 12, 2014 @ 5:51am 
True, that might be what I'll do in the future. The idea was that if we were feeling like playing Push (or whatever) then we could only vote on Push maps instead of having to hit refresh 20 times to find the mode we wanted. But it's no big deal, I got enough alternative solutions to make it work.

Thanks again for your help.
< >
Showing 1-9 of 9 comments
Per page: 1530 50

Date Posted: Dec 10, 2014 @ 5:44pm
Posts: 9