Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.31: Specific Unit Events lost during game save/load #78

Open
Luashine opened this issue Oct 9, 2022 · 0 comments
Open

1.31: Specific Unit Events lost during game save/load #78

Luashine opened this issue Oct 9, 2022 · 0 comments

Comments

@Luashine
Copy link
Collaborator

Luashine commented Oct 9, 2022

В 1.31 существует баг, проявляющийся после загрузок сохранённых игр. В этом случае перестают работать почти все раннее добавленные события триггеров типа Specific Unit Event (EVENT_UNIT_SPELL_EFFECT, EVENT_UNIT_USE_ITEM и т.п.) Из подобных остаются работать всего несколько (EVENT_UNIT_DAMAGED, EVENT_UNIT_DEATH).
Если ваша карта не односессионная, то необходимо либо использовать только события типа Generic Unit Event (EVENT_PLAYER_UNIT_SPELL_EFFECT, EVENT_PLAYER_UNIT_USE_ITEM и т.п.). Либо отслеживать событие загрузки игры (EVENT_GAME_LOADED) и добавлять заново потерянные события.

There's a bug in 1.31 that comes up after loading a saved game. In this case almost all Specific Unit Events stop working (EVENT_UNIT_SPELL_EFFECT, EVENT_UNIT_USE_ITEM etc.) Of all these only a few continue to work correctly (EVENT_UNIT_DAMAGED, EVENT_UNIT_DEATH).
If your map isn't a single-session map, you must use only events of type Generic Unit Event (EVENT_PLAYER_UNIT_SPELL_EFFECT, EVENT_PLAYER_UNIT_USE_ITEM etc.). Alternatively track game loading (EVENT_GAME_LOADED) and readd the lost trigger events.

Although https://wowpedia.fandom.com/wiki/Warcraft_III/Patch_1.31.0 says (see below) its worth to verify and add.

Triggers won't be lost during saves (Thank you, Bribe)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant