~ Forums of Enroth ~

An Enroth diehard fan community
 
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» Minecraft: HoMMII Resource pack!
by GodRage 2019-03-17, 12:57

» Introduce yourself
by kingarthur 2019-03-15, 12:44

» [H3SW v0.8.1] XP bug on random maps
by Figo 2019-03-14, 07:30

» H3SW: Artifact system
by robizeratul 2019-03-13, 23:46

» [H3SW v0.8.1] growth with external dwelling
by Figo 2019-03-13, 06:35

» Feature list, release notes, to-do list...
by Orzie 2019-03-13, 03:32

» [H3SW v0.8.1] Dragon Rider - map suggestion / not a bug
by Orzie 2019-03-13, 03:21

Poll
"Wait" in HoMM2?
Yes
80%
 80% [ 55 ]
No
20%
 20% [ 14 ]
Total Votes : 69
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
H3SW General Discussion
H3SW: Dwelling Development
Heroes of Might and Magic 3: The Succession Wars - General info & Announcements
H3SW Map List: Work in progress
Welcome fellow Enrothians!
Enrothian Fan Art
Commanders?
H3SW Recruitment Point - Enroth Needs You!

Share | 
 

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

Go down 
AuthorMessage
Unknown_Hero
Vampire
Vampire
Unknown_Hero

Messages : 459
Quality Points : 58
Registration Date : 2015-09-06

PostSubject: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   2019-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:

Back to top Go down
Darmani
Master Modder
Master Modder
Darmani

Messages : 237
Quality Points : 38
Registration Date : 2014-12-27

PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   2019-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
Vampire
Vampire
Unknown_Hero

Messages : 459
Quality Points : 58
Registration Date : 2015-09-06

PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   2019-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 : 237
Quality Points : 38
Registration Date : 2014-12-27

PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   2019-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
Vampire
Vampire
Unknown_Hero

Messages : 459
Quality Points : 58
Registration Date : 2015-09-06

PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   2019-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 : 237
Quality Points : 38
Registration Date : 2014-12-27

PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   2019-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
Vampire
Vampire
Unknown_Hero

Messages : 459
Quality Points : 58
Registration Date : 2015-09-06

PostSubject: Re: [Ironfist ver 1.3.0] Debug error message with an original Heroes 2 save file   2019-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 : 237
Quality Points : 38
Registration Date : 2014-12-27

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

Possibly.
Back to top Go down
Unknown_Hero
Vampire
Vampire
Unknown_Hero

Messages : 459
Quality Points : 58
Registration Date : 2015-09-06

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

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




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

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
-
» Password error message when using the method Allopass !!!
» Error message when trying to create personalized domain name
» Error message at program startup
» Error message/ virus
» Stock ticker error in homepage message

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: