Borg for 320 is running.

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • APWhite
    replied
    Originally posted by Tobias
    This Borg runs into the armor store immediately after starting, and gets stuck there.

    Also, he has sold his phial to the BM for some reason.
    This is a great savefile. There are a couple of things that I found. The problem of selling the boots was simple and no big deal.

    The bigger problems were that the borg was not selling his stack of books to the shop. The shops were full and the borg did not consider merging his books into the existing store stack.

    Also I worked up some code to help the borg understand that certain items may still have some benefit even if cursed. Those Wormtongue boots are pretty nice for a low level guy. But the borg wouldn't even consider it because of the curse. With the changes today, the borg will give a better consideration to cursed artifacts and look at the other benefits. Of course, he also knows how to remove curse on items.

    Leave a comment:


  • APWhite
    replied
    Originally posted by Tobias
    This Borg runs into the armor store immediately after starting, and gets stuck there.

    Also, he has sold his phial to the BM for some reason.

    The fault was quick to find. He is trying to sell the cursed item. That fix was easy.

    But this file shows something else. The borg is selling off the good gloves because Cambeleg is +2 STR, and he is over weight. He needs to sell off those extra spellbooks to reduce his encumbrance. Then, he would keep Fingolfin. So, hold off on running this borg until I get that worked up. I should be able to fix it tonight or tomorrow.

    Leave a comment:


  • APWhite
    replied
    Originally posted by thapper
    So, finally the borg "found" rBlind by reaching 100% saving throw and started diving...

    In the end the Tarrasque killed her with a disenchantment breath. She did not have rDisen but she was carrying a swap armor with rDisen that she did not use here (perhaps she would lose to many other good things, but why lugging the extra armor around then?)

    I find that many of my borg characters die like this, they reach clvl50 and then start diving (like there's no tomorrow) only to die to some heavy breath of a unique or deep monster. Is the borg not allowed to know how hard he/she(/it?) can be hit by different things? In this case she had !healing left and plenty of escapes but she choose to use an acid bolt as her last move.

    Dump and map file attached.
    Sorry to hear about the death. The borg does know how to swap stuff like that. He must have felt the current armor was more protective. There are even special considerations for the Tarrasque.

    He does understand the general damage of each monster's breath attack. He does understand that the damage from breath is related to the HP of the monster. He does not cheat the HP, but he makes an estimate based on the health bar. So he gets pretty close.

    Leave a comment:


  • Tobias
    replied
    This Borg runs into the armor store immediately after starting, and gets stuck there.

    Also, he has sold his phial to the BM for some reason.
    Attached Files

    Leave a comment:


  • thapper
    replied
    So, finally the borg "found" rBlind by reaching 100% saving throw and started diving...

    In the end the Tarrasque killed her with a disenchantment breath. She did not have rDisen but she was carrying a swap armor with rDisen that she did not use here (perhaps she would lose to many other good things, but why lugging the extra armor around then?)

    I find that many of my borg characters die like this, they reach clvl50 and then start diving (like there's no tomorrow) only to die to some heavy breath of a unique or deep monster. Is the borg not allowed to know how hard he/she(/it?) can be hit by different things? In this case she had !healing left and plenty of escapes but she choose to use an acid bolt as her last move.

    Dump and map file attached.
    Attached Files
    Last edited by thapper; November 8, 2011, 11:06. Reason: It was the Tarrasque, not the Phoenix

    Leave a comment:


  • thapper
    replied
    This Borg gets stuck trying to sell Calris.

    (He has also been looking for RBlind for a looong time. He has a helmet with RBlind but then he'll lose ESP so I guess he doesn't consider that an option.)
    Attached Files

    Leave a comment:


  • APWhite
    replied
    Originally posted by Tobias
    With this char the borg stops working immediately after starting. Borg version 31.oct.
    Thanks, I forgot to check for identification in the new borg_equips_item() The bubbling potion in the inventory is a !Hero and he thinks he is allowed to use it.

    I got it fixed and will upload right away.

    Leave a comment:


  • Tobias
    replied
    With this char the borg stops working immediately after starting. Borg version 31.oct.
    Attached Files

    Leave a comment:


  • fizzix
    replied
    Originally posted by APWhite
    I have thought about doing a BM buy-out a few times. He has plenty of money by the time he's about clevel 37. It is not very hard to program, actually. I could get it done in about 2 hours of work. I haven't done so because I have never really found it to be that advantageous. I have only found stat potions to be the only BM ware of any interest. Now, if randarts showed up in the BM, that would be cool. Do you guys buy-out the BM and if so, what types of things do you look for?
    If I'm going for a speedy game I will use excess cash to buy out cheap slots in the BM so that something more useful (usually hoping for consumables) will get stocked there. I don't think it's worthwhile for the borg to do that. However, it shouldn't sell things to the BM unless there is a lot of money to be made (which is nigh impossible.)

    Leave a comment:


  • s0be
    replied
    In your latest update, there's an error in borg5.c

    This:

    Code:
        /* Note (r_info[kill->r_idx].name)*/
            borg_note(format("# Creating a monster '%s' at (%d,%d), HP: %d, Time: %d, Index: %d, Danger: %d",
                         (r_info[kill->r_idx].name),
                         kill->y, kill->x, kill->power, kill->when, kill->r_idx), p);
    should be:

    Code:
        /* Note (r_info[kill->r_idx].name)*/
            borg_note(format("# Creating a monster '%s' at (%d,%d), HP: %d, Time: %d, Index: %d, Danger: %d",
                         (r_info[kill->r_idx].name),
                         kill->y, kill->x, kill->power, kill->when, kill->r_idx, p));
    line 1690 (final ')' for format is too early)

    Leave a comment:


  • APWhite
    replied
    Originally posted by fizzix
    So I've lately found myself staring at the borg instead of staring at my thesis defense. Which is probably a bad plan, but much more entertaining.

    Anyway, I've been paying a lot of attention to it's inventory management, and I have some questions and possible improvements.

    It seems that the borg fills up all the free slots of his inventory with random things it finds in the dungeon and then deletes the last entry. This often means that my warrior will be carrying around a magic and priest beginner's handbook and will chuck the broad sword of acid.

    Easiest solution would be to delete the *first* item in the inventory it doesn't care about. Which would be spellbooks and then mushrooms, things that cell for very little money. A harder solution would be to estimate the cost of the items, and chuck the thing that sells for the least.

    What you are describing is in borg7.c in borg_crush_junk(). It will sort the inventory and crush the inventory slot which hold the least value. Only I found a mistake in there today after reviewing your post. The warrior borgs were not correctly crushing the first spellbook (it had an inventory index of zero-- same as swap armor.)

    The borg_crush_junk() was based on depth not on clevel, so in theory a clevel 50 borg on depth 1 would keep daggers. I modified the routine so that the borg will also consider his clevel when looking at what objects he should crush.


    Originally posted by fizzix
    More on mushrooms. The borg seems to love gathering useless and useful mushrooms and then selling them to the BM for 5 gold. This is bad not only for the reason mentioned above, but also because it blocks better stuff from appearing in the BM by taking up its inventory spaces. A better solution would actually be to buy cheap things in the BM and chuck them, freeing up spaces. This might be hard to code though, so the interim solution would be to throw away all useless mushrooms on sight and never sell anything to the BM.
    I have thought about doing a BM buy-out a few times. He has plenty of money by the time he's about clevel 37. It is not very hard to program, actually. I could get it done in about 2 hours of work. I haven't done so because I have never really found it to be that advantageous. I have only found stat potions to be the only BM ware of any interest. Now, if randarts showed up in the BM, that would be cool. Do you guys buy-out the BM and if so, what types of things do you look for?

    Originally posted by fizzix
    The borg warrior picked up a second rod of door/stairs location and promptly sold it. It's probably a good idea to keep two of each utility rods to protect from electrical damage.
    Ya, that is not hard to do. It's probably a good idea to carry to Rods of Recall as well.

    Leave a comment:


  • APWhite
    replied
    Originally posted by Magnate
    Is the borg allowed to cheat? If so it could just call object_value_real() and know which was least valuable. Or it could call object_value() and use only the info it knows about the item.

    The borg is able to correctly estimate the value of an item. If the item is known, or ID'd then he is very accurate in predicting the value. Unknown and unid'd items have a general value of 1gp.

    Leave a comment:


  • Magnate
    replied
    Originally posted by fizzix
    Easiest solution would be to delete the *first* item in the inventory it doesn't care about. Which would be spellbooks and then mushrooms, things that cell for very little money. A harder solution would be to estimate the cost of the items, and chuck the thing that sells for the least.
    Is the borg allowed to cheat? If so it could just call object_value_real() and know which was least valuable. Or it could call object_value() and use only the info it knows about the item.

    Leave a comment:


  • fizzix
    replied
    So I've lately found myself staring at the borg instead of staring at my thesis defense. Which is probably a bad plan, but much more entertaining.

    Anyway, I've been paying a lot of attention to it's inventory management, and I have some questions and possible improvements.

    It seems that the borg fills up all the free slots of his inventory with random things it finds in the dungeon and then deletes the last entry. This often means that my warrior will be carrying around a magic and priest beginner's handbook and will chuck the broad sword of acid.

    Easiest solution would be to delete the *first* item in the inventory it doesn't care about. Which would be spellbooks and then mushrooms, things that cell for very little money. A harder solution would be to estimate the cost of the items, and chuck the thing that sells for the least.

    More on mushrooms. The borg seems to love gathering useless and useful mushrooms and then selling them to the BM for 5 gold. This is bad not only for the reason mentioned above, but also because it blocks better stuff from appearing in the BM by taking up its inventory spaces. A better solution would actually be to buy cheap things in the BM and chuck them, freeing up spaces. This might be hard to code though, so the interim solution would be to throw away all useless mushrooms on sight and never sell anything to the BM.

    The borg warrior picked up a second rod of door/stairs location and promptly sold it. It's probably a good idea to keep two of each utility rods to protect from electrical damage.

    The borg doesn't seem to consider Deep Descent scrolls as a means of escape, when it really is one of the most useful means of escape. Maybe that's a good thing though, considering how squeamish it is about running away.

    I may actually get around to looking at the code at some point. But just wanted to share my thoughts. Thanks for the amazing product!

    Leave a comment:


  • s0be
    replied
    Your latest version introduces itoa, which is not part of the stdlib on linux. A simple workaround is to use:

    Code:
    char *itoa(long i, char* s, int dummy_radix) {^M
        sprintf(s, "%ld", i);^M
        return s;^M
    }
    which works in this case as you're only using base 10.

    Leave a comment:

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