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
➜ Dawn of Time
➜ Administration
➜ Race problem
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Xavaier
USA (26 posts) Bio
|
Date
| Tue 28 May 2002 04:04 AM (UTC) |
Message
| It seems I can't set char <player> race <race>
it says "not a valid player race" although the races are player races and selectable at creation even. Any ideas? | Top |
|
Posted by
| Daos
USA (42 posts) Bio
|
Date
| Reply #1 on Wed 29 May 2002 04:52 AM (UTC) |
Message
| I believe the bug to be on line 1436 in act_wiz2.cpp below:
if (!IS_NPC(victim) && race_table[race]->pc_race())
{
ch->println( "That is not a valid player race." );
return;
}
Try replacing it with this and see if it helps:
if (!IS_NPC(victim) && !race_table[race]->pc_race())
{
ch->println( "That is not a valid player race." );
return;
}
I hope this solves your problem
- Daos | Top |
|
Posted by
| Xavaier
USA (26 posts) Bio
|
Date
| Reply #2 on Wed 29 May 2002 05:04 AM (UTC) |
Message
| YAY!!! THANK YOU SOOOO MUCH!!
<<gets all excited>>
That worked perfectly!
deeply in your debt,
Xavaier | Top |
|
Posted by
| Epona
Denmark (28 posts) Bio
|
Date
| Reply #3 on Fri 31 May 2002 12:42 PM (UTC) |
Message
| Though, if you use set char race, it will not set any special race skills on the character that you set it on, i have modified the setrace command to take a player argument, and set the special race skills/spells, plus it will remove any spells/skills that are special to the race that they where before it was changed, though i have also included some special "dragon" race code, because dragons are a remort pcrace on my mud, though if ya like i can post the code here.. |
Epona
Goddess of Love
Founder of The Realms of Darkness MUD
(not open to the public yet) | Top |
|
Posted by
| Xavaier
USA (26 posts) Bio
|
Date
| Reply #4 on Sat 01 Jun 2002 02:36 AM (UTC) |
Message
| That would be great :)and I really appreciate all of the help that you guys have been, if not for folks like you I'd be lost :P Thanks alot guys,
Xavaier | Top |
|
Posted by
| Daos
USA (42 posts) Bio
|
Date
| Reply #5 on Sat 01 Jun 2002 02:53 AM (UTC) |
Message
| If you are going to post code from your MUD, please take into consideration that you will be posting a format of code that is modified from the original format of the dawn code and may cause complications for inexperienced coders to patch into later releases of the dawn code.
That is why I released two versions of the offline area editor. One Darksun & one original 100% dawn. If someone used the Darksun editor for their MUD and set trail, snow, & ice sectors and their current MUD code doesn't support those room sectors, their MUD will consistantly abort function.
- Daos | 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,599 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top