• [hackem] Passtune range changed or not?

    From Janis Papanagnou@21:1/5 to All on Wed May 31 11:55:15 2023
    In the Wiki I read: "The passtune range has been extended by 1 (xnh)"
    but in the Hack'EM source I still see (for non-Amiga platforms) only
    seven notes ("What tune are you playing? [5 notes, A-G]"), any 'H'
    converted to 'B', and no checks or conversions for other notes. It
    seems the passtune mastermind code difficulty is still 7x5 (not 8x5
    nor 7x6) [colors x positions]. - Is the "extended by 1" describing
    only the H->B conversion or what am I missing?

    Janis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pat Rankin@21:1/5 to Janis Papanagnou on Wed May 31 10:39:01 2023
    On Wednesday, May 31, 2023 at 2:55:19 AM UTC-7, Janis Papanagnou wrote:
    In the Wiki I read: "The passtune range has been extended by 1 (xnh)"
    [...]

    I read that as "you can play the tune from one step farther
    away" than previously. In nethack you need to be adjacent to
    either the span spot (where the bridge will be when lowered)
    or the portcullis spot (the "closed door" when raised) or both.
    So when outside, you need to be next to--or in--the moat in
    order to be close enough to the bridge for the notes to matter.

    Extending the range by 1 means you won't have to be adjacent.
    I don't know why that would be significant, unless the bridge
    produces an area effect (possibly only when destroyed) or some
    of the moat monsters have been given a longer attack range.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Janis Papanagnou@21:1/5 to Pat Rankin on Wed May 31 21:41:15 2023
    On 31.05.2023 19:39, Pat Rankin wrote:
    On Wednesday, May 31, 2023 at 2:55:19 AM UTC-7, Janis Papanagnou wrote:
    In the Wiki I read: "The passtune range has been extended by 1 (xnh)"
    [...]

    I read that as "you can play the tune from one step farther
    away" than previously. [...]

    You are right...

    for (y = u.uy - 2; y <= u.uy + 2; y++)
    for (x = u.ux - 2; x <= u.ux + 2; x++)

    In Nethack[343] these offsets (-2/+2) had been -1/+1.

    Janis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Erik L@21:1/5 to Janis Papanagnou on Fri Jun 23 07:26:55 2023
    On Wednesday, May 31, 2023 at 9:41:20 PM UTC+2, Janis Papanagnou wrote:
    On 31.05.2023 19:39, Pat Rankin wrote:
    On Wednesday, May 31, 2023 at 2:55:19 AM UTC-7, Janis Papanagnou wrote:
    In the Wiki I read: "The passtune range has been extended by 1 (xnh)"
    [...]

    I read that as "you can play the tune from one step farther
    away" than previously. [...]

    You are right...

    for (y = u.uy - 2; y <= u.uy + 2; y++)
    for (x = u.ux - 2; x <= u.ux + 2; x++)

    In Nethack[343] these offsets (-2/+2) had been -1/+1.

    Janis

    I have updated the wiki for clarification.

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