Go Back   Halflife2.net Forums > Multiplayer Games > Counter-Strike: Source



Reply
 
Thread Tools
  #1  
Old 10-08-2005, 06:21 AM
BeaverMon's Avatar
BeaverMon BeaverMon is offline
Fast Headcrab
 
Join Date: Dec 2004
Location: Mars. Taking out the "squids" of Q4
Posts: 674
MOTD Limit Issue

/me changes title to "MOTD(Message of The Day) Character Limit Issue" (if I could that is)
What is the # of max characters currently for motd.txt? This is a question I keep forgetting to ask. Need to know this.

This also affects mapname.txt files.
__________________
"I'm Combine Overlord, you're just a headcrab" ~CptStern
"Sir you have the right to remain "OWNED BITCH!"" ~TollBooth Willie
"Do not insult my insults. " ~ Erestheux
AMD 64 Athlon 3000+ | nVidia GeForce FX5700LE | Intergraded, High-End, Gaming Soundcard | 768MB of RAM | DVD-ROM/CD-RW Combo Drive | TV@Anywhere (Master) TV/FM Tuner Card
Reply With Quote
  #2  
Old 11-08-2005, 11:44 PM
BeaverMon's Avatar
BeaverMon BeaverMon is offline
Fast Headcrab
 
Join Date: Dec 2004
Location: Mars. Taking out the "squids" of Q4
Posts: 674
I guess nobody knows, huh?
__________________
"I'm Combine Overlord, you're just a headcrab" ~CptStern
"Sir you have the right to remain "OWNED BITCH!"" ~TollBooth Willie
"Do not insult my insults. " ~ Erestheux
AMD 64 Athlon 3000+ | nVidia GeForce FX5700LE | Intergraded, High-End, Gaming Soundcard | 768MB of RAM | DVD-ROM/CD-RW Combo Drive | TV@Anywhere (Master) TV/FM Tuner Card
Reply With Quote
  #3  
Old 12-08-2005, 01:48 AM
Drkpwn3r Drkpwn3r is offline
Headcrab
 
Join Date: Jan 2005
Steam ID: themouseninja
Posts: 113
I use an ****** to allow scrolling on the motd. Just thought I'd go ahead and mention that, could help you out.

As for the limit, I have no idea.
Reply With Quote
  #4  
Old 12-08-2005, 03:11 AM
BeaverMon's Avatar
BeaverMon BeaverMon is offline
Fast Headcrab
 
Join Date: Dec 2004
Location: Mars. Taking out the "squids" of Q4
Posts: 674
How do I set it up to use an ******? I only know basic HTML.
__________________
"I'm Combine Overlord, you're just a headcrab" ~CptStern
"Sir you have the right to remain "OWNED BITCH!"" ~TollBooth Willie
"Do not insult my insults. " ~ Erestheux
AMD 64 Athlon 3000+ | nVidia GeForce FX5700LE | Intergraded, High-End, Gaming Soundcard | 768MB of RAM | DVD-ROM/CD-RW Combo Drive | TV@Anywhere (Master) TV/FM Tuner Card
Reply With Quote
  #5  
Old 12-08-2005, 03:29 AM
Drkpwn3r Drkpwn3r is offline
Headcrab
 
Join Date: Jan 2005
Steam ID: themouseninja
Posts: 113
Here is what my motd file basically has.

<****** src="http://somesite.com/cssmotd.htm" height="100%" width="100%" scrolling="auto"></******>

If you plan to use the code, it's best to have the motd hosted somewhere for the inline frame (******) to read from, just so you know.
Reply With Quote
  #6  
Old 12-08-2005, 03:41 AM
BeaverMon's Avatar
BeaverMon BeaverMon is offline
Fast Headcrab
 
Join Date: Dec 2004
Location: Mars. Taking out the "squids" of Q4
Posts: 674
I searched in Google. No results for cssmotd.htm.
I guess you mean "hosted", is going on a REAL server; instead of "my bot server".
__________________
"I'm Combine Overlord, you're just a headcrab" ~CptStern
"Sir you have the right to remain "OWNED BITCH!"" ~TollBooth Willie
"Do not insult my insults. " ~ Erestheux
AMD 64 Athlon 3000+ | nVidia GeForce FX5700LE | Intergraded, High-End, Gaming Soundcard | 768MB of RAM | DVD-ROM/CD-RW Combo Drive | TV@Anywhere (Master) TV/FM Tuner Card
Reply With Quote
  #7  
Old 12-08-2005, 03:46 AM
Drkpwn3r Drkpwn3r is offline
Headcrab
 
Join Date: Jan 2005
Steam ID: themouseninja
Posts: 113
Hosted as in say a web host. You could easily have it (the motd html file) hosted almost anywhere really.
You may be able to host the motd.htm file from the main server directory, I've never tried it, so I wouldn't know.

The only reason I used cssmotd.htm was because that's the file name I use, you could really name it anything with an html extension.

I'd be willing to allow you to toss it onto my host if you'd like, completely your decision though. I'll be on AIM and MSN if you'd like me to.

Last edited by Drkpwn3r; 12-08-2005 at 03:53 AM.
Reply With Quote
  #8  
Old 12-08-2005, 03:53 AM
BeaverMon's Avatar
BeaverMon BeaverMon is offline
Fast Headcrab
 
Join Date: Dec 2004
Location: Mars. Taking out the "squids" of Q4
Posts: 674
All I have is motd.txt. No motd.html.
__________________
"I'm Combine Overlord, you're just a headcrab" ~CptStern
"Sir you have the right to remain "OWNED BITCH!"" ~TollBooth Willie
"Do not insult my insults. " ~ Erestheux
AMD 64 Athlon 3000+ | nVidia GeForce FX5700LE | Intergraded, High-End, Gaming Soundcard | 768MB of RAM | DVD-ROM/CD-RW Combo Drive | TV@Anywhere (Master) TV/FM Tuner Card
Reply With Quote
  #9  
Old 12-08-2005, 03:56 AM
Drkpwn3r Drkpwn3r is offline
Headcrab
 
Join Date: Jan 2005
Steam ID: themouseninja
Posts: 113
I understand that, lol. Ok, I'll explain it all, here goes.
The motd.txt file contains the ******, the ****** will then read from the src (source) when loaded in-game, but it'll only work right if the motd file that the ****** that it's trying to read from is an html file.

If you want to see an example, I can link you to my motd file.

EDIT: Here's the link to my motd file -> http://www.drkstudios.com/cssmotd.htm
Reply With Quote
  #10  
Old 12-08-2005, 04:08 AM
BeaverMon's Avatar
BeaverMon BeaverMon is offline
Fast Headcrab
 
Join Date: Dec 2004
Location: Mars. Taking out the "squids" of Q4
Posts: 674
Ok, let me get this straight;
1. Upload motd.txt file, then rename it as motd.htm
2. Add that ****** thing to the "offline" motd, and set it to point it to motd.htm.
3. Launch server. It will load motd.htm

Right?
__________________
"I'm Combine Overlord, you're just a headcrab" ~CptStern
"Sir you have the right to remain "OWNED BITCH!"" ~TollBooth Willie
"Do not insult my insults. " ~ Erestheux
AMD 64 Athlon 3000+ | nVidia GeForce FX5700LE | Intergraded, High-End, Gaming Soundcard | 768MB of RAM | DVD-ROM/CD-RW Combo Drive | TV@Anywhere (Master) TV/FM Tuner Card
Reply With Quote
  #11  
Old 12-08-2005, 04:11 AM
Drkpwn3r Drkpwn3r is offline
Headcrab
 
Join Date: Jan 2005
Steam ID: themouseninja
Posts: 113
You got it.
Reply With Quote
  #12  
Old 12-08-2005, 04:24 AM
BeaverMon's Avatar
BeaverMon BeaverMon is offline
Fast Headcrab
 
Join Date: Dec 2004
Location: Mars. Taking out the "squids" of Q4
Posts: 674
Where do I add the ****** line in motd.txt?
This is my current motd.txt;
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/1999/REC-html40...1224/loose.dtd">
<html>
<head>
<title>Cstrike MOTD</title>
<style type="text/css">
pre {
font-family:Verdana,Tahoma;
color:#FFB000;
	 }
body {
background:#000000;
margin-left:8px;
margin-top:0px;
}
a {
	 text-decoration:	underline;
}
a:link {
	color: #FFFFFF;
	}
a:visited {
	color: #FFFFFF;
	}
a:active	{
	color: #FFFFFF;
	}
a:hover {
	color: #FFFFFF;
	text-decoration:	underline;
	}
</style>
</head>
<body scroll="yes">
<pre>
MOTD Message Here
</pre>
</body>
</html>
__________________
"I'm Combine Overlord, you're just a headcrab" ~CptStern
"Sir you have the right to remain "OWNED BITCH!"" ~TollBooth Willie
"Do not insult my insults. " ~ Erestheux
AMD 64 Athlon 3000+ | nVidia GeForce FX5700LE | Intergraded, High-End, Gaming Soundcard | 768MB of RAM | DVD-ROM/CD-RW Combo Drive | TV@Anywhere (Master) TV/FM Tuner Card
Reply With Quote
  #13  
Old 12-08-2005, 04:39 AM
Drkpwn3r Drkpwn3r is offline
Headcrab
 
Join Date: Jan 2005
Steam ID: themouseninja
Posts: 113
You can add it right between the pre tags, or you could remove the pre tags & place the ****** there, either will do the same thing.
Reply With Quote
  #14  
Old 12-08-2005, 06:07 AM
BeaverMon's Avatar
BeaverMon BeaverMon is offline
Fast Headcrab
 
Join Date: Dec 2004
Location: Mars. Taking out the "squids" of Q4
Posts: 674
It works. Thank you very much.
__________________
"I'm Combine Overlord, you're just a headcrab" ~CptStern
"Sir you have the right to remain "OWNED BITCH!"" ~TollBooth Willie
"Do not insult my insults. " ~ Erestheux
AMD 64 Athlon 3000+ | nVidia GeForce FX5700LE | Intergraded, High-End, Gaming Soundcard | 768MB of RAM | DVD-ROM/CD-RW Combo Drive | TV@Anywhere (Master) TV/FM Tuner Card
Reply With Quote
  #15  
Old 12-08-2005, 06:30 AM
Drkpwn3r Drkpwn3r is offline
Headcrab
 
Join Date: Jan 2005
Steam ID: themouseninja
Posts: 113
No problem, always glad to help.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +1. The time now is 08:50 AM.


Powered by: vBulletin Copyright Jelsoft © 2000 - 2005