OutlawByteStudios / Persistent-Kingdoms

Persistent Worlds Overhaul Mod for Mount and Blade Warband
Other
7 stars 7 forks source link

Gear Despawning Glitch #632

Closed Thomas-Smyth closed 5 years ago

Thomas-Smyth commented 5 years ago

Task Description

When a player dies they drop a loot spot. When you pick everything up from it, the bloodspot will despawn within 5 seconds.

Players can abuse this by picking up gear and putting it back into the blood spot causing it to despawn with the blood spot.

Thomas-Smyth commented 5 years ago

Looks to be caused by this line of code: https://github.com/SmartPhoenix/Persistent-Kingdoms/blob/master/module_scripts.py#L10096

We could resolve this by extending the prune time when a new item is added. For example:

Thomas-Smyth commented 5 years ago

Fix in: https://github.com/SmartPhoenix/Persistent-Kingdoms/commit/3765fcd59bba14d4e8495fd4a187b1840d98f22f