RUNNING WITH RIFLES
http://runningwithrifles.com/phpBB3/

Beta 0.84 dedicated server, Windows/Linux
http://runningwithrifles.com/phpBB3/viewtopic.php?f=4&t=1076
Page 5 of 5

Author:  pasik [ Tue Apr 02, 2013 1:37 pm ]
Post subject:  Re: Beta 0.84 dedicated server, Windows/Linux

{SAS}DocStone wrote:
No reaction at all, and it just resets whatever map the rotation happens to be on. In the Server console all it shows is the start5.xml being actioned, and seems to ignore the change_map command completely.

Map5 command in commands.xml is as follows:

Code:
    <alias name="map5" command="change_map vanilla/maps/map5; execute start5.xml"/>


The start5.xml is as follows:

Code:
<command
   class="start_game"
   vehicles="1"
   max_soldiers="240"
   player_bot_compensation="20"
   progress_multiplier="1.0">
   
   <faction initial_over_capacity="0" ai_accuracy="0.94" />
   <faction initial_over_capacity="0" ai_accuracy="0.94" />
</command>


The only thing I can think that has changed is I have renamed the install folders to RWR1 for standard, and RWR2 for invasion. Apart from that, nothing is different.


Yeah, no reaction at all in the script would be what I'd expect, as nothing should be signaled to the script when you just change the map in the console, so the script shouldn't be overriding the map change or interfere with it in any way really.

Did you try by not grouping the map change command and the match start command?

What can I say, having a grouped command similar to yours seems to work fine here..

Author:  {SAS}DocStone [ Thu Apr 04, 2013 9:32 am ]
Post subject:  Re: Beta 0.84 dedicated server, Windows/Linux

OK, by removing the start.xml parameter the maps now change ok, but resort to standard settings, not my custom ones. Will fart about some more with it today :D

Author:  {SAS}DocStone [ Thu Apr 04, 2013 9:58 am ]
Post subject:  Re: Beta 0.84 dedicated server, Windows/Linux

Right, fix found.

I have to initiate a map change without the added execute command first:

Code:
   <alias name="mapx" command="change_map vanilla/maps/map5"/>


after that it recognises the full commands for map changes:

Code:
    <alias name="map5" command="change_map vanilla/maps/map5; execute start5.xml"/>


If I don't do this the server only recognises the "execute" command part of the alias "map5" (or any map number) and just restarts the current map. Once the bog standard map change command has been given and actioned however the alias "map5" makes the server recognise both commands as it should.

Weird :D

Author:  pasik [ Thu Apr 04, 2013 12:26 pm ]
Post subject:  Re: Beta 0.84 dedicated server, Windows/Linux

Weird indeed :D I assume it doesn't have to be a map change alias to make it start processing the rest of commands correct, as in, would just executing one command, like status, first in the console make the initial kick and put things in order?

Or is it specifically that running an alias first makes the rest of alias groups work..? :)

Anyway, I'm not seeing that happening on the dedicated server running on Win7 for some reason. I'm testing it with 0.85.1 though so theoretically something might've changed and fixed it already, but I think I haven't touched this area lately.

Author:  {SAS}DocStone [ Thu Apr 04, 2013 2:13 pm ]
Post subject:  Re: Beta 0.84 dedicated server, Windows/Linux

Just tried it, status has no effect, it has to be a map change alias for it to work.

So, who forgot to put the euro's in the electricity meter? :D

Page 5 of 5 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/