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 ➜ Running the server ➜ Weird Exit Text

Weird Exit Text

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


Posted by Mapleleaf   Canada  (13 posts)  Bio
Date Tue 11 Oct 2005 11:00 PM (UTC)
Message
I wanted to make it so certain races can't be certain classes, so I followed the instructions on Darkoth's site, which were basically to add the check

if (pc_race_table[ch->race].class_mult[iClass] == 0)
continue;

into the void nanny function of comm.c.

I did this, and it had the desired result of letting me exclude classes for a race by setting that class multiplier to 0.

However, my exits now look like this:

A Room in Mud School
You are in a square white room. The walls are all blank, with no windows.
Light fluoresces off the ceiling in soft white tones. Of course, there is a
sign on the wall. The exits are west and south. A small plaque is on the
wall.

[Exits: Exsouth/Ex Exwest/Ex]
(White Aura) An acolyte of Zump welcomes you to mud school.

I don't see why it would cause this, but I went back and restored the original comm.c, and it worked normally. Can someone help me out here?
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Tue 11 Oct 2005 11:04 PM (UTC)
Message
Something in nanny shouldn't really affect the way exits are displayed. What else did you add?

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

Posted by Mapleleaf   Canada  (13 posts)  Bio
Date Reply #2 on Tue 11 Oct 2005 11:27 PM (UTC)
Message
I'm pretty sure that I never changed anything else, since this was all I was working on today... couldn't find it though, so I just restored the old file and redid the change, and it works now. I must have slipped and typoed something somewhere else and not noticed. Sorry about that!
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.


13,850 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.