.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #11  
Old November 25th, 2006, 12:22 AM

Loren Loren is offline
First Lieutenant
 
Join Date: Nov 2006
Posts: 739
Thanks: 1
Thanked 8 Times in 8 Posts
Loren is on a distinguished road
Default Re: A couple of simple ways to make it more friend

Quote:
alexti said:
Quote:
Loren said:
Quote:
alexti said:
(1) That's weird. I can Alt-Tab back and forth while the turn calculation is being performed without any problem. It sounds more like something in OS scheduler being borked. User-mode application isn't even supposed to be able to totally monopolize computer resources.
It's not the OS scheduler--the machine is behaving fine and there is plenty of CPU power available (this is a hyperthread machine, Dominions can only monopolize it's processor, not the whole box.)

You can freely alt-tab back and forth while it's your turn. You can pretty freely alt-tab back and forth during battle resolution. What you can't do is alt-tab back and forth during AI calculation. I'm thinking that perhaps it is only checking the keyboard when it displays a message.
Ok, I probably never tried to do it during AI calculation. I haven't actually seen it take any significant amount of time (like 1 sec or more). Alt-tab is not checked by the program, but by the OS. If program is in infinitive loop and doesn't handle keyboard at all, alt-tab still works fine. One needs to make special effort to suppress alt-tab and it's somewhat tricky and Windows-specific. It's unlikely Dom3 does it. It seems strange that 'AI calculations' take so long. You may try to disable hyperthreading - sometimes it creates weird thread locking problems. Maybe OS scheduler and 'AI calculcations' are getting dead-locked on some semaphore (not sure what it might be though...) Sorry, I don't have any other ideas...
The problem is that Dominions isn't recognizing that it's been switched away and releasing the video. I think it's not monitoring the message queue while it's thinking.

This is a large map with many AI's, the "AI thinking" phase is measured in minutes (this turn, I'd say something like 10 minutes), especially since I got into quite a slugging match with my powerful neighbor. (On the main battlefront he's got at least 500 units in battle or marching towards it.) It wasn't nearly so bad while I was mostly squashing Atlantis but now Atlantis is gone. I've got 5 neighbors. 2 are basically at peace (one keeps throwing spells my way but there's been no other conflict) one has only two provinces of contact and we've never done anything to each other. One is the undead--they've got several hundred units in one square that they've done nothing with--since he's by far the most powerful empire I don't intend to start anything with him. That square is now a minimum of 5 provinces behind the battle line and I have no idea where the rest of his empire might be or how he came to have that pile on the one square. Finally there's the guy I'm fighting. He used to be ranked a bit higher by the game, by now I'm ranked a bit higher. Now that he's marching the big forces up it's gotten very slow and my shambler raids on his flank made it even worse. He's also doing a horrible job of countering the shamblers. There's a long path with low-supply terrain, I think the AI is having a hard time with the pathfinding.
Reply With Quote
  #12  
Old November 25th, 2006, 12:34 AM

Epaminondas Epaminondas is offline
Sergeant
 
Join Date: Oct 2006
Posts: 386
Thanks: 13
Thanked 3 Times in 1 Post
Epaminondas is on a distinguished road
Default Re: A couple of simple ways to make it more friend

Loren, 10 minutes in terms of turn generation in a large map game?

Is this what I am supposed to expect even when I get a new computer shipped to me?

Jeez...
Reply With Quote
  #13  
Old November 25th, 2006, 08:11 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: A couple of simple ways to make it more friend

Quote:
Epaminondas said:
Loren, 10 minutes in terms of turn generation in a large map game?

Is this what I am supposed to expect even when I get a new computer shipped to me?

Jeez...
Well, with all nations in game, in a huge map, after 10-15 turns... Most nations will have at least one fight per turn. Just generating all of those takes time. In smaller maps, with fewer enemies, generation is much faster.
Reply With Quote
  #14  
Old November 25th, 2006, 01:22 PM
Cainehill's Avatar

Cainehill Cainehill is offline
Lieutenant General
 
Join Date: Mar 2004
Location: Albuquerque New Mexico
Posts: 2,997
Thanks: 0
Thanked 0 Times in 0 Posts
Cainehill is on a distinguished road
Default Re: A couple of simple ways to make it more friend

Quote:
Epaminondas said:
Loren, 10 minutes in terms of turn generation in a large map game?

Is this what I am supposed to expect even when I get a new computer shipped to me?

Jeez...
Yep, until/if Illwinter addresses the issue of graphics settings having an effect on turn generation times.
__________________
Wormwood and wine, and the bitter taste of ashes.
Reply With Quote
  #15  
Old November 25th, 2006, 01:49 PM

Epaminondas Epaminondas is offline
Sergeant
 
Join Date: Oct 2006
Posts: 386
Thanks: 13
Thanked 3 Times in 1 Post
Epaminondas is on a distinguished road
Default Re: A couple of simple ways to make it more friend

Cainehill,

Does that mean turn generation will be significantly faster with reduced graphics setting? If it takes more than 1-2 minutes even in late game, I am going to be very annoyed.
Reply With Quote
  #16  
Old November 25th, 2006, 02:15 PM

Shovah32 Shovah32 is offline
Brigadier General
 
Join Date: Oct 2006
Location: Northern Ireland
Posts: 1,923
Thanks: 2
Thanked 5 Times in 5 Posts
Shovah32 is on a distinguished road
Default Re: A couple of simple ways to make it more friend

Lower settings does speed it up and annoyed you will probably be. The turn gen time can be ignored using various methods such as: having 2 game running at once, playing one while the other hosts. Browsing the internet while it hosts. Remembering to breath during play ect.
Reply With Quote
  #17  
Old November 25th, 2006, 02:24 PM

Epaminondas Epaminondas is offline
Sergeant
 
Join Date: Oct 2006
Posts: 386
Thanks: 13
Thanked 3 Times in 1 Post
Epaminondas is on a distinguished road
Default Re: A couple of simple ways to make it more friend

Quote:
Shovah32 said:
Lower settings does speed it up and annoyed you will probably be. The turn gen time can be ignored using various methods such as: having 2 game running at once, playing one while the other hosts. Browsing the internet while it hosts. Remembering to breath during play ect.
LOL, Shovah. I will have two computers once my new one arrives, but the old one has busted CD-room drive. Perhaps I should fix that, get 2 copies of the game, and run the game on two computers!
Reply With Quote
  #18  
Old November 25th, 2006, 02:43 PM

alexti alexti is offline
First Lieutenant
 
Join Date: Dec 2003
Location: Calgary, Canada
Posts: 762
Thanks: 0
Thanked 0 Times in 0 Posts
alexti is on a distinguished road
Default Re: A couple of simple ways to make it more friend

Quote:
Loren said:
The problem is that Dominions isn't recognizing that it's been switched away and releasing the video. I think it's not monitoring the message queue while it's thinking.

You don't need to monitor message queue to get hidden or brought to the background. I could see why there might be a problem bringing Dom3 window in the foreground in this situation, but hiding it should be working. And when you refer to 10 minutes, is it just 'AI thinking' phase or total turn generation time? I'd imagine some combination of map and nation may produce longer 'AI thinking' times, but 10 minutes seem to be way too much from my experience (for me vast majority of turn generation time is spent in 'resolving battles').
Reply With Quote
  #19  
Old November 25th, 2006, 02:50 PM

Loren Loren is offline
First Lieutenant
 
Join Date: Nov 2006
Posts: 739
Thanks: 1
Thanked 8 Times in 8 Posts
Loren is on a distinguished road
Default Re: A couple of simple ways to make it more friend

Quote:
Epaminondas said:
Cainehill,

Does that mean turn generation will be significantly faster with reduced graphics setting? If it takes more than 1-2 minutes even in late game, I am going to be very annoyed.
Then don't play on the big maps. It's nice and quick on the small ones.

Furthermore, I think there's a pathfinding issue with the very long times I'm seeing--it only got bad when the AI I'm fighting started marching large armies around a complex, probably out of the way (I haven't mapped the extent of his empire yet) route to get to me. (This turn I sent over 200 heavy cav against over 300 of his units. I lost 1/4, he lost 1/2 and retreated.)
Reply With Quote
  #20  
Old November 25th, 2006, 02:55 PM

Epaminondas Epaminondas is offline
Sergeant
 
Join Date: Oct 2006
Posts: 386
Thanks: 13
Thanked 3 Times in 1 Post
Epaminondas is on a distinguished road
Default Re: A couple of simple ways to make it more friend

Quote:
Loren said:
Quote:
Epaminondas said:
Cainehill,

Does that mean turn generation will be significantly faster with reduced graphics setting? If it takes more than 1-2 minutes even in late game, I am going to be very annoyed.
Then don't play on the big maps. It's nice and quick on the small ones.

Furthermore, I think there's a pathfinding issue with the very long times I'm seeing--it only got bad when the AI I'm fighting started marching large armies around a complex, probably out of the way (I haven't mapped the extent of his empire yet) route to get to me. (This turn I sent over 200 heavy cav against over 300 of his units. I lost 1/4, he lost 1/2 and retreated.)
Why should I not have the opportunity to explore the game in its full glory? If my recollections of Dom II is correct, you can't really get to the late spells and summons unless you play on a big map. I am not a fan of fast blitz-type of games, and if I did, I would play Starcraft online with 12 year-old kiddies from Seoul instead.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:00 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.