gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76775 Posts in 13501 Topics by 1651 Members - Latest Member: insider4ever April 26, 2024, 06:31:45 pm
*
gfx*gfx
gfx
WinMX World :: Forum  |  Third Party Stuff  |  Chat Servers  |  WCS - big MOTD bugs
gfx
gfxgfx
 

Author Topic: WCS - big MOTD bugs  (Read 2304 times)

0 Members and 1 Guest are viewing this topic.

NewB

  • Guest
WCS - big MOTD bugs
« on: June 12, 2005, 12:05:54 pm »
As reported earlier on the old km forum, there is some problem with using big motds.

When they reach a certain size, some random garbage appears after the last line of the motd.

I thought I'd try something.. I added #c255# to black out the garbage characters.. and instead, it seemed to clear it.

Some time later, I decided to add a couple lines.  I guess that pushed it over the edge.  The MOTD looked fine.  No garbage characters appended to it.  But as soon as I tried to login, wcs would crash.. tried it about 5 times and the same.  then I shortened the MOTD by a few lines and it was back to normal.  No garbage and login worked ok.

KM

  • Guest
WCS - big MOTD bugs
« Reply #1 on: June 12, 2005, 12:18:27 pm »
I know there are some issues with extremely long MOTD's, although to be perfectly honest i dont know why - WCS should have 20k of memory reserved simply for the task of storing the MOTD, so i dont know why the memory problems are occouring - no doubt i'll spot it sooner or later while i'm working on something completely unrelated.

Until then i was thinking of perhaps simply limiting the MOTD to something smaller, but I'm not sure that some hosts would like it so for now i'm going for the "if its too long it'll crash, if it doesn't crash you're fine" method of keeping peoples MOTD's short enough :-D

NewB

  • Guest
WCS - big MOTD bugs
« Reply #2 on: June 12, 2005, 07:38:21 pm »
It is nothing major.. and the solution is simple.

Just limit the MOTD to about 2k characters.

I only mentioned it because of the new 'tricks' i discovered, that adding #c255# to the end of the MOTD= line in the config can cause any garbage characters not to print.

Second, that this can't be relied on to add lots more text. since I sadly discovered that the channel becomes uncontrollable due to the inability to login with out crashing the room.

I had 13-15 users in the room when I discovered the latter problem..  Most were AFK, just parked to keep in contact and share their files..   it been almost 24 hours and only about half have found there way back. :\  

So this is just a heads up.. sharing what i learned the hard way, for others to watch the MOTD size and not go too much over 2k for now.

So keep up the good work KM.. debugging I am told takes 80% of the time, compared to 20% for the initial writing of code.  I think 90-10 is more realistic based on the projects I have worked with.

DJ

  • Guest
WCS - big MOTD bugs
« Reply #3 on: June 14, 2005, 11:30:07 pm »
I limited the one in WCS, but it u set the MOTD in 3.53 u can make it a bit longer and it will allow it.  Thats what I do and it works fine cause it is not in WCS config file.  Hope this helps some of you.

Anonymous

  • Guest
WCS - big MOTD bugs
« Reply #4 on: June 17, 2005, 02:22:47 am »
Quote from: DJ
I limited the one in WCS, but it u set the MOTD in 3.53 u can make it a bit longer and it will allow it.  Thats what I do and it works fine cause it is not in WCS config file.  Hope this helps some of you.


AFAIK, setting the MOTD with an online /setmotd command is limited to 341 characters..  In the config file, you can set an MOTD much larger  and it is these huge multi-line MOTDs that is at issue, not the mini-motds that are manually set online.  Although, KM says theoretically MOTD can be 10-15,000 characters, I find problems develop if it is much over 2300 characters.  But that is a good limit for me.. It fills the screen with very little scroll off.

WinMX World :: Forum  |  Third Party Stuff  |  Chat Servers  |  WCS - big MOTD bugs
 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What program is this site about?:
What year is it next year?:
What's the name of the site this forum belongs to?:

gfxgfx
gfx
©2005-2024 WinMXWorld.com. All Rights Reserved.
SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
Page created in 0.018 seconds with 20 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!