Investigating: Stockpile Distributor

Discussion in 'Bugs' started by 8x89c6d9ed, May 16, 2019.

  1. 8x89c6d9ed

    8x89c6d9ed New Member

    Joined:
    Sep 24, 2017
    Messages:
    8
    Likes Received:
    0
    Scenario: We got some villages with high storage. We set stockpile distributor shortage and surplus for fixed values of 50 000 units of each resource.

    Steps to reproduce:
    a) Have village that have storage capacity less than value we've set (e.g. 2229 - new barbarian village). Assume other villages have enough resources and traders to meet demand.
    b) Wait for stockpile to send resources.
    c) System thinks village needs resources as 2229 < 50000. Yea, sure.
    Now happens:
    d) Village will be overflown with resource. Despite that village won't fit all incoming resources, because of storage capacity.
    Should
    e) System shouldn't send more resources than village can hold. Demand should be calculated as min(shortage, storage_capacity) - current_resources. It's seems that now it is like naive shortage - current_resources.

    As per feature description :)
    "Turn on the Stockpile Distributor, and never again worry about wasted resources - it will ship your extra resources to where they are needed most."
     
  2. JawJaw

    JawJaw Member Community Manager

    Joined:
    May 17, 2018
    Messages:
    177
    Likes Received:
    10
    Hi,

    thank you for reporting this. I will investigate it.
     
  3. 8x89c6d9ed

    8x89c6d9ed New Member

    Joined:
    Sep 24, 2017
    Messages:
    8
    Likes Received:
    0
    Any progress?
     
  4. 8x89c6d9ed

    8x89c6d9ed New Member

    Joined:
    Sep 24, 2017
    Messages:
    8
    Likes Received:
    0
    @JawJaw
    can I get atleast some feedback, is it bug or everything works as designed?
     
  5. JawJaw

    JawJaw Member Community Manager

    Joined:
    May 17, 2018
    Messages:
    177
    Likes Received:
    10
    I have sent it to the developers. I will keep you posted :)
    Thanks!