Author Topic: Feature: Print to the client via RCON  (Read 3652 times)

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Feature: Print to the client via RCON
« on: January 08, 2008, 02:03:04 PM »
In lieu of the RCON status text I put in to be ever actually implemented, would it be possible to make an RCON command to print to a certain client?

Code: [Select]
Cmd_AddCommand("clientprint", SV_ConClientPrint_f);?

Not too complicated... given I managed to do it mostly right myself.

This is better than trying to do the connectionless messages given that (1) they are not reliable, and (2) they have the IP and the print line as part of the message, wasting a line in the chat.

Herron

  • VM-68
  • Posts: 235
Re: Feature: Print to the client via RCON
« Reply #1 on: January 08, 2008, 02:31:02 PM »
can't you just stuff the echo command to a particular client?

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: Feature: Print to the client via RCON
« Reply #2 on: January 08, 2008, 02:32:53 PM »
He would have to code that into the server binary himself (like I had), and he's having problems compiling paintball2 on his server already.

Herron

  • VM-68
  • Posts: 235
Re: Feature: Print to the client via RCON
« Reply #3 on: January 08, 2008, 02:33:40 PM »
ah

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Feature: Print to the client via RCON
« Reply #4 on: January 08, 2008, 04:30:13 PM »
I got it to compile, actually. Just, rather, the game binary is not compatible with what I compile (both the x86 and the 64-bit version). However, if I compile it on my local Ubuntu boot, it is compatible, but it is compiled against different library versions (and I am not too interested in going about to get the library versions in sync).

jitspoe

  • Administrator
  • Autococker
  • Posts: 18801
Re: Feature: Print to the client via RCON
« Reply #5 on: January 08, 2008, 09:33:02 PM »
I got it to compile, actually. Just, rather, the game binary is not compatible with what I compile (both the x86 and the 64-bit version). However, if I compile it on my local Ubuntu boot, it is compatible, but it is compiled against different library versions (and I am not too interested in going about to get the library versions in sync).
Ah, the wonderful world of Linux, where nothing wants to work with anything else half most of the time.

http://dplogin.com/dplogin/featurevote/feature.php?id=10070

Cobo

  • Autococker
  • Posts: 1362
Re: Feature: Print to the client via RCON
« Reply #6 on: January 08, 2008, 10:25:30 PM »
Ah, the wonderful world of Linux, where nothing works
fixed.