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 ➜ Problems with the startup script with Cygwin

Problems with the startup script with Cygwin

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


Posted by Creeper386   USA  (62 posts)  Bio
Date Sat 29 Jun 2002 11:07 PM (UTC)
Message
Okay. I have Windows98, a newer version of Cygwin not sure which one exactly... But I am wondering how to get the startup script to work.

I've tried in cygwin from the src directory tcsh startup and csh startup and neither seem to work. Don't know whats wrong with it. Could any give me something alittle more deeper then just use tcsh or csh, or perhaps your know whats wrong?

I have also tried ./startup but it says something about /bin/csh The is no such directory or similar.


Creep

Thank you.
Top

Posted by Neves   USA  (78 posts)  Bio
Date Reply #1 on Sun 30 Jun 2002 02:49 AM (UTC)
Message
First in /dist/src/ you have to type make, where it will compile the code, after that type cd ../area/ to get to the /dist/area/ directory, then type ../src/smaug and it should start up the MUD

-Mark Calloway
Top

Posted by Creeper386   USA  (62 posts)  Bio
Date Reply #2 on Sun 30 Jun 2002 08:12 PM (UTC)
Message
Yes. I know you can do that. I have a batch file that I can do that with. What I'm trying to do is used the start up script, which lets everything restart without a batch file and everything. I'd just prefer using things that were made for using with smaug so if something isn't working I'd have a better chance of figuring out why.

Thanks for that bit though,

Creep
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Tue 02 Jul 2002 11:51 PM (UTC)
Message
Typing:


tcsh startup &


worked for me. If that doesn't work check you installed tcsh when you installed Cygwin.

- Nick Gammon

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

Posted by Creeper386   USA  (62 posts)  Bio
Date Reply #4 on Wed 03 Jul 2002 01:24 PM (UTC)
Message
Okay. I downloaded tcsh now and so I have that command...

I've tried it by typing in tcsh startup & into the prompt in the src directory where the startup is and it returns with something about "limit" being a bad command or cannot find the command. Then consistantly after that windows pops up saying smaug has done an illegal function and must be closed.

Would you happen to know what going on because I'm fairly lost here on this. It isn't a greatly big deal as my batch file seems to work nicely but I just want to see if I can get it working while I have the time.


Creep
Thanks
Top

Posted by Chris L   USA  (57 posts)  Bio
Date Reply #5 on Wed 03 Jul 2002 04:27 PM (UTC)
Message
k im not sure about cygwin and if it will require this but i noticed that when i edited or opened the startup file it saved as a dos file, so i got a unix/dos converter, switched it over and worked fine. im not sure if be like that for cygwin though.. worth shot maybe though
Top

Posted by Creeper386   USA  (62 posts)  Bio
Date Reply #6 on Wed 03 Jul 2002 07:57 PM (UTC)
Message
Well... I've tried replacing the startup file with the one from the distribution and that didn't work. Still the same problem. It seems to not like the part at the begining about limiting the stack. And I tried just to see what would happen and commented that out it ran but I'm still getting a problem with Smaug having an error and needing to be shut down. So...

Is there something I'm missing here? My smaug.exe runs without any problems otherwise...

Thanks for the help so far.

Creep
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #7 on Sun 07 Jul 2002 10:37 PM (UTC)
Message
I got the "limit" error too, and ignored it.

As for the smaug problem, you mean it runs OK when you do it manually but not from the startup script? Sounds strange, it is basically doing the same thing.

- Nick Gammon

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

Posted by Creeper386   USA  (62 posts)  Bio
Date Reply #8 on Sun 07 Jul 2002 10:53 PM (UTC)
Message
I get the limit error and it continues loading everything in the background but I get an windows pop up of an internal error with Smaug.exe but I don't get that when running with it manually or with my own batch file, which I find really confusing... And going to go through again seeing if I missed anything obvious but if not I feel it's a utterly stupid problem within Windows...(I have to often remember the list of top reasons Windows is NOT a virus so as not too offend those who make the virus that do what they are supposed to do)

Creep

Thanks yet again.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #9 on Sun 07 Jul 2002 11:00 PM (UTC)
Message
What is the internal error exactly?

- Nick Gammon

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

Posted by Creeper386   USA  (62 posts)  Bio
Date Reply #10 on Tue 09 Jul 2002 05:38 PM (UTC)
Message
This is whats in the details box... Don't know if it would help because it seems to work otherwise...

SMAUG caused an invalid page fault in
module CYGWIN1.DLL at 0167:61060962.
Registers:
EAX=0000008c CS=0167 EIP=61060962 EFLGS=00010287
EBX=00000000 SS=016f ESP=009ef824 EBP=009ef83c
ECX=d0cae1d0 DS=016f ESI=00018b00 FS=5f67
EDX=00000003 ES=016f EDI=0000008b GS=0000
Bytes at CS:EIP:
8b 0c 98 85 c9 74 29 8b 51 34 83 c4 f4 0f bf 42
Stack dump:
00018b00 00000001 009ef85c 61004486 00000002 00000001 009ef85c 610044ad 00000000 00018b00 0000008b 6100f728 610a43f0 bffc9490 009ef88c 6100f773
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #11 on Thu 01 Aug 2002 03:08 AM (UTC)
Message
Check the startup script changes to the area directory.

- 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.


30,923 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.