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 ➜ ROM ➜ Compiling the server ➜ Implementing Code

Implementing Code

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


Posted by DavidMB13   (16 posts)  Bio
Date Mon 04 Jun 2007 01:38 AM (UTC)
Message
How exactly does implementing new code work?
Do you have to recompile the .c files everytime you add new code? What is the process of succesfully adding new code to your MUD?
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Mon 04 Jun 2007 01:56 AM (UTC)
Message
1) Add new code to the files.
2) If it was only a .c file, do a make.
3) If it was also a .h file, do a make clean.
4) Reboot the MUD.

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

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #2 on Mon 04 Jun 2007 03:29 AM (UTC)
Message
The following is nominally related to SMAUG but also applies to MUDs (and in fact programming) in general:

http://www.gammon.com.au/smaug/howtocompile.htm

You might want to look through the sections "what is source", "what is compiling" and so forth. Nick's tutorial is quite good, I think.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
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.


16,880 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.