Faction Indices

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Faction Indices

Postby sasin » 30 Jan 2017, 21:25

Are their faction ratings that affect how many points you get or lose in ladder based on how they are balanced or some such? I saw reference to them in a faf community post but had never heard of them before. Icedreamer, speed2 or anyone who could direct me to something about them, could you send me a link or something?




Game Patch 3668

Posted on January 17th 2017 by speed2


Fixed the game reporting incorrect army indexes to the server on game start, leading to incorrect rating calculations on game end
Icedreamer
sasin
Priest
 
Posts: 368
Joined: 11 Feb 2013, 04:09
Has liked: 26 times
Been liked: 43 times
FAF User Name: sasin

Re: Faction Indices

Postby PhilipJFry » 30 Jan 2017, 22:47

There is no difference in rating calculation based on the faction you play as or fight against
cats>dogs
post logs
User avatar
PhilipJFry
Supreme Commander
 
Posts: 2635
Joined: 23 Mar 2016, 21:16
Location: Austria
Has liked: 232 times
Been liked: 348 times
FAF User Name: PhilipJFry

Re: Faction Indices

Postby Exotic_Retard » 30 Jan 2017, 22:51

im pretty sure whats going on here is that icecreamer meant the faction index in the game score which is a number from 1 to 4 telling you which faction you are. the game was reporting them incorrectly and the server was discarding the results due to inconsisencies or something.
User avatar
Exotic_Retard
Contributor
 
Posts: 1470
Joined: 21 Mar 2013, 22:51
Has liked: 557 times
Been liked: 626 times
FAF User Name: Exotic_Retard

Re: Faction Indices

Postby IceDreamer » 30 Jan 2017, 23:13

OK, so army index and faction index aren't the same:

Faction index is used in the code to determine an entity's Faction. It's sprinkled through the code, and doesn't do much else.

Army index is the way that players (and AIs) are identified by the engine, and they're derived on game launch from the order of players in slots. Trouble was, it ignores empty slots and a few other edge cases. So in those cases, the lobby would report player IDs as {Slot1, Slot3, Slot4} etc, and at end of game the score code reported for engine army indexes {1, 2, 3}. This mismatch led to a server code error and a failed rating update.
IceDreamer
Supreme Commander
 
Posts: 2607
Joined: 27 Dec 2011, 07:01
Has liked: 138 times
Been liked: 488 times

Re: Faction Indices

Postby sasin » 31 Jan 2017, 08:05

Ah, cool! Makes sense. Thanks for the explanation!
sasin
Priest
 
Posts: 368
Joined: 11 Feb 2013, 04:09
Has liked: 26 times
Been liked: 43 times
FAF User Name: sasin


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest