![]() |
#1 |
Adept
Join Date: Jan 2009
Location: BC, Canada
Age: 46
Posts: 227
![]() |
Quiver bug in v1802
I love the quiver, but if I hit (f)ire without any ammo or with unfireable ammo, then the game crashes.
|
![]() |
![]() |
![]() |
#2 |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
![]() |
What platform are you running? If I do that on Linux with r1804 I get a message "You have nothing to fire" (in both cases).
|
![]() |
![]() |
![]() |
#3 |
Adept
Join Date: Jan 2009
Location: BC, Canada
Age: 46
Posts: 227
![]() |
Windows vista. It has happened several times with different launchers. I have never seen that message.
|
![]() |
![]() |
![]() |
#4 |
Adept
Join Date: Jan 2009
Location: BC, Canada
Age: 46
Posts: 227
![]() |
Oh yeah, ammo doesn't pseudo-ID properly in the quiver either. It gets labeled {worn} and this doesn't disappear unless I use a ?identify, even when I know all the ammo's attributes. I never get the {magical} message. Being treated as armour?
|
![]() |
![]() |
![]() |
#5 |
Prophet
Join Date: Mar 2008
Posts: 2,725
![]() |
This whole thing about ammo being "wielded" into the quiver is silly. I know it is how it has always been done, but that doesn't make it right.
|
![]() |
![]() |
![]() |
#6 | |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
![]() |
Quote:
After having ported this feature from NPP I think I agree with you, but you're going to hit these bugs whichever way you implement the feature based on the way the loops over intentory[] are written--changing the pick up command to put stuff in the quiver (so that ammo never hits the backpack) doesn't simplify that. If I were going to do a refactor I would split inventory[] into equipment[], quiver[] and inventory[]. I think that would make the inventory code a lot easier to read, and obviate most of the weirdness involving INVEN_PACK, INVEN_TOTAL and friends. |
|
![]() |
![]() |
![]() |
#7 | |
Angband Devteam member
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#8 |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
![]() |
I'm at work now, but I have a theory about why this might be happening that I'll test after work.
|
![]() |
![]() |
![]() |
#9 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,463
Donated: $60
![]() ![]() |
Thank you for pointing that out - I hadn't realised it annoyed me. I'll work on finding a more sensible system at some point.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#10 | |
Prophet
Join Date: Mar 2008
Posts: 2,725
![]() |
Quote:
It's also obviously a large amount of work. The only slightly tricky issue is differentiating items that can be both thrown effectively or wielded for melee, like Nimloth. One solution is to separate the types entirely. Another is that ammo goes in the quiver but throwing items do not. Yet another is to put it in the quiver, but allow you to wield it from the quiver into the melee slot. |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Quiver added to Vanilla as of r1776 | d_m | Vanilla | 24 | November 30, 2009 00:59 |
[O110u] Quiver stacking | Donald Jonker | Variants | 4 | November 20, 2008 11:04 |