Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old February 15, 2010, 14:45   #1
yyrkoon
Rookie
 
Join Date: Feb 2010
Posts: 5
yyrkoon is on a distinguished road
a fluke or an unfixed fix 3.1.2

•(#773) General Store now restocks like other stores (e.g. more food will appear without you having to buy out all the food).

I just had to wait 40,000 turns for food to appear in the General Store. Could be a total fluke, but you might want to check the code. In all my years of playing I can't remember 4 straight returns to town with no food in stock. 3 maybe once a year, but not 4.
yyrkoon is offline   Reply With Quote
Old February 15, 2010, 15:59   #2
takkaria
Veteran
 
takkaria's Avatar
 
Join Date: Apr 2007
Posts: 1,951
Donated: $40
takkaria is on a distinguished road
Quote:
Originally Posted by yyrkoon View Post
•(#773) General Store now restocks like other stores (e.g. more food will appear without you having to buy out all the food).

I just had to wait 40,000 turns for food to appear in the General Store. Could be a total fluke, but you might want to check the code. In all my years of playing I can't remember 4 straight returns to town with no food in stock. 3 maybe once a year, but not 4.
It's a fluke.
__________________
takkaria whispers something about options. -more-
takkaria is offline   Reply With Quote
Old February 15, 2010, 16:18   #3
RogerN
Swordsman
 
RogerN's Avatar
 
Join Date: Jul 2008
Posts: 308
RogerN is on a distinguished road
This is yet another tool in the RNG's collection of unique torture methods; it is another way to exact compensation from players unlucky enough to find valuable equipment early on. Did a small kobold just drop Ringil on dlvl 1? I hope you stocked up on rations, then, because the RNG thinks that starvation is a fitting doom to balance the scales of chance.
RogerN is offline   Reply With Quote
Old February 18, 2010, 19:15   #4
PowerDiver
Prophet
 
Join Date: Mar 2008
Posts: 2,750
PowerDiver is on a distinguished road
Quote:
Originally Posted by yyrkoon View Post
I just had to wait 40,000 turns for food to appear in the General Store. Could be a total fluke, but you might want to check the code. In all my years of playing I can't remember 4 straight returns to town with no food in stock. 3 maybe once a year, but not 4.
There is another possibility. Check the turncount when you are in town. Restocking happens at multiples of 10K, but that appears to be ignored if you are in town when the crossover happens. So if you time it just right you don't get any restocking.

I haven't checked the code, but I thought I saw this behavior in my current game.
PowerDiver is offline   Reply With Quote
Old February 19, 2010, 15:24   #5
zaimoni
Knight
 
zaimoni's Avatar
 
Join Date: Apr 2007
Posts: 590
zaimoni is on a distinguished road
Quote:
Originally Posted by PowerDiver View Post
There is another possibility. Check the turncount when you are in town. Restocking happens at multiples of 10K, but that appears to be ignored if you are in town when the crossover happens.
Yes, this is implemented in dungeon.c for V and variants not closely related to Zangband.
__________________
Zaiband: end the "I shouldn't have survived that" experience. V3.0.6 fork on Hg.
Zaiband 3.0.10 ETA Mar. 7 2011 (Yes, schedule slipped. Latest testing indicates not enough assert() calls to allow release.)
Z.C++: pre-alpha C/C++ compiler system (usable preprocessor). Also on Hg. Z.C++ 0.0.10 ETA December 31 2011
zaimoni is offline   Reply With Quote
Old February 19, 2010, 16:01   #6
konijn_
Hellband maintainer
 
konijn_'s Avatar
 
Join Date: Jul 2007
Location: New York, the Big Apple
Age: 46
Posts: 367
Donated: $120
konijn_ is on a distinguished road
Quote:
Originally Posted by zaimoni View Post
Yes, this is implemented in dungeon.c for V and variants not closely related to Zangband.
That's because if you miss 300 GP for those 720000 GP boots, you can scum for ever the townies without the boots going away. I always did like that mechanism

T.
__________________
* Are you ready for something else ? Hellband 0.8.8 is out! *
konijn_ is offline   Reply With Quote
Old February 19, 2010, 21:07   #7
Napsterbater
Adept
 
Join Date: Jun 2009
Posts: 177
Napsterbater is on a distinguished road
Quote:
Originally Posted by PowerDiver View Post
There is another possibility. Check the turncount when you are in town. Restocking happens at multiples of 10K, but that appears to be ignored if you are in town when the crossover happens. So if you time it just right you don't get any restocking.

I haven't checked the code, but I thought I saw this behavior in my current game.
So all this business of me looking at my turncount when I hit > and <ing when I'm over 10k of that is wasting effort? I should just go back after I hit a round number? If I go down at turn 9,999 then the stores then I can go right back up and they'll be restocked? And if I want the best chance of keeping something in the store after I go down I should make sure to do it at 1,0001 so I have a full 9,999 turns before another restock?
Napsterbater is offline   Reply With Quote
Old February 19, 2010, 22:28   #8
Marble Dice
Swordsman
 
Join Date: Jun 2008
Location: Portland, OR, USA
Posts: 412
Marble Dice is on a distinguished road
Quote:
Originally Posted by Napsterbater View Post
So all this business of me looking at my turncount when I hit > and <ing when I'm over 10k of that is wasting effort? I should just go back after I hit a round number? If I go down at turn 9,999 then the stores then I can go right back up and they'll be restocked? And if I want the best chance of keeping something in the store after I go down I should make sure to do it at 1,0001 so I have a full 9,999 turns before another restock?
That's right; stores are restocked every 10,000 game turns if you're in the dungeon. Jump up to town for that 10,000th turn and nothing happens.

If you want to keep store inventory on hand, instead of just squelching store restocks by visiting the town every 10,000th turn, you can also buy most of the store out. If a store has 6 or fewer items in stock when a restock hits, no items will be removed.
Marble Dice is offline   Reply With Quote
Old February 19, 2010, 23:10   #9
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 9,022
Derakon is on a distinguished road
Personally I'd rather the game did restocks when the player enters the dungeon, if it's been at least X game turns since the last restock (with X presumably being 10000 for now). I can accept that restocks shouldn't happen while the player is in town, but preventing restocks altogether by being in the town at a certain magic time just doesn't seem right.
Derakon is offline   Reply With Quote
Old February 19, 2010, 23:38   #10
Napsterbater
Adept
 
Join Date: Jun 2009
Posts: 177
Napsterbater is on a distinguished road
Quote:
Originally Posted by Derakon View Post
Personally I'd rather the game did restocks when the player enters the dungeon, if it's been at least X game turns since the last restock (with X presumably being 10000 for now). I can accept that restocks shouldn't happen while the player is in town, but preventing restocks altogether by being in the town at a certain magic time just doesn't seem right.
Why not? If I'm running a store, I don't tell the delivery guy to wait around until my big customer leaves. I think the only reason they don't restock while the player is in town is because that would invite abuse.
Napsterbater 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
Sangband wall fix for windows vista Malak Darkhunter Variants 41 May 10, 2010 20:35
Little (and quick-fix) 3.1.0 issues ClaytonAguiar Vanilla 7 June 23, 2009 02:43
Is someone going to fix rephial.org? ChodTheWacko Vanilla 3 March 18, 2009 22:40
Emergency fix for stat potion scarcity? Donald Jonker Vanilla 15 January 16, 2009 04:38
Any way to fix the Esc problem for Linux? TJA Vanilla 6 August 17, 2007 14:42


All times are GMT +1. The time now is 13:49.


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