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 ➜ SMAUG coding ➜ adding code snipets to the windows smaug server

adding code snipets to the windows smaug server

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


Posted by Proto-6   Canada  (26 posts)  Bio
Date Tue 28 Jan 2003 09:34 PM (UTC)

Amended on Tue 28 Jan 2003 09:35 PM (UTC) by Proto-6

Message
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 :]
Top

Posted by Ithildin   USA  (262 posts)  Bio
Date Reply #1 on Wed 29 Jan 2003 04:37 PM (UTC)
Message
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
Top

Posted by Proto-6   Canada  (26 posts)  Bio
Date Reply #2 on Wed 29 Jan 2003 06:17 PM (UTC)

Amended on Wed 29 Jan 2003 07:44 PM (UTC) by Proto-6

Message
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
Top

Posted by Proto-6   Canada  (26 posts)  Bio
Date Reply #3 on Wed 29 Jan 2003 10:26 PM (UTC)
Message
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 :]
Top

Posted by Proto-6   Canada  (26 posts)  Bio
Date Reply #4 on Wed 29 Jan 2003 11:38 PM (UTC)
Message
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
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.


17,983 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.