pushrax / node-rcon

A generic RCON protocol client for node.js
MIT License
133 stars 31 forks source link

No Response #37

Closed ZariZaryab closed 2 years ago

ZariZaryab commented 2 years ago

It sends a command to server (possibly) but, there's no response in the console. I wonder even if it sends it or not. (no error though)

ZariZaryab commented 2 years ago

Just figured out, it shows Authentication message but, doesn't send any commands to server

pushrax commented 2 years ago

Please see the example here: https://github.com/pushrax/node-rcon/blob/master/examples/basic.js

It is important to wait until the auth event before sending commands.

ZariZaryab commented 2 years ago

I'm sorry but, I used the exact same templete. Can you explain a lil bit more? Guess I've to send a command like /rcon status to server, how'll I do that. Would mean much if you could help explaining

P.S. It shows Authenticated message in the console and sending help command message but, nothing else.