Author Topic: Feature: RCON status text printing  (Read 7297 times)

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Feature: RCON status text printing
« on: January 05, 2008, 06:33:03 PM »
Print status text onto the screen (that sticks and that doesn't scroll/interfere with the chat) from RCON.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Feature: RCON status text printing
« Reply #1 on: January 05, 2008, 07:23:38 PM »
Can you elaborate a bit?  I'm not sure if what you're asking is possible.

Cobo

  • Autococker
  • Posts: 1362
Re: Feature: RCON status text printing
« Reply #2 on: January 05, 2008, 07:31:43 PM »
He's talking about having something like cprint but that doesnt outputs to the console.

I think its possible, with the svc_layout command, altought that would conflict with the "This map requires x teams" messages. As I recently learned from experience.

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Feature: RCON status text printing
« Reply #3 on: January 05, 2008, 08:08:09 PM »
Like Cobo said, something like svc_layout, but intrinsically simpler. Basically, it would be cool if I could overlay a dialog to a user over RCON. Even a funname enabled word-wrapped line of text with new line characters could work.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Feature: RCON status text printing
« Reply #4 on: January 05, 2008, 10:00:49 PM »
Just to clarify: this is for when you're using the paintball2 client, connected to a server, using the rcon status command for the server you're connected to?

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Feature: RCON status text printing
« Reply #5 on: January 05, 2008, 10:26:29 PM »
Indeed.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Feature: RCON status text printing
« Reply #6 on: January 05, 2008, 10:29:40 PM »
The rcon response comes in on a different channel than regular server messages.  It uses a connectionless print command.  Is that not enough to do what you need?

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Feature: RCON status text printing
« Reply #7 on: January 06, 2008, 12:59:48 AM »
Oh, I'm not talking about the response. I'm talking about something to show on clients.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Feature: RCON status text printing
« Reply #8 on: January 06, 2008, 06:37:34 PM »
I'm really confused about what you're requesting, then.

Cobo

  • Autococker
  • Posts: 1362
Re: Feature: RCON status text printing
« Reply #9 on: January 06, 2008, 07:32:08 PM »
You know how centerprint draws a string in the clients screen? Well, another thing that centerprint does is that it also prints the string in the console.
So what sk89q asks is a command like centerprint but that doesnt output to the console.
Maybe even more functionality than centerprint, like drawing a pic, etc.

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Feature: RCON status text printing
« Reply #10 on: January 06, 2008, 08:21:12 PM »
Just something like centerprint but instead stays on the side of the screen and does not disappear (or make other things disappear).

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Feature: RCON status text printing
« Reply #11 on: January 06, 2008, 11:46:36 PM »
Wait, so you're asking for something like the dialogue message box?  I thought you were wanting to do something with the "status" command executed via rcon.

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Feature: RCON status text printing
« Reply #12 on: January 07, 2008, 12:41:13 AM »
Oh no, I meant the former. I was a bit ambiguous. :P

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Feature: RCON status text printing
« Reply #13 on: January 07, 2008, 01:38:49 AM »
Does the dialog message box cover what you're requesting?

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Feature: RCON status text printing
« Reply #14 on: January 07, 2008, 03:10:46 AM »
Well, the RCON part is half of it.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Feature: RCON status text printing
« Reply #15 on: January 07, 2008, 03:23:48 AM »
So you want rcon responses put in some kind of message dialog?

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Feature: RCON status text printing
« Reply #16 on: January 07, 2008, 05:50:47 PM »
Example:

screendialog <user> <message>
screendialog 3 Blah blah blah, type !vote in console to vote

Then, for user #3, on his screen, on the side, "Blah blah blah, type !vote in console to vote" shows in a box.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Feature: RCON status text printing
« Reply #17 on: January 07, 2008, 06:45:13 PM »
Ok, I think I finally understand what you want now: something like the connectionless packet "print" command, except it puts the output in a dialogue box.

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

sk89q

  • Global Moderator
  • Autococker
  • Posts: 1049
Re: Feature: RCON status text printing
« Reply #18 on: January 07, 2008, 07:20:47 PM »
I also have to be able to  invoke it by RCON, because sending connectionless packets from a different server is not very reliable.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Feature: RCON status text printing
« Reply #19 on: January 07, 2008, 08:02:03 PM »
Could you spell out exactly what you're trying to do with this?  If you're invoking it from the same server, why does it need to use rcon?