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 ➜ Races not showing...

Races not showing...

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


Posted by Nick Cash   USA  (626 posts)  Bio
Date Tue 18 May 2004 12:15 AM (UTC)
Message
The races are not showing during login. I've heard this is a classic problem with smaug. Also, there are only 3 races, Uru-Shima, Germeni, Hestian. None of them show in the login sequence. I'm helpping my brother make a mud for a school project, and this needs to be fixed soon. Haste is much appreciated!

The annual thorn in your side,
Odis

~Nick Cash
http://www.nick-cash.com
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Tue 18 May 2004 01:33 AM (UTC)
Message
Did you change MAX_CLASS and MAX_RACE in the code? See this post:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4179&page=999999

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

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #2 on Tue 18 May 2004 03:55 AM (UTC)
Message
Yes, they have been changed.

#define MAX_CLASS                  5
#define MAX_NPC_CLASS              5
#define MAX_RACE                   3
#define MAX_NPC_RACE               3

The classes work fine. Its just, none of the races show at all. Maybe because the race numbers go 0, 1, 2 instead of 1, 2, 3, however, I think that is TOTALLY irrelevent. Perhaps it is due to class restriction, where all of the edited races are restricted from all available races and thus do not show up.

~Nick Cash
http://www.nick-cash.com
Top

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #3 on Tue 18 May 2004 04:24 AM (UTC)
Message
Ok, well, I removed class_restriction from the entire codebase. Now for races I get Uru-Shima,t he first race loaded as 0. Thats it.

~Nick Cash
http://www.nick-cash.com
Top

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #4 on Wed 19 May 2004 10:00 PM (UTC)
Message
Any other thoughts?

~Nick Cash
http://www.nick-cash.com
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #5 on Thu 20 May 2004 03:06 AM (UTC)
Message
Can you post your first race, and race.lst here? They should be fine, but just in case.

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

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #6 on Thu 20 May 2004 09:38 PM (UTC)
Message
Well, just to finalize this thread, I no longer need to know. For the project everyone just played as the same race. None of them were experience Mudders, so none of them knew the difference anyways.

Thanks anyways.

~Nick Cash
http://www.nick-cash.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.


18,680 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.