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

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
Old November 25th, 2006, 02:55 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:
alexti said:
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').
What I think is going on is that while it technically goes into the background, if it doesn't monitor the message queue it doesn't see what happened and know to release the screen.

And I do mean 10 minutes of AI think time--this on a 3ghz processor with oodles of ram. Admittedly the memory is currently in single-channel mode. I've been having trouble getting a response out of Corsair about the memory chip that died--I've come to suspect that something is wrong in their e-mail and I'm going to call them again Monday and try a different e-mail address.
Reply With Quote
  #3  
Old November 25th, 2006, 03:08 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:
What I think is going on is that while it technically goes into the background, if it doesn't monitor the message queue it doesn't see what happened and know to release the screen.

It shouldn't need to do anything explicit. OS should be able to take the screen over (or shouldn't allow an application to monopolize it).

Quote:
Loren said:
And I do mean 10 minutes of AI think time--this on a 3ghz processor with oodles of ram. Admittedly the memory is currently in single-channel mode. I've been having trouble getting a response out of Corsair about the memory chip that died.
Oh well, maybe that's a reason somehow. Btw, does it happen in one particular game or you have it in every game of comparable size?
Reply With Quote
  #4  
Old November 26th, 2006, 03:26 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:
alexti said:
Quote:
Loren said:
What I think is going on is that while it technically goes into the background, if it doesn't monitor the message queue it doesn't see what happened and know to release the screen.

It shouldn't need to do anything explicit. OS should be able to take the screen over (or shouldn't allow an application to monopolize it).
But it does when using DirectX.

Quote:
Quote:
Loren said:
And I do mean 10 minutes of AI think time--this on a 3ghz processor with oodles of ram. Admittedly the memory is currently in single-channel mode. I've been having trouble getting a response out of Corsair about the memory chip that died.
Oh well, maybe that's a reason somehow. Btw, does it happen in one particular game or you have it in every game of comparable size?
This is my first game of this size.

Incidently, I'm thinking my reason on why it's so slow is wrong. The undead are on the march and they have some *HUGE* armies.

I'm going to have to fight them soon. What ratio of priests to undead should bring to battle?
Reply With Quote
  #5  
Old November 26th, 2006, 06:24 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:
But it does when using DirectX.

Dom3 is DirectX-free AFAIK.
Reply With Quote
  #6  
Old November 26th, 2006, 06:41 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:
alexti said:
Quote:
Loren said:
But it does when using DirectX.

Dom3 is DirectX-free AFAIK.
Just remembered that I read somewhere that some video drivers implement OpenGL through redirecting calls into their DirectX drivers. Maybe that's the case for your video card and the cause of your problem?
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 03:04 PM.


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