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 5 - Temple of Ashan > Thread: AI turns taking too long
Thread: AI turns taking too long This thread is 2 pages long: 1 2 · «PREV
phoenixreborn
phoenixreborn


Promising
Legendary Hero
Unicorn
posted January 14, 2010 04:40 AM

Oh, thanks Simionak.  That was the fix I was talking about.  If I remember right the config files are in many different locations and you have to change the correct one or nothing will happen.

Mamga is also on the right track, you do need to use the map editor to disable instant travel.

Are random maps really that worth it? Does it happen on a regular ubi map?  There are tons of well crafted fan maps.  Also I had success (and fun) playing a random map against a human opponent.

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


Promising
Supreme Hero
posted January 14, 2010 04:58 AM
Edited by SimonaK at 05:19, 14 Jan 2010.

for my share, I've never got a lag problem with my machine even on big random maps always 8 players with mix of AI and human opponents.
that is why I dont understand what is the relationship about instant travel spell in a lagging computer problem.
never I disabled that.

btw, I got my trick about AI time limit in config files on CelestialHeavens and by you I think.
and that perfect works when you want to accelerate the AI turns.


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


Known Hero
posted January 14, 2010 08:03 AM

I am struggling with this same problem on a custom map I downloaded.  There are two AI players, fairly large map.  In the opening turns, AI time was fast.  But now, it is taking 10-15 minutes for each one to complete their turn.

I tried changing the variable ai_time_limit to 30000 (30 seconds?) instead of 180000 (180 seconds = 3 minutes), but that had no effect.

It would be nice if I could at least make the game continue to compute while it is minimized -- but as soon as I take it off of full screen, it just quits doing anything.

Is the cfg file with ai_time_limit read whenever the save game is loaded, or does it only have effect when the game initially starts?


____________
Grey Beards of the world, Unite :-}}

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


Hired Hero
Touching things...
posted January 14, 2010 10:47 AM

Same problem here...

It's almost (actually, same as) the AI in Heroes 1!!!

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


Known Hero
posted January 14, 2010 06:54 PM

By using the OpenCircleFog cheat after AI is finished with its turn, I observe that they are not in fact doing anything much!  Both of them have two or three heros just sitting around a "Tomb of the Warrior".  

Perhaps they are holding a seance:-}}
____________
Grey Beards of the world, Unite :-}}

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


Admirable
Omnipresent Hero
Endless Revival
posted January 14, 2010 07:15 PM

I remember that part I once had made an AI testing thread and they always seemed to gravitate around a tomb of the warrior. Creepy.
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

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

Tavern Dweller
posted January 15, 2010 02:12 AM
Edited by Nebel at 02:13, 15 Jan 2010.

Been away for a while, but now I'm back.

Still having the same problem.
I tried using Tapani's RMG, but it just freezes while creating the map. I at first waited about 2 hours thinking it just might take so long. Nothing happened, so I forced it to close. Then before going to bed, I tried creating new one again, and when I checked it about 8 hours later, it was still "creating" the map. So I guess it must be broken.

I tried playing in windowed mode, it just didn't work (with both the second option turned on and off).

I had no idea that map editor could create random maps, just made a random map via map editor, but I have no idea how to ban "instant travel" spell.
I went to View > Map Properties > Spells > checked all except "Instant Travel". Will that do it?

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


Promising
Legendary Hero
Unicorn
posted January 15, 2010 02:34 AM

Quote:
I went to View > Map Properties > Spells > checked all except "Instant Travel". Will that do it?


Yes. That does it.

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


Promising
Supreme Hero
posted January 15, 2010 05:30 AM
Edited by SimonaK at 05:35, 15 Jan 2010.

Quote:

I tried changing the variable ai_time_limit to 30000 (30 seconds?) instead of 180000 (180 seconds = 3 minutes), but that had no effect.
Is the cfg file with ai_time_limit read whenever the save game is loaded, or does it only have effect when the game initially starts?

I changed for 3600. about me 30000 is still too big.
surely values are in millisecond but I didn't care.
My first test was with 10 as value extremly quick as AI turns.
I noticed there are more than one cfg file containing « ai_time limit » ....user from my profile and from default profil, etc...
I changed the value everywhere.

the modication takes effect anytime, to the start and before loading already saving game.




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


Promising
Famous Hero
Raging Blood
posted January 15, 2010 11:59 AM
Edited by Cleave at 12:00, 15 Jan 2010.

Try this mod: http://heroescommunity.com/viewthread.php3?TID=27296

It improves the AI and limits the number of heroes which greatly decrease the end turn time.
____________
13 Heroes

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


Promising
Supreme Hero
posted January 15, 2010 03:04 PM
Edited by SimonaK at 15:12, 15 Jan 2010.

Yes it's true. I use it also  ..plus the AI_time_limit mod in the cgf files.

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


Admirable
Legendary Hero
modding wizard
posted January 15, 2010 04:42 PM

I was about to give that advice when I noticed Nebel is still playing Hammers of Fate 2.1, Considering the fact he has a core i7 on 4ghz I think the problem is mainly caused by the buggish AI coding in 2.1 that cannot be corrected by any mod (probably not even improved). So the best advice remains to upgrade to 3.1 (not 3.0 for sure, because it has an even more annoying caravan bug). For me TOE is really >>>>>>> compared to HOF/H5.

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


Promising
Legendary Hero
Unicorn
posted January 15, 2010 04:44 PM

Look who the wind blew in.  Hi Magnomagus.  I think he switched mid-thread to 3.1?
____________
Bask in the light of my glorious shining unicorn.

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


Promising
Supreme Hero
posted January 15, 2010 10:31 PM
Edited by SimonaK at 22:34, 15 Jan 2010.

Quote:
For me TOE is really >>>>>>> compared to HOF/H5.

I agree. I don't understand people playing with other versions than 3.1

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

Tavern Dweller
posted January 18, 2010 03:38 PM

Quote:
I was about to give that advice when I noticed Nebel is still playing Hammers of Fate 2.1, Considering the fact he has a core i7 on 4ghz I think the problem is mainly caused by the buggish AI coding in 2.1 that cannot be corrected by any mod (probably not even improved). So the best advice remains to upgrade to 3.1 (not 3.0 for sure, because it has an even more annoying caravan bug). For me TOE is really >>>>>>> compared to HOF/H5.


It was an old post, all my issues are coming from TotE 3.1
I appreciate all help, but I'm still having the same issue

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


Admirable
Legendary Hero
modding wizard
posted January 18, 2010 04:43 PM

So you use the advanced AI and it isn't helping?
Have you tried the opencirclefog cheat to see what the AI is doing? Sometimes when I had freezes in long games on large maps I noticed AI players (not allied) were meeting each other on the adventure map and the AI started heavy calculations on possible battle outcomes. Sometimes a turn can take extremely long when a large battle between two main heroes of the AI players is taking place, but afterwards the effect should go away. What you can do is make all AI players allies so it will be 7vs1 (in the map editor), that way you have a great challenge too. I guess you are a 16xAF 8xAA player so maybe you can try clicking in the fog during AI turns, to reduce graphics related calculations.


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

Tavern Dweller
posted January 21, 2010 05:15 AM

Well, after testing few games, this indeed seems to be "Instant Travel" spell issue! When I created a random map in map eitor and unchecked "Instant Travel" spell, everything worked fine. So, that problem is fixed

But, now, my games keep crashing often when I try to load, and refuse to start unless I completely restart the game. Sometimes completely corrupts the map and I can't load it at all. I guess this is a "map too large" issue of some kind?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 2 pages long: 1 2 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0325 seconds