Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Bug: Race condition allows assigning multiple dwarves pe  (Read 811 times)

Lord Nightmare

  • Bay Watcher
    • View Profile
Bug: Race condition allows assigning multiple dwarves pe
« on: September 30, 2007, 06:32:00 pm »

If the game is paused when you assign dwarves to beds, the 'owned by' field of a bed may appear as 'Nobody' even after you've assigned the bed! (it does this if you, lets say, assign 5 beds in a row and go back to the first one, it may appear assigned to 'Nobody'. I.e. you have to assign more than one bed and it affects the first ones but not the very last one). When you do this, you can have more than one dwarf assigned to a single bedroom! In this case, if you 'FREE' the bedroom and assign a dwarf, ONLY THE LAST DWARF ON THE 'owner' LIST IS REMOVED! hence if you reassign the bed, it will once again have two dwarves in it, not just the one you assigned! You can 'fix' this by unassigning the bed and leaving it that way. the one remaining assigned dwarf will claim the room. I think.

LN

Logged
"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"

Karlito

  • Bay Watcher
    • View Profile
Re: Bug: Race condition allows assigning multiple dwarves pe
« Reply #1 on: September 30, 2007, 06:57:00 pm »

quote:
Originally posted by Lord Nightmare:
<STRONG>If the game is paused when you assign dwarves to beds...</STRONG>

But, the game is always paused when you assign dwarves to beds.

Logged
This sentence contains exactly threee erors.

Lord Nightmare

  • Bay Watcher
    • View Profile
Re: Bug: Race condition allows assigning multiple dwarves pe
« Reply #2 on: September 30, 2007, 07:19:00 pm »

I think it only happens if you are EXPLICITLY paused, i.e. press space on the main screen, but I could be wrong.
Needs further testing, thats for sure.

LN

Logged
"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"

Seryntas

  • Bay Watcher
  • has created a masterpiece!
    • View Profile
    • RPGWW Forums
Re: Bug: Race condition allows assigning multiple dwarves pe
« Reply #3 on: October 01, 2007, 07:43:00 am »

Are you sure you're not just dealing with married dwarves?
Logged
"Nectar and ambrosia are all the gods are allowed to eat in Greek mythology. In that way they're kind of like pandas. You know, in diet. From there the similarities break down." -my Greek Lit TA

Lord Nightmare

  • Bay Watcher
    • View Profile
Re: Bug: Race condition allows assigning multiple dwarves pe
« Reply #4 on: October 01, 2007, 10:40:00 am »

That's an interesting question, I never thought of that...

LN

Logged
"When life gives you zombies... *CHA-CHIK!* ...you make zombie-ade!"

BDR

  • Bay Watcher
    • View Profile
Re: Bug: Race condition allows assigning multiple dwarves pe
« Reply #5 on: October 01, 2007, 11:26:00 pm »

;)
Logged
A HREF="http://www.bay12games.com/cgi-local/ultimatebb.cgi?ubb=get_topic&f=12&t=000218">A Kobold''s Quest

A Kobold''s Quest II