Borg bugs and feature requests

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • eschiss1
    replied
    I've had to use * to select, iirc, not 5, when casting curse. (Something like that?)

    Leave a comment:


  • agoodman
    replied
    Originally posted by agoodman

    hmmm, I will take a look. the curse stuff is all new code so not very well tested
    okay, I took a look and here is the problem. When the borg picks a spell target it does

    *p (move to the monster using directions) 5.
    cast spell
    5

    but, even if the square it picked has a monster on it, this doesn't count as selecting a monster. Is this right? Is it a game bug? I will write this up on github and ask Nick

    I think this will mess up the borg casting:

    curse
    command (not currently used by the borg)
    single combat (not currently used by the borg)

    I don't think there is a way to positionally select a monster and coding for targeting a spell at a specific monster rather than a point will be difficult. I am not sure how to do it.

    I think I will have to disable curse for now until I think of a solution to this.


    Leave a comment:


  • agoodman
    replied
    Originally posted by eschiss1
    Crush is still not handled as well as could be, I think - still casting at monsters that have way too many hit points for Crush to affect them, e.g.... but ...
    Here's another issue that may be worth looking at?
    "# Performing attack type 49 with value 347.
    # Targeting master lich who has 1095 Hit Points (55,39).
    # Casting Curse (4,3).
    Target Selected.
    No monster selected!"
    The borg never seems to manage to use Curse properly (which is something it rarely has a chance to do, I know, since it's in Necromancy book 5 - which is hard to get - but there's some bug or other in the Targeting code related to that spell.)
    hmmm, I will take a look. the curse stuff is all new code so not very well tested

    Leave a comment:


  • agoodman
    replied
    Originally posted by eschiss1
    One other thing btw...
    Left newer high-elf necromancer on overnight. Woke up to see a loop that had been going on I do not know how long:

    "# Performing attack type 40 with value 224.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 224.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 224.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 224.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 264.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 264.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 264.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 264.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 264.
    # Casting Crush (1,1).
    # Resting to recharge a rod...
    # Performing attack type 40 with value 224.
    # Casting Crush (1,1)." and so forth. (I have the log file saved and can upload it as a text attachment if that will help show the situation in which this occurred. Should, now I think of it, have created an html or forum screenshot too or instead. Anyway, for whatever reason, the crush-when-nothing-is-actually-able-to-even-notice problem is not totally solved yet as of 4.2.5.554, unfortunately
    If you can get me the save file I will take a look at it. you can either attach it here or on github you could write up an issue (either https://github.com/angband/angband/issues or https://github.com/agoodman00/angband/issues) or email me goodman.adam(at)gmail.com

    Leave a comment:


  • eschiss1
    replied
    One other thing btw...
    Left newer high-elf necromancer on overnight. Woke up to see a loop that had been going on I do not know how long:

    "# Performing attack type 40 with value 224.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 224.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 224.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 224.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 264.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 264.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 264.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 264.
    # Casting Crush (1,1).
    # Performing attack type 40 with value 264.
    # Casting Crush (1,1).
    # Resting to recharge a rod...
    # Performing attack type 40 with value 224.
    # Casting Crush (1,1)." and so forth. (I have the log file saved and can upload it as a text attachment if that will help show the situation in which this occurred. Should, now I think of it, have created an html or forum screenshot too or instead. Anyway, for whatever reason, the crush-when-nothing-is-actually-able-to-even-notice problem is not totally solved yet as of 4.2.5.554, unfortunately

    Leave a comment:


  • eschiss1
    replied
    Crush is still not handled as well as could be, I think - still casting at monsters that have way too many hit points for Crush to affect them, e.g.... but ...
    Here's another issue that may be worth looking at?
    "# Performing attack type 49 with value 347.
    # Targeting master lich who has 1095 Hit Points (55,39).
    # Casting Curse (4,3).
    Target Selected.
    No monster selected!"
    The borg never seems to manage to use Curse properly (which is something it rarely has a chance to do, I know, since it's in Necromancy book 5 - which is hard to get - but there's some bug or other in the Targeting code related to that spell.)

    Leave a comment:


  • eschiss1
    replied
    Thanks much, downloading this version now (it's in cheat-death mode and has been playing around on level 99 etc for awhile) and looking forward to seeing what happens

    Leave a comment:


  • agoodman
    replied
    Originally posted by eschiss1
    One further suggestion (sorry): if there's no monsters in los who can be affected by crush, the borg shouldn't bother. That's a quick way to "getting oneself breathed on by the Phoenix while repeatedly casting a spell that has no effect except lowering one's hitpoints."
    The borg, in the latest bleeding edge build, should only be casting Crush if it reduces the danger. If the borg is casting it while nothing is around, it is confused and thinks there is something around.

    Leave a comment:


  • eschiss1
    replied
    One further suggestion (sorry): if there's no monsters in los who can be affected by crush, the borg shouldn't bother. That's a quick way to "getting oneself breathed on by the Phoenix while repeatedly casting a spell that has no effect except lowering one's hitpoints."

    Leave a comment:


  • eschiss1
    replied
    Also, my borg presently has and can use part of necromancer book 4/d, and there are spell in there (annihilation, chaos, e.g.) which it should definitely be using much more often than crush

    Leave a comment:


  • eschiss1
    replied
    Yep, that helps explains why I have at least two versions... and thanks, I'll try that!

    Leave a comment:


  • agoodman
    replied
    I created https://github.com/angband/angband/pull/6314 which should reduce overuse of the "crush" spell. It should ensure the following two things:
    1. the player has 50hp left after casting crush (previously was 5hp)
    2. the player has twice as many hp as the "new danger" after casting (previously was equal to danger level).

    Leave a comment:


  • backwardsEric
    replied
    The precompiled versions for macOS on rephial or the GitHub releases page use ~/Documents/Angband as the user directory and ~/Documents/Angband/save for save files. The "aqua" variant from Macports should be the same as that. The "universal" and "x11" variants look like they'll use ~/.angband/Angband as the user directory. I'd guess that those two variants put the save files in /opt/local/var/games/angband/save. Copying borg.txt and save files between the installations should be fine though you'd need administrator/root privileges to access the save files saved in /opt/local.

    Leave a comment:


  • eschiss1
    replied
    Tried the new/old borg log feature but now not sure how to turn the log off - replacing the map file name with blank, as a conjectural way of saying "ok that's enough", just crashes the program... Oh, because it's a snapshot log file, not an ongoing one as in earlier borg versions once upon a time, and there's nothing to turn off. Maybe shouldn't crash the program, but shouldn't be trying to create an empty file, either.
    Last edited by eschiss1; July 24, 2025, 01:56.

    Leave a comment:


  • eschiss1
    replied
    btw will it still work with my old borg save file, borg.txt, etc., or do I need to start a whole new installation? never mind- solved that problem, I think.
    Last edited by eschiss1; July 23, 2025, 22:03.

    Leave a comment:

Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎