Prevent players from losing some rare items by accident. #6434
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#6434
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We have some incidents when people lose their items by accidentally pressing Q.
Example: #6425
Some of those items are really rare/expensive and not something they would like to just throw away.
One possible solution is to disable dropping action for these items. This would require some additional actions players would need to take if they actually do want to drop them...
Other partial solution is to disable despawning timer when these items are dropped by players. For example, balrog whip would despawn normally when dropped by Balrog, but if player drops it, it should just stay indefinitely. We probably won't have that many balrog whips littering the server, so this won't be a problem. But keeping them "forever" would at least give players more chances to come back and find them again...
Item despawning code is in builtin/game/item_entity.lua - so it would be possible to add exception for rare items (increase from 15 minutes to perhaps 2 weeks or so - if someone start searching dropped whip after more than 2 weeks ... then sorry, it is lost).
I personally have unbound drop key completely (due to usually pressing it accidentally and dropping something). If I want to actually drop something, I open the inventory and drag the item outside.
Although for balrog whip specifically, maybe make it "cursed" and undroppable :)
This might make it possible to do crash attacks by dropping huge loads of items.
I think there could be a better solution: add a NPC(could be bundled with the possibly upcoming Bank city service) that could help put an enchant on your item, which makes it impossible to be dropped, and must be put into the trash in order to eliminate.
A better option might be the wizard guild instead of the bank.
The NPC enchant idea is actually pretty good. Leaving valuable items without a despawn timer could not only cause lag/crash issues but could mean someone else could snag the item way too easily if its owner stops looking for even a short while. Imagine a newbie finding a lost balrog whip at a shallow edge of the Sea of Haven, tossed out of a blimp by accident (except for the newbie part, actually has happened before)... And the ability to avoid dropping certain items by enchantment would be extremely useful.
I just hope something is done to prevent more rare-object drops.
The alternative is to have a setting (in yl_settings or elsewhere) which items a player does not wish to drop. We could add reasonable defaults and a player could modify the list as he likes.
The enchantment is doable as well.
I don't think we will have too many loose balrog whips lagging the server...
I like the idea of enchant/curse too...