SRCDS Steam group


motd.txt
#1
Hello,
I am running a counter strike source server on mandrake linux 10.1

My question is how do you get a picture to show up on the welcome screen. I have tried the picture as a .gif, .jpg, and .bmp. I have the image file in the same directory as the motd.txt file, and that is how it is referenced in the file. Do I have to give the whole path to it? (e.g. /home/counter/cstrike/pic.jpg) All the other "html" code shows up and there is a box with the red X in the courner, like it cant find the image file.
Any help would be great,
Matt
Reply
#2
You need to post the image to a web server somewhere and link to it that way.
Code:
<img src="http://yourdomain.com/image.jpg">
The motd.txt file is html, but srcds doesn't double as a web server.
Reply
#3
Can the same machine be the webserver too?
Reply
#4
Sure, just install one and run it. You still need to use a URL style method of locating the image though as I demonstrated.
Reply
#5
ou can PROBABLY try
Code:
<img src="file:///home/counter/cstrike/pic.jpg">
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#6
That URL would cause each client to look on their own computer for that file in that path. That's why you need a web server.
Reply
#7
m0gely Wrote:That URL would cause each client to look on their own computer for that file in that path. That's why you need a web server.

Agreed. Need a web server.
Clanplanet.co.uk Gaming Servers
Licensed Ventrilo Host - AA Honor Provider - Great Service & Prices
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)