You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you drive your motorbike over a pile of stuff and try to pick it up without stopping your vehicle you end up picking up, and not picking up, some of the objects resulting in item duplication. You can also lose objects this way as they 'fall into the cracks' between reality and irreality. (Does not actually cause a shimmering portal to appear, but maybe it should ;)
Put a pile of lots of stuff in the middle of the road.
Bike past it.
While over/adjacent to the pile of stuff pick it up.
Time passes while you are picking up stuff so by the time you finish you are no longer over the objects.
Game gets confused and throws out a debug error.
=> Result: Some of the stuff you picked up is still on the ground as well. But you can also lose something you tried to pick up.
=> Expected result: Not having stuff left behind as well as in your inventory.
Alternative: Just don't let people grab stuff from the ground while in moving vehicles.
OS: Windows
OS Version: MINGW/CYGWIN/MSYS2 on Windows 8.1
Game Version: 0.D-8234-gfd91108 [64-bit]
Graphics Version: Tiles
Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Monsters [Only_Wildlife]
]
Additional context
Test save that shows the behavoir. Just load and try to pick up everything.
If you put some items in a container, ie: back of a pickup truck, and drive past it and do a 'pickup' all action, it will continue doing it. No duplication at least though.
I think grabbing stuff from moving vehicles should be solved separately, since there's interesting cases where it should be allowed (rolling by at 1-4 mph) and weird cases where you can pick stuff up through the floor of your car by driving over something and parking on top of it. Also the semi-related: grabbing stuff from a moving vehicle, namely, the one you're in, while driving.
I think the solution is to just cancel the pick_up activity and roll-back any progress on it (no progress is made), if the player's position changes before it completes. I'm going to try implementing that.
If you drive your motorbike over a pile of stuff and try to pick it up without stopping your vehicle you end up picking up, and not picking up, some of the objects resulting in item duplication. You can also lose objects this way as they 'fall into the cracks' between reality and irreality. (Does not actually cause a shimmering portal to appear, but maybe it should ;)
=> Result: Some of the stuff you picked up is still on the ground as well. But you can also lose something you tried to pick up.
=> Expected result: Not having stuff left behind as well as in your inventory.
Alternative: Just don't let people grab stuff from the ground while in moving vehicles.
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
No Monsters [Only_Wildlife]
]
Additional context
Test save that shows the behavoir. Just load and try to pick up everything.
Duplication.zip
The text was updated successfully, but these errors were encountered: