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 · NEXT»
Nebel
Nebel

Tavern Dweller
posted January 12, 2010 05:30 AM
Edited by Nebel at 05:32, 12 Jan 2010.

AI turns taking too long

So, it's been few months now, I'm wondering, has there been a fix for my issue from HELP TOPIC (which is broken now so I'm posting it here)

Quote:
Hey, I have the same problem as Nekron on page 26.
I'm playing Hammer of Fate, when I create randomly generated map (1on1), after a while, one or two enemy heroes start lagging extremely badly, this happens mainly later in the game when they accumulate large amount of armies. When I kill him everything goes back to normal, but it's frustrating as sometimes it takes time to find that hero and turns can take 5-10 minutes(!!!).

Is there any solution to this? I don't think it's my PC, it's 4ghz core i7, 12gb ddr3 and GTX295.


The game is completely unplayable for me, since I only play random generated maps vs AI.
I've been told to play maps made by other players, but those maps become boring after I play them once.
Are developers completely ignoring a very important & broken part of their game?
Heroes 3 doesn't have this issue, but I'm sick of playing Heroes 3.

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


Promising
Legendary Hero
Unicorn
posted January 12, 2010 05:55 AM

Are you actually playing Hammers of Fate? What patch are you on for whatever game version you have? What are you computer specs?

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

Tavern Dweller
posted January 12, 2010 06:10 AM
Edited by Nebel at 06:10, 12 Jan 2010.

Hammers of Fate, patch 2.1

Core i7 4.0 ghz
12gb ddr3
GTX295
OCZ Vertex SSD

Should be more than enough to make the game smooth. The game is in fact smooth, it's just AI turns which take a very very long time on a random generated maps.

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


Promising
Legendary Hero
Unicorn
posted January 12, 2010 06:19 AM

lmao.  Yeah nice system.  The SSD is good?

Ok so it is a random map...sorry if I missed it, what is the size of the map?

There is a way to force ai turns faster by changing the config files but there were some problems.  I can't remember the details because it was long ago.
____________
Bask in the light of my glorious shining unicorn.

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


Responsible
Undefeatable Hero
No gods or kings
posted January 12, 2010 07:29 AM

It depends, obviously, on the number of AI-players and how long you've been playing. After a while the AI has more and more things to manage, so their turns take longer.
____________
If you have any more questions, go to Dagoth Cares.

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

Tavern Dweller
posted January 13, 2010 08:02 PM

It's just lag, really bad PC lag. The game works perfectly fine when I'm playing, and at the start of each game, and 5 minutes into game some minor AI lag on his turn starts. About 30-45 minutes into game, the lag becomes unbearable. AI turn is like, 15-20 second freeze, then works for about a 1-4 seconds, then freezes again for 15-20 seconds, and so on.

1 computer player only, tried all from impossible to huge and normal sized ones (not the small ones since I hate small maps).

It aint my PC being bad, it's something else, that monster lag happens ONLY when AI is playing. If it was just smooth while he's playing, it would be much faster.

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


Promising
Legendary Hero
Unicorn
posted January 13, 2010 08:12 PM

Oh to rule out silly stuff, you have AI movement speed set to max in game options?  This issue is a pain of poor coding.

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

Tavern Dweller
posted January 13, 2010 08:22 PM
Edited by Nebel at 20:22, 13 Jan 2010.

Quote:
Oh to rule out silly stuff, you have AI movement speed set to max in game options?  This issue is a pain of poor coding.


Yes I do, in fact, I always had it on max. I'll set it to lower and try again. Cheers, hope that's the issue

By the way, no one else here experiencing extreme AI lag on large random maps? It's not a common issue?

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

Tavern Dweller
posted January 13, 2010 08:30 PM

No, it didn't solve the issue, I never tried creating new map, just loaded old one, but still, I'm not sure it will work

No one else with this AI issue on random generated maps in Tribes of the East?

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


Promising
Legendary Hero
fallen artist
posted January 13, 2010 08:51 PM

It's not a bug, it's a feature.

Seriously, AI is known to get stuck on bigger maps with multiple paths. One of the most important issue mapmaker has to face is to make it work nicely. Unfortunatelly game creators failed to optimize AI processing time We might still wait to fully enjoy the potential of H5.
____________
The future of Heroes 3 is here!

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

Tavern Dweller
posted January 13, 2010 08:55 PM

Quote:
It's not a bug, it's a feature.

Seriously, AI is known to get stuck on bigger maps with multiple paths. One of the most important issue mapmaker has to face is to make it work nicely. Unfortunatelly game creators failed to optimize AI processing time We might still wait to fully enjoy the potential of H5.


Meh, I was already planning to format my hdd and reinstall Windows. Guess that wont help =/

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


Promising
Legendary Hero
fallen artist
posted January 13, 2010 09:17 PM
Edited by Warmonger at 21:22, 13 Jan 2010.

...But if you still have problems on your i7 4Ghz (just noticed it), that sounds pretty strange. Turns may not pass immediatelly, but still they should run two-three times faster than on my gear.

You may try maps with different templates (minimizing the number of possible paths between zones), so just throw away Diamond and Lethos and turn to Tapani's RMG or try some custom map.
____________
The future of Heroes 3 is here!

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

Tavern Dweller
posted January 13, 2010 09:28 PM

Quote:
...But if you still have problems on your i7 4Ghz (just noticed it), that sounds pretty strange. Turns may not pass immediatelly, but still they should run two-three times faster than on my gear.

You may try maps with different templates (minimizing the number of possible paths between zones), so just throw away Diamond and Lethos and turn to Tapani's RMG or try some custom map.


Hmm, I'm not using any templates, I have no options for that. I just installed the game, patched and started playing random map.
I'll try to look up that "Tapani's RMG".

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


Promising
Legendary Hero
fallen artist
posted January 13, 2010 09:59 PM

But random maps generator is based on templates. I don't remember anyone complaining about default ones (apart from they are sucky, ofc).
____________
The future of Heroes 3 is here!

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


Legendary Hero
Shroud, Flying, Trample, Haste
posted January 13, 2010 10:18 PM
Edited by mamgaeater at 22:18, 13 Jan 2010.

Do you have instant travel disabled? having it enabled can add into pathfinding problems for ai Which means longer turns.
____________
Protection From Everything.
dota

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

Tavern Dweller
posted January 13, 2010 10:35 PM

I have no option to disable instant travel. But it's not really longer turns, just some screen freezes at start when AI is playing, and then they become more and more frequent until it's unbearable and take up to 5 minutes to complete.

BTW one thing I think I forgot to mention, is that I'm playing Tribes of the East patch 3.1 not Hammer of Fate like I just quoted in old post.

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


Promising
Supreme Hero
posted January 13, 2010 10:39 PM
Edited by SimonaK at 22:40, 13 Jan 2010.

the best solution I know to reduce time for AI is changed its during time limit into config file from the user profile folder.

look for a file named « user_a2.cfg »

open it and search « setvar ai_time_limit = » to change the value

I think the initial value is 180000 and that is maximum in second.

I changed it for 3600 and AI is seriously faster.


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

Tavern Dweller
posted January 14, 2010 03:00 AM

Quote:
the best solution I know to reduce time for AI is changed its during time limit into config file from the user profile folder.

look for a file named « user_a2.cfg »

open it and search « setvar ai_time_limit = » to change the value

I think the initial value is 180000 and that is maximum in second.

I changed it for 3600 and AI is seriously faster.




Nope, doesn't help.
It's not really AI being slow, it's my computer lagging a lot when AI is taking his turn.

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


Legendary Hero
Shroud, Flying, Trample, Haste
posted January 14, 2010 03:22 AM

try this. remove instant travel might help.

Create a random map in the map editor and ban the spell Instant travel.

Load the map ingame and give it a shot.

It may help.
____________
Protection From Everything.
dota

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


Promising
Supreme Hero
posted January 14, 2010 04:20 AM
Edited by SimonaK at 04:30, 14 Jan 2010.

Quote:

Nope, doesn't help.
It's not really AI being slow, it's my computer lagging a lot when AI is taking his turn.


what you're meaning?, Heroes V always lags if full screen option is checked....
especially while AI turns and if you click on window button by wanting to get out of it to run other programs.

at worst to make a test,
you can go to options menu to uncheck full screen option and the other one below.
then make the AI turns...

 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 · NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0389 seconds