Questions tagged [rcon]

RCON is a Rust remote console for interacting with servers. Use this tag for questions about using RCON.

10 questions
2
votes
1 answer

Calculate packet size for RCON?

Hullo! Using mbr-rcon, im able to send commands and get the output using the following code (I ommited the create connection part for simplicity): command = "list"; rconclient.send(command, { onSuccess: function(response){}, …
lolc
  • 115
  • 10
2
votes
0 answers

Manage Rcon remote web rust server

I am trying to develop a web application that allows me to type commands in the Rcon console via the web Browser. The problem is that every time I send a command I get “[Rcon] Failed to parse message, incorrect format”. Error message rcon File log…
dav1c1n
  • 29
  • 2
1
vote
0 answers

WinError 10038 and maybe poorly implemented task loop timeouts? (discord.py stuff too) Noob at coding here

I am just over 3 weeks into teaching myself python so bear with me :') I have a task loop that runs every 5 seconds indefinitely while the bot is running, the bot runs off the "RED discord bot" framework that uses modules called "cogs" which is what…
Vertyco
  • 11
  • 2
0
votes
0 answers

RCON Get live data from gameserver

I'm currently creating my own admin panel to control my Rust gameserver. Now I want to display real time data from the server like the player list, without polling the data in a fixed interval. Currently I'm using RCON over websockets, so it would…
dewey
  • 809
  • 2
  • 16
  • 47
0
votes
0 answers

cant run function, because signal only works in main thread of the main interpreter?

I'm trying to build an API using Flask. If the endpoint /register/string:token is retrieved and the token is in a defined list, the function register_user(username) should be executed. This function sends a command to another server using the rcon…
lukasschr
  • 25
  • 4
0
votes
0 answers

How to import module.exports => params in 'srcds-rcon'

I don't can import npm package in my folder project. Docs say ` let Rcon = require('srcds-rcon'); let rcon = Rcon({ address: '192.168.1.10', password: 'test' }); Docs link - https://www.npmjs.com/package/srcds-rcon/v/2.2.0 I can't import…
impuLssse
  • 1
  • 1
0
votes
2 answers

How to execute code after callback function has finished?

I need to know how do I execute line(s) of code after every callback function has ended. I'm using rcon package to send a rcon command to a Half-Life Dedicated Server(HLDS) hosting Counter Strike 1.6 server and get the response back. Problem is…
0
votes
0 answers

Hey I need to run that script in python3 to connect with discord but this script actually works in python2 so i cant access discord with it

import socket import time host = "192.168.1.12" #your servers ip port = 28960 #your servers port rcon_password = "rconhere" #your servers rcon password command = "say" #command messages = [ 'message1', 'message2', 'message3', 'message5']…
Ain Gaming
  • 11
  • 2
0
votes
2 answers

Having trouble iterating through a dictionary from a config and formatting it to print

I've started teaching myself Python about three weeks ago and i've been working on an RCON cog for my Ark server for Red discord bot. I have a config i am trying to format so that i can use a command to easily view all the settings for the…
Vertyco
  • 11
  • 2
-1
votes
1 answer

Rust (the survival game) RCON password alternative

So I have a webapp that manages my rust servers. I need to provide the rcon password in order to use rcon. But for that I need to store the password in my database. Is there an alternative way to make a connection to rcon, like using OAuth tokens or…
dewey
  • 809
  • 2
  • 16
  • 47