Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-26 Thread Coldorak
Hi It's not really a tutorial, but I've made a pack to be able to get a dynamic and graphical motd I've modified my scripts so you have a config.php file, but all the text is still hardcoded. It will not be difficult to modify it though. You'll find the doc (in french and english) and a tar.gz

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Coldorak
Hi Using your howto and my own server scripts, I've made this MOTD: http://www.coldfire.info/tf2/motd/cold/motd2.html You'll recognize the background image from specialattack.net, while what was motd.png has been replaced by a dynamically generated image. The problem I have is that when I join

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Saint K.
, 2008 9:03 AM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) Hi Using your howto and my own server scripts, I've made this MOTD: http://www.coldfire.info/tf2/motd/cold/motd2.html You'll recognize the background image from

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Saint K.
, 2008 9:03 AM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) Hi Using your howto and my own server scripts, I've made this MOTD: http://www.coldfire.info/tf2/motd/cold/motd2.html You'll recognize the background image from

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Patrick Shelley
AFAIK is does cache the MOTD i've had this problem, but not with dynamic info - just static. I had to change the name of the file to get it to show the new version. As for where the MOTD is cached, i think someone mentioned that it uses IE offscreen and builds and renders a shot of the MOTD. I

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Patrick Shelley
Look forward to that Saint ! On 6/25/08, Saint K. [EMAIL PROTECTED] wrote: Hi, We're writing updates to the script to solve this problem. (To avoid the caching). We'll be posting it asap on the webpage, along with the server query codes. ___ To

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Coldorak
So I should make multiple copies of motd.txt and use them with map configs? I'll try that later today or tomorrow, thank you Cold On Wed, Jun 25, 2008 at 1:03 PM, Patrick Shelley [EMAIL PROTECTED] wrote: AFAIK is does cache the MOTD i've had this problem, but not with dynamic info - just

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Procyon
Coldorak wrote: It seems TF2 (client-side) caches the motd. To disable caching of your dynamic generated image, let the php script modify the http headers like this: header(Content-type: image/png); header(Expires: Mon, 26 Jul 1997 05:00:00 GMT); header(Last-Modified: . gmdate(D, d M Y H:i:s)

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Coldorak
Thanks, I'll add these headers in my script and will keep you updated On Wed, Jun 25, 2008 at 1:28 PM, Procyon [EMAIL PROTECTED] wrote: Coldorak wrote: It seems TF2 (client-side) caches the motd. To disable caching of your dynamic generated image, let the php script modify the http headers

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Ronny Schedel
If you use PHP as MOTD, then you don't need to change the headers. Coldorak wrote: It seems TF2 (client-side) caches the motd. To disable caching of your dynamic generated image, let the php script modify the http headers like this: header(Content-type: image/png); header(Expires: Mon, 26

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Coldorak
I use the html file from Saint K, but the motd.png image is replaced by motd.php which generates dynamically a png image I've added Procyon headers to my script, but as I'm at work I cannot test immediatly Cold On Wed, Jun 25, 2008 at 2:24 PM, Ronny Schedel [EMAIL PROTECTED] wrote: If you use

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Procyon
Ronny Schedel wrote: If you use PHP as MOTD, then you don't need to change the headers You do if you use php to generate an image and don't want the resulting image to be cached client-side ___ To unsubscribe, edit your list preferences, or view the

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Saint K.
To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) Ronny Schedel wrote: If you use PHP as MOTD, then you don't need to change the headers You do if you use php to generate an image and don't want the resulting image to be cached client-side

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Ronny Schedel
I have never seen a PHP page cached client side. The IE does not cache PHP client side. Ronny Schedel wrote: If you use PHP as MOTD, then you don't need to change the headers You do if you use php to generate an image and don't want the resulting image to be cached client-side

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Saint K.
To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) Ronny Schedel wrote: If you use PHP as MOTD, then you don't need to change the headers You do if you use php to generate an image and don't want the resulting image to be cached client-side

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Coldorak
motd2.html (it'll explain) htmlhead meta http-equiv=Pragma content=no-cache meta http-equiv=expires content=0 (...) body img src=http://www.coldfire.info/tf2/motd/cold/blackboard.png; id=bg / div id=contentimg src=http://www.coldfire.info/tf2/motd/cold/*motd.php*; //div /body/html Cold On

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Coldorak
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Procyon Sent: Wednesday, June 25, 2008 2:51 PM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) Ronny Schedel wrote: If you use PHP as MOTD, then you don't need

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Saint K.
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Procyon Sent: Wednesday, June 25, 2008 2:51 PM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) Ronny Schedel wrote: If you use PHP as MOTD, then you don't need

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Saint K.
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Procyon Sent: Wednesday, June 25, 2008 2:51 PM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) Ronny Schedel wrote: If you use PHP as MOTD, then you don't need

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Procyon
Ronny Schedel wrote: I have never seen a PHP page cached client side. The IE does not cache PHP client side. The server-side generated image is being cached by tf2 and the solution is to modify headers or altering the image url. ___ To unsubscribe,

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Ronny Schedel
What do you mean with server side generated image? We use PHP on a webserver to generate server status pictures and it updates fine without changing headers. Ronny Schedel wrote: I have never seen a PHP page cached client side. The IE does not cache PHP client side. The server-side

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Patrick Shelley
Fancy sharing how you do that Ronny? On 6/25/08, Ronny Schedel [EMAIL PROTECTED] wrote: What do you mean with server side generated image? We use PHP on a webserver to generate server status pictures and it updates fine without changing headers. Ronny Schedel wrote: I have never seen a

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Coldorak
Your server status pictures are displayed on your website or on your server's motd? On websites, no cache problem, but on motd, it seems the image is cached, so we have to find ways to no-cache them The same php functions are used to generate my motd image and the server status images on my

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread [WoF]Bucky?
It comes to the browser with the text/html mimetype. Most (sensible) browsers will cache it. thanks, bucky On Wed, Jun 25, 2008 at 7:24 AM, Ronny Schedel [EMAIL PROTECTED] wrote: If you use PHP as MOTD, then you don't need to change the headers. Coldorak wrote: It seems TF2 (client-side)

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Ronny Schedel
The main html of the MOTD is located on the game server (motd.txt). Inside the html are img tags to webserver located, php generated pictures. Example: img src=http://webserver.com/status.php We use normal PHP functions like imagejpg to ouput the images. I don't think this function sends

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Procyon
Ronny Schedel wrote: We use normal PHP functions like imagejpg to ouput the images. I don't think this function sends additional headers to prevent caching. I suppose neglecting to change content-type from text/html to image/jpeg could affect client-side caching behaviour. I set

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Ronny Schedel
The PHP image functions sends the correct header content types. Ronny Schedel wrote: We use normal PHP functions like imagejpg to ouput the images. I don't think this function sends additional headers to prevent caching. I suppose neglecting to change content-type from text/html to

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread gameadmin
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ronny Schedel Sent: 25 June 2008 17:14 To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) The PHP image functions sends the correct header content types. Ronny Schedel wrote: We use normal PHP

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Coldorak
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ronny Schedel Sent: 25 June 2008 17:14 To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) The PHP image functions sends the correct header content types. Ronny Schedel

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-25 Thread Patrick Shelley
A tutorial on using php for bringing in this dynamic info into the MOTD would be very grateful indeed. On 6/25/08, Coldorak [EMAIL PROTECTED] wrote: Yep, the reason is I want to use the font TF2 secondary. With the new headers in the image and a change to motd.html (changed to php with a

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-15 Thread Patrick Shelley
I'm gonna mess about with this later today - will let u know how i get on. Cheers Saint ! ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-14 Thread Saint K.
] On Behalf Of Saint K. Sent: Thursday, June 12, 2008 1:10 PM To: 'Half-Life dedicated Linux server mailing list'; 'Half-Life dedicated Win32 server mailing list' Subject: [hlds_linux] MOTD chalkboard how-to (TF2) Hi, We released a small how-to + example files on how to create a shared motd keeping

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-14 Thread Saint K.
] On Behalf Of Saint K. Sent: Thursday, June 12, 2008 1:10 PM To: 'Half-Life dedicated Linux server mailing list'; 'Half-Life dedicated Win32 server mailing list' Subject: [hlds_linux] MOTD chalkboard how-to (TF2) Hi, We released a small how-to + example files on how to create a shared motd keeping

[hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-12 Thread Saint K.
Hi, We released a small how-to + example files on how to create a shared motd keeping the original TF2 design intact. (This is usefull for hosts who have multiple servers reading the motd from one location). http://www.specialattack.net/node/39 Enjoy, Saint K.

[hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-12 Thread Saint K.
Hi, We released a small how-to + example files on how to create a shared motd keeping the original TF2 design intact. (This is usefull for hosts who have multiple servers reading the motd from one location). http://www.specialattack.net/node/39 Enjoy, Saint K.

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-12 Thread Patrick Shelley
Maybe background-repeat: repeat;* (x or y) *will help with scaling on diff resolutions? Just a thought ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-12 Thread Saint K.
PROTECTED] On Behalf Of Patrick Shelley Sent: Thursday, June 12, 2008 2:21 PM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) How do you bring the info in for the next map and time left (in your pic in green) - if you dont mind me asking

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-12 Thread Saint K.
PROTECTED] On Behalf Of Patrick Shelley Sent: Thursday, June 12, 2008 2:21 PM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) How do you bring the info in for the next map and time left (in your pic in green) - if you dont mind me asking

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-12 Thread Coldorak
PROTECTED] On Behalf Of Patrick Shelley Sent: Thursday, June 12, 2008 2:21 PM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) How do you bring the info in for the next map and time left (in your pic in green) - if you dont mind me

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-12 Thread Saint K.
Thanks, I'll pass it on! Saint K. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Coldorak Sent: Thursday, June 12, 2008 3:43 PM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) You *might* want

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-12 Thread Saint K.
Thanks, I'll pass it on! Saint K. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Coldorak Sent: Thursday, June 12, 2008 3:43 PM To: Half-Life dedicated Linux server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) You *might* want

Re: [hlds_linux] MOTD chalkboard how-to (TF2)

2008-06-12 Thread Patrick Shelley
server mailing list Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2) You *might* want to look at that: I already did some scripts for that (before knewing psychostats) http://forums.srcds.com/viewtopic/6446 You'll just have to change the final code, to return text instead of an image