Borg for 320 is running.

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • s0be
    replied
    Originally posted by s0be
    The borg is confused about everburning lanters again:

    # Waiting for 'Lantern (Everburning)' to Recharge.
    & Key <R>
    & Key <7>
    & Key <5>
    & Key <?>
    and a save for good measure
    Attached Files

    Leave a comment:


  • s0be
    replied
    The borg is confused about everburning lanters again:

    # Waiting for 'Lantern (Everburning)' to Recharge.
    & Key <R>
    & Key <7>
    & Key <5>
    & Key <?>

    Leave a comment:


  • s0be
    replied
    Originally posted by APWhite
    Excellent. I was able to track down one of the errors using this savefile. I am pretty sure most of the problems would be corrected with today's fix.
    Yeah, saw your update, thanks! I suspect that was just a way ridiculous digger.

    Leave a comment:


  • APWhite
    replied
    Originally posted by s0be
    Here's a save file exhibiting this behavior.
    Excellent. I was able to track down one of the errors using this savefile. I am pretty sure most of the problems would be corrected with today's fix.

    Leave a comment:


  • s0be
    replied
    Originally posted by s0be
    Watching the latest borg (320borg.zip md5sum: 026b3e423b520f01a47684456ce68f4c) he's repeatedly forgetting to unswap his digger, then getting rather confused in town trying to optimize his inventory.
    Here's a save file exhibiting this behavior.
    Attached Files

    Leave a comment:


  • s0be
    replied
    Originally posted by s0be
    Thanks, updating. The borg is fun to watch.
    Watching the latest borg (320borg.zip md5sum: 026b3e423b520f01a47684456ce68f4c) he's repeatedly forgetting to unswap his digger, then getting rather confused in town trying to optimize his inventory.

    Leave a comment:


  • s0be
    replied
    Originally posted by APWhite
    I saw another case of that this morning and fixed it. The update was put on the website. I keep running borgs who are at the right level to fail on this routine and I have not seen any more after this morning's fix.
    Thanks, updating. The borg is fun to watch.

    Leave a comment:


  • APWhite
    replied
    Originally posted by s0be
    Ok, I see this is fixed, but I was having the Defence bomb again with type 22 (with value 10), I hacked the final return of the see invisible function from return 10 to return 0 and it's running, but I don't really know what the effective 'change' I made there does.
    I saw another case of that this morning and fixed it. The update was put on the website. I keep running borgs who are at the right level to fail on this routine and I have not seen any more after this morning's fix.

    Leave a comment:


  • s0be
    replied
    Originally posted by s0be
    I'm still seeing:

    Code:
    src/borg2.c:286:bool borg_projectable(int y1, int x1, int y2, int x2)
    Code:
    src/borg8.c:3819:			if (!borg_projectable(y, x, c_y, c_x, TRUE)) continue;
    a difference in the borg_projectable function (only in borg8.c).
    Ok, I see this is fixed, but I was having the Defence bomb again with type 22 (with value 10), I hacked the final return of the see invisible function from return 10 to return 0 and it's running, but I don't really know what the effective 'change' I made there does.

    Leave a comment:


  • s0be
    replied
    Originally posted by APWhite
    Thanks, got the fix up. I added a few features and forgot to make a change back on that defense maneuver.
    I'm still seeing:

    Code:
    src/borg2.c:286:bool borg_projectable(int y1, int x1, int y2, int x2)
    Code:
    src/borg8.c:3819:			if (!borg_projectable(y, x, c_y, c_x, TRUE)) continue;
    a difference in the borg_projectable function (only in borg8.c).

    Leave a comment:


  • APWhite
    replied
    Originally posted by s0be
    This is not an 'always' failure, just in certain spots. Next time I find one, I'll exit out, snag the save file and post it (assuming it happens immediately after restartup still). In some cases, ^zz solves it, in most I have to move a square and do ^zz, and in one case (near a zoo) none of these worked.

    Thanks, got the fix up. I added a few features and forgot to make a change back on that defense maneuver.

    Leave a comment:


  • s0be
    replied
    Originally posted by s0be
    After fixing the compile error, the borg is bombing out with:

    Code:
    # Performing defence type 22 with value 10
    # Aborting (normal abort).
    # Removing keypress hook
    This is not an 'always' failure, just in certain spots. Next time I find one, I'll exit out, snag the save file and post it (assuming it happens immediately after restartup still). In some cases, ^zz solves it, in most I have to move a square and do ^zz, and in one case (near a zoo) none of these worked.

    Leave a comment:


  • s0be
    replied
    After fixing the compile error, the borg is bombing out with:

    Code:
    # Performing defence type 22 with value 10
    # Aborting (normal abort).
    # Removing keypress hook

    Leave a comment:


  • s0be
    replied
    Originally posted by APWhite
    Fixed it today. I'll upload it later. It is an easy fix in borg9.c resurrect_borg(void).

    Code:
    #ifdef GJW_RANDART
        /* Hack -- seed for random artifacts */
        seed_randart = randint1(0x10000000);
    
        /* Randomize the artifacts */
        if (adult_rand_artifacts)
        {
    		do_randart(seed_randart, TRUE);
        }
    #endif
    Must be changed to:
    Code:
        /* Hack -- seed for random artifacts */
        seed_randart = randint1(0x10000000);
    
        /* Randomize the artifacts */
        if (OPT(adult_randarts)) do_randart(seed_randart, TRUE);
        }
    I tested it using ^zR then 035^aC and compared the artifacts created. They had different names and attributes. Both were weapons. If you do this, the borg needs to be in the dungeon, since artifacts are not created in town.
    your borg_projectable function prototype changed, adding a fifth param (bool) which is causing compile failures.

    Leave a comment:


  • APWhite
    replied
    Originally posted by s0be
    I'm running a randart borg, and now that one has made it to end game, I've noticed it's artifact collection overlaps with the previous iteration's artifacts. Where/how does the borg respawn? I'd like to re-randomize the artifacts if possible per iteration (to keep my interest).
    Fixed it today. I'll upload it later. It is an easy fix in borg9.c resurrect_borg(void).

    Code:
    #ifdef GJW_RANDART
        /* Hack -- seed for random artifacts */
        seed_randart = randint1(0x10000000);
    
        /* Randomize the artifacts */
        if (adult_rand_artifacts)
        {
    		do_randart(seed_randart, TRUE);
        }
    #endif
    Must be changed to:
    Code:
        /* Hack -- seed for random artifacts */
        seed_randart = randint1(0x10000000);
    
        /* Randomize the artifacts */
        if (OPT(adult_randarts)) do_randart(seed_randart, TRUE);
        }
    I tested it using ^zR then 035^aC and compared the artifacts created. They had different names and attributes. Both were weapons. If you do this, the borg needs to be in the dungeon, since artifacts are not created in town.

    Leave a comment:

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