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

Force Item Decay #1199

Open
EPuncker opened this issue Feb 13, 2015 · 11 comments
Open

Force Item Decay #1199

EPuncker opened this issue Feb 13, 2015 · 11 comments
Labels
enhancement Increase or improvement in quality, value, or extent

Comments

@EPuncker
Copy link
Contributor

Would be nice to have a new item attribute to make item duration be counted even if it is in depot, user offline, house etc, like in real tibia we got some items that disappear despite the user being logged in or not, using it or not:

http://tibia.wikia.com/wiki/Shimmer_Bow
http://tibia.wikia.com/wiki/Shimmer_Sword
http://tibia.wikia.com/wiki/Shimmer_Rod
http://tibia.wikia.com/wiki/Shimmer_Wand

maybe something like forcedecay = 1

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@marksamman marksamman added the enhancement Increase or improvement in quality, value, or extent label Feb 13, 2015
@Zbizu
Copy link
Contributor

Zbizu commented Feb 16, 2015

on global: if you put item in dp and walk away, it's decay is paused, try with magic light wand. Same with logging out

@Luckey1729
Copy link
Contributor

I'm pretty sure Zbizu is correct (if he is incorrect - at least that's how decay worked last time I played.) But who's to say TFS can't be better in this sort of way? I'm for it.

@EPuncker
Copy link
Contributor Author

@Zbizu even with shimmer items? xD I know that it worked like that for some items (helmet of ancient pieces, flower pots etc)

@bennydz
Copy link

bennydz commented Nov 8, 2017

there is no solution yet?

@andersonfaaria

This comment was marked as abuse.

@Zbizu
Copy link
Contributor

Zbizu commented Apr 30, 2020

care to link the solution?

also the decay could be stored this way:
customAttribute with os.mtime() of expiration date for actively decaying items
and resynchronised on opening depot

@andersonfaaria

This comment was marked as abuse.

@Zbizu
Copy link
Contributor

Zbizu commented Apr 30, 2020

does it solve the issue though?

there are items that should have decay paused when locking in depot and special cases that shouldn't
for example claw of the noxious spawn, rat corpses and other items like that don't refresh when in depot (at least they didn't around 9.x times), but demon children and lightbearer torch disappear after specified time.

@andersonfaaria

This comment was marked as abuse.

@andersonfaaria

This comment was marked as abuse.

@DSpeichert
Copy link
Member

@andersonfaaria is there a PR open?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Increase or improvement in quality, value, or extent
Projects
None yet
Development

No branches or pull requests

7 participants