adding code snipets to the windows smaug server

Posted by Proto-6 on Tue 28 Jan 2003 09:34 PM — 5 posts, 20,017 views.

Canada #0
First pleas forgivr my lack of spelling experties
ok now my question is how do I add code snippets to my windows baced sever/mud I downloaded it from this website and it seems to only contain word files I can run the mud fine and hve been working on it allready but ther is some editing I would like to do to improve my mud. If any one knows how to add the snipets pleas tell me :]
Amended on Tue 28 Jan 2003 09:35 PM by Proto-6
USA #1
Well first of all, you need to download the source code. It seems like you just downloaded the server part. Second you need to have some knowledge of C++. I know I'm not the greatest coder and hardly even a novice but you just have to find where to put the snippets and how to take the other things you don't need out. If you look long enough you'll start to figure everything out. That's pretty much what I did. Then recompile your source because if you only just put the snippet in and don't recompile it won't work. So good luck and have fun.

Ithildin
Canada #2
hay thax dude that will help a lot it saves me from ripping ll my hair out.

I'v tryed cygwin to do the compileing but I keep getting this mesage

Make smaug
make[1]: Entering directory '/dist/src'
gcc -c -o -g3 -Wall -Wuninitialized -DSMAUG act_comm.c
make[1]: *** [act_comm.o] error 255
make[1]: Leaving directory '/dist/src'
make: *** [all] Error 2


and if i remove all the .o files it gose on to a simaler message but with smaug in the brackets any sagestions
Amended on Wed 29 Jan 2003 07:44 PM by Proto-6
Canada #3
woooo hooo I fixit it thanx to some help from hear :]

But now I have a new problem :[

make
make smaug
make [1]: entering direcktoty '/smaug/src'
gcc -c -o -g3 -wall -wuninitialized -dsmaug act_comm.c
In file included form act_comm.c:32:
mud.h:270:10: #include expcts "filename" or <filename>
mud.h:271:10: #include expcts "filename" or <filename>
in fine included from act_comm.c:32:
mud.h:706:10:parse erroe before "sub_timer_do_abort"
act_comm.c: in function 'is_profane':
act_comm.c:3346: warning: Inplicit declaration of function 're_exec'
make[1]: *** [act.comm.o] error 1
make[1]: leaving directory '/smaug/src'
make: *** [all] error 2
ill try to get it myself befor a anser commes but if I cant ill need some help ill reply again if I find it thoe :]
Canada #4
wooohoo I fixed that one too this is getting ezer and ezer I think next time ill experiment a bit then poset if I cant fix it wow this is so cool