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 ➜ Compiling the server ➜ Custom Races

Custom Races

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


Posted by Huido   (17 posts)  Bio
Date Tue 26 Jun 2001 06:59 AM (UTC)
Message
I am making a Dragon Ball Z based MUD and I'm using SMAUG as the base. I have just been editing current race files and changing the names to the custom race's names. But for some reason when I try to create a character only the original races show up as an option. And how do I make it stop asking for classes?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 26 Jun 2001 12:07 PM (UTC)
Message
Are you adding races or renaming existing ones? Renaming should work.

To get rid of questions during the connect routine you would need to change the way function "nanny" works and recompile.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Huido   (17 posts)  Bio
Date Reply #2 on Tue 26 Jun 2001 04:59 PM (UTC)
Message
I am renaming the existing races but they STILL don't show up on the list.

As for the answer to question 2, I am REALLY new to this so can you tell me how to edit this "Nanny" thing?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Wed 27 Jun 2001 08:29 AM (UTC)
Message
It is a function in comm.c, I think. You edit it with a text editor and compile it with a compiler.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Huido   (17 posts)  Bio
Date Reply #4 on Wed 27 Jun 2001 04:45 PM (UTC)
Message
What is the difference between editing and compiling? and where do I find all these things like comm.c and nanny?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #5 on Thu 28 Jun 2001 01:32 AM (UTC)

Amended on Tue 20 Nov 2007 04:22 AM (UTC) by Nick Gammon

Message
The program is produced by a process called "compiling" which converts to source code (in C) to machine code, suitable for the computer.

In the case of a large program like SMAUG, there are actually more than one source file, so the output from compiling each one is "linked" together to produce the file .exe file.

The files in question (comm.c etc.) are part of the SMAUG source download, at ftpgame.org.

You unzip (or untar) the file, into a directory, and in one of the subdirectories will be the source files.

You also need a compiler, Cygwin will work.

To edit the files you need a text editor.

However if all of this sounds very new to you, you are probably best of using the MUD "as is" rather than trying to make source code changes.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


20,419 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.