Luka967 / OgarII

FOSS implementation of a private Agar.io gameserver, made with Node.js.
Other
66 stars 38 forks source link

Server crashes #67

Closed josefredohd closed 4 months ago

josefredohd commented 1 year ago

[FATAL] TypeError: Cannot read property 'id' of undefined at getLeaderboardData (/home/ubuntu/OgarII/src/gamemodes/FFA.js:13:38) at leaderboard.map (/home/ubuntu/OgarII/src/gamemodes/FFA.js:64:48) at Array.map () at FFA.sendLeaderboard (/home/ubuntu/OgarII/src/gamemodes/FFA.js:64:34) at Connection.update (/home/ubuntu/OgarII/src/sockets/Connection.js:148:34) at Listener.update (/home/ubuntu/OgarII/src/sockets/Listener.js:125:49) at ServerHandle.onTick (/home/ubuntu/OgarII/src/ServerHandle.js:169:23) at Ticker._tick (/home/ubuntu/OgarII/src/primitives/Ticker.js:43:30) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5)