IPB

Welcome Guest ( Log In | Register )

 

Outline · [ Standard ] · Linear+

 Functionality

JayBaen
post Jul 21 2003, 08:24 AM
Post #1


Lord


Group: Admin
Posts: 1,058
Joined: 13-June 03
From: Atlanta, GA
Member No.: 3



Liz,

General functionality seems to be working well. Let us know when you get the full /rcon up on the admin site within RJ-only.

JB

(i don't think they've come up with a way for Quake 3 engines to allow the console to be read from a web-interface, just replies from /rcon commands. We need to keep an eye out for that if it ever happens).


--------------------
Yellow Is Golden

DelphiGT

"There's nothing in this universe that can't be explained. Eventually." -- House, M.D.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Deacon
post Jul 21 2003, 02:52 PM
Post #2


Master


Group: -=RJ=-Clan
Posts: 458
Joined: 2-July 03
From: Baltimore, MD, USA, N.A., Earth, etc... etc...
Member No.: 29



What exactly are you trying to accomplish? You would be suprised to see how console sessions or even application sessions can be redirected through a web page.

I or some of my associates might have some ideas/solutions if you give us the requirements.

Deacon


--------------------

=============================================

E . ` ' / . F
Your tears fuel me.


Yellow is golden, but Red is quicker!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ruggiero
post Jul 21 2003, 03:22 PM
Post #3


Lord


Group: Admin
Posts: 1,177
Joined: 13-June 03
Member No.: 2



Ideally:

It would be nice to type something in-game with potentially a 'keyword' like 'rjsay' and have it print to a webpage. This ability could be triggered, hopefully, by remote rcon-say command.

Other possibilities: to log the console output to a webpage for a time-period of something like 30 seconds.

i.e.: someone remote rcon-says something to the people on the server. It would be nice for them to be able to read a response from the individuals in the server.

My idea is perhaps there is a 3-point solution: i.e. I rcon-say "hi deacon' to the server.

You, on the server, reply "who is bothering me?"

after 30 seconds (just an arbitrary time for you to type a response), I can read the output of the server log to look for your response.

once read, I can respond via rcon: "it's rugg"

you, on the server reply "don't bother me"

I read the console output in 30 seconds, and decide to join and beat the tar out of you.

---Possible?

Rugg


--------------------
Oobawanga wata chopay polah.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Deacon
post Jul 22 2003, 01:30 AM
Post #4


Master


Group: -=RJ=-Clan
Posts: 458
Joined: 2-July 03
From: Baltimore, MD, USA, N.A., Earth, etc... etc...
Member No.: 29



Possible?... beating the tar out of me.... no. That'll never happen. cool.gif

As for the other stuff, I'd have to think about that. If the server is running on Linux, which if it is running on the same server as the web site, it looks like it is, I would say play with the log files. Fork the log files to another file. (One is the actual file and the other... read on) Have an app parse the log file realtime and have that output displayed to the web page. I'm thinking that there would be no need for a delay.

If you build the parser to be smart enough, you can filter specific player conversations out of the log. You might even be able to display, in a separate window, the conversation of each player. You could have a general entry field for speaking back to the players.

Is this what you're looking for?

www.rjclan.com/rcon/message.html

=========================
= rcon say goes here
= (Probably a text entry field)
=========================
=Player 1 text displayed
=
=========================
=Player 2 text displayed
=
=========================
= General System log info here
=
= Deacon beat Ruggiero's butt again...
=
==<Deacon>= kicked from server
=
=========================


--------------------

=============================================

E . ` ' / . F
Your tears fuel me.


Yellow is golden, but Red is quicker!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ruggiero
post Jul 22 2003, 11:11 AM
Post #5


Lord


Group: Admin
Posts: 1,177
Joined: 13-June 03
Member No.: 2



The issue is that I think we can not install any other program on the host machine (as it is being hosted by a company). NOTHING in the engine... even remote rcon utilities.. can send or receive the console info as it is being generated?

--Ruggerissimo


--------------------
Oobawanga wata chopay polah.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
JayBaen
post Jul 22 2003, 12:00 PM
Post #6


Lord


Group: Admin
Posts: 1,058
Joined: 13-June 03
From: Atlanta, GA
Member No.: 3



I know that I have read something that specifically says the console output cannot be read 'real-time' in Quake 3 engine games, the best that can be gotten is the reply from the console to a command.

I'm looking to see if I can find that information.

JB

Deacon, however has a very interesting idea about how to parse just after real-time the info. That may work.


--------------------
Yellow Is Golden

DelphiGT

"There's nothing in this universe that can't be explained. Eventually." -- House, M.D.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Deacon
post Jul 22 2003, 12:01 PM
Post #7


Master


Group: -=RJ=-Clan
Posts: 458
Joined: 2-July 03
From: Baltimore, MD, USA, N.A., Earth, etc... etc...
Member No.: 29



Heh... I was at least hoping for some comment about my beautiful picture. How rude! sad.gif <EG>

I'm assuming that the hosting company concerns are security related. Let me think about how this can be done. BTW, are the Jedi Server and Web Server one in the same?

The wheels are turnin', but I'll need more info. Understanding that you may not want to announce all the info here, email me and let me know what kind of access you have. If the hosting company has a service description or the like, let me know.

Deacon


--------------------

=============================================

E . ` ' / . F
Your tears fuel me.


Yellow is golden, but Red is quicker!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
JayBaen
post Jul 22 2003, 12:06 PM
Post #8


Lord


Group: Admin
Posts: 1,058
Joined: 13-June 03
From: Atlanta, GA
Member No.: 3



Deacon,

We do have some options. I can easilly set up a server on my end that is on my equipment and connection with which we can experiment. If all goes well, I can speak to the hosting company concerning the ability to 'try the goods' on their server.

The web server and the clan server are completely different hosting companies.

Let me know what else you need.

JB


--------------------
Yellow Is Golden

DelphiGT

"There's nothing in this universe that can't be explained. Eventually." -- House, M.D.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
TheBeast
post Jul 22 2003, 03:01 PM
Post #9


Master


Group: -=RJ=-Clan
Posts: 438
Joined: 18-June 03
From: Quebec...woohoo !!!
Member No.: 12



Maybe I don't know what I'm talking about but... smile.gif

Why can't you use something like a console dump (condump *.txt)... that take the console and dump it into a text file. And that could be triggered by the /rcon... ok there's nothing like an example.

Rugg use the /rcon and says : Hello Beastie

And me on the server answers : Hi somebody who is talking to me through the web page !!!

but in the mean time, the web server calculate 30 sec or maybe 25 and after this time he makes a condump into a text file, he gets the text file from the JK2 server...finally, it could display it on the web page


--------------------
"Separately, woman and alcohol can be quite fun... but when you mix them, they can make you a dumbass"

- Red, That's 70's Show :)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
InfiniteWarrior
post Jul 26 2003, 02:42 PM
Post #10


Emperor


Group: Members
Posts: 733
Joined: 21-June 03
Member No.: 20



At the risk of being innappropriate (in that I am not RJ myself), I must ask how you managed to put those Live Stats on your web page. Is it a pre-written program or custom code?

At further risk of being a copycat (although imitation IS the sincerest form of flattery wink.gif ), I would very much like to do the same on a game site that is not yet live. If it's custom, I'll understand that you don't want to share. If pre-written, can you direct me to where it came from?

I would most appreciate it if Liz or someone else in the know could give me some direction on this by email. (Best Doc McCoy voice): "I'm a Designer; not a Network Engineer".

If that doesn't sway you, just consider that I am, after all, a Damsel in Distress wub.gif
- you manly men, you.

(Okay. Was that over the top?)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
TheLizardKing
post Jul 28 2003, 11:19 AM
Post #11


Secretive Rodian Lover Hater


Group: Admin
Posts: 93
Joined: 13-June 03
From: Orlando, Florida, United States of America
Member No.: 1



Well I used a previous script which did server stats and rewrote it entirely to fit my needs. Its a custom script but I could give it to you, its hacked and slashed a lot and not very pretty. The easiest part is sending the data and getting it back from the server. The hardest part is turning that raw data into usable text. A lot of regex's and crap like that.


--------------------
AS;LDJFA;LSKFADS
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
InfiniteWarrior
post Jul 28 2003, 07:14 PM
Post #12


Emperor


Group: Members
Posts: 733
Joined: 21-June 03
Member No.: 20



"Who's the man?!" I would most appreciate it and of course give you full, prominent credit -- provided I can get it to work. dry.gif

Any special requirements? I'm on Unix running Perl 5 and PHP4.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Deacon
post Jul 28 2003, 09:25 PM
Post #13


Master


Group: -=RJ=-Clan
Posts: 458
Joined: 2-July 03
From: Baltimore, MD, USA, N.A., Earth, etc... etc...
Member No.: 29



Jay,

I emailed Rug with the ideas I had... at least the partials. I'll be busy all this week and on vacation for the two weeks following. I'll try to throw some ideas together while I sip some cold beers on the beach. Hopefully I'll have more info when I get back.

Deacon

This week = mad.gif
The next two weeks = tongue.gif biggrin.gif laugh.gif smile.gif cool.gif


--------------------

=============================================

E . ` ' / . F
Your tears fuel me.


Yellow is golden, but Red is quicker!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
TheLizardKing
post Jul 28 2003, 11:52 PM
Post #14


Secretive Rodian Lover Hater


Group: Admin
Posts: 93
Joined: 13-June 03
From: Orlando, Florida, United States of America
Member No.: 1



just PHP4 and the ability to open sockets and I don't see why you wouldn't be able to so let me just clean it up a bit.


--------------------
AS;LDJFA;LSKFADS
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Topic Options
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:
 

Lo-Fi Version Time is now: 19th October 2019 - 10:29 AM