~ 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 ~

The Enroth diehard fan community
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» [H3SW v0.8.2] Witch Hunt
Twice the same hero on the map, and hero screen Icon_minitimeby GodRage Yesterday at 22:56

» 5Kings1Ring
Twice the same hero on the map, and hero screen Icon_minitimeby GodRage Yesterday at 22:54

» Polskie powitanie
Twice the same hero on the map, and hero screen Icon_minitimeby rrravyn 2024-11-15, 09:53

» loading simplification
Twice the same hero on the map, and hero screen Icon_minitimeby badtoper 2024-11-15, 04:37

» Easier Troop Management Between Garrison and Hero in Town
Twice the same hero on the map, and hero screen Icon_minitimeby badtoper 2024-11-15, 04:05

» Improvements for Hero Management and Turn Confirmation
Twice the same hero on the map, and hero screen Icon_minitimeby badtoper 2024-11-15, 01:57

» [H3SW v0.8.2] Desert Isle
Twice the same hero on the map, and hero screen Icon_minitimeby Sir Albe 2024-10-31, 07:56

Poll
Global announcements should be:
Everlasting, 1 for each project.
Twice the same hero on the map, and hero screen Redbar110%Twice the same hero on the map, and hero screen Redbar12
 0% [ 0 ]
Temporary, when there is something new to announce.
Twice the same hero on the map, and hero screen Redbar11100%Twice the same hero on the map, and hero screen Redbar12
 100% [ 6 ]
Holalala... No idea where the Ultimate artifact is.
Twice the same hero on the map, and hero screen Redbar110%Twice the same hero on the map, and hero screen Redbar12
 0% [ 0 ]
Total Votes : 6
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
Introduce yourself
H3SW General Discussion
H3SW Map List: Work in progress
H3SW: Dwelling Development
The Floody Land
Forum Admins Feed
Enrothian Fan Art
Heroes III: The Succession Wars v0.8.2 Beta

 

 Twice the same hero on the map, and hero screen

Go down 
AuthorMessage
Unknown Hero
Guest
Anonymous



Twice the same hero on the map, and hero screen Empty
PostSubject: Twice the same hero on the map, and hero screen   Twice the same hero on the map, and hero screen Icon_minitime2015-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
Anonymous



Twice the same hero on the map, and hero screen Empty
PostSubject: Re: Twice the same hero on the map, and hero screen   Twice the same hero on the map, and hero screen Icon_minitime2015-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
Anonymous



Twice the same hero on the map, and hero screen Empty
PostSubject: Re: Twice the same hero on the map, and hero screen   Twice the same hero on the map, and hero screen Icon_minitime2015-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
Anonymous



Twice the same hero on the map, and hero screen Empty
PostSubject: Re: Twice the same hero on the map, and hero screen   Twice the same hero on the map, and hero screen Icon_minitime2015-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





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

Back to top Go down
 
Twice the same hero on the map, and hero screen
Back to top 
Page 1 of 1
 Similar topics
-
» [H3SW v0.8.1 + Exagear Android app] Black Screen when Opening Town Hall view just after riding a hero into the city
» [Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero
» Duplicating Hero Problem
» Looking for the old version of the Homm2 menu screen music
» [H3SW v0.8.2] Game crashes on the main screen.

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: