ScriptaGames / zorbio

A 3D multiplayer WebGL game
MIT License
8 stars 1 forks source link

Ghost bots in scene #434

Closed Jared-Sprague closed 7 years ago

Jared-Sprague commented 7 years ago

It's still happening, I thought I fixed it but I saw 3 ghost spheres next to a big player sphere that was afk. So it might still have something to do with spawning. Need to try to reproduce:

screenshot from 2016-10-28 14-12-52

Jared-Sprague commented 7 years ago

The afk player sphere left and the dead spheres that and their drain beams pointing at him were left in the scene. I think the bots are in the scene and shouldn't be, sounds like a synchronization problem. We only do a full sycronization when the game starts, It might be useful to do interval syncs of all actors and players on the server to clear out dead bots on the client.

screenshot from 2016-10-28 14-20-00

Jared-Sprague commented 7 years ago

Refreshing fixed it. I think it was when I left the tab open, but in the background that it happens.

Jared-Sprague commented 7 years ago

Ok I can reproduce this now. I had the game running on the menu screen in the background for an hour. and this is what I saw when I came back soo many spheres!

untitled

Now should be able to track it down

mwcz commented 7 years ago

Man that is a crazy looking screenshot.