Jump to content
  • Inconsistent data types using inventory or storage


    FacePlant

    * Specs & report form below *

     

    Couldn't find this particular bug in the database, though there are several vaguely related discussions.

     

    I have the deadlee6 50k stack modlet installed (sets max stack of various items), and set the max stack for dukes (casinoCoin) to 100k.when selling loot to the traders, the dukes stack fine into 100k stacks. If i move stacks to a storage (using writable storage) the 100k stacks transfer correctly.

     

    However, if I either open the storage later (loading the save), or load the save with 100k stacks in my inventory, the 100k stacks have turned into stacks of 65,535. This leaves me with the impression that the data type is different when loading the save or opening the storage, since the game has no problem with larger stacks when building the stack in inventory or moving the stack into storage. I lost several hundred thousand duke before I noticed, and while trying to narrow down what was happening.

     

    In attached screenshot, left side of graphic shows inventory before & after loading save. Right side shows storage before & after. For both, the top image is before saving, & bottom is after loading the save.

     

     

     

    - - - - - - - - - - - - [specs & report form ] --  - - - - - - - - - -

    Game Version: (A18 b155 / A18.1 bxxx / etc)

    *current build as of 2023-01-26  (a20.6 stable)


    Platform: (Steam / XBL)

    *steam


    OS/Version: (Windows / Linux / Mac)

    *windows 11 home v21H2


    CPU Model: (Intel i5 9600K / AMD Ryzen 7 1800x / etc)

    *i7-10750H 2.06gHz 2.59 gHz


    System Memory: (4 GB / 8 GB / 16 GB / etc)

    *16gb


    GPU Model and VRAM: (nVidia GTX 1060 4 GB / AMD RX 580 8 GB / etc)

    *nvidia geforce rtx 2070


    Screen Resolution: (width and height)

    *1920'1080


    Video Settings: (Low / Medium / High / Ultra / Custom (Custom has many combinations, so just list the settings you think are relevant to the bug if any))

    *n/a


    Game mode: (MP host / MP client / SP / Client on dedi, RWG or NAV)

    *Standalone client, only, so server connection


     
    Did you wipe old saves? (Yes/No)

    *yes


    Did you start a new game? (Yes/No)

    *yes


    Did you validate your files? (Yes/No)

    *yes


    Are you using any mods? (Yes/No)

    Yes, around 60


    EAC on or off?

    *off


     


    User Feedback

    Recommended Comments

    I am aware of the limitations of an unsigned 2-byte number. My point was that it will correctly go to 100,000 without overflowing back to 0, meaning that it not a 2-byte number at this point, but goes back to 2-byte when it reloads the value.

     

    To me, this means that the data type is not consistent. Sometimes (maybe most times) it is 2-byte, but at other times it is a larger data type (4-byte? 8-byte?). 

     

    If the devs do not consider this an issue, then so be it (their call, not mine). I will still continue to report bugs or odd behaviors., & they decide when/wether/how to handle it. 

     

    Cheers.

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...