![]() |
#1 |
Veteran
Join Date: Oct 2016
Location: London-ish
Age: 49
Posts: 2,074
![]() |
something's wrong with The One Ring
i have noticed that The One Ring consistently generates very mild level feelings.
I have just found it in a undead pit at DL98 with a LF 6-6. A Dragon Armour will generate a LF x-8 and a good RoP will be x-9. PDSM is LF x-9. Dragon Armours have a power of 500-700, The One Ring has a power of 1.4M; is this some sort of bit-wraparound problem?
__________________
"i can take this dracolich" |
![]() |
![]() |
![]() |
#2 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,368
Donated: $60
![]() ![]() |
The object rating is a 32-bit integer, so that shouldn't be causing a wrap problem. Was it lying on the floor, or dropped by a monster?
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#3 | |
Prophet
Join Date: Apr 2008
Posts: 2,928
![]() |
Quote:
Edit: I checked my variant and the One Ring has a power of 20000 which is exactly INHIBIT_POWER, so indeed it's a bug in power calculation.
__________________
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! Last edited by PowerWyrm; June 29, 2022 at 08:47. |
|
![]() |
![]() |
![]() |
#4 | |
Veteran
Join Date: Oct 2016
Location: London-ish
Age: 49
Posts: 2,074
![]() |
Quote:
d) the Ring of Power 'The One Ring' (+15,+15) <+5> Found lying on the floor in a pit at 4900 feet (level 98) it wasn't just this once, i've found it 4 times since, well, my last visits, and every time i noticed it was a LF x-7, this time, it was LF 6-6 ! You had mentioned that level feelings are just the amount of money (as in, value of the items) that's on the ground so i thought, maybe they are capped at 30k as in the shops. Maybe thats why a big vault full of random egos has a higher value.
__________________
"i can take this dracolich" |
|
![]() |
![]() |
![]() |
#5 |
Swordsman
Join Date: Apr 2020
Location: DC Area
Posts: 299
![]() |
I have never found this ring
|
![]() |
![]() |
![]() |
#6 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,368
Donated: $60
![]() ![]() |
Well, that comment aged poorly. Luckily backwardsEric has done a fix, it will be in the dev builds soon.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#7 |
Swordsman
Join Date: Aug 2019
Posts: 296
![]() |
That change probably isn't good enough. As PowerWyrm said, it's likely an issue in the object_value_real() calculation; its return value is an int, which will be a 16-bit type when compiling for win32, and that won't be enough to hold the value of the plain gold ring.
|
![]() |
![]() |
![]() |
#8 | |
Swordsman
Join Date: Aug 2019
Posts: 296
![]() |
Quote:
|
|
![]() |
![]() |
![]() |
#9 | |
Prophet
Join Date: Apr 2008
Posts: 2,928
![]() |
Quote:
So the bug in indeed in object_power().
__________________
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! |
|
![]() |
![]() |
![]() |
#10 |
Knight
Join Date: Sep 2010
Location: Stockholm
Posts: 689
![]() |
Maybe you are looking at this the wrong way. Are you sure you are in control? Have you considered the option that if the ring finds @ unattractive it projects low value?
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is it wrong ... | Moving Pictures | Vanilla | 8 | April 12, 2018 03:30 |
What am I doing wrong? | Moving Pictures | Vanilla | 83 | April 8, 2018 13:41 |
Ring of Damage vs Stat gain ring | icefyre | Vanilla | 6 | May 31, 2017 05:06 |
Ring of Slaying vs. Ring of Damage | Ingwe Ingweron | Vanilla | 27 | October 13, 2013 16:23 |
Ring of Frost [12] or Ring of Strength +4 | davidonabus | Vanilla | 3 | October 10, 2010 07:55 |