Skip to content

Reforged 12->24 player trigger bugs #56

@speige

Description

@speige

Constants like PLAYER_NEUTRAL_PASSIVE Players changed from 15 to 27 when max players changed from 12 to 24. Code like Player(PLAYER_NEUTRAL_PASSIVE) still works, but code like Player(15) breaks when upgrading to reforged.

Do a global find/replace in war3map.j to these:
Player(12) to Player(PLAYER_NEUTRAL_AGGRESSIVE)
Player(13) to GetBJPlayerNeutralVictim()
Player(14) to GetBJPlayerNeutralExtra()
Player(15) to Player(PLAYER_NEUTRAL_PASSIVE)

Make sure not to run it on a map that's already been updated to reforged, because that would cause real players in 24-player maps to be converted to neutral players.

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