Page 1 of 1

WITP Utility not working correct with BigB Mode

Posted: Thu Sep 25, 2008 2:20 pm
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

RE: WITP Utility not working correct with BigB Mode

Posted: Thu Sep 25, 2008 2:49 pm
by n01487477
Which utility ... Tracker or decoder or Bohdi's utility ?

RE: WITP Utility not working correct with BigB Mode

Posted: Thu Sep 25, 2008 3:18 pm
by morphin
Bohdi's utility


RE: WITP Utility not working correct with BigB Mode

Posted: Thu Sep 25, 2008 4:39 pm
by KTNJR
It works for me[8D]

RE: WITP Utility not working correct with BigB Mode

Posted: Thu Sep 25, 2008 5:32 pm
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




RE: WITP Utility not working correct with BigB Mode

Posted: Thu Sep 25, 2008 11:12 pm
by rogueusmc
Are you past turn one?

RE: WITP Utility not working correct with BigB Mode

Posted: Fri Sep 26, 2008 1:09 pm
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

RE: WITP Utility not working correct with BigB Mode

Posted: Sun Sep 28, 2008 9:42 am
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?

RE: WITP Utility not working correct with BigB Mode

Posted: Sun Sep 28, 2008 12:49 pm
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.