SRCDS Steam group


MOTD problem
#1
Hi,

My MOTD isn't working.. By which I mean two problems:

- MOTD won't scroll vertically.
- MOTD won't show when I have too much text.

This is the text I'd like in my MOTD:
Code:
<h2>Welcome to <br>Tommiiee's Surf + RPG + DM Server (NoBlock) !</h2>
<h3>SERVER RULES</h3>
<ol>
<li>Allowed languages are <b><u>Dutch</u></b> and <b><u>English</u></b>. Other languages are <b>NOT</b> allowed!</li>
<li><b>Cheating</b> is <b>NOT</b> allowed in ANY way! Cheating will result in a permanent ban.</li>
<li>Unless the server contains <b>more than 7/8 players</b> in total, <b>spawnkill</b> is <b>NOT</b> allowed!</li>
<li><b>Camping</b> for any time over 30 seconds is <b>NOT</b> allowed!</li>
<li><b>Teleport camping</b> is <b>NEVER</b> allowed! This will result in slay, after that a ban.</li>
<li><b>EXP farming</b> (e.g. EXP knifing) is <b>NEVER</b> allowed!</li>
<li><b>Micspamming</b> is <b>NOT</b> allowed!</li>
</ol>
<b>Note:</b> Admins <b>always</b> decide! Please respect their decision.<br>

<h3>Admin abuse or questions?</h3>
If you have a question, or like to join the team, please contact an Admin.<br>

If you encounter any Admin abuse, please make a screenshot,<br>
and contact another Admin. Current Admins:<br>
- T*AnTi-V!RuZz [NL]
- Technology

<table width="500px" border="1">
<tr>
<td colspan="2"><b><center>AVAILABLE MAPS ON THIS SERVER</center></b></td>
</tr>
<tr>
<td width="50%">surf_10x_final</td>
<td>surf_machine</td>
</tr>
<tr>
<td width="50%">surf_aim_akcolt</td>
<td>surf_machine4</td>
</tr>
<tr>
<td width="50%">surf_bigramp_v2b</td>
<td>surf_mansion_v2</td>
</tr>
<tr=>
<td width="50%">surf_faceoff</td>
<td>surf_microcatsinsanity</td>
</tr>
<tr>
<td width="50%">surf_gauntlet</td>
<td>surf_rebel_resistance_final11</td>
</tr>
<tr>
<td width="50%">surf_greatriver_fix</td>
<td>surf_rocketman_v2</td>
</tr>
<tr>
<td width="50%">surf_japan_ptad</td>
<td>surf_superduper_v1</td>
</tr>
<tr>
<td width="50%">surf_japan_v6</td>
<td>surf_thriller2</td>
</tr>
<tr>
<td width="50%">surf_lamo_final</td>
<td>surf_volcano_v3</td>
</tr>
<tr>
<td width="50%">surf_leet_m1</td>
<td>surf_world-war2</td>
</tr>
<tr>
<td width="50%">surf_legends</td>
</tr>
</table>

Somebody said I could make a .html file, and then refer motd.txt to it, but I forgot how to make that referral. I did it yesterday, but can't find the code anymore.

However, even when I use the method above, it still won't scroll, but the motd DOES show (with everything in it). I just can't see everything, cause I can't scroll Sad

Any ideas?
Reply
#2
Just upload the html page to a webhost and then inside your motd.txt just put a single line that is the URL to the website.
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply
#3
Yeah just use a free webhost like geocities or something.
realchamp Wrote:
Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Reply
#4
(02-28-2010, 01:56 AM)Mooga Wrote:  Just upload the html page to a webhost and then inside your motd.txt just put a single line that is the URL to the website.
Well I did, but it still doesn't fix one of my problems..

The one that scrolling doesn't work.. I do see the MOTD-scroll bar (and it does scroll), but nothing happens.. I still can only see half of my text.. Sad
Reply
#5
Might be because you are missing <html> tags and <body> tag?
Reply
#6
(02-28-2010, 12:07 AM)Tommiiee Wrote:  Hi,

My MOTD isn't working.. By which I mean two problems:

- MOTD won't scroll vertically.
- MOTD won't show when I have too much text.

This is the text I'd like in my MOTD:
Code:
<h2>Welcome to <br>Tommiiee's Surf + RPG + DM Server (NoBlock) !</h2>
<h3>SERVER RULES</h3>
<ol>
<li>Allowed languages are <b><u>Dutch</u></b> and <b><u>English</u></b>. Other languages are <b>NOT</b> allowed!</li>
<li><b>Cheating</b> is <b>NOT</b> allowed in ANY way! Cheating will result in a permanent ban.</li>
<li>Unless the server contains <b>more than 7/8 players</b> in total, <b>spawnkill</b> is <b>NOT</b> allowed!</li>
<li><b>Camping</b> for any time over 30 seconds is <b>NOT</b> allowed!</li>
<li><b>Teleport camping</b> is <b>NEVER</b> allowed! This will result in slay, after that a ban.</li>
<li><b>EXP farming</b> (e.g. EXP knifing) is <b>NEVER</b> allowed!</li>
<li><b>Micspamming</b> is <b>NOT</b> allowed!</li>
</ol>
<b>Note:</b> Admins <b>always</b> decide! Please respect their decision.<br>

<h3>Admin abuse or questions?</h3>
If you have a question, or like to join the team, please contact an Admin.<br>

If you encounter any Admin abuse, please make a screenshot,<br>
and contact another Admin. Current Admins:<br>
- T*AnTi-V!RuZz [NL]
- Technology

<table width="500px" border="1">
<tr>
<td colspan="2"><b><center>AVAILABLE MAPS ON THIS SERVER</center></b></td>
</tr>
<tr>
<td width="50%">surf_10x_final</td>
<td>surf_machine</td>
</tr>
<tr>
<td width="50%">surf_aim_akcolt</td>
<td>surf_machine4</td>
</tr>
<tr>
<td width="50%">surf_bigramp_v2b</td>
<td>surf_mansion_v2</td>
</tr>
<tr=>
<td width="50%">surf_faceoff</td>
<td>surf_microcatsinsanity</td>
</tr>
<tr>
<td width="50%">surf_gauntlet</td>
<td>surf_rebel_resistance_final11</td>
</tr>
<tr>
<td width="50%">surf_greatriver_fix</td>
<td>surf_rocketman_v2</td>
</tr>
<tr>
<td width="50%">surf_japan_ptad</td>
<td>surf_superduper_v1</td>
</tr>
<tr>
<td width="50%">surf_japan_v6</td>
<td>surf_thriller2</td>
</tr>
<tr>
<td width="50%">surf_lamo_final</td>
<td>surf_volcano_v3</td>
</tr>
<tr>
<td width="50%">surf_leet_m1</td>
<td>surf_world-war2</td>
</tr>
<tr>
<td width="50%">surf_legends</td>
</tr>
</table>

Somebody said I could make a .html file, and then refer motd.txt to it, but I forgot how to make that referral. I did it yesterday, but can't find the code anymore.

However, even when I use the method above, it still won't scroll, but the motd DOES show (with everything in it). I just can't see everything, cause I can't scroll Sad

Any ideas?

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MOTD</title>
</head>
<body>
<h2>Welcome to <br>Tommiiee's Surf + RPG + DM Server (NoBlock) !</h2>
<h3>SERVER RULES</h3>
<ol>
<li>Allowed languages are <b><u>Dutch</u></b> and <b><u>English</u></b>. Other languages are <b>NOT</b> allowed!</li>
<li><b>Cheating</b> is <b>NOT</b> allowed in ANY way! Cheating will result in a permanent ban.</li>
<li>Unless the server contains <b>more than 7/8 players</b> in total, <b>spawnkill</b> is <b>NOT</b> allowed!</li>
<li><b>Camping</b> for any time over 30 seconds is <b>NOT</b> allowed!</li>
<li><b>Teleport camping</b> is <b>NEVER</b> allowed! This will result in slay, after that a ban.</li>
<li><b>EXP farming</b> (e.g. EXP knifing) is <b>NEVER</b> allowed!</li>
<li><b>Micspamming</b> is <b>NOT</b> allowed!</li>
</ol>
<b>Note:</b> Admins <b>always</b> decide! Please respect their decision.<br>

<h3>Admin abuse or questions?</h3>
If you have a question, or like to join the team, please contact an Admin.<br>

If you encounter any Admin abuse, please make a screenshot,<br>
and contact another Admin. Current Admins:<br>
- T*AnTi-V!RuZz [NL]
- Technology

<table width="500px" border="1">
<tr>
<td colspan="2"><b><center>AVAILABLE MAPS ON THIS SERVER</center></b></td>
</tr>
<tr>
<td width="50%">surf_10x_final</td>
<td>surf_machine</td>
</tr>
<tr>
<td width="50%">surf_aim_akcolt</td>
<td>surf_machine4</td>
</tr>
<tr>
<td width="50%">surf_bigramp_v2b</td>
<td>surf_mansion_v2</td>
</tr>
<tr=>
<td width="50%">surf_faceoff</td>
<td>surf_microcatsinsanity</td>
</tr>
<tr>
<td width="50%">surf_gauntlet</td>
<td>surf_rebel_resistance_final11</td>
</tr>
<tr>
<td width="50%">surf_greatriver_fix</td>
<td>surf_rocketman_v2</td>
</tr>
<tr>
<td width="50%">surf_japan_ptad</td>
<td>surf_superduper_v1</td>
</tr>
<tr>
<td width="50%">surf_japan_v6</td>
<td>surf_thriller2</td>
</tr>
<tr>
<td width="50%">surf_lamo_final</td>
<td>surf_volcano_v3</td>
</tr>
<tr>
<td width="50%">surf_leet_m1</td>
<td>surf_world-war2</td>
</tr>
<tr>
<td width="50%">surf_legends</td>
</tr>
</table>

</body>
</html>
Reply
#7
Well I fixed it.. Smile

I came across a post on another forum which said the MOTD has a limit of 1500 chars. So I checked, and I was far above it..
So what I did was, I made a screenshot of the lower part of my text, and saved it as a JPG. Then I deleted the text in my motd, and simply added:
Code:
<img src="linktoimg"></img>
Works fine now Smile

Edit:
The solving of the broken scrolling:
Code:
<head>
<script type="text/javascript">
function scrollWindow()
{
window.scrollBy(100,500);
}
</script></head>
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)