• Welcome, Guest. Please login.
 
December 15, 2025, 03:02:53 AM

News:

MX Bikes beta19 available! :)


Remote Admin

Started by PiBoSo, October 27, 2020, 04:46:37 PM

Previous topic - Next topic

PiBoSo

It is possible to connect to a dedicated server to send admin commands.
The feature is off by default and must be enabled:
http://forum.mx-bikes.com/index.php?topic=197.0
Only 1 client can connect to the server.

Communication is made with UDP sockets and strings terminated with "\n".

Send "CONNECT" followed by the connection password ( empty string if no password ).
Reply:
OK -> connected
FULL -> another client is already connected
WRONGPASSWORD -> wrong password

Data format is "CMD" followed by an incremental message ID and then the command.
The possible commands are:
"QUIT": closes the server
"MSG": followed by the chat message, that also allows to send commands ( see the dedicated server documentation for more info: http://forum.mx-bikes.com/index.php?topic=197.0 )

The server will send an ACK followed by the message ID for each CMD received.

Send "KEEPALIVE" every 15 seconds to keep the connection active.
The server sends "ALIVE" to report that the connection is active.

Send "DISCONNECT" to correctly close the connection.


Example source code can be downloaded at this link: http://www.kartracing-pro.com/downloads/remoteadmin.c

Pepiti

Hello,
Is it possible to get player messages via cmd or some other way?

I would like to create some extra commands on my server :)

Thanks!

Ch4rl0

Private Girls From Your Town - No Selfie - Anonymous Adult Dating
https://PrivateLadyEscorts.com
 
Private Lady In Your City - Anonymous Casual Dating - No Selfie
https://PrivateLadyEscorts.com - Best Private Lady Chat - No Selfie - Anonymous Casual Dating -   Local Meet Private Lady

aslan

Womens In Your Town - No Selfie - Anonymous Adult Dating
https://SecreLocal.com
 
Girls In Your City - Anonymous Sex Dating - No Verify
https://PrivateLadyEscorts.com - Free Local Dating - No Selfie - Anonymous Casual Dating -   Secret Local Dating