~ Forums of Enroth ~

An Enroth diehard fan community
 
HomeHome  ChatChat  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» The Symphony of Heroes - Paul Romero with ochestra concert
by Orzie Yesterday at 20:01

» H3SW: General Graphics discussion
by robizeratul 2017-10-18, 11:45

» Ragoon's Graphics For HoMM3SW
by robizeratul 2017-10-18, 11:40

» Creature Quest – The New Adventure from JVC (feat some old NWC members)
by Galaad 2017-10-13, 20:34

» Modding Questions
by GodRage 2017-10-12, 18:32

» Introduce yourself
by Orzie 2017-10-12, 17:10

» [Ironfist ver 1.3.0] Sorrow's End map - Sprites of creatures missing on the adventure map
by Kristo 2017-10-12, 15:13

Poll
"Wait" in HoMM2?
Yes
80%
 80% [ 45 ]
No
20%
 20% [ 11 ]
Total Votes : 56
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
H3SW General Discussion
H3SW: Dwelling Development
H3SW Map List: Work in progress
Dervish Faction General Concept
Enrothian Fan Art
H3SW Recruitment Point - Enroth Needs You!
Серия книг "Земли Меча и Магии"
Commanders?

Share | 
 

 Twice the same hero on the map, and hero screen

View previous topic View next topic Go down 
AuthorMessage
Unknown Hero
Guest
avatar


PostSubject: Twice the same hero on the map, and hero screen   2015-07-21, 06:22

Hello,

The first time I launched the game, I had a crash ;-)

My system: Windows 7 Home Premium Edition SP1.

What I did.
Launch ironfist.exe.
Select the Sorrow's End scenario.
Play the scenario.

Some typos,
first message window: And every day, thd Lights - the
second message window: after five miles, hewas left - he was (space)

Enter the town.
Recruit all the boars.
Move the boars to the hero army.
Exit the town.
Take the campfire.
Move the hero to the ruins.
Recruit all the medusas.
Move the hero to the ore mine (not enough move).
End the turn.

Then the game crashed.
Window message: ironfist.exe stopped working - close program.

Unable to reproduce the bug.

*****

Bug: twice the same hero on the map, and hero screen.

http://speedy.sh/63Qyn/test-0998-bug-hero.GX1

Launch ironfist.exe.
Load "test 0998 bug hero.GX1".
Move the hero to the town.

Bug: As the hero moves, there is the same hero at the start position.

Do nothing.
Exit the town.
Without quitting the game, load the same save "test 0998 bug hero.GX1".
Move the hero to the town.

Bug: As you click on the town gate, you enter the hero screen.

Do nothing.
Exit the hero screen.
Move the hero to the town.
Same bug, you enter the hero screen.

Exit the hero screen.
Select the town in the Town list at the right on the screen.
Then select the hero in the Hero list at the right on the screen.
Move the hero to the town, now the hero can move to the town.
And same bug as before, as the hero moves, there is the same hero at the start position.

There is also a strange behavior, not easily reproducible, sometimes the hero cannot move and the game freeze, need to kill the task in the task manager.

Greetings.
Back to top Go down
Darmani_
Guest
avatar


PostSubject: Re: Twice the same hero on the map, and hero screen   2015-07-21, 06:23

Thanks for all the detail!

It can be very hard to fix the non-reproduceable bugs; there are a lot of complications involved in how we modify the game, and most debugging tools are not built to deal with this.

The hero screen one is crazy though, and I look forward to spending a weekend having a crack at it.
Back to top Go down
DraggonFantasy
Guest
avatar


PostSubject: Re: Twice the same hero on the map, and hero screen   2015-07-21, 06:23

The "cloned" hero is appearing if you save game with hero, that has some "move points" and load this game. If you move that hero, his "clone" is standing at the start position, but you can remove it after opening any town or any another closing and opening AdvManager.
Also, there is a scripting bug. If you save game in a scripted map and load it, all the scripts don't work. They works only if you start the map and then load game. For example, if you saved game in Sorrow's End map and want to load that game, you need to restart Sorrow's End (to reload all scripts) and then load your save.
Back to top Go down
Darmani_
Guest
avatar


PostSubject: Re: Twice the same hero on the map, and hero screen   2015-07-21, 06:24

I've started working on the scripting issue. The reason that script persistence across saves wasn't completed earlier is that there are some design issues I didn't want to deal with. First, there's the question of what to do with state the script stores (e.g.: in local variables). Then, there's the issue that savegame files are completely independent from map files, and thus we might not be able to find the script, or it may change.

Basically, here's what I'm planning to do:

1) Most scripts so far seem not to store information in variables, so nothing will be done about this. In the future, we can provide a way for scripts to save state.
2) All of a map's scripts will be included in the savegame files.

I'm a bit rusty on how the savegame stuff works, but this may involve breaking all existing Ironfist savegames. That should be avoidable in this case, but it's worth thinking about how willing we should be to make changes to the savegame format.
Back to top Go down
 
Twice the same hero on the map, and hero screen
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» James Connolly: A Working Class Hero
» A good night's rest for the hero and his troops
» Cyril Smith
» "Bull Connor's last revenge."
» JP Leppäluoto

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: