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 ➜ Compiling the server ➜ SWR Windows Help

SWR Windows Help

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


Posted by Holu Tatsumi   (1 post)  Bio
Date Fri 02 Aug 2002 12:48 AM (UTC)
Message
Hi. i downloaded your SWR Windows version, and Source files. I placed all the files in the Smaug directory, and put the .exe there too. Ive also tried placing the .exe file in a SWR Directory. Ive tried anything i could htink of....

It begins to compile just fine, but when i place everything in the SMAUG directory, i end up getting this:
Thu Aug 01 20:45:18 2002 :: [*****] FILE: $ LINE: 0
Thu Aug 01 20:45:18 2002 :: [*****] BUG: Fread_number: bad format. (
Thu Aug 01 20:45:18 2002 :: [*****] FILE: $ LINE: 0
Thu Aug 01 20:45:18 2002 :: [*****] BUG: Fread_string_no_hash: EOF
Thu Aug 01 20:45:18 2002 :: [*****] FILE: $ LINE: 0
Thu Aug 01 20:45:18 2002 :: [*****] BUG: fread_letter: EOF encountered on read.

Can you give me any help?

-Travis "Holu" Cook
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 02 Aug 2002 05:51 AM (UTC)
Message
I wouldn't put "everything" in the SMAUG directory. There is a definite structure to where things should go, without it you might well get crashes.

Normally you run smaug from the area directory. eg.

cd ../area
../src/smaug

- Nick Gammon

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

Posted by Calhoun4   USA  (4 posts)  Bio
Date Reply #2 on Wed 07 Aug 2002 05:08 AM (UTC)
Message
I have recently downloaded the SMAUG for windows. Which I have been looking for forever!!! I have allways loved the original SWR 1.0 and I now need to know how to properly install the SWR1.0.full.tar.gz otherwise the FULL SWR1.0 package, into the SMAUG server for windows. Any help would be greatly appreciated.

AIM:AgentDark14 or UsA FR33K ICQ:(not up)
Top

Posted by Calhoun4   USA  (4 posts)  Bio
Date Reply #3 on Wed 07 Aug 2002 05:30 AM (UTC)
Message
I dont know which is easier, but either the star wars src on your site or the full package would be fine with me (how to install them) this would be so much easier if i had a unix shell , i know hoe to compile on that but i have a broadband and i dont have the money for a shell that supports the MUD. But i would much rather know how to install the full gzip as it has the area files and the clans/ships/etc. thank you

AIM:AgentDark14 or UsA FR33K ICQ:(not up)
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #4 on Fri 09 Aug 2002 02:20 AM (UTC)
Message
I'm not sure the SWR on my site has all the area files. Where did you find the other one?

I would just unzip the whole package, make sure you have the .exe there and run it, from the area directory.

- Nick Gammon

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

Posted by Calhoun4   USA  (4 posts)  Bio
Date Reply #5 on Fri 09 Aug 2002 04:25 AM (UTC)

Amended on Fri 09 Aug 2002 04:56 AM (UTC) by Calhoun4

Message
I found the soucre/area files ect. in a zip for unix or linux. The site is http://www.geocities.com/gendi_uk/download.html . It has all of the area files, source files, classes, etc. for the mud. if you wouldn't mind checking it out so i can run it on here, I just recently tried what you said and it didnt work, the limbo.are file is broken for some reason, i tried replacing it and that didnt help, when i unzip my star wars file and put the .exe in it, it runs in a loop saying:
[*****] [*****] FILE: limbo.are LINE: 1386

AIM:AgentDark14 or UsA FR33K ICQ:(not up)
Top

Posted by KinseyFS   USA  (2 posts)  Bio
Date Reply #6 on Thu 16 Oct 2003 11:27 PM (UTC)
Message
Any ideas on what causes this error?


Thu Oct 16 19:25:04 2003 :: [*****] FILE: $ LINE: 0
Thu Oct 16 19:25:04 2003 :: [*****] BUG: Fread_number: bad format. (
Thu Oct 16 19:25:04 2003 :: [*****] FILE: $ LINE: 0
Thu Oct 16 19:25:04 2003 :: [*****] BUG: Fread_string_no_hash: EOF
Thu Oct 16 19:25:04 2003 :: [*****] FILE: $ LINE: 0
Thu Oct 16 19:25:04 2003 :: [*****] BUG: fread_letter: EOF encountered on read.

I have everything where it is supposed to go, and I spent a good chuck of time debugging my area files. It loads all the areas, but then starts to display this error continuously. I have to actually intervene to get it to stop.
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #7 on Sat 18 Oct 2003 10:42 PM (UTC)
Message
No hash on the first line of the area file? Sounds like a bad file. Which area file is it? What are the first few lines of it?

- Nick Gammon

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

Posted by Samson   USA  (683 posts)  Bio
Date Reply #8 on Sun 19 Oct 2003 03:01 AM (UTC)
Message
So far as I know, the SWR1 FUSS package on www.mudplanet.org/files.php has a complete set of the 1.0 stock areas. And since all of the Smaug bugs in it have been corrected, it would probably make for a better candidate than the copy you found.

When I checked it to be sure it would compile, I also test booted it. Came up fine, so at least it would be somewhere to start. Perhaps Nick might even be willing to compile a new windows exe file using it :P
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #9 on Mon 20 Oct 2003 05:10 AM (UTC)
Message
I'm trying to avoid releasing pre-compiled versions these days, as Cygwin is becoming more reliable, and more and more people have access to cable or ADSL which means that the time taken to install Cygwin isn't too bad.

- Nick Gammon

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

Posted by Samson   USA  (683 posts)  Bio
Date Reply #10 on Tue 21 Oct 2003 08:27 PM (UTC)
Message
Well, yes. Cygwin is indeed very reliable. In fact I do alot of my own primary compiling in it now while I'm at work with nothing better to do between support calls. However, I had access to the company network to download it, and it still took a long time to do so.

The basic point being that the precompiled versions of Smaug 1.4a and SWR 1.0 are horribly out of date. There are also still plenty of people who have dial-up and nothing else who would like to at least have the benifit of updated code.

With this in mind, what would be needed to make that working exe? Just a cygwin compile with the resulting exe file?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #11 on Tue 21 Oct 2003 09:45 PM (UTC)
Message
For a precompiled exe to work, you basically need to make sure that the destination system has all the libraries installed.

However, for the cygwin exe to run, the user needs cygwin anyways, to have all the Unix libraries (that the program was compiled with in the first place.)

If your goal is to avoid having to download Cygwin, you need to compile in normal win32 mode, which means having a win32 port of your MUD code.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

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

Posted by Samson   USA  (683 posts)  Bio
Date Reply #12 on Wed 22 Oct 2003 09:42 PM (UTC)
Message
Heh, it's not me who wants to compile in Win32. I have my own Linux servers sitting 10 feet away for me to do that on :P

I was just trying to lend a hand to those who can't afford to run servers or who can't afford ( or can't get - DSL and Cable aren't available everywhere ) broadband.

But even I have my limits. I'm not going to pay for a Windows compiler when I can accomplish what I want in Cygwin. So if people want more updated EXE files, someone else will have to step up and provide them :)
Top

Posted by KinseyFS   USA  (2 posts)  Bio
Date Reply #13 on Thu 23 Oct 2003 09:52 PM (UTC)
Message
Turned out it was the startup src file. I was using the SWR FUSS. I replaced the file with one from a differant source and it works just fine.


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.


35,256 views.

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.