Closed danny647 closed 5 years ago
I think i have tracked down the problem for the first issue. In file PlayerTracker.js in function updateSpecView() there is a division with zero and then the client gets NaN for coordinates. I added a line to check for division with zero and it seems to work. :P Does anyone have a server code without these problems and would be willing to share it? It took me 3 days to track down this problem :D Or am I missing something else? Maybe some additional packages from npm?
Do a PR with your fix if its relevant to us.
Closing due to a lack of response from the OP.
Hello. I've just installed Megabyte918/MultiOgar-Edited server and Luka967/Cigar client. It works except there are some minor issues that I can't figure out. I'm not a programmer but I hope someone can help me with these.
if I connect to the server (and I'm alone there) and go straight to spectating the view is frozen. video 1
if I start to spectate after I played (and I'm alone there) the view is shaking and jumps all over the place video 2
if some of my cells goes out of filed of view they can becomes dead cells. mass is not shown anymore on those cells and they are not in center of view anymore.
this doesn't happen in recombine mode where I can split over half of the map and view just adjusts and zooms out.video 3I have these installed: nodejs: 8.12.0 npm: 6.4.1 figlet: 1.2.0 ws: 6.0.0 async-limite: 1.0.0