Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Dwarf in infinite loop?  (Read 653 times)

GameHat

  • Bay Watcher
    • View Profile
Dwarf in infinite loop?
« on: July 02, 2007, 01:35:00 am »

I have had now a couple of dwarves now go into an infinite loop

What seems to cause it - a dwarf with a legendary weapon will repeatedly go to a stockpile, pick something up, move a few squares, go back to the stockpile, drop something, then repeat.

For instance, I currently have a dwarf with an artifact bow.  For whatever reason, he keeps going to an ammo stockpile and looping.

Changing his military status, armor, weapon - all seems to do nothing.  He loops until exhausted, sleeps, then begins looping again.

What causes this, and how can I stop it?

Logged

The Moonlit Knight

  • Bay Watcher
    • View Profile
Re: Dwarf in infinite loop?
« Reply #1 on: July 02, 2007, 02:38:00 am »

It's the bow. Dwarves will go to pickup ammunition for whatever missile weapon they have, but because your dwarf doesn't have a job that needs it, he just puts the ammo back, realizes his bow has no ammo, gets more, puts it back, gets more...and so on.

Only solution I could think of when this happened to me is make the guy a hunter or marksdwarf, but if anyone else knows a better solution, tell it.

Logged
A man once said to me, "If you want superpowers, all you have to do is take acid and you'll have any superpower you want." He then asked if I had just, at that moment, shaved half my face; I revealed that as being my superpower. Being suddenly and inexplicably half-shaven.

ColonelTEE3

  • Bay Watcher
    • View Profile
Re: Dwarf in infinite loop?
« Reply #2 on: July 02, 2007, 03:06:00 am »

Same thing happened to my guy, exactly the same. Artifact bow and kept going back for ammo. But whenever he had a job to do it seemed he went and did it because i found him in more than 1 area, doing that loop.

Not much you can do, you cant use him in combat as an archer because dwarves have no trainable skills in archery, only crossbow use. Also the ammo would be a bit hard to get ahold of.

Logged
Fikod Rulushzasit Alis Mozir, Mace Lord has grown attached to a fox

leather coat

RP

  • Bay Watcher
    • View Profile
Re: Dwarf in infinite loop?
« Reply #3 on: July 02, 2007, 04:10:00 am »

I'm not sure if this is related... anyway, I had a couple of Legendary siege operators whom I drafted and tried to turn into wrestlers... three of them acted normally, but the fourth one simply stood where he was, refusing to spar or patrol. I tried detaching him from the squad, setting him to 'sleep in room,' drafting/undrafting... nothing seemed to please the little bugger so I made him a civilian again.
Logged

Asehujiko

  • Bay Watcher
    • View Profile
Re: Dwarf in infinite loop?
« Reply #4 on: July 02, 2007, 04:10:00 am »

Inser about 5 green g in a few red ^ and voilá! lots of iron arrows.
Logged
Code: [Select]
Tremble, mortal, and despair! Doom has come to this world!
.....EEEE..E..E.E...EEE.EE.EE.EEE.EE..EE.EE.E.EE.EE.E.EE.
......E..EE.EE.EE.EE..E...EEEE..E..E.E...EEE.EEE...E.EEE.
.☺..EE.E...E.EE.EE...E.EE..E..EE.EE.EE.EE..E...EE.EE..E.E
.....E..E.E.E.E.E.EE.E.E.EE.E...E.EE.EE...E.EE.EE.EEE...E
....E.EE.EEE.EE..EE.EE.E..EEEE..E..E.E...EEE.EEE..E.E..EE

Faces of Mu

  • Bay Watcher
  • I once saw a baby ghost...but it was just a tissue
    • View Profile
Re: Dwarf in infinite loop?
« Reply #5 on: July 02, 2007, 10:07:00 am »

quote:
Originally posted by GameHat:
<STRONG>I have had now a couple of dwarves now go into an infinite loop

What seems to cause it - a dwarf with a legendary weapon will repeatedly go to a stockpile, pick something up, move a few squares, go back to the stockpile, drop something, then repeat.

For instance, I currently have a dwarf with an artifact bow.  For whatever reason, he keeps going to an ammo stockpile and looping.

Changing his military status, armor, weapon - all seems to do nothing.  He loops until exhausted, sleeps, then begins looping again.

What causes this, and how can I stop it?</STRONG>


Would making some quivers help? (i.e., he'll go get the quiver, fill it up, and carry on?)

Logged

GameHat

  • Bay Watcher
    • View Profile
Re: Dwarf in infinite loop?
« Reply #6 on: July 02, 2007, 11:10:00 am »

Both quivers and bolts are available to the dwarf.

The dwarf continues this loop even when he's set to active military with "fight with crossbow" selected.  Flipping duty on/off  doesn't change anything.

Logged

Narushima

  • Bay Watcher
    • View Profile
Re: Dwarf in infinite loop?
« Reply #7 on: July 02, 2007, 11:53:00 am »

If I'm not wrong, I think that dwarves cannot use bows, but only crossbows. Or maybe the trappers are the only ones that can use bows.

Fieari

  • Bay Watcher
    • View Profile
Re: Dwarf in infinite loop?
« Reply #8 on: July 02, 2007, 01:21:00 pm »

Bows are too big to be used by dwarves, except as a big stick to whack people upside the head with.
Logged

Faces of Mu

  • Bay Watcher
  • I once saw a baby ghost...but it was just a tissue
    • View Profile
Re: Dwarf in infinite loop?
« Reply #9 on: July 02, 2007, 05:36:00 pm »

quote:
Originally posted by GameHat:
<STRONG>Both quivers and bolts are available to the dwarf.

The dwarf continues this loop even when he's set to active military with "fight with crossbow" selected.  Flipping duty on/off  doesn't change anything.</STRONG>


Another idea: place an archery range right near the stack of bolts. Maybe he could just get his markmanship up for the next five years until he drops the damn thing?   :confused:

Logged

hactar1

  • Bay Watcher
    • View Profile
Re: Dwarf in infinite loop?
« Reply #10 on: July 04, 2007, 04:06:00 pm »

Maybe chasming all your arrows would work?  Eventually some item hauler would claim the arrows somewhere in the dwarf's cycle, and chuck them.  Without ammunition to distract the dwarf with the artifact bow, he will probably go about his business.
Logged

Mechanoid

  • Bay Watcher
  • [INTELLIGENT]
    • View Profile
Re: Dwarf in infinite loop?
« Reply #11 on: July 04, 2007, 04:19:00 pm »

I think the infinite loop is caused by the dwarf having mining or wood cutting activated, and treating the artifact as a 'weapon' so the dwarf goes to put down his axe or pick, but because the job doesn't disable, the dwarf takes whatever he just put down. Over and over, into infinity.

So basically, to stop this from happening, the dwarf should:
1. Stop treating the artifact as a weapon
2. If the artifact is a weapon, the dwarf should disable his weapon-related jobs, unless the artifact is used in that weapon-related job.
3. Fail-safe and have the dwarf drop and disown the artifact.

Logged
Quote from: Max White
"Have all the steel you want!", says Toady, "It won't save your ass this time!"

Bien

  • Bay Watcher
    • View Profile
Re: Dwarf in infinite loop?
« Reply #12 on: July 06, 2007, 09:01:00 am »

I think I also have something like that, mason gets stone from stockpile and puts it into the masons shop then someone gets the stone and puts it back into the stockpile.
Logged