Starving borg fix

It has been a long time since of my own borgs starved to death.  Today a mage ran out of light and was illuminating the entire dungeon with Call Light.  He died resting to regain mana.  Of course, he had 1 ration in the inventory.

Yesterday I told him not to junk boots in case they might be speed boots.  I forgot to define unID’d boots.  So the borg was carrying lots of boots [-#], since he could not sell them.

Posted in Angband (Vanillia) | Leave a comment

Inventory and Shopping Fixes

Fixed the following things today:

  • Activating randart dragon scale for breath weapon is a no-no.
  • Had to modify the reward for wearing a single item with multiple high resists to include rFECA and Sustain All.
  • Carrying around a bunch of {special} items without ID’ing them
  • Attempting to enchant items that are only pseudo-id’d
  • Trying to enchant non-ID’d artifacts beyond the +15
  • Do not junk unID boots; they could be speed.
  • No need to visit store before shopping now.  This might induce weird behavior like trying to buy stuff when the inventory is full.  Report any problems.
  • Money scumming issues (to buy stat potions from the BM) fixed.
  • I had to modify how the borg considers items ID’d in order to overcome the item_tester_unknown hack in spells2.c  Some items are not given the appropriate o_ptr->ident flags.  Instead they pass through if they have easy_know.  Really, the easy_knows should be given IDENT_KNOWN or IDENT_STORE on them.   Anyway, these changes my impact how the borg ID’s items.  Report any ID-loops.
Posted in Angband (Vanillia) | Leave a comment

ZBorg Inventory Fixes

The Borg was not inscribing the randarts correctly and this would kep him selling them.   He was *ID*’ing them in the shop correctly, but then leaving them as {special}.

He also needed to make better use of the home spaces.  He was keeping ?WoR when he had a rod, and similar type things.

A vampire was attempting to Drain Blood from a Hellblade even though the borg knows it is non-living.  I’m not sure how that came to be.

Borg was not recognizing the pain messages related to fire and elec aura, and believed a non-los monster was the cause.

I have a clevel 50 Gnome Warrior zborg working on depth 60.  I wonder how far down he will get.

Posted in Zangband 240 | Leave a comment

Screensaver respawn fixed.

There were some people who were getting the tombstone page with the death of their screensaver borgs.  The borg is supposed to roll up  new character at death while in screensaver mode.  This is now repaired.

A starving borg is generally not allowed to take the down stairs.  If he has boosted bravery, then he will be allowed to take down-stairs.

Posted in Angband (Vanillia) | Leave a comment

Restock and Shopping Aligned

The borg was fleeing down to restock certain items.  But failed to buy those items in town.  This only happened after clevel 30.  The shopping rewards and restock requirements are now aligned.

There was a typo that kept the borg from buying normal torches if he were wielding a Brightness torch.

There was a small ‘Best Combo’ Loop associated with Rings of Teleportation.

Posted in Angband (Vanillia) | Leave a comment

Weird shopping from being encumbered fixed

A borg was buying/selling enchanting scrolls and stat repair potions.  This behavior was induced from being encumbered.  The loop was fixed.

The encumbrance issue needed to be repaired.  In this case, the borg was carrying about 420 arrows.  The borg will now correctly drop the appropriate extra arrows and not pick them up afterwards.  The borg will sort through the quivers and drop the +0, +0 arrows.  The borg will be limited to carrying 99 arrows (198 if Ranger).

There was another shopping issue resolved this evening.  The borg was out of food and went to the GStore to buy some but it was sold out of all food types.  The borg does know that his house has backup food (for just this case) but he could not reset the goal_shop and flow to the house.

Posted in Angband (Vanillia) | Leave a comment

Shopping Bug Fixed

Netbrian posted a savefile that had trouble shopping for torches.  That problem was solved.  The problem was the borg inventory was mostly full and this was really freaking him out.  He had lots of {magical} and {ego} items that he could not crush or junk out, yet he needed more inventory space in order to buy new torches.

Posted in Angband (Vanillia) | 1 Comment

ZBorg upgrades

  • Vampires might rest to recover in town during night but wake up during day time and fry.
  • In borg_caution(), if goal_fleeing was set, then the borg ought not attempt defense or heal maneuvers.
  • Borg will dismiss pets if he runs out of light.  This will keep him from accidentally attacking them and making them hostile.
  • Will test unknown rods, attempting to ID them through use.
  • Will use attack rods during munchkin mode, helping him level up faster.
  • Added ShootN’Scoot for phase door and Dim Door.  The Dim-Door ShootN’Scoot works really well since he can decide which grid to land on.
Posted in Zangband 240 | Leave a comment

Improved Rod Use

The borg will be smarter about using an unid’d rod on monsters as a way to ID it.  He will also try to use rods while in munchkin mode.  He will not throw rods or wands as ‘painful objects.’  He will also carry a few attack rods in the inventory.

Posted in Angband (Vanillia), Zangband 240 | Leave a comment

Monster Bouncing Reduced

The borg would sometimes bounce between a couple of grids debating whether or not to flow to a non-existent monster.

At about clevels 20-25, when his maximum depth was about 9, he would stay too shallow in the dungeon.  He would get to depth 5 but then want to return to town for his “short trips.”  He will now stop the “short trips” at clevel 15.

Posted in Angband (Vanillia) | 4 Comments