Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old June 13, 2022, 08:36   #131
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,955
PowerWyrm is on a distinguished road
Quote:
Originally Posted by backwardsEric View Post
Out of curiosity, is that because that environment has a default external command configured to play the MP3 file (or perhaps it's related to this part of the changes list for SDL Mixer 2.0.3: "Fixed regression where Mix_Init() would return 0 for available music formats")? In any case, trying to Mix_Init() to workaround the resource leaks doesn't seem useful.
I'm using SDL Mixer 1.2 so it's probably an error in that version. I guess Mix_Init returns 0 not only when the format is not supported, but also when the format doesn't require a call to Mix_Init.
__________________
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 June 20, 2022, 09:08   #132
PowerWyrm
Prophet
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,955
PowerWyrm is on a distinguished road
Feather falling halves damage from lava. Shouldn't walking on lava identify the flag?
__________________
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 September 12, 2022, 13:36   #133
Grotug
Veteran
 
Join Date: Nov 2013
Posts: 1,587
Grotug is on a distinguished road
Bug report: items sometimes falsely display a resistance they do not have. If you look in the character resistances sheet it shows the item does not have the resistance even though the item says it does.

In game example: I put on a bronze amulet which, due to my knowledge of the game, I recognized as an amulet of Weaponmastery, since it has +2 strength, a slay, and sustains Strength and Constitution and prevents paralysis. However, while I was wearing this amulet of weaponmastery, I had also just found a Jewelled ring. Since the ring did not have any abilities on it I cast "resist poison" spell which identified the ring as a ring of resist poison. 'Cool!' I think to myself. I then look again at my bronze amulet to see that it also says it resists poison. Hmm! Anyway, obviously a bug. This happened once before with an amulet of resist acid I believe. It said it also resisted cold, and so I thought I had an amulet of resistance, but I didn't, because I knew the rune of resist lightning and the amulet didn't resist lightning. Once I fully id'd the amulet (which I think was resist acid) it stopped showing that it resisted cold. I suspect that when I learn the rune of rDisenchantment and the "weaponmastery is fully ID'd that it will stop showing that it resists poison. (I'll report back).
__________________
Beginner's Guide to Angband 4.2.3 Part 1: https://www.youtube.com/watch?v=m9c9e2wMngM

Detailed account of my Ironman win here.

"My guess is that Grip and Fang have many more kills than Gothmog and Lungorthin." --Fizzix
Grotug is offline   Reply With Quote
Old September 13, 2022, 14:23   #134
backwardsEric
Swordsman
 
Join Date: Aug 2019
Posts: 348
backwardsEric is on a distinguished road
Quote:
Originally Posted by Grotug View Post
Bug report: items sometimes falsely display a resistance they do not have. If you look in the character resistances sheet it shows the item does not have the resistance even though the item says it does.
Could you post a compressed savefile for a character affected by the bug? Trying to reproduce it with the debugging commands (new druid character, advance to maximum level, get and equip amulet of weapon mastery and ring of resist poison, cast resist poison) didn't show resist poison for the amulet on the character sheet.
backwardsEric is offline   Reply With Quote
Old September 13, 2022, 16:22   #135
Grotug
Veteran
 
Join Date: Nov 2013
Posts: 1,587
Grotug is on a distinguished road
The character died a most *stupid* death (arkenstone, legendary stealth, x4 +21 xbow, fast diving)

I was playing hobbit ranger; not sure if race/class combo matters for this bug. I’m sorry, I should have made a copy of the save file. It’s a little tricky to reproduce because you also need to be wearing an unidentified ring of resist poison while wearing the unidentified amulet of weaponmastery. But the bug should trigger with any ring with unknown resistances (such as fire/cold ring) and an unID’d amulet. Although with a ring of cold/fire I guess you’ll need to be breathed on by cold or fire or maybe quaffing a rHeat or rCold potion would trigger the bug. At any rate I’ll try to reproduce it.

Note: the bug won’t trigger if the amulet of weaponmastery (or whatever amulet you wear that doesn’t have rCold, rFire or rPois) or the ring are fully ID’d. Both items need to be un ID’d).
__________________
Beginner's Guide to Angband 4.2.3 Part 1: https://www.youtube.com/watch?v=m9c9e2wMngM

Detailed account of my Ironman win here.

"My guess is that Grip and Fang have many more kills than Gothmog and Lungorthin." --Fizzix
Grotug is offline   Reply With Quote
Old September 14, 2022, 12:46   #136
animal_waves
Rookie
 
Join Date: Aug 2018
Posts: 23
animal_waves is on a distinguished road
X11 frontend & shift-numpad to run does not work?

It seems I can't run with the SHIFT-<numpad> when using the X11 frontend (tried with numlock enabled & disabled), is it normal?
Any advice on how to debug this (via a log/verbose argument or whatever external tool)? I'm using an Azerty keyboard, that may have something to do with it...
Weird thing is CTRL-<numpad> works for interacting with doors, traps, etc.

I already tried to change the keyboard layout of my desktop environment as well as exporting the KEYMAP variable to the angband binary with no luck.

It works fine on other variants (Sil-Q & FCB) using X11.

[edit]
Unrelated, but if someone know if it's possible for the SDL2 fronted to use system fonts instead of those fonts shipped with the game I'll be interested to know how!
[/edit]

Last edited by animal_waves; September 14, 2022 at 13:14.
animal_waves is offline   Reply With Quote
Old September 14, 2022, 14:06   #137
backwardsEric
Swordsman
 
Join Date: Aug 2019
Posts: 348
backwardsEric is on a distinguished road
Quote:
Originally Posted by animal_waves View Post
It seems I can't run with the SHIFT-<numpad> when using the X11 frontend (tried with numlock enabled & disabled), is it normal?
Any advice on how to debug this (via a log/verbose argument or whatever external tool)? I'm using an Azerty keyboard, that may have something to do with it...
Weird thing is CTRL-<numpad> works for interacting with doors, traps, etc.
There is the debugging command to display the last 8 keystrokes that were relayed from the frontend. To use that press ctrl-a followed by L (it's also accessible via the Enter menu: Enter -> Hidden -> Debug mode commands -> Query -> Keystroke log). Since enabling the debugging commands marks the save file, it's probably best to try that with a character that you're not planning to submit to the ladder.

Sil's and Frogcomposband's key handling in the X11 front end look fairly similar. vanilla's handling changed around version 3.0.7 and added special case handling of the keypad.
backwardsEric is offline   Reply With Quote
Old September 14, 2022, 14:48   #138
animal_waves
Rookie
 
Join Date: Aug 2018
Posts: 23
animal_waves is on a distinguished road
Thanks that was helpful!

It seems the combo with the CTRL modifier interpret the numpad key as as number while the combo with the SHIFT modifier interpret the same key as a direction, so that explains the bug I guess.

Cfr. attachment: I typed CTRL-6 to clear a rubble, then SHIFT-6 to run to the right.

I hope it can help!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20220914_154457.png
Views:	29
Size:	5.6 KB
ID:	2123  
animal_waves is offline   Reply With Quote
Old September 14, 2022, 18:13   #139
backwardsEric
Swordsman
 
Join Date: Aug 2019
Posts: 348
backwardsEric is on a distinguished road
Quote:
Originally Posted by animal_waves View Post
Thanks that was helpful!

It seems the combo with the CTRL modifier interpret the numpad key as as number while the combo with the SHIFT modifier interpret the same key as a direction, so that explains the bug I guess.

Cfr. attachment: I typed CTRL-6 to clear a rubble, then SHIFT-6 to run to the right.

I hope it can help!
There's a default keymap to run right for {SMK}[Right] but not for {SK}[Right]. It's not clear to me from history for the default keymaps why that is. You can likely trigger the default keymap by using ALT-SHIFT-6 or add a custom keymap so SHIFT-6 works to run right. Will look into putting {SK}[Right] (and the equivalents for 1, 2, 3, 4, 7, 8, 9) into the default keymaps.
backwardsEric is offline   Reply With Quote
Old September 14, 2022, 22:12   #140
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,480
Donated: $60
Nick will become famous soon enoughNick will become famous soon enough
Quote:
Originally Posted by backwardsEric View Post
There's a default keymap to run right for {SMK}[Right] but not for {SK}[Right]. It's not clear to me from history for the default keymaps why that is. You can likely trigger the default keymap by using ALT-SHIFT-6 or add a custom keymap so SHIFT-6 works to run right.
It may be a question of whether NumLock is on or not.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick 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


All times are GMT +1. The time now is 02:26.


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