.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
  #1  
Old December 16th, 2007, 10:02 AM
Hadrian_II's Avatar

Hadrian_II Hadrian_II is offline
Major
 
Join Date: Oct 2006
Location: Bern, Switzerland
Posts: 1,109
Thanks: 14
Thanked 17 Times in 14 Posts
Hadrian_II is on a distinguished road
Default Unit Limit / Save the Megagame

The megagame (Perpetuality) might now come to a very disapointing end, as we have hit the unit limit, and now summons and spells like earth attack and ghostriders had stopped working properly.

I know that a game on a 1000 province map and 65 nations on it is a bit out of the bounary of the game, but its still a bug and it might be fixed (*pleeease*).

Dumb question to the end, why is there such a limit anyway?
Reply With Quote
  #2  
Old December 16th, 2007, 11:23 AM
Kristoffer O's Avatar

Kristoffer O Kristoffer O is offline
General
 
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
Kristoffer O is on a distinguished road
Default Re: Unit Limit / Save the Megagame

The limit is there as it lowers hosting time. Hosting time is proportional to the unit limit IIRC. All possible unit nbrs are cycled through every turn I think. Thus games would take longer time to host regardless of the actual number of units in the game. The current limit was set *too* high. 1000 province maps were not on our maps when we set the limit.

I'll ask JK and see what he says. There is a patch around the corner anyway. I hope it will make it to christmas. It would be fitting. Unfortunately I only have a few free days left, so it might become the 2008 new year patch instead.
__________________
www.illwinter.com
Reply With Quote
  #3  
Old December 16th, 2007, 11:35 AM
vfb's Avatar

vfb vfb is offline
General
 
Join Date: Mar 2007
Location: Japan
Posts: 3,691
Thanks: 269
Thanked 397 Times in 200 Posts
vfb is on a distinguished road
Default Re: Unit Limit / Save the Megagame

Whenever it's released, Christmas or New Years, please know that it is very much appreciated!
__________________
Whether he submitted the post, or whether he did not, made no difference. The Thought Police would get him just the same. He had committed— would still have committed, even if he had never set pen to paper— the essential crime that contained all others in itself. Thoughtcrime, they called it. Thoughtcrime was not a thing that could be concealed forever.
http://z7.invisionfree.com/Dom3mods/index.php?
Reply With Quote
  #4  
Old December 16th, 2007, 12:30 PM
Dedas's Avatar

Dedas Dedas is offline
Lieutenant Colonel
 
Join Date: Nov 2005
Location: Lund, Sweden
Posts: 1,377
Thanks: 72
Thanked 25 Times in 20 Posts
Dedas is on a distinguished road
Default Re: Unit Limit / Save the Megagame

Maybe one should be able to set the limit oneself? Longer hosting times should not be a problem for megagames.
Reply With Quote
  #5  
Old December 16th, 2007, 12:55 PM
Agrajag's Avatar

Agrajag Agrajag is offline
Lieutenant Colonel
 
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
Agrajag is on a distinguished road
Default Re: Unit Limit / Save the Megagame

Quote:
All possible unit nbrs are cycled through every turn I think.
As a hobbyist programmer:
That sounds unlikely, why would you need to access a unit number for a unit that doesn't yet exist?
I could see how hosting times could get huge with a very high unit limit if you actually reach that limit (since then all numbers up to that limit are used and therefore must be cycled through), but I'm guessing that if you reached the limit, then a longer hosting time won't be a problem for you. (so an even bigger limit won't be a problem.)
A limit that does make sense to me is if you are reaching a point where you risk overflow.

Though obviously I don't have access to the code, so I can't be sure
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #6  
Old December 16th, 2007, 01:10 PM
capnq's Avatar

capnq capnq is offline
General
 
Join Date: Feb 2001
Location: Pittsburgh, PA, USA
Posts: 3,070
Thanks: 13
Thanked 9 Times in 8 Posts
capnq is on a distinguished road
Default Re: Unit Limit / Save the Megagame

Quote:
Agrajag said:
Quote:
All possible unit nbrs are cycled through every turn I think.
As a hobbyist programmer:
That sounds unlikely, why would you need to access a unit number for a unit that doesn't yet exist?
I can take a guess at that.

At minimum, you have to check every unit number up to the highest one assigned so far, even if thousands of lower numbered units have already been destroyed. Renumbering the units to account for casualties would be even more time consuming than just cycling through the range.
__________________
Cap'n Q

"Good morning, Pooh Bear," said Eeyore gloomily. "If it is a good morning," he said. "Which I doubt," said he.
Reply With Quote
  #7  
Old December 16th, 2007, 05:47 PM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default Re: Unit Limit / Save the Megagame

Quote:
Kristoffer O said:
The limit is there as it lowers hosting time. Hosting time is proportional to the unit limit IIRC. All possible unit nbrs are cycled through every turn I think. Thus games would take longer time to host regardless of the actual number of units in the game. The current limit was set *too* high. 1000 province maps were not on our maps when we set the limit.

I'll ask JK and see what he says. There is a patch around the corner anyway. I hope it will make it to christmas. It would be fitting. Unfortunately I only have a few free days left, so it might become the 2008 new year patch instead.
Yes increasing the unit limit and commander limit would help my huge SP game as well.

Ideally an adjustable game setting would work best! As time passes we all will build/recieve/purchase more and more powerful computers. The adjustable game setting would allow more powerful computers to process larger games with a simple setting change.
__________________
There can be only one.
Reply With Quote
  #8  
Old December 16th, 2007, 06:56 PM

PyroStock PyroStock is offline
Corporal
 
Join Date: Dec 2004
Posts: 138
Thanks: 1
Thanked 1 Time in 1 Post
PyroStock is on a distinguished road
Default Re: Unit Limit / Save the Megagame

I'm around turn 100 on a SP 700 province map. I only have a 2700 computer, but it still does all the "AI thinking" and turns in about 20minutes. I'm far more worried about hitting a unit cap then a 60+minute wait. edit:99% of the map is conquered terrority.
Reply With Quote
  #9  
Old December 16th, 2007, 07:18 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: Unit Limit / Save the Megagame

I think there is a problem with how some things are looked up. Try to do army setup with 10,000 units in the province. It can get insanely slow. This only makes sense if the system is recalculating a bunch of stuff it should be precalculating.
Reply With Quote
  #10  
Old December 16th, 2007, 07:24 PM

Zeldor Zeldor is offline
General
 
Join Date: Oct 2007
Location: Poland
Posts: 3,414
Thanks: 26
Thanked 73 Times in 49 Posts
Zeldor is on a distinguished road
Default Re: Unit Limit / Save the Megagame

The additional problem is that Dominions does not want to consume more processing power. Nor CPU nor RAM. I would really like to see it taking 70-90% of my power to make turns faster. Now I gain practically nothing from a faster computer.
__________________
谋事在人,成事在天。

LA Agartha guide
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 09:31 PM.


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