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 ➜ hidden MS-DOS window

hidden MS-DOS window

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


Posted by Arsen   (44 posts)  Bio
Date Sat 05 Oct 2002 04:25 AM (UTC)

Amended on Sat 05 Oct 2002 04:28 AM (UTC) by Arsen

Message
Is there any way to hide an MS-DOS window, so that it doesnt show anywhere on the screen, but still have it running?
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 05 Oct 2002 10:51 PM (UTC)
Message
Well, you can minimize it. :)

If that isn't good enough, under many versions of Windows (eg. NT, XP, 2000) you can make it a "service" which runs in the background where you don't see it. See the services.txt help file that came with my download.

- Nick Gammon

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

Posted by Saryn   USA  (28 posts)  Bio
Date Reply #2 on Tue 12 Aug 2003 01:14 AM (UTC)
Message
Ok I am feeling stupid. I am running under XP Pro. When I do whats said in services.txt, all that happens is the mud gets booted. No services get installed or anything. Is there a different method?
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #3 on Tue 12 Aug 2003 06:38 AM (UTC)

Amended on Tue 12 Aug 2003 06:54 AM (UTC) by Nick Gammon

Message
It worked for me. I tried it under XP Home, which should be much the same. This is what I saw ...


C:\smaug>smaug /?
SMAUG 1.4a
Usage is :-
 SMAUG           - runs as a service, or stand-alone
 SMAUG /run      - runs stand-alone
 SMAUG /start    - starts this service
 SMAUG /stop     - stops this service
 SMAUG /install  - installs this service
 SMAUG /remove   - removes (un-installs) this service
 SMAUG /status   - displays the status of this service
 SMAUG /help     - displays this information

C:\smaug>smaug /install
SMAUG 1.4a
Service successfully installed

C:\smaug>smaug /start
SMAUG 1.4a
Start request sent to service

C:\smaug>smaug /status
SMAUG 1.4a
The service is running.

C:\smaug>exit


After doing that the window closed and I was able to connect to the character from MUSHclient. In other words, it was running as a service.

- Nick Gammon

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

Posted by Mao   (15 posts)  Bio
Date Reply #4 on Tue 12 Aug 2003 03:07 PM (UTC)
Message
When u do what nick said to do , you will be able to connect to the mud from any client , G-mud ,Zmud etc.....

Top

Posted by Saryn   USA  (28 posts)  Bio
Date Reply #5 on Tue 12 Aug 2003 11:54 PM (UTC)
Message
C:\SMAUG>sembia /?
LOADING SEMBIA V0.22b........
Tue Aug 12 19:53:23 2003 :: Booting Database
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Tue Aug 12 19:53:23 2003 :: [*****] BOOT: ---------------------[ Boot Log ]-----
---------------


I use sembia cause my .bat is renamed. when I try any command tied to it, it just boots the mud.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #6 on Thu 14 Aug 2003 08:12 AM (UTC)

Amended on Thu 14 Aug 2003 08:13 AM (UTC) by Nick Gammon

Message
Quote:

When u do what nick said to do , you will be able to connect to the mud from any client , G-mud ,Zmud etc.....


MUSHclient, even. ;)

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #7 on Thu 14 Aug 2003 08:14 AM (UTC)
Message
Quote:

when I try any command tied to it, it just boots the mud.


Try using gdb to work out why it is crashing.

- Nick Gammon

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

Posted by Saryn   USA  (28 posts)  Bio
Date Reply #8 on Fri 15 Aug 2003 01:59 AM (UTC)
Message
I apologize if I made myself unclear. When I type anything with sembia, ex:

sembia /?

sembia /install

sembia /start

(I use sembia because my smaug.bat is renamed to sembia.bat) the mud boots up, even if its already booted in another window or not.
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #9 on Fri 15 Aug 2003 03:03 AM (UTC)
Message
Those instructions were for the smaug.exe that is available for download here. If you compile under Cygwin, and then execute a batch file, you are probably using the "Unix" version of SMAUG, not the one with the WIN32 enhancements such as services.

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


23,914 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.