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.
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?
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.
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.
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!
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)
nope, I thought of that. process dies when I close the window. wish I was better at C to see why it won't use services. might go back to the smaug 1.4a nick did where the services worked and the IMC didn't.
ARG! I just want one good fully working system!
well, I seem to like the Smaugfuss the best. even if it don't run as a nt service, I can run it as a app. the area files are easier to understand for me. I wonder who is maintaining the code, I can complain loudly to them to fix the nt services code. or learn C and fix it myself.
I compaired smaug 1.4a comm.c with this code and can't see the error. anyone here want to take a stab at it for me?