Re: Player Number used for game play. |
Fri, 03 July 2009 19:37 ![Go to previous message Go to previous message](theme/Stars/images/up.png) ![Go to next message Go to previous message](theme/Stars/images/down.png) |
|
|
Micha wrote on Fri, 03 July 2009 06:25 |
Quote: | If anyone has managed to determine what the secondary sort key is it might be possible to set up the required set of circumstances to determine an exact order.
|
That would be fleet #.
First battle is the one in which the lowest player # has his lowest fleet # participating.
mch
|
That's what I thought. See below.
PaulCr wrote on Fri, 03 July 2009 08:09 | It is usually in player order and then fleet number but occasionally it is possible for the order to be changed. I've not looked into it other than noting that my battles weren't in the expected order occasionally when I was decoding the battle commands from the m files.
Given how I expect the code to work I suspect the actual order depends on who initiates the battle, ie imagine player 1 is friends with 3, neutral with 4 with orders to attack enemies only, 3 and 4 fight though dragging in player 1, I suspect in this case it will be in ordered as if the first race involved was player 3 since when it checked for player 1's fleet it would not have attacked and therefore the battle does not occur at that point but when player 3 is checked a battle occurs, player 3 then asks player 1's fleet for help since they are friends so player 1's fleet gets involved then.
In the above situation I expect all player 1 and player 2 fights would occur first but I haven't checked it since I don't see it being of any use to me since the only reason it could have an effect is gaining tech and the 2 games I'm in don't allow for tech trading.
|
In an earlier game the lowest player # bit seemed always to hold true but the secondary sort key was not fleet # & I checked this both in terms of the lowest race #'s fleets # & my own. I only spent an hour or two so my examination of it was not exhaustive but the secondary sort key was not obvious.
However, I just checked 24 battles in an earlier year of my current game & battle order was exactly in the order expected.
So Paul & I both seem to remember at least one time where the expected order was not the theoretic one but, without knowing why, I guess we need to assume that battles normally occur in the order we all thought they would:
Lowest Race # involved/Lowest Fleet # belonging to Lowest Race # involved
Report message to a moderator
|
|
|