~ Forums of Enroth ~
Would you like to react to this message? Create an account in a few clicks or log in to continue.

~ Forums of Enroth ~

An Enroth diehard fan community
 
HomeHome  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» Immortal Realms: Vampire Wars (HoMM like game)
[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitimeby Unknown_Hero 2020-09-18, 23:10

» They talked about fheroes2!
[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitimeby sirDranik 2020-09-13, 02:51

» GoG Homm2 vs fheroes2 comparison review
[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitimeby sirDranik 2020-09-11, 01:19

» Resurrection of fheroes2 with 0.8 version
[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitimeby Tibor0803 2020-09-08, 06:32

» [Enhancement] Enhancement for the information displayed when the player right clicks on an object
[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitimeby sirDranik 2020-09-07, 20:45

» Free Heroes of Might and Magic II (fheroes2) General Announcements
[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitimeby ihhub 2020-09-05, 02:34

» [Enhancement] Enhancement for Scouting secondary skill
[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitimeby Unknown_Hero 2020-09-03, 21:26

Poll
Global announcements should be:
Everlasting, 1 for each project.
[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Redbar110%[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Redbar12
 0% [ 0 ]
Temporary, when there is something new to announce.
[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Redbar11100%[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Redbar12
 100% [ 6 ]
Holalala... No idea where the Ultimate artifact is.
[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Redbar110%[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Redbar12
 0% [ 0 ]
Total Votes : 6
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
H3SW General Discussion
H3SW Map List: Work in progress
H3SW: Dwelling Development
Heroes III: The Succession Wars v0.8.1 Beta
Heroes of Might and Magic 3: The Succession Wars - General info & Announcements
Project Ironfist announcements
Introduce yourself
Welcome fellow Enrothians!

 

 [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file

Go down 
AuthorMessage
Unknown_Hero
Mage
Mage
Unknown_Hero

Messages : 724
Quality Points : 74
Registration Date : 2015-09-06

[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Empty
PostSubject: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitime2019-01-11, 05:14

After loading this save file (original save file of Heroes 2) in the official version of "Ironfist 1.3.0", and ending the turn, I got this error:

[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file L5oUH4w
Back to top Go down
Darmani
Master Modder
Master Modder
Darmani

Messages : 280
Quality Points : 45
Registration Date : 2014-12-27

[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Empty
PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitime2019-01-12, 12:26

Hello,

I noticed that this savegame is for a map called "3-way cross.m\x1\x1", where "\x1" is the ASCII "Start-of-heading" character (ASCII code 1). In short: this map name contains invalid characters.

I changed the map filename to "3-way cross.mp2" by changing bytes 0x1D2-0x1D4 of the save file to 0x703200, and it worked fine.

Any idea how this happened?
Back to top Go down
Unknown_Hero
Mage
Mage
Unknown_Hero

Messages : 724
Quality Points : 74
Registration Date : 2015-09-06

[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Empty
PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitime2019-01-13, 05:39

I do not remember doing anything special. I made this save to have quick access to the Town Portal spell for testing. If I remember correctly, the save file comes from version 1.3 of standard Heroes 2 not the Gold version of Heroes 2.
Back to top Go down
Darmani
Master Modder
Master Modder
Darmani

Messages : 280
Quality Points : 45
Registration Date : 2014-12-27

[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Empty
PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitime2019-01-13, 10:39

Well, something to look out for in the future. This is clearly an original-game bug, and it's a small miracle the original game doesn't crash.
Back to top Go down
Unknown_Hero
Mage
Mage
Unknown_Hero

Messages : 724
Quality Points : 74
Registration Date : 2015-09-06

[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Empty
PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitime2019-01-13, 11:23

I did tests and the save file does not have any problems with the original version 1.3 or the Gold version 2.1 or the GoG version 2.1 of Heroes 2, and it also works without any problem with the version 1.2.1 of Ironfist. The possibility of "seeing the bug" is probably due to the changes made in the recording mode format for the save file from version 1.3.0 of Ironfist. And it's a "chance" to have triggered the bug by checking the problem of unplayed sound when a hero visits the pyramid. Very Happy
Yes, it will be necessary to monitor if this problem is repeated later.
Back to top Go down
Darmani
Master Modder
Master Modder
Darmani

Messages : 280
Quality Points : 45
Registration Date : 2014-12-27

[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Empty
PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitime2019-01-13, 13:43

Ironfist uses a pastiche of the original game's binary format with its own XML save format. In 1.3, we moved a lot of stuff from binary to XML. The map filename is among them. Our XML library checks that the filename is a valid string, and crashes because it's not.

The problem is still the corrupt map filename. The desired way to fix this is to prevent Ironfist from saving files with corrupt map filenames, which we have already done. Only if this becomes a very common problem will we need to make Ironfist support corrupt map filenames.
Back to top Go down
Unknown_Hero
Mage
Mage
Unknown_Hero

Messages : 724
Quality Points : 74
Registration Date : 2015-09-06

[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Empty
PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitime2019-01-14, 05:04

Can the problem occur because the scenario file name is not in the Dos 8.3 file format?
I know this can cause problems with the map editor. I had a lot of problems like this when I was working on the MYP for Heroes 2. Typically, replacing the name of the scenario file with a name in the Dos 8.3 file format solved the problem.
Back to top Go down
Darmani
Master Modder
Master Modder
Darmani

Messages : 280
Quality Points : 45
Registration Date : 2014-12-27

[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Empty
PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitime2019-01-14, 08:35

Possibly.
Back to top Go down
Unknown_Hero
Mage
Mage
Unknown_Hero

Messages : 724
Quality Points : 74
Registration Date : 2015-09-06

[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Empty
PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitime2019-01-14, 08:56

Thank you, I will remember that if it happens again. Smile
Back to top Go down
Sponsored content




[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Empty
PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file Icon_minitime

Back to top Go down
 
[Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file
Back to top 
Page 1 of 1
 Similar topics
-
» Bloods: Inraku no Ketsuzoku 2 / Bloods [18+] [DVDrip]

Permissions in this forum:You cannot reply to topics in this forum
~ Forums of Enroth ~ :: Modding Guild :: Heroes of Might and Magic II: Project Ironfist :: Bug Reports-
Jump to: