~ Forums of Enroth ~

An Enroth diehard fan community
 
HomeHome  ChatChat  FAQFAQ  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» [Ironfist ver 1.3.0] Script for Maps (Shrines, Secondary Skills, Witch's Hut, etc.) and some questions
by Unknown_Hero 2018-12-09, 10:34

» [Unknown Mod] General Informations
by Unknown_Hero 2018-12-09, 10:26

» [Ironfist ver 1.3.0] Systematic crash
by Unknown_Hero 2018-12-08, 07:47

» [Ironfist ver 1.3.0+] Unexpected program termination when a double click is performed on a town
by Unknown_Hero 2018-12-03, 00:35

» [Ironfist ver 1.3.0] Bug with tables in lua script when loading a save file
by Unknown_Hero 2018-12-01, 08:51

» Modding Questions
by Arstahd 2018-11-25, 18:53

» H3SW: General Graphics discussion
by buffkaz 2018-11-22, 08:30

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
H3SW Map List: Work in progress
Heroes of Might and Magic 3: The Succession Wars - General info & Announcements
Welcome fellow Enrothians!
Enrothian Fan Art
Commanders?
H3SW Recruitment Point - Enroth Needs You!

Share | 
 

 Twice the same hero on the map, and hero screen

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
Sponsored content




PostSubject: Re: Twice the same hero on the map, and hero screen   

Back to top Go down
 
Twice the same hero on the map, and hero screen
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
» E HERO Water control/nuke (HERO + Monarchs(?))
» Rainbow in the Dark: Tzolkin HERO-Neos
» Evil Hero Deck

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: