[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Running the server
. . -> [Subject]  Batch file?

Batch file?

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


Posted by Zac199   (12 posts)  [Biography] bio
Date Thu 06 Sep 2007 09:15 PM (UTC)
Message
Can any 1 give me a script to run and keep open a file. Its for the SmaugFUSS server.

lol id wright it myself but im not up to date on my batch file scripting >.>

the file i want to open and keep running is a .exe that opens the cmd, but it wont stay open...
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #1 on Thu 06 Sep 2007 09:50 PM (UTC)
Message
Are you using Cygwin? Smaug comes with a batch/startup file.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Zac199   (12 posts)  [Biography] bio
Date Reply #2 on Thu 06 Sep 2007 10:12 PM (UTC)
Message
Ya im using cygwin, but i cant figure out wat to type when im in /smaugfuss/src

lol
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #3 on Thu 06 Sep 2007 10:19 PM (UTC)
Message
nohup ./startup &

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Zac199   (12 posts)  [Biography] bio
Date Reply #4 on Thu 06 Sep 2007 10:24 PM (UTC)
Message
I type that and all it says is....

$ nohup: ignoring input and appending appending output to 'nohup.out'
nohup: Cannot run command './startup': no such file or directory
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #5 on Thu 06 Sep 2007 10:31 PM (UTC)
Message
You might not have csh installed; try installing it using the Cygwin setup program.

You might also want to check out this Cygwin guide Nick wrote:
http://www.gammon.com.au/smaug/installingcygwin.htm

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #6 on Thu 06 Sep 2007 10:38 PM (UTC)
Message
Double check you're in the right directory and that the startup file is there.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Zac199   (12 posts)  [Biography] bio
Date Reply #7 on Thu 06 Sep 2007 10:48 PM (UTC)
Message
Im reinstalling it

lawl gives me some time to do my homework rofl
[Go to top] top

Posted by Conner   USA  (381 posts)  [Biography] bio
Date Reply #8 on Thu 06 Sep 2007 10:53 PM (UTC)
Message
You might also double check that you have permission to execute the file in question.

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org
[Go to top] top

Posted by Zac199   (12 posts)  [Biography] bio
Date Reply #9 on Thu 06 Sep 2007 10:55 PM (UTC)
Message
<< only user to comp, aka admin. And yes vista bugs the hell out of me when ever i need permision lmao. SO ya thats not the prob, but ill double check anyways.
[Go to top] top

Posted by Zac199   (12 posts)  [Biography] bio
Date Reply #10 on Thu 06 Sep 2007 11:19 PM (UTC)

Amended on Thu 06 Sep 2007 11:21 PM (UTC) by Zac199

Message
Now apparently my cygwin1.dll is f\/|(ked

lmao
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #11 on Thu 06 Sep 2007 11:20 PM (UTC)
Message
Never heard of smaug1.dll before.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #12 on Thu 06 Sep 2007 11:21 PM (UTC)
Message
Quote:
And yes vista bugs the hell out of me when ever i need permision lmao. SO ya thats not the prob,

Cygwin permissions != Vista permissions

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Zac199   (12 posts)  [Biography] bio
Date Reply #13 on Thu 06 Sep 2007 11:23 PM (UTC)
Message
rofl i corrected myself its cygwin1.dll sorry :P
[Go to top] top

Posted by Zac199   (12 posts)  [Biography] bio
Date Reply #14 on Fri 07 Sep 2007 10:39 AM (UTC)
Message
Nvm fixed it :) ty for ur help.

just had to take the cygwin1.dll from the C:/cygwin/bin

and put it in C:/Windows , replacing the old one
[Go to top] 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.


32,173 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]