It is currently Sat Apr 27, 2024 7:01 pm

RUNNING WITH RIFLES Multiplayer

test

Game servers 45 List provided by EpocDotFr | Players online 40


All times are UTC




Post new topic Reply to topic  [ 45 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
PostPosted: Tue Apr 02, 2013 1:37 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
{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..


Top
 Profile  
 
PostPosted: Thu Apr 04, 2013 9:32 am 
Offline
User avatar

Joined: Mon Feb 25, 2013 12:24 pm
Posts: 283
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

_________________
Image


Top
 Profile  
 
PostPosted: Thu Apr 04, 2013 9:58 am 
Offline
User avatar

Joined: Mon Feb 25, 2013 12:24 pm
Posts: 283
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

_________________
Image


Top
 Profile  
 
PostPosted: Thu Apr 04, 2013 12:26 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
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.


Top
 Profile  
 
PostPosted: Thu Apr 04, 2013 2:13 pm 
Offline
User avatar

Joined: Mon Feb 25, 2013 12:24 pm
Posts: 283
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

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 45 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC


Who is online

Users browsing this forum: No registered users and 42 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group