1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

"Hide Obsolete Workers Action" BUG option glitch.

Discussion in 'Bugs and Crashes' started by raxo2222, Sep 17, 2017.

  1. raxo2222

    raxo2222 Warlord

    Joined:
    Jun 10, 2011
    Messages:
    4,775
    Location:
    Poland
    It seems like this option unnecessarily hides some worker actions ranging from sea tunnel to space improvement actions.
    This glitch is pretty ancient - I remember it from Rise of Mankind.
    Spoiler :







    No idea why this option would hide sea tunnels for example.

    It seems like this option thinks routes evolve linearly, while there are routes dedicated to sea and space not necessarily buildable by every worker.
     
    Last edited: Sep 17, 2017
  2. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,731
    Gender:
    Male
    Location:
    Las Vegas
    Yeah, known bug. You're probably right about the reason for the problem, and that's an issue for other project concepts lying in storage here. But I've never taken a look into this bug, nor into the processing for this option. I'm not sure if it's python or code based but I suspect it's in python somewhere as I've never stumbled across reference to the option in the code.
     
  3. Dancing Hoskuld

    Dancing Hoskuld Chieftain

    Joined:
    Jul 5, 2004
    Messages:
    22,867
    Gender:
    Male
    Location:
    Canberra, Australia
    Routes do evolve linearly. That is why we had to get rid of some of the routes in RoM. The workers would spend all their time changing from one rout to the other because the XML had them at the same level and it could not cope with it.
     
  4. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,731
    Gender:
    Male
    Location:
    Las Vegas
    Yeah but we need to address that in the code wherever it's an issue. There are a few places where I'd like it NOT to evolve linearly and the tunnels are just one example of routes not always being entirely linear. Tunnels remain valid long after the next 'level' of route emerges.
     
  5. raxo2222

    raxo2222 Warlord

    Joined:
    Jun 10, 2011
    Messages:
    4,775
    Location:
    Poland
    What about space routes? Each ome seems to be specialised except last one that is meant to replace all space routes.
     
  6. KaTiON_PT

    KaTiON_PT Chieftain

    Joined:
    Jan 2, 2010
    Messages:
    842
    Location:
    Portugal
    I'll try to see if I can do something about this, am I correct to assume there are three independent categories? Those being normal ones (roads, railways), space ones (hyperlanes, aspatial routes) and a special one for sea tunnels?
     
  7. JosEPh_II

    JosEPh_II TBS WarLord

    Joined:
    Jun 20, 2007
    Messages:
    14,963
    Gender:
    Male
    Location:
    Western IL. cornfields
    There are only 3 of those Options I will ever Check (X) the box; Hide Unconstructable, Hide Untrainable, and Hide Unavailable. Checking the others just invites problems imho and experience.
     
    raxo2222 and KaTiON_PT like this.
  8. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,731
    Gender:
    Male
    Location:
    Las Vegas
    Technically there are no real categories for this and that's part of the problem. There cannot be multiple route types on a particular plot (which is frustrating since I'd love to make rails and power lines different types entirely that can overlap - but then I've been warned of the complexity that presents with graphics that may not be so easily resolved.) It was all setup with the assumption, throughout the AI and more, that routes were only ever going to be a linear progression of unlocking improvements over the previous type. For the sake of making tunnels visible for workers it's not THAT hard... just means we need to make tunnels an exception to the rule of obsoletion where that obsoletion takes place. The route infos I believe has a tag that specifies the route type as a tunnel. So it's not a category, per se, but it can be an isolated detail that you can use as a category of sorts. If you want space routes to differ from terrestrial routes, might take yet further inventive ways of addressing things, perhaps including adding a new tag to identify a route type as a space route from a normal route. Might already be one but I'm not sure. I know there's MapCategoryType and perhaps that can be the categorization you need to work with to make that work.
     
    KaTiON_PT likes this.
  9. raxo2222

    raxo2222 Warlord

    Joined:
    Jun 10, 2011
    Messages:
    4,775
    Location:
    Poland
    This "Hide Obsolete Worker's Actions" also hides certain worker build actions - they don't upgrade linearly at certain points, but split somewhere.
    @strategyonly had problems with it - he couldn't build stone tools workshop on mountain with work mules before Mountaineering (mountain mine) and after regular mines were available.
     
  10. KaTiON_PT

    KaTiON_PT Chieftain

    Joined:
    Jan 2, 2010
    Messages:
    842
    Location:
    Portugal
    I don't plan to do anything ambitious, to start just make it so that the button for tunnels shows concurrently with the others.
     
  11. Thunderbrd

    Thunderbrd C2C War Dog

    Joined:
    Jan 2, 2010
    Messages:
    24,731
    Gender:
    Male
    Location:
    Las Vegas
    That'd be helpful for sure.
     

Share This Page