Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old March 19, 2008, 13:22   #1
Vanadis
Rookie
 
Join Date: Mar 2008
Posts: 1
Vanadis is on a distinguished road
Shopkeeper issues in V3.09a

Hi
In my current game (Clvl 43, Dlvl 87), the weapon store has had Ithyl-Mak for the whole game. By this point, money isn't really an issue, but surely there should have been a storekeeper swap by now? Has anyone else come across something similar, where a shopkeeper just didn't change? Alternatively is there a way to force a shop keeper change?
Vanadis is offline   Reply With Quote
Old March 21, 2008, 01:19   #2
rdermyer
Apprentice
 
rdermyer's Avatar
 
Join Date: Jul 2007
Location: Lawrence, Kansas
Posts: 77
rdermyer is on a distinguished road
I'm pretty sure the way it works is that after X amount of turns, one of the stores (randomly decided) has a chance to change shopkeepers, so I guess it's just bad luck that the weapon shop has never been changed. I think that also there's a chance that the shopkeeper will retire if you buy out his entire stock.
rdermyer is offline   Reply With Quote
Old March 26, 2008, 03:52   #3
roustk
Adept
 
Join Date: Dec 2007
Posts: 167
roustk is on a distinguished road
Quote:
Originally Posted by rdermyer View Post
I'm pretty sure the way it works is that after X amount of turns, one of the stores (randomly decided) has a chance to change shopkeepers, so I guess it's just bad luck that the weapon shop has never been changed.
This code hasn't changed between version 3.0.9 and 3.0.9b (and presumably not for a while before then).

If you are in the dungeon on a multiple-of-10000 turn (10000, 20000, etc.), there is a 1-in-25 chance that *one* shop-keeper will rotate. The game does make sure that it does not select your home (leaving seven others) and that the shop-keeper does change at the selected store.

This means that the expected 'lifetime' of a shop-keeper is 1,750,000 turns. The probability of (still) having Ithyl-Mak at various points in the game is below:
Code:
Turn     No change
1000000  56.3%
2000000  31.8%
3000000  17.9%
4000000  10.1%
5000000   5.7%
Kevin
roustk is offline   Reply With Quote
Old March 29, 2008, 01:07   #4
Lachre
Rookie
 
Join Date: Mar 2008
Location: PA
Posts: 7
Lachre is on a distinguished road
Oh jesus. I'm glad I saw this thread because I was wondering something similar. I've been watching my shops going wtf why don't they change their stuff??

Much appreciated, at least now I know I'm not losing my mind.
Lachre 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
If you were a shopkeeper; which shop would you own? Bandobras Vanilla 27 March 22, 2008 17:14
Compilation issues: can't find -lSM Daven_26d1 Vanilla 10 July 22, 2007 08:52


All times are GMT +1. The time now is 05:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.