-
Notifications
You must be signed in to change notification settings - Fork 310
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
storage crates become lethal projectiles #723
Comments
I believe, one of the solutions to this, is to make the mass of the box negligible, I believe this was somewhat investigated at some point.. |
Problem could be, that mass very close or equal to zero could end up causing the boxes to "float away" |
Maybe if we make sure it's attached, we'll be fine ;) |
Would be worth testing What could also work is adding a check in fn_handleDamage to discard the damage if the object that caused damage was a housing box |
So, as a friend of mine helped me to place my housing storage boxes in a quite unusual fashion we both discovered that the spawned in boxes nowhere near as harmless as we thought.
What happened? I killed him with a swing of the "ghost" box.
The issue: The "ghost" box actually has collision and is able to interact with players (and potential with other vehicles) - which, when swung quite fast, ends in a freight train hitting another player and by this: killing the other player.
The problem: Some bad player could spawn a box in a house - and run around the server with this lethal weapon. We didn't tested it but I guess this not only affects players but vehicles as well and by this not only killing players but also destroying vehicles. I don'T know if it's possible to spawn in the crate without any collision so it can'T harm anybody - but at least some fix should be implemented to de-spawn it when the player moves too far away from the house he created it in. Otherwise it enables players to run freely around the map with this "ghost" box in front and kill anybody comming too close.
Another way more drastic approach would be to redo the housing system in such a way as crates can't be placed freely by the player but only spawn in at pre-defined positions fixed in the config. Or maybe even remove the crates all together and have some other way of storage interaction (for the virtual items this won't be hard - but for the "real" items this could very well be a problem).
Just again one of those "the game/engine got us" noone could had ever thought about. I really struggled to report it public as when this becomes a known bug without any half-way helpful solution it would turn big servers into slaughter houses. I already had the idea to play on some random server just to see if it's a common bug exisiting in the wild - but some servers require quite a lot of effort and play time to get to the first cheap house and storage crate I rather would invest in my own stuff than playin on some other server just for the lolz to test a bug - and getting banned for RDM in the end anyway.
So, any ideas / suggestions how to tackle this problem? I guess it may could be possible to link the box and the house it was spawned in and to keep an eye on the distance - if it goes off some limit the box should be despawned (and maybe return to the virtual inventory as it can't be said anytime this occurs was enforced by a bad player). I don'T think hardcoding positions would be a viable option - as it would also require quite some work for any additional type of building some admin may add to the housing list (although I honestly kinda like that idea now as I wrote it).
The text was updated successfully, but these errors were encountered: