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 ➜ Smaug 1.4 win32 IMC

Smaug 1.4 win32 IMC

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


Pages: 1 2  

Posted by Corey   (54 posts)  Bio
Date Mon 26 Nov 2007 08:20 PM (UTC)
Message
How do you activate IMC in Nick's port of this?
I tryed the -DUSE_IMC in the makefile, but the IMC
commands still don't work, all I get in the game after
a command is HUH? I even joined the IMC network on server01.

Corey


Top

Posted by ThomasWatts   USA  (66 posts)  Bio
Date Reply #1 on Mon 26 Nov 2007 10:06 PM (UTC)
Message
IMC always seemed a little broken to me in SMAUG1.4, you may instead want to look at SMAUGFuss or AfkMud.
Check here: http://www.gammon.com.au/forum/?id=8322&page=999
Top

Posted by Corey   (54 posts)  Bio
Date Reply #2 on Tue 27 Nov 2007 12:19 AM (UTC)
Message
ok, I got smaugfuss 1.8 and the imc works with very little work. but can't compile with borland c or msvc6. did/will nick do a port of this code to compile with these?

I did get it to compile with cygwin on win32, but it won't run in cygwin and only in a reg win32 prompt. so one env to run and one to develop in is a real pain. and it won't run as a service. any ideas?

Corey
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Tue 27 Nov 2007 02:05 AM (UTC)
Message
SmaugFUSS runs just fine in Cygwin.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Corey   (54 posts)  Bio
Date Reply #4 on Tue 27 Nov 2007 02:36 AM (UTC)
Message
just not as a service.
that was a good feature nick did.
Top

Posted by ThomasWatts   USA  (66 posts)  Bio
Date Reply #5 on Tue 27 Nov 2007 02:44 AM (UTC)
Message
Grab the services.c from Nick's SMAUG, and shoehorn it into SMAUGFuss. There are other changes needed by WIN32, but they are easy enough to find (look for '#ifdef WIN32'). As for cygwin, check out mingw32. It should compile with minimal changes. www.mingw.org
I myself can't say how hard it may be as I've always just ripped IMC and ICE out.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #6 on Tue 27 Nov 2007 03:33 AM (UTC)
Message
Quote:

I did get it to compile with cygwin on win32, but it won't run in cygwin and only in a reg win32 prompt. so one env to run and one to develop in is a real pain. and it won't run as a service. any ideas?


You should be able to run it as a daemon, which means it is just in the background. The only real problem with that is that services can start when you boot the PC, but without logging in, it depends how often you do that. Probably not that often if you are running a MUD 24/7.

- Nick Gammon

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

Posted by Corey   (54 posts)  Bio
Date Reply #7 on Tue 27 Nov 2007 04:37 AM (UTC)
Message
no, I mean nt services don't work in smaugfuss 1.8
if I type smaug /install, it just says, smaug {port}
or something. the services.c is there and compiles and links in, but don't work. i.e. HELP!

Corey
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #8 on Tue 27 Nov 2007 04:48 AM (UTC)
Message
What exactly are you trying to do? Why do you need to make it a service? If you want to keep it running, just run the startup script.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Corey   (54 posts)  Bio
Date Reply #9 on Tue 27 Nov 2007 05:04 AM (UTC)
Message
because I run winxp sp2.
how do I run the script?
all my cygwin seems to make is win32 exes.
Top

Posted by ThomasWatts   USA  (66 posts)  Bio
Date Reply #10 on Tue 27 Nov 2007 05:24 AM (UTC)
Message
I'm not sure cygwin defines WIN32. Try adding some printf statements to the main function in services.c it may not be calling the correct main (the non-win one is in comm.c)
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #11 on Tue 27 Nov 2007 05:27 AM (UTC)
Message
./startup &

That's how you run the script in Cygwin.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Corey   (54 posts)  Bio
Date Reply #12 on Tue 27 Nov 2007 05:39 AM (UTC)
Message
still it runs as a app and not a service.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #13 on Tue 27 Nov 2007 05:54 AM (UTC)
Message
Like I asked because, why do you wish to make it a service? "because I run winxp sp2" doesn't tell me anything.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Corey   (54 posts)  Bio
Date Reply #14 on Tue 27 Nov 2007 07:32 AM (UTC)
Message
so I don't see the app window on the desktop.
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.


63,140 views.

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

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.