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

This Month's Specials

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

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old January 13th, 2004, 11:12 PM
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: Bug? getmaxhp: bad unr

Quote:
Originally posted by Norfleet:
I applied the patch, but the existing game remains corrupted. I'll see if it happens again next time. What's the error message mean? Is it some kind of memory corruption?
Nagot gick fel = something went wrong
unit -1 = unit number -1 (wich shouldn't exist)
getmaxhp: bad unr = calculate max hitpoints: the unit does not exist

To sum up: an nonexistent unit is bugging your game
__________________
www.illwinter.com
Reply With Quote
  #2  
Old January 13th, 2004, 11:16 PM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default Re: Bug? getmaxhp: bad unr

Ah. I thought it might be something like that. Does this tend to mean that the data structure that holds units is smashed? I noticed that my normally high unit production curve had flatlined several turns earlier in that game: Is this a sign that units are being written into garbage-land, or is this a normal behavior for Ashen Empire, and there's a unit cap in place to keep the exponential growth curve under control, and this is thus more or less unrelated?
Reply With Quote
  #3  
Old January 13th, 2004, 11:43 PM
Johan K's Avatar

Johan K Johan K is offline
Brigadier General
 
Join Date: Aug 2003
Location: Mictlan
Posts: 1,767
Thanks: 12
Thanked 165 Times in 22 Posts
Johan K is on a distinguished road
Default Re: Bug? getmaxhp: bad unr

The game has a limit of about 32000 units. Ashen Empire is able to reach that limit if you play a long time.
__________________
http://www.illwinter.com
Reply With Quote
  #4  
Old January 14th, 2004, 06:42 AM

Norfleet Norfleet is offline
Major General
 
Join Date: Jan 2004
Posts: 2,425
Thanks: 0
Thanked 0 Times in 0 Posts
Norfleet is an unknown quantity at this point
Default Re: Bug? getmaxhp: bad unr

I noticed that my army growth had flatlined after about 90 turns, at far less than 32000 units. Is there a unit maximum per side that is less than 32K, as seems to be the case, to prevent Ashen Empire from flooding the game with units so nobody else can make anything, or is the 32K max simply divided per side, so that games with fewer active sides have a higher maximum per side? If so, does eliminating a side free up more units?
Reply With Quote
  #5  
Old March 30th, 2004, 03:00 PM

mivayan mivayan is offline
Second Lieutenant
 
Join Date: Dec 2003
Posts: 404
Thanks: 0
Thanked 1 Time in 1 Post
mivayan is on a distinguished road
Default Re: Bug? getmaxhp: bad unr

This is an old thread, but I got hit with the same error in a 1.08 game. Orania map (279 provinces). I am playing carrion woods pangea, with impossible ai ermor and the other 15 at normal ai. My plan was to not expand at all, just summon and research untill I can make some artifact-equipped supercombatants and kill huge armies from ermor.

Turn 125, I have slightly above 1000 units, ai ermor has at least 10 times more. The Last hostings have been slower and slower, and now when I try to host dominion crashes after 30 mins with the "nagot gick fel, unit -1, getmaxhp: bar unr" error. I tried a few times, same result.

The score graphs for ermors army size and research have been flat a few turns.

OS is windows xp. The only strange thing I have done is to rename the directory containing the game but it was a while ago so I doubt it matters.
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:06 PM.


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