Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shop Timers for items need to be refreshed every tick for items #373

Open
WizardJesse1 opened this issue Nov 21, 2017 · 14 comments
Open

Shop Timers for items need to be refreshed every tick for items #373

WizardJesse1 opened this issue Nov 21, 2017 · 14 comments
Labels
bug Incorrect or broken functionality content A missing piece of game content help wanted The project maintainers request development help from users

Comments

@WizardJesse1
Copy link
Contributor

WizardJesse1 commented Nov 21, 2017

  • Basically each item has its own set timer of how long it takes to restock.

Currently from what I saw the shops are being refreshed every 100 ticks instead. Its a pretty straight out issue but if more detail is needed I can go into it.

To add on to this I believe there is also a default timer though that they use for items that do not belong in the shop

eg. General store and selling a whip.

@WizardJesse1 WizardJesse1 changed the title Shop Timers are refreshed every tick for items Shop Timers for items need to be refreshed every tick for items Nov 23, 2017
@tlf30
Copy link
Contributor

tlf30 commented Nov 24, 2017

@WizardJesse1 can you provide where you found that each item has its own restock timer. I have not found that anywhere in my research.

@WizardJesse1
Copy link
Contributor Author

@tlf30 if you simply go on you would see.

restocking a item for like bronze arrows would be faster then adamant arrows at lowe range shop in varrock

@garyttierney
Copy link
Contributor

I think @WizardJesse1 is correct. I don't expect adamant arrows to replenish at the same rate as bronze arrows.

@Major-
Copy link
Member

Major- commented Nov 24, 2017

Shops were changed significantly between 377 and OSRS. Are we sure the behaviour is the same? Afaik @tlf30 is correct with respect to 3xx

@WizardJesse1
Copy link
Contributor Author

The only time I remember them changing timers for runescape was in rs3 era and that was when shops were fully restocked every 24hrs and each player had there own unique shop

@cadamsdev
Copy link

cadamsdev commented Nov 26, 2017

Each individual shop item can have its own restock rate.
https://twitter.com/JagexAsh/status/934501991518212097

@tlf30
Copy link
Contributor

tlf30 commented Nov 26, 2017

@nshusa is that for osrs or 3xx?

@tlf30
Copy link
Contributor

tlf30 commented Nov 26, 2017

It does not really matter to me which way we do it, I just want to make sure that we are going for the most historically accurate way. I know a lot has changed since 3xx up to the current osrs. I personally like having a timer for each item, it makes more sense, but I do not believe that is how it was done in 317/377. On the other hand, that was many years ago and I am not known for having a good memory.

@Major-
Copy link
Member

Major- commented Nov 26, 2017

I'm also not bothered as long as restocking is reasonable

@cadamsdev
Copy link

@tlf30 Old school. Even if they did change how shops are done I don't see a reason to use the old system.

@garyttierney
Copy link
Contributor

One reason would be correctness. If the old system used a shared timer then that's what we should do.

@rmcmk
Copy link
Contributor

rmcmk commented Nov 28, 2017

Impossible to know, really. Such a minuscule feature that I doubt anyone remembers the specific functionality. I vote go with the OSRS mechanics. As far as I'm aware they haven't changed since its existence. I'm fairly certain that mechanic has always been the same since the interface overhaul at least.

@Major- Major- added the needs-discussion The project maintainers request input from users label Apr 1, 2018
@Tomm0017
Copy link

Tomm0017 commented Apr 26, 2019

@Major- @garyttierney Has there been a final decision made on this? I don't think any more discussion will do any good as no one is able to actually prove what rev. 377 did regarding this situation. If I had to make a guess, I would say they did have the ability to set different timers for each item. Someone on the development team should just make a decision to either close this or allow a PR to be made for it.

@Major-
Copy link
Member

Major- commented Jul 13, 2019

Let's implement the OSRS behaviour (stated below), meaning this issue is valid and stays open.

Each individual shop item can have its own restock rate.

https://twitter.com/JagexAsh/status/934501991518212097: Individual stacks in individual shops can have different restock rates. I don't know exactly how the engine's handling it under the hood though.

@Major- Major- added bug Incorrect or broken functionality content A missing piece of game content help wanted The project maintainers request development help from users and removed needs-discussion The project maintainers request input from users labels Jul 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect or broken functionality content A missing piece of game content help wanted The project maintainers request development help from users
Projects
None yet
Development

No branches or pull requests

7 participants