As the update 460 was released I started getting more and more reports of bugs in my game.
The first bug that appeared was that the tools in my custom toolbar was disappearing.
The tools are suppose to disappear when Tool.Enabled = false, but for guns that never happens.
As of 460, something is setting the Tools Enabled to false when you equip them. Not every time, but enough times for the tool to disappear after 5 or 6 equips.
As for what sets the tools enabled to false only the people at roblox could figure out.
Second bug (Has been resolved)
[FIXED] The second bug (has repro) has to do with network ownership.
My throwsystem relies on throwing the tool handle by:
- Destroying the equipweld
- Setting the handles velocity locally
- Moving the handle into workspace
Disclaimer: This is a quadbillion times faster and more accurate than creating fake projectiles on the server-side. I’m not here to discuss efficiency though, I’m just reporting the bugs.
None of the bugs occure when you play alone, but the second someone else joins these bugs starts appearing.
Here’s how it works before anyone else joins:
Here’s how it works after another player has joined:
In this new update it would seem the server tries to re-claim ownership of the projectile once its put in workspace. Once it’s claimed the projectile it re-enforce the weld, which was already destroyed, for a breif moment until it realize the weld is actually destroyed.
That is why the chinalake projectile is teleported back towards its orgin and then fall down.
That would explain why grenades have little to no energy once thrown.
Here’s the file for the second bug: weld__repro.rbxl (23.4 KB)
How to use:
- Spawn 1 Server + two Players.
- Use Player1 and click anywhere with mouse.
Notice how the projectile flies sideways.
- Use Player2 and click anywhere
Notice how the projectile just drops down.
They both use exactly the same code.