• Bug - potion colours not aligned with display? 3.7.0, hardfought.org

    From Joe Casserley@21:1/5 to All on Mon Oct 11 07:36:29 2021
    Logged in to hardfought, started a game as a Tourist. In the starting room I see a blue !, so wander over to pick it up...

    "You see here an orange potion"

    Confused, I check my status and all seems fine... My discoveries list tells me that potions of extra healing are yellow, so I drop one on the floor and take a step back. Sure enough, the ! is red rather than the expected yellow.

    Is this a NH bug, or something peculiar to hardfought?

    Thanks all

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pat Rankin@21:1/5 to rose....@gmail.com on Wed Oct 13 10:25:50 2021
    On Monday, October 11, 2021 at 7:36:31 AM UTC-7, rose....@gmail.com wrote:
    Logged in to hardfought, started a game as a Tourist. In the starting
    room I see a blue !, so wander over to pick it up...

    "You see here an orange potion"

    Confused, I check my status and all seems fine... My discoveries list
    tells me that potions of extra healing are yellow, so I drop one on the
    floor and take a step back. Sure enough, the ! is red rather than the expected yellow.

    Is this a NH bug, or something peculiar to hardfought?

    NetHack has recently undergone internal changes for map representation
    and rendering, among them some changes in color handling for objects.
    In the process, the bug you've discovered crept in. Your post prompted a
    fix which is already in place in the sources. It should be gone in the copy you're running after the next time hardfought updates the 3.7-dev version.

    In the mean time, you might be able to work around the issue by using
    'O' to set 'symset' so that nethack will update the map stuff. I'm not sure whether you will need to change the value to something else and then
    change it back, so just select the current value. (I haven't tested this workaround so it might not actually work. Conceivably save and restore
    could fix things up too since only new games are impacted (an oversight
    after object description shuffling), but again, I'm just guessing here.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)