deStrO / eBot-CSGO

The eBot is a full managed server-bot written in PHP and nodeJS. eBot features easy match creation and tons of player and matchstats. Once it's setup, using the eBot is simple and fast.
http://www.esport-tools.net/ebot
374 stars 137 forks source link

Somme issues found #28

Closed BatStak closed 10 years ago

BatStak commented 10 years ago

1) When going to rcon panel on the web application, we can't refresh or go on other routes without crashing nodejs websocket_server.js application. Line 137. .clients() not found. I've tried with nodjs 0.9.12, same results. I add a try catch (so it worked again forever) but i don't understand the issue. Maybe .clients() does not exists at all in recent versions of socket.io+nodejs

2) When loading a specific past round, the match is paused. It's OK. Then, we pause/unpause with the button and it paused the server ! If we click pause/unpause again, it unpaused the server but the match is still paused. Players need to write !pause again (the match is already paused...) and !unpause.

3) Last and a lot less important. Routes to "Back to site" and "Admin" button does not work with subfolder installed ebot (like on debian /eBot-CSGO/)

4) Bonus : it would be nice to force knife for knife round via rcon commands

Thank you and again, great job !

deStrO commented 10 years ago

1) it's because of the new Socket.io, you need to make npm install socket.io@0.9.12, and don't forget to clean your cache (cause the JS can be cached). 2) There is a new cvar with a recent update, mp_backup_restore_load_autopause, you have to set to 0 3) Hum yes, I will check to make a relative link. 4) It's not hard but not for now! :)

BatStak commented 10 years ago

Thank you. Maybe you can specify the version of nodejs and socket io you need in composer?