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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  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] Refresh page


Pages: 1 2  

Posted by Corey   (54 posts)  [Biography] 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


[Go to top] top

Posted by ThomasWatts   USA  (66 posts)  [Biography] 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
[Go to top] top

Posted by Corey   (54 posts)  [Biography] 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
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] top

Posted by Corey   (54 posts)  [Biography] 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.
[Go to top] top

Posted by ThomasWatts   USA  (66 posts)  [Biography] 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.
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] 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
[Go to top] top

Posted by Corey   (54 posts)  [Biography] 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
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] top

Posted by Corey   (54 posts)  [Biography] 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.
[Go to top] top

Posted by ThomasWatts   USA  (66 posts)  [Biography] 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)
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] top

Posted by Corey   (54 posts)  [Biography] bio
Date Reply #12 on Tue 27 Nov 2007 05:39 AM (UTC)
Message
still it runs as a app and not a service.
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] 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
[Go to top] top

Posted by Corey   (54 posts)  [Biography] 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.
[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.


53,503 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] 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]