Skip to content

Posts from Need help with a map.

No ratings yet — be the first to rate!
User Avatar
Auto-translated
Hello, I started creating a scenario, completed about 60% of the work, and suddenly encountered a problem: in the editor, the map displays perfectly, but when I try to play it, a loading screen appears, and then, at the "press any key" stage, the map crashes. The error messages that appear when I click "check map" in the editor also appeared before when the map was launched in the game itself, but there are no new error messages. Although I have an older, working version of the map, a considerable amount of work has been done since then, and, moreover, I would like to find out the cause of the problem. Therefore, if there are experienced mapmakers on the forum who are willing to spend some time on the map, I can send it in a private message so that you can give me your opinion on what the problem is. Thank you in advance. :)
P.S. The map was created in the editor of the original Heroes game, and its current size is 541KB.
User Avatar
Auto-translated
If you've created a script, it's likely that you have a `while 1 do` loop or some other repeating function without a break statement. Try inserting `sleep()`.
In reply to Долгий
User Avatar
Auto-translated
I haven't created any scripts; the problem arose during the creation and editing of the landscape.
In reply to Долгий
User Avatar
Auto-translated
Thank you, I have sent the email with the attachment.
In reply to Долгий
User Avatar
Auto-translated
That's strange, everything works for me. I launched it in the game first, then made some minor changes in the editor, saved it, and launched it again. Everything works. I have a question: is your hard drive partitioned (C, D, etc.) or is it a single partition (only C)?
In reply to Долгий
User Avatar
Auto-translated
The hard drive is divided into drives C and D; drive D is for older games, and it has XP and Heroes 5 installed.
In reply to Navkratis
User Avatar
Auto-translated
Based on my experience, the game runs much better on a single drive. So, my advice is this: save the map (both the new and the old one). If you have a licensed version, reinstall the game on a different drive. If you're using a pirated version, and the above doesn't help, there's likely some incompatibility. Try the version by xatab (not advertising, just suggesting), which is what I use. P.S. I deleted your map; it's your property. P.P.S. I just checked, Swordmaster, not xatab.
In reply to Долгий
User Avatar
Auto-translated
Thank you for responding. I will try reinstalling the game and also scan drive D with an antivirus.

Added 1 hour 29 minutes ago
The story took an unexpected turn. :) After trying everything mentioned above and it didn't help, I decided to start removing newly added objects from the map one by one to see what would happen. And as soon as I removed the dungeon building, the map started, but only on the "veteran" difficulty level. On "recruit," "warrior," and "hero" difficulties, it still crashes. So, I don't know what to think. :)

P.S. Before this, I had already uploaded three maps to the site, created in the same editor, including one with a dungeon building on the map. I never had this kind of problem before.
User Avatar
Auto-translated
Good day, I have an almost finished map with two scripts that aren't working. Can anyone help me with them?
Мои карты для:
Heroes 5: Битвы кланов - Борьба за ресурсы - Обитель друидов - Падший рыцарь - Побег
Heroes 4: Немеджихра - Приключения ифрита
Heroes 3: Крюлод и Таталия
Heroes 2: Вторжение - Эктор - Сэр Мильтен - Чёртовы Топи
Мой ютуб канал: Navkratis

Statistics

Welcome our newest member: Emil