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
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
, 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
, 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
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
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
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
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)
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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)
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
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
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
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
-
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
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
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
] 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
] 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
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.
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.
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
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
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
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
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
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
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
42 matches
Mail list logo