Another problem is that some engine commands use Con_Print for only
part of their output, so when you run the command though RCon half of
it goes through RCon and half of it is printed to the server console.
I think an example of this is the find command.

On 5/16/05, dackz <[EMAIL PROTECTED]> wrote:
> Is it possible that you guys (Valve) could add Con_Printf() to the SDK
> for use with server plugins? Or perhaps make Msg() work over RCON?
>
> I'm trying to make concommands that work over rcon, but Msg() only
> prints to the server console when called from rcon. I was looking at
> what functions the server called when I did "status" at the server
> console and "rcon status" remotely, and it called Con_Printf() directly
> when called from rcon, while it called Msg() when I called it from
> server console.
>
> Now I could just use IVEngineServer::ServerCommand("echo text\n"), but
> then I can't use special characters like tabs and whatnot. For what I
> was doing in particular, which was an extended status command for a
> remote PHP script, I needed to seperate values by characters that you
> couldn't put in your player name or server name. I ended up having to
> seperate values by newlines, and players by double newlines, which was a
> little annoying.
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to