csgo-rcon-nodejs icon indicating copy to clipboard operation
csgo-rcon-nodejs copied to clipboard

Live score isn't working

Open kyoto44 opened this issue 7 years ago • 28 comments

In web interface livescore doesn't works.

kyoto44 avatar Jan 31 '19 18:01 kyoto44

Hi,

I need a little more information.

  • Did you install the csgo-rcon-plugin on your CS:GO Server?
  • When you run sm plugins list in the CS:GO server terminal do you see that the plugin is active?
  • Did you update the baseUrl in the config.json to match the CS:GO server IP?
  • Is the CS:GO server able to access the Web panel over the network?

glenndehaan avatar Feb 01 '19 10:02 glenndehaan

I haven't updated the baseUrl in config.json Thanks a lot! One more question: is it possible to made live round panel like on hltv scoreboard for example: player1 killed player2 with ak47 player4 killed player3 with m4a1

kyoto44 avatar Feb 01 '19 19:02 kyoto44

No problem!

In theorie it would be possible to get that data from SourceMod en then send it to the panel. But then the question remains how would that look like on the panel? If you need this I can have a look if itś possible to implement

glenndehaan avatar Feb 01 '19 22:02 glenndehaan

hello guys, i am new with this. Can help me to install csgo-rcon-nodejs? i have linux. thx

imenergie avatar Oct 04 '21 02:10 imenergie

Hello again, i install all and when i execut command for start like npm run dev the web it's working but can't connect to rcon.

ERROR [RCON INIT][192.168.100.3:27015] Failed to connect to rcon: Error: connect ECONNREFUSED 192.168.100.3:27015

imenergie avatar Oct 04 '21 04:10 imenergie

This means that the Panel can't connect to that address. Are the devices able to communicate to each other? For example does a simple ping work? Because this could be firewall related. And are these devices on the same network?

glenndehaan avatar Oct 04 '21 06:10 glenndehaan

i dont have firewall active on the linux and the web panel is installed where the cs go server is

imenergie avatar Oct 04 '21 06:10 imenergie

I tried with 127.0.0.1 or localhost, but the same error. yes these devices are in the same network

imenergie avatar Oct 04 '21 06:10 imenergie

If the csgo server is on the same machine as the panel then 127.0.0.1:27015 can be used. However if that already does not work then it means the csgo server maybe has rcon disabled. Are you running a dedicated csgo server of are you just launching a session from your csgo client?

glenndehaan avatar Oct 04 '21 06:10 glenndehaan

Have you tried setting up rcon first: https://shockbyte.com/billing/knowledgebase/355/How-to-enable-RCON-on-your-CSGO-Server.html ?

glenndehaan avatar Oct 04 '21 06:10 glenndehaan

i set the rcon_password in server.cfg also i set the rcon in console server but nothing.

imenergie avatar Oct 04 '21 06:10 imenergie

Unable to connect to remote server (192.168.100.3:27015): (9) retries left :(

imenergie avatar Oct 04 '21 06:10 imenergie

But thats a public ip. So now we are going 2 steps further. Because if it doesn't work locally then it will never work externally

glenndehaan avatar Oct 04 '21 06:10 glenndehaan

Can you try this: telnet 127.0.0.1 27015

glenndehaan avatar Oct 04 '21 06:10 glenndehaan

in ssh connection: telnet: Unable to connect to remote host: Connection refused

imenergie avatar Oct 04 '21 06:10 imenergie

i dont understand :/

imenergie avatar Oct 04 '21 06:10 imenergie

Yeah oke if that is not working then there is something wrong with your server. Because this should reply with the server name if the connection is working

glenndehaan avatar Oct 04 '21 06:10 glenndehaan

ok. thx for answare bro!

imenergie avatar Oct 04 '21 06:10 imenergie

How is your network topology and system configuration. Because sometimes you mention it is running locally. And on the last message you mention a ssh connection?

glenndehaan avatar Oct 04 '21 06:10 glenndehaan

i have 2 pc one is the server on linux and my pc on windows. i mentioned the server cs go and web panel is install on the same pc and i connect with putty from 192.168.100.3. but the server it's working my site it's working.... everithing it's working, but one day I wanted to install an smtp server, and when I got to a test of telnet connection to the smtp server it worked once, and the second time it didn't work ... I don't know what happened but then it doesn't work anymore.

imenergie avatar Oct 04 '21 07:10 imenergie

sorry for my english:/

imenergie avatar Oct 04 '21 07:10 imenergie

i have ubuntu 20.04.. sorry i dont understand all you say

imenergie avatar Oct 04 '21 07:10 imenergie

mmm That is really strange, but it sounds like something is then indeed blocking the network flow on the server itself. My suggestion would be to try to setup an empty virtual machine maybe locally on your Windows PC to see if that fixes the connection issues. But other then that I think there is nothing I can try from my side, I have the exact same setup as you but then on Ubuntu 18.04.

glenndehaan avatar Oct 04 '21 07:10 glenndehaan

i search on google and i find this: sudo apt-get install telnetd now telnet it's work but not telnet 127.0.0.1 27015 same error

imenergie avatar Oct 04 '21 07:10 imenergie

anyway thx for trying to help me. I'll look to see what I can do, maybe I'll find a solution .. if I don't reinstall ubuntu: /

imenergie avatar Oct 04 '21 07:10 imenergie

i found the problem :)). The problem was that I didn't start the server with the ip given by the router ... it worked, the world could connect, but I couldn't connect to the rcon. I added + ip 192.168.100.3 + port 27015 and now everything is fine

imenergie avatar Oct 04 '21 08:10 imenergie

I have one more question. how to add in crontab to start at startup npm run webpack and npm run dev?

imenergie avatar Oct 04 '21 08:10 imenergie

Great to hear. No you can't use the crontab for that. The crontab is only used for running commands on specified times. What you what is a service file for systemd. With that you can setup a service that keeps de program running. An example on how to create such a file can be found here: https://www.shellhacks.com/systemd-service-file-example/

glenndehaan avatar Oct 04 '21 10:10 glenndehaan