Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live score isn't working #2

Open
kyoto44 opened this issue Jan 31, 2019 · 28 comments
Open

Live score isn't working #2

kyoto44 opened this issue Jan 31, 2019 · 28 comments
Assignees
Labels

Comments

@kyoto44
Copy link

kyoto44 commented Jan 31, 2019

In web interface livescore doesn't works.

@glenndehaan
Copy link
Owner

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 glenndehaan self-assigned this Feb 1, 2019
@kyoto44
Copy link
Author

kyoto44 commented Feb 1, 2019

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

@glenndehaan
Copy link
Owner

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

@imenergie
Copy link

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

@imenergie
Copy link

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

@glenndehaan
Copy link
Owner

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?

@imenergie
Copy link

imenergie commented Oct 4, 2021

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

@imenergie
Copy link

imenergie commented Oct 4, 2021

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

@glenndehaan
Copy link
Owner

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
Copy link
Owner

@imenergie
Copy link

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

@imenergie
Copy link

imenergie commented Oct 4, 2021

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

@glenndehaan
Copy link
Owner

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
Copy link
Owner

Can you try this: telnet 127.0.0.1 27015

@imenergie
Copy link

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

@imenergie
Copy link

i dont understand :/

@glenndehaan
Copy link
Owner

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

@imenergie
Copy link

ok. thx for answare bro!

@glenndehaan
Copy link
Owner

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?

@imenergie
Copy link

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
Copy link

sorry for my english:/

@imenergie
Copy link

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

@glenndehaan
Copy link
Owner

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.

@imenergie
Copy link

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
Copy link

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
Copy link

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
Copy link

imenergie commented Oct 4, 2021

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

@glenndehaan
Copy link
Owner

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants