Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old December 29, 2021, 08:16   #151
Bogatyr
Knight
 
Join Date: Feb 2014
Posts: 507
Bogatyr is on a distinguished road
Quote:
Originally Posted by backwardsEric View Post
That was a change in 4.2.3 to resolve https://github.com/angband/angband/issues/4882 : with stacks of 40 and 10 similar items using one from the stack of 40 would give a "You have 39 ..." message but a (silent) recombining of the pack would leave stacks of 40 and 9 which some felt was confusing. Firing from the last stack (highest numbered quiver slot) of the (+0, +0) arrows would avoid the recombining message, though that's admittedly less convenient since the slot number of the last stack can change while firing.
This is amazingly annoying, especially for a ranger. I just started a 4.2.3-199 ranger and already on my first descent it's driving me crazy! The message should either be removed or made optional. Does it convey any useful information? It should be possible to opt out of quiver management messages... (both the "rearrange" and "combine")

Last edited by Bogatyr; December 29, 2021 at 08:21.
Bogatyr is offline   Reply With Quote
Old December 29, 2021, 17:52   #152
backwardsEric
Swordsman
 
Join Date: Aug 2019
Posts: 273
backwardsEric is on a distinguished road
Quote:
Originally Posted by Bogatyr View Post
This is amazingly annoying, especially for a ranger. I just started a 4.2.3-199 ranger and already on my first descent it's driving me crazy! The message should either be removed or made optional. Does it convey any useful information? It should be possible to opt out of quiver management messages... (both the "rearrange" and "combine")
One solution, both to PowerWyrm's concern that triggered that change and to yours, would be to report the total number of a consumable in the inventory after one is used rather than what's in the current stack and to only display the recombining message if the recombining removed a stack. The recombining message in that case does provide a bit of information - the letter (or for the quiver, number) to address a stack may have changed and, if the stack that went away was used by the last command, you won't be able to repeat that last command with 'n' (ctrl-v in the roguelike keys).
backwardsEric is offline   Reply With Quote
Old January 9, 2022, 14:35   #153
wobbly
Prophet
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,576
wobbly will become famous soon enough
Yes its that time.. time for everyone's favorite bug, quiver bugs! Anyway the character below has full inventory. If I throw the dagger or spear then walk over it, I no longer have inventory room for the spear or dagger. However if I drop an item I can pick up the spear/dagger and the item I just dropped.

Code:
[Angband 4.2.3-225-gea84e16c3 Character Dump]

  [Character Inventory]

a) 3 Necromantic Tomes [Into the Shadows] {@m1}
     
     You can read this book.
     
b) a Necromantic Tome [Dark Rituals] {@m2}
     
     You can read this book.
     
c) 2 Mushrooms of Terror
d) 13 Potions of Cure Serious Wounds {@q2}
e) a Potion of Cure Critical Wounds {@q3}
f) a Potion of Heroism {@q4}
g) 5 Scrolls of Phase Door {@r4}
h) 2 Scrolls of Teleportation {@r5}
i) 3 Scrolls of Identify Rune
j) 5 Scrolls of Remove Hunger
k) 2 Scrolls of Word of Recall
l) a Rod of Drain Life {@z5}
m) a Rod of Light {@z1}
n) a Rod of Illumination {@z3}
o) a Wand of Confuse Monster (2 charges)
p) 2 Wands of Hold Monster (9 charges)
q) a Wand of Stun Monster (2 charges)
r) a Wand of Darkness (11 charges)
s) a Staff of Darkness (13 charges)
t) a Staff of Detect Invisible (5 charges)
u) a Ring of the Mouse (+0,-8) <+2, +1>
     Found lying on the floor at 550 feet (level 11)
     
     +2 dexterity.
     +1 stealth.
     




  [Character Quiver]

0) 16 Rounded Pebbles (1d2) (+6,+3) {@v0 =g}
     Combat info:
     Average thrown damage: 9.
     
1) a Spear (1d6) (+5,+1) {@v1 =g}
     Dropped by an unknown monster at 500 feet (level 10)
     
     Combat info:
     1.0 blows/round.
     With +3 STR and +0 DEX you would get 1.1 blows
     With +0 STR and +7 DEX you would get 1.1 blows
     Average damage/round: 11.3.
     Average thrown damage: 27.5.
     
2) a Dagger (1d4) (+7,+5) {@v2 =g}
     Found lying on the floor in a pit at 500 feet (level 10)
     
     Combat info:
     1.0 blows/round.
     With +2 STR and +0 DEX you would get 1.1 blows
     With +0 STR and +7 DEX you would get 1.1 blows
     Average damage/round: 14.5.
     Average thrown damage: 22.7.
     
3) 40 Arrows (1d4) (+0,+0) {=g}
     Combat info:
     When fired, hits targets up to 100 feet away.
     Average damage/round: 13.
     35% chance of breaking upon contact.
     
4) 5 Arrows (1d4) (+0,+0) {=g}
     Combat info:
     When fired, hits targets up to 100 feet away.
     Average damage/round: 13.
     35% chance of breaking upon contact.
wobbly is offline   Reply With Quote
Old January 18, 2022, 14:40   #154
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,914
PowerWyrm is on a distinguished road
Info for spell Resistance gives redundant info (which isn't even fully displayed): "dur 20+d20; dur 20+d20; dur".

Looking at the code, I don't see the point of the "shared random_value". When an effect is defined by SET_VALUE + CLEAR_VALUE, the effect info should only been displayed once (for example: "dur 20+d20").
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old January 19, 2022, 08:59   #155
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,914
PowerWyrm is on a distinguished road
Following my previous post about SET_VALUE + CLEAR_VALUE, I found a potential bug in spell_description().

In my variant, I have a class that has access to an "Elemental Bolt" spell, which is defined as:

effect:SET_VALUE
dice:$Dd8
expr:PLAYER_LEVEL:- 5 / 4 + 5
effect:BOLT_OR_BEAM:ACID:0:-10
effect:BOLT_OR_BEAM:FIRE:0:-10
effect:BOLT_OR_BEAM:COLD:0:-10
effect:BOLT_OR_BEAM:ELEC:0:-10
effect:CLEAR_VALUE

When I display the description, it says: "Inflicts an average of 0 acid damage, 0 fire damage, 0 cold damage, 0 lightning damage."

This happens because the fix for shared value in spell_effect_append_value_info() didn't get ported to spell_description().
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old January 19, 2022, 09:10   #156
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,317
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
backwardsEric has done a fix for these.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old January 19, 2022, 18:38   #157
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,914
PowerWyrm is on a distinguished road
Got an assert failure when trying to generate a level with a Cloud room template. Looking at the design of the room, there is a blank space instead of a floor tile on line 7836, causing the crash (!square_isempty).
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old January 19, 2022, 20:02   #158
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 56
Posts: 9,317
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Quote:
Originally Posted by PowerWyrm View Post
Got an assert failure when trying to generate a level with a Cloud room template. Looking at the design of the room, there is a blank space instead of a floor tile on line 7836, causing the crash (!square_isempty).
Fix pushed.

Are you in another phase of importing stuff from V and finding bugs? I ask because I've been thinking of releasing 4.2.4 soon, and it makes sense to wait until you're done
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old January 20, 2022, 08:36   #159
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,914
PowerWyrm is on a distinguished road
Quote:
Originally Posted by Nick View Post
Are you in another phase of importing stuff from V and finding bugs? I ask because I've been thinking of releasing 4.2.4 soon, and it makes sense to wait until you're done
I am. However I'm still around last november's commits and I still have 3-4 pages to go, which I'm doing very slowly. You should just go ahead if you want to release a 4.2.4.
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old January 20, 2022, 22:44   #160
Egavactip
Swordsman
 
Join Date: Mar 2012
Posts: 420
Egavactip is on a distinguished road
Shouldn't Angband not be allowed to place creatures on lava? It's weird to go to a new level and immediately hear the screams of the burned.
Egavactip is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reviving Iso-Angband, an isometric view addon for Angband Hajo Development 111 August 3, 2014 19:44


All times are GMT +1. The time now is 03:07.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.