Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#641728 03/02/18 11:08 AM
Joined: May 2017
enthusiast
OP Offline
enthusiast
Joined: May 2017
Hi. Minor bug report here.

With help from the friendly neighborhood Norbyte, we've discovered a bug with the project version controls:

The arrow buttons allow you to go over the value limits, to a degree that causes issues in the stored integer in meta.lsx.

The current max version you can set is 8.16.256.65355, which results in a value of -1862205440. The editor actually spits out some errors:
(Message Log Errors)

Code: The major value can be only 3 bits large!
Timestamp: 03-02-2018 10:52:23:941
Function: ls::Version::Pack
Location: CoreLib\Version.cpp (80)
Code: The minor value can be only 4 bits large!
Timestamp: 03-02-2018 10:52:23:941
Function: ls::Version::Pack
Location: CoreLib\Version.cpp (81)
Code: The revision value can be only 8 bits large!
Timestamp: 03-02-2018 10:52:23:941
Function: ls::Version::Pack
Location: CoreLib\Version.cpp (82)


Reloading the project with this max version value displays the version as 1.1.1.0, with the stored value in the meta file remaining unchanged.

Consequently, errors exist like 2.16.0.0 and 3.0.0.0 sharing the same value of 805306368. Reloading a project set to 2.16.0.0 results in the version changing to 3.0.0.0.

Not too harmful, but someone expecting their version to be 2.16.0.0 may find that confusing. wink

Joined: Sep 2017
Location: Belgium, Ghent
addict
Offline
addict
Joined: Sep 2017
Location: Belgium, Ghent
Hey LaughingLeader,

you're turning into a true detective here laugh nice find smile
Our apologies for the bug. We'll take a look at it wink

Sincerely,
Kevin


CTRL+K the elf

Moderated by  Larian_KVN 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5