Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Running the server ➜ Bugs during boot (Planes.dat and IMC-help stuff)

Bugs during boot (Planes.dat and IMC-help stuff)

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2 

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #15 on Fri 09 Feb 2007 10:08 PM (UTC)
Message
No problem. :-)

Let's try to isolate the problem first. So, let's check that your download was in fact bad, then we can worry about fixing it. If the download was correct, we have other problems to worry about. :-)

Here is how big my archive is:
[david@thebalrog:~/incoming]$ ls -l smaug17fuss.tgz                               [15:03]
-rw-r--r-- 1 david david 2648997 2007-01-12 15:27 smaug17fuss.tgz


So it's 2.6mb. If I remember correctly, the incorrect download was only getting some 1.something megabytes.


One thing to try is to clear your browser caches before trying to redownload.

If that still doesn't work, try downloading this:
http://binarygoblin.stanford.edu/~david/tmp/smaug17fuss.zip

Once you have it, rename it to a .tgz file and extract as normal. (And please let me know so that I can remove the file.)

The hope is to give you an alternate download of the same file, so that whatever is confusing the download from fussproject.org might not be confusing it from my server.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Zagreus   (8 posts)  Bio
Date Reply #16 on Fri 09 Feb 2007 10:56 PM (UTC)
Message
Yeah, it was definately a bad download. Mine was a megabyte short. I didn't think about trying to clear the cache, but considering I downloaded it from two different computers using two different browsers at two different times, I don't think that'd make such a huge difference. I'll go ahead and do it just for kicks to see what happens though.

Got the zip from your site. It appears to be working great, thanks.

One minor issue is for some reason it's being built as smaug.exe now instead of just smaug, so the startup script doesn't work. But that's just a quick edit to startup to add the .exe to the end.


So, it looks like it's running! No skill bugs whatsoever. Still that EOF on the IMC stuff, but that's probably just cause there are no settings for it to read yet or something. I should have just disabled IMC in the makefile.


Also, The more and the more I use vim, the more and more I love it! Thanks for showing it to me! (using gvim now).
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #17 on Sat 10 Feb 2007 02:49 AM (UTC)
Message
I really wonder why it is that the download didn't work right. Samson, if you're reading this, do you have any ideas?

Glad to hear that you were able to get the file from me, though. And I'm very reassured that there were no bugs! (Nick -- any idea what is wrong with your archive?)

I think smaug.exe is an artifact of using Cygwin. I think it does that so that you can double-click the exes and make Windows happy, but I'm not sure.

About IMC: I think you are correct about that. I have never used IMC, though, so I don't really know how to fix it.

I'm glad that you like vim: another convert!! :-P
Seriously though, it's a nice editor. At some point, I'll be uploading my .vimrc file; you might want to take a look. It has lots and lots of settings that, while my personal preference, might be interesting because
(a) you might not have known about the setting
(b) you might not have thought about the setting yet
My .vimrc file was constructed over years and years, mainly be following other people's examples and searching wide and far on the net to figure out how to do a particular feature. So if I can save others a little time, why not? :)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #18 on Sat 10 Feb 2007 03:21 AM (UTC)

Amended on Sat 10 Feb 2007 03:25 AM (UTC) by Nick Gammon

Message
Quote:

ls -l smaug17fuss.tgz [15:03]
-rw-r--r-- 1 david david 2648997 2007-01-12 15:27 smaug17fuss.tgz

(Nick -- any idea what is wrong with your archive?)


First, let's try to clear up which is the "correct" version. According to the SMAUGfuss web site:


Smaug FUSS 1.7

Description:
The SMAUG 1.7 FUSS Codebase. This is the main distribution for the SMAUG FUSS Project code.

Author: Community Submitted by: Samson
File Size: 1452 KB Date Added: Sep 17, 2006


You can see from that comment, that the official size of the smaug17fuss.tgz download is 1452 Kb, not over 2 Mb.

If I log onto my web server this is what I see:


$ ls -l smaug17fuss.tgz
-rw-r--r--    1 username   groupname   1514674 Jul 20  2006 smaug17fuss.tgz


$ md5sum smaug17fuss.tgz
1fb2022148f2e3876bcc30144c4ab8d1  smaug17fuss.tgz


I tried to unzip this same file (that is, my local copy which has the same md5sum) using Winzip, and it unzipped without any errors.

The interesting thing however is that I re-downloaded smaug17fuss.tgz from www.fussproject.org, and this time the file size was: 1,497,827 bytes.

Also when I try to open that with WinZip I got the error message "Invalid compressed data - unable to inflate".

So it seems to me that the copy on fussproject is actually the corrupt one.

If you download the copy from this site (the www.gammon.com.au site), and get a file size of 1514674 and get an md5sum of 1fb2022148f2e3876bcc30144c4ab8d1, you should have a good copy.

David, I'm not sure what your 2,648,997 byte file is. :)

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #19 on Sat 10 Feb 2007 07:33 AM (UTC)
Message
The 2.5 mb file is what I got from the FUSS project site. My point is that the site incorrectly reports the size, causing some download managers to fail to download the whole thing, thus giving you only a partial file -- which of course will not extract correctly.

The FUSS project file isn't corrupt, but the reported size is wrong, causing some programs to only download the first 1.5 mb of the file.

Here is what I see when I log onto Arthmoor, and look in the codebases directory:

[darkstone@crondonia codebases]$ ls -la
total 21292
drwx---r-x  2 root root    4096 Jan 30 20:56 .
drwxr-xr-x 30 root root    4096 Feb  9 21:45 ..
-rw-r--r--  1 root root 1441006 Nov 14  2003 1stmud40c.tgz
-rw-r--r--  1 root root  967831 Dec 13 20:41 ack431.tgz
-rw-r--r--  1 root root 1949041 Dec 13 20:41 afkmud177.tgz
-rw-r--r--  1 root root 1674484 Jan 30 20:56 afkmud20.tgz
-rw-r--r--  1 root root 3309864 Jul 15  2006 dsouls21.tgz
-rw-r--r--  1 root root 1077583 May 23  2004 envy22.tgz
-rw-r--r--  1 root root 1523750 May  2  2006 lpuni.tgz
-rw-r--r--  1 root root 1758460 May 23  2004 mcloud2.tgz
-rw-r--r--  1 root root  696248 Jul 14  2006 merc22.tgz
-rw-r--r--  1 root root 1128634 May 23  2004 quickmud.tgz
-rw-r--r--  1 root root 1008309 Sep  4  2004 rom24b6.tgz
-rw-r--r--  1 root root 2649642 Jan 30 20:56 smaug17fuss.tgz

As you can see, the Jan 30 version of SMAUGfuss is indeed 2.6 mb. And that file decompresses without a problem.

One thing of note is that version 1.7a has in fact had several iterations, so you can have several file sizes because the contents are not exactly the same.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #20 on Sat 10 Feb 2007 07:30 PM (UTC)

Amended on Sat 10 Feb 2007 07:48 PM (UTC) by Nick Gammon

Message
How did you get that listing? Do you have an account on that server?

I have tried again to download the file, from the link given on this page:

http://www.fussproject.org/index.php?a=files

Each time, and this is on different PCs, Mac, and Linux, I get around 1.4 Mb.

Now maybe there is a directory on the server that has a correct copy, but my point is that attempting to download, using the supplied link, and using different operating systems, does not serve up a 2+ Mb file.

In addition to that is the comment on that page: "Submitted by: Samson File Size: 1452 KB Date Added: Sep 17, 2006".

Given that, if you download the file, and it is around 1452 Kb, you believe you have the correct file.

Quote:

My point is that the site incorrectly reports the size, causing some download managers to fail to download the whole thing ...


If the site is misleading download managers, effectively it is serving up a corrupted version of the file. Regardless of what file is actually on the server, if it cannot supply the correct information to programs that request to download it, then it is not "supplying" a good copy.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #21 on Sat 10 Feb 2007 08:05 PM (UTC)
Message
Quote:
How did you get that listing? Do you have an account on that server?
Yes, Darkstone is hosted with Arthmoor.

Quote:
If the site is misleading download managers, effectively it is serving up a corrupted version of the file. Regardless of what file is actually on the server, if it cannot supply the correct information to programs that request to download it, then it is not "supplying" a good copy.
Well, yes. :-) I think it's broken. I'm not sure why the comment says it's 1.4mb, and I'm not sure why it doesn't serve the whole thing.

Interestingly enough:

When I download it using Lynx, I get the whole file.
But using Firefox, it only gets 1.4mb -- a corrupted file.

I guess that Lynx chooses to ignore the file size supplied by HTTP headers, and just reads until the server closes the connection.

I'm going to file a bug report of sorts on the FUSS project website, since I think this is a major issue...

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #22 on Sat 10 Feb 2007 08:20 PM (UTC)
Message
Interestingly, I had a not dissimilar problem a while back:

http://www.gammon.com.au/forum/bbshowpost.php?id=7356

This was not directly to do with downloading files, but conceptually similar. Note the quote at the end:

"Also, see RFC 2616:"


8.1.2.1 Negotiation

...

In order to remain persistent, all messages on the connection MUST have a self-defined message length (i.e., one not defined by closure of the connection), as described in section 4.4.


Thus, the download managers that are using the supplied message length (and not awaiting closure of the connection) are behaving correctly, and those that wait for the connection to close are relying on good luck.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #23 on Sat 10 Feb 2007 08:49 PM (UTC)
Message
Samson has just fixed this:
http://www.fussproject.org/index.php?a=topic&t=1108

And yes, you are right, Lynx is technically not doing the right thing; it should be respecting the headers and not trusting the server to close the connection.

Don't you love it when the "right thing" is wrong. :-)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #24 on Sat 10 Feb 2007 11:27 PM (UTC)
Message
I have updated my copy on this page:

http://www.gammon.com.au/downloads/dlsmaug.htm

There is also the MD5 sum from the copy I recently obtained from the www.fussproject.org site, and the exact file size.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


104,389 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.