Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old June 10, 2010, 08:16   #1
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,755
PowerDiver is on a distinguished road
excessive store prices

Every so often, the prices charged in a store will become astronomical, e.g. 50K for a ring of str+2. I recently noticed it again in the black market, and this time the first few items were correctly priced and then the rest were very high. Save and reload and it goes away, so it is hard to debug.

Has anyone else seen this? If so, windows or linux or other?
PowerDiver is offline   Reply With Quote
Old June 10, 2010, 08:17   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by PowerDiver View Post
Every so often, the prices charged in a store will become astronomical, e.g. 50K for a ring of str+2. I recently noticed it again in the black market, and this time the first few items were correctly priced and then the rest were very high. Save and reload and it goes away, so it is hard to debug.

Has anyone else seen this? If so, windows or linux or other?
Never seen this - is this r1971? Very interesting bug.
Magnate is offline   Reply With Quote
Old June 10, 2010, 08:36   #3
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,755
PowerDiver is on a distinguished road
Quote:
Originally Posted by Magnate View Post
Never seen this - is this r1971? Very interesting bug.
Yes, it happened most recently in r1971.

It goes back in time at least to whenever I did the change to the num_blows code to go to the full limits of the tables. At first I thought I introduced the bug, but I saw it again back then without my mods, so it has been around for some time.
PowerDiver is offline   Reply With Quote
Old June 10, 2010, 16:26   #4
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
d_m is on a distinguished road
Hmmm... I wonder what in-memory structures related to object pricing could be getting modified incorrectly. Magnate, do you have any ideas?
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old June 11, 2010, 17:47   #5
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by d_m View Post
Hmmm... I wonder what in-memory structures related to object pricing could be getting modified incorrectly. Magnate, do you have any ideas?
The function in question is object_value_real(), but it's been stable for a good while now. Do we know if the problem is the actual price or the displayed price? If you have enough money to buy one of these stupidly overpriced items, do you actually spend the displayed amount, or not?
Magnate is offline   Reply With Quote
Old June 11, 2010, 17:55   #6
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,755
PowerDiver is on a distinguished road
Quote:
Originally Posted by Magnate View Post
The function in question is object_value_real(), but it's been stable for a good while now. Do we know if the problem is the actual price or the displayed price? If you have enough money to buy one of these stupidly overpriced items, do you actually spend the displayed amount, or not?
I think I did that once, but I can't be 100% sure. I think the message told me I paid the high amount, and that's what made me notice, but I didn't check how much my gold decreased. I'll try it the next time I see it.

There is something a little funky about my system. Configure never worked entirely properly for example. I wonder if this is another problem that only affects me. Or maybe it is my playstyle and has something to do with lots of wielded unided stuff or something.
PowerDiver is offline   Reply With Quote
Old June 11, 2010, 18:00   #7
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,060
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by PowerDiver View Post
I think I did that once, but I can't be 100% sure. I think the message told me I paid the high amount, and that's what made me notice, but I didn't check how much my gold decreased. I'll try it the next time I see it.

There is something a little funky about my system. Configure never worked entirely properly for example. I wonder if this is another problem that only affects me. Or maybe it is my playstyle and has something to do with lots of wielded unided stuff or something.
Ah. It could be a bitflag-rewrite bug with not-fully-known items. Can you narrow it down to see if it affects fully-known items?
Magnate is offline   Reply With Quote
Old June 11, 2010, 18:15   #8
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,755
PowerDiver is on a distinguished road
Quote:
Originally Posted by Magnate View Post
Ah. It could be a bitflag-rewrite bug with not-fully-known items. Can you narrow it down to see if it affects fully-known items?
I don't see it that often, and it doesn't survive save-and-reload, so I don't even know what I should do to try to test that.
PowerDiver is offline   Reply With Quote
Old June 11, 2010, 18:23   #9
Timo Pietilä
Prophet
 
Join Date: Apr 2007
Location: Climbing up from hole I just dug.
Posts: 4,096
Timo Pietilä is on a distinguished road
Quote:
Originally Posted by PowerDiver View Post
I don't see it that often, and it doesn't survive save-and-reload, so I don't even know what I should do to try to test that.
I have also noticed some odd behavior, but not only in prices. There have been cases where when I put on gear to test it, sometimes some of my stats (HP, mana, AC, stuff like that) do not get constant change, but it's very hard to reproduce and effect has been very minimal. So small that I'm not sure I'm not just imagining things.

There is something weird in RNG of the game, something has been changed so that whole feeling of the game has changed. Items that should be common (like Rings of Resist Poison) do not get created etc. Something very deep in game structure that is hard to pinpoint.
Timo Pietilä is offline   Reply With Quote
Old June 11, 2010, 18:33   #10
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,755
PowerDiver is on a distinguished road
Quote:
Originally Posted by Timo Pietilä View Post
There is something weird in RNG of the game, something has been changed so that whole feeling of the game has changed. Items that should be common (like Rings of Resist Poison) do not get created etc. Something very deep in game structure that is hard to pinpoint.
That is just the attack on drops combined with the effects of DROP_GOOD. Very few jewelry items are dropped now compared to 3.0. I have had multiple chars otherwise ready for M except needing to scum for an amulet of trickery. I may revert to cloning death quasits even though it feels like cheating.
PowerDiver 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
You see no store. ChodTheWacko Vanilla 5 June 3, 2010 03:05
Jump from 2.9.2 to 3.1.1 - store changes? mattdp Vanilla 4 May 29, 2010 03:12
Store pricing weirdness awldune Vanilla 11 February 19, 2010 18:39
Excessive amounts of gold? Sean Vanilla 3 March 19, 2009 16:44
General Store Malak Darkhunter Vanilla 3 January 11, 2009 17:21


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


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