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.
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.