ihhub / fheroes2

fheroes2 is a recreation of Heroes of Might and Magic II game engine.
https://ihhub.github.io/fheroes2/
GNU General Public License v2.0
2.58k stars 359 forks source link

Вылетает игра #7648

Closed cafedemidov closed 10 months ago

cafedemidov commented 10 months ago

Preliminary checks

Platform

Windows

Describe the bug

Файл с сохранением игры прикрепил. Нужно загрузить игру и сделать конец хода. Безымянный

Save file

save.zip

Additional info

No response

oleg-derevenetz commented 10 months ago

Hi @cafedemidov, I can't reproduce this problem yet. It may have already been fixed. Please try to install the latest snapshot build from here:

https://github.com/ihhub/fheroes2/releases/tag/fheroes2-windows-x64-SDL2

and check if the problem continues to appear.

cafedemidov commented 10 months ago

oleg-derevenetz Прежде чем запостить этот баг, я скачал этот самый свежий билд и попробовал с ним. С ним у меня всё так же, вылетает.

oleg-derevenetz commented 10 months ago

Прежде чем запостить этот баг, я скачал этот самый свежий билд и попробовал с ним. С ним у меня всё так же, вылетает.

Interesting. Still cannot reproduce:

https://github.com/ihhub/fheroes2/assets/32623900/18dbd4c0-deef-45da-9474-4cd53a929247

Hi @Districh-ru @Branikolog @ihhub can anyone reproduce it?

This assertion fails because AI sees on the map some kind of object of the type that it does not know about.

cafedemidov commented 10 months ago

Вот запись видео экрана ) https://disk.yandex.ru/i/UFHkz-qAtnv5lg

А, в качестве примечания -- до этого у меня такой краш вылез когда я плавал героем на лодке и собирал мусор в воде. Потом загрузил ближайшую сохраненку этой игры, и вылетать стало уже без всякой лодки.

oleg-derevenetz commented 10 months ago

Вот запись видео экрана )

I readily believe that it crashes :) The question is why and how to reproduce this. BTW two questions:

  1. Do you use 32-bit or 64-bit version?
  2. Is everything all right with the original game resources? There are some pirated distributions where they were tampered with.
cafedemidov commented 10 months ago

Использую 64-битную версию. Насчёт все ли в порядке с ресурсами игры, не знаю. Скачивал с рутрекера, извините.... Если интересно, выложу в облако ресурсы игры или файл карты

oleg-derevenetz commented 10 months ago

Насчёт все ли в порядке с ресурсами игры, не знаю.

Try the data files from the official GOG distribution. They are guaranteed to be original.

oleg-derevenetz commented 10 months ago

I was able to reproduce this with the demo version assets. Purple hero attacks green hero on water and then assertion fails.

P.S. It is also reproducible on non-demo SW-only assets.

Alucard648 commented 10 months ago

He can`t get Heroes 2 from GoG - that game is banned in Russia from that store.

oleg-derevenetz commented 10 months ago

Hi @cafedemidov could you please take the Windows binary from #7649 and verify whether it fixes your issue with non-GOG HoMM2 assets? Here is an instruction on how to do it:

https://github.com/ihhub/fheroes2/wiki/Download-Windows-latest-compiled-packages-of-a-pull-request

cafedemidov commented 10 months ago

Нашел и скачал релиз от GOG, с ним вылетать перестало. Что за сборка героев2 стояла до этого, что-то уже не найти, чтобы проверить билд ((

oleg-derevenetz commented 10 months ago

Что за сборка героев2 стояла до этого, что-то уже не найти, чтобы проверить билд ((

This issue has been observed with any HoMM2 "Succession Wars"-only assets (i.e. without The Price of Loyalty addon). For example, this has been observed with assets from HoMM2 demo version, that are freely available.

cafedemidov commented 10 months ago

Скачал демо-версию, на ней мой сэйв тоже вылетал, да. Скачал ваш билд Windows binary from 7649, с ним не вылетает. Ура )