WITP Utility not working correct with BigB Mode

Gary Grigsby's strategic level wargame covering the entire War in the Pacific from 1941 to 1945 or beyond.

Moderators: Joel Billings, wdolson, Don Bowen, mogami

Post Reply
morphin
Posts: 747
Joined: Fri Apr 26, 2002 6:51 pm
Location: Switzerland

WITP Utility not working correct with BigB Mode

Post by morphin »

Hi
If i choose BIG-Mode Scenario(doesn't matter which 190-194) the programm opens without error, but it doesn't display Resources and other things. In the log i have an entry:

[25.09.2008 18:13:27.125] GetBasesAsPointAndType - WITPUtility Arithmetic operation resulted in an overflow.

also Exporting base information give me an error in the log:

[25.09.2008 18:13:52.765] GetBaseLocations - WITPUtility Arithmetic operation resulted in an overflow.

So where is the bug? Utility or BigB Scenario?

Thank's
Andy
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WITP Utility not working correct with BigB Mode

Post by n01487477 »

Which utility ... Tracker or decoder or Bohdi's utility ?
morphin
Posts: 747
Joined: Fri Apr 26, 2002 6:51 pm
Location: Switzerland

RE: WITP Utility not working correct with BigB Mode

Post by morphin »

Bohdi's utility

User avatar
KTNJR
Posts: 102
Joined: Mon Mar 19, 2007 10:48 am
Location: Green Bay, WI

RE: WITP Utility not working correct with BigB Mode

Post by KTNJR »

It works for me[8D]
morphin
Posts: 747
Joined: Fri Apr 26, 2002 6:51 pm
Location: Switzerland

RE: WITP Utility not working correct with BigB Mode

Post by morphin »

Hi KTNJR

You have no entry in the TraceLog.txt file? Which scenario are you using? You know i have only problems with the bases (Resources are not showing on the map). Every other scenarios (Standard, CHS, etc) is working fine.

I use Version 1.4 from BigB



User avatar
rogueusmc
Posts: 4583
Joined: Sun Feb 08, 2004 6:21 pm
Location: Texas...what country are YOU from?
Contact:

RE: WITP Utility not working correct with BigB Mode

Post by rogueusmc »

Are you past turn one?
There are only two kinds of people that understand Marines: Marines and the enemy. Everyone else has a second-hand opinion.

Gen. William Thornson, U.S. Army

Image
morphin
Posts: 747
Joined: Fri Apr 26, 2002 6:51 pm
Location: Switzerland

RE: WITP Utility not working correct with BigB Mode

Post by morphin »

No, it's turn one. But i all other scenarios work fine und also 190-192 i can load witout error. But when i export the bases it comes only to no. 329 (Unites States). With the error (overlfow error) i suppose it is a too big integer value on 18 Position (Daily oil).
Prehaps the tool calculate the daily oil (because i dont' find it in the Editor) und the values get to big. Yeah that's it:

Oil Resources: 30000
i think the daily oil production is 6x30'000 and 180'000 is a to big number.....

I reduce oil resources to 10'000 and try again.

Andy
morphin
Posts: 747
Joined: Fri Apr 26, 2002 6:51 pm
Location: Switzerland

RE: WITP Utility not working correct with BigB Mode

Post by morphin »

Hi

I had to reduce Wpn 518-Oil to 5000 on the following locations:

United States Central
LA
Unites States South
Unites States North

I also had to reduce Resource Wpn from Unites States from 30000 to 25000

Now it worrks fine
it seems the arithemtic overflow has something to do with this numbers...

Nobody else had this problem?
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WITP Utility not working correct with BigB Mode

Post by Nomad »

Sounds like he used a 16 bit integer to hold the results since 6x5000 = 30,000 which is less than 32,767. Bohdi is not updating it so you will have to do what you have to do.
Post Reply

Return to “War In The Pacific - Struggle Against Japan 1941 - 1945”