Prevent players from losing some rare items by accident. #6434

Open
opened 2024-03-10 17:45:27 +00:00 by whosit · 6 comments
Member

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...

We have some incidents when people lose their items by accidentally pressing Q. Example: https://gitea.your-land.de/your-land/bugtracker/issues/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...
whosit added the
1. kind/enhancement
4. step/discussion
labels 2024-03-10 17:45:44 +00:00

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 :)

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 :)

Other partial solution is to disable despawning timer when these items are dropped by players.

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.

> Other partial solution is to disable despawning timer when these items are dropped by players. 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.

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

A better option might be the wizard guild instead of the bank.

> 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 A better option might be the wizard guild instead of the bank.
flux added the
1. kind/balancing
label 2024-03-11 21:39:25 +00:00

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 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.

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.
Author
Member

I don't think we will have too many loose balrog whips lagging the server...

I like the idea of enchant/curse too...

I don't think we will have too many loose balrog whips lagging the server... I like the idea of enchant/curse too...
Sign in to join this conversation.
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#6434
No description provided.