Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

BrowserRedraw.GuessMode seems buggy, even where the code is more than explicitly clear #40

@ATHSE

Description

@ATHSE

BrowserRedraw.GuessMode=0 is what I'm referencing specifically. Though just after I started writing this I may have stumbled across the cause, which is still a bug, but more oblique. Mode 0 using prerequisite... this is the key.

Ok so the main point here is that more than a dozen of my side-specific units are grouped into the "Other" category instead of Allied/Soviet where they should be. And it appears the common factor is that these units all use the generic prerequisites defined under [General], but importantly I'm not using them the same way as the original rules. Namely the change is that PrerequisiteTech and PrerequisiteFactory are not pairs of values for opposing sides, but rather alternates for the same sides. So what I think is happening is FA2sp is assuming the generic prerequisite means it belongs to both sides, rather than considering the sides of the buildings within them, and if no other 'tie breaker' building is found in the Prerequisite= line, then it goes to Other.

image
image

I assume this can be recitified just by resolving the contents of the generic prerequisites to actual buildings, and using that for determination.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions