Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: Game freezes
Thread: Game freezes
FunBun7
FunBun7

Tavern Dweller
posted December 20, 2014 05:05 PM

Game freezes

Hey guys,

I have some recurring issues with a game that freezes at some point, so let me explain the situation. They occur both in WoG 3.58 as well as in ERA, but it seems to affect ERA less.

I decided to edit a map in the editor to make it more to my liking and so I gave enemy heroes vast armies and increased their skills. I also made a few adjustments to the map, but nothing fancy like using scripts. When I was finally done, I tried to playtest it, but at some point during an enemy's turn, the game freezes. I have tried hard to find a solution in the map editor, but nothing helped. Now in my most recent game I discovered that when I took away a neutral monster on the map by cheating my way to it, then using town portal to get back to my area, the game didn't freeze. This leads me to believe the bug is when AI is in combat. The game freezes before AI engages in combat, however. I played the map before I pimped it and had no problems whatsoever, but then again, I have edited maps before in a similar way and had no issues then.

Does anyone have the same experience of games freezing this way? Also, does anyone know if and how I can fix this? I can provide saved games if necessary.

Thanks in advance
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted December 20, 2014 06:15 PM

There can be endless causes, from AI level up to AI casting 80 summon boats. Unfortunately, only one able to code erm can find the cause, because you have first to delete AI heroes faction by faction then see which is guilty, then code that hero and find why it hangs. It takes some time to find out and is useful for fixing maps where the freeze always occurs.

But in general, avoid giving AI heroes huge armies while they can move across the map. Because AI is coded to focus on a single leader, therefore they will all pass their armies to one of them, so it may overflow. Other causes may be because of wog specific features. I had my map tew3 freeze always on 6/3/3 and it took me some time until I found that one AI immobile hero had expert learning and it took him 6 months, 3 weeks and 3 days game time to automatically level up (+300 exp/daily). And game didn't like AI level up, no clue why.

Go figure.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
FunBun7
FunBun7

Tavern Dweller
posted December 20, 2014 06:39 PM

Well they all seem to stem from the same situation where AI wants to engage in combat. The problem has occurred for 3 players so far and sometimes the problem occurs on a specific day, but not all of the time, which makes it more random and harder to spot what is going wrong.

The only thing I am pretty sure about is that it occurs in combat.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
FunBun7
FunBun7

Tavern Dweller
posted December 20, 2014 06:59 PM

I made me and pink allies and when the game froze, I quit and loaded the game so I could do the same thing the AI did, but I couldn't get it to freeze or crash or anything. I'm getting a bit desperate
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0243 seconds