fredi-68 / luswca

Remember to put full project title here
GNU General Public License v3.0
0 stars 0 forks source link

Item drops getting stuck #52

Open fredi-68 opened 5 years ago

fredi-68 commented 5 years ago

This is an interesting bug I've encountered in the past on occasion, but which has been happening a lot more frequently to the point where it happens pretty much every time I destroy an object now.

Essentially what happens is that items dropped by a destroyed object just kind of "appear" on the ground, as opposed to spewing out of the objects remains like they should. Since it appears to be randomly happening I am pretty sure that this is because of an error in the client causing the subroutine that is responsible for moving the items to crash. The client, as usual, doesn't actually log anything so I can't get confirmation on this. However, if it is actually due to the client behaving badly, this issue can most likely be fixed by changing the order we send game messages in.

This bug started showing more frequently after implementing achievements. This means that the MissionManager has to do a lot more work each time an object is destroyed, and there may be a lot more task update messages. This is most likely somehow related.

fredi-68 commented 4 years ago

Think this may be related to improper positioning of enemy objects (most of them spawn slightly above the ground, probably to prevent their pathfinding from pulling them underground)