opensubscriber
   Find in this group all groups
 
Unknown more information…

h : hlds_linux@list.valvesoftware.com 26 June 2008 • 7:30PM -0400

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

REPLY TO AUTHOR
 
REPLY TO GROUP




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 with all the needed
files on my server's blog: http://www.coldfire.info/?p=64
Feel free to ask for help replying to this "thread".
The motd as provided has about, rules and contact "blocks", as well as a
mapcycle bloc, displaying in color current map and nextmap. If the
current/nextmap is not in the mapcycle, then the map name is written in the
legend. And the code has comments, so it should not be difficult to modify
and adapt to your needs if you have basic php-gd knowledge.

Cold

On Wed, Jun 25, 2008 at 9:22 PM, Patrick Shelley <sidesteal@gmai...>
wrote:

> A tutorial on using php for bringing in this dynamic info into the MOTD
> would be very grateful indeed.
>
> On 6/25/08, Coldorak <coldorak.tf2@gmai...> 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 always changing link to the image), no more cache problem
> >
> > motd2.html changed to motd.php, and the img link is now: <img src="
> > http://www.coldfire.info/tf2/motd/cold/motd_image.php?<?php echo time();
> > ?>"
> > /> so the link is never the same
> > And the no-cache headers in motd_image.php (with returns a png image),
> all
> > works fine
> >
> > Thanks to all for the help
> >
> > For those interested by all this stuff, feel free to ask
> >
> > Cold
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.