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
➜ Running the server
➜ races
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Blackhawk
USA (13 posts) Bio
|
Date
| Wed 02 May 2001 08:18 PM (UTC) |
Message
| We were editing the race files, which came to us like this:
Name Human~
Race 0
Classes 512
Str_Plus 0
Dex_Plus 0
Wis_Plus 0
Int_Plus 0
Con_Plus 0
Cha_Plus 0
Lck_Plus 0
Hit 0
Mana 0
Affected 0
Resist 0
Suscept 0
Language 1
Align 0
Min_Align -1000
Max_Align 1000
AC_Plus 0
Exp_Mult 100
Attacks 0
Defenses 0
Height 66
Weight 150
Hunger_Mod 0
Thirst_mod 0
End
And went tried to edit the saving throw mod online, with “setrace human saving_poison_death 1” and then looked at it with showrace and it looked fine, then we saved with “setrace human save” and all seemed well, but this is what the file looked like afterwards:
Name Human~
Race 0
Classes 512
Str_Plus 0
Dex_Plus 0
Wis_Plus 0
Int_Plus 0
Con_Plus 0
Cha_Plus 0
Lck_Plus 0
Hit 0
Mana 0
Affected 0
Resist 0
Suscept 0
Language 1
Align 0
Min_Align -1000
Max_Align 1000
AC_Plus 0
Exp_Mult 100
Attacks 0
Defenses 0
Height 66
Weight 150
Hunger_Mod 0
Thirst_mod 0
Mana_Regen 0
HP_Regen 0
Race_Recall 0
WhereName <used as light> ~
WhereName <worn on finger> ~
WhereName <worn on finger> ~
WhereName <worn around neck> ~
WhereName <worn around neck> ~
WhereName <worn on body> ~
WhereName <worn on head> ~
WhereName <worn on legs> ~
WhereName <worn on feet> ~
WhereName <worn on hands> ~
WhereName <worn on arms> ~
WhereName <worn as shield> ~
WhereName <worn about body> ~
WhereName <worn about waist> ~
WhereName <worn around wrist> ~
WhereName <worn around wrist> ~
WhereName <wielded> ~
WhereName <held> ~
WhereName <dual wielded> ~
WhereName <worn on ears> ~
WhereName <worn on eyes> ~
WhereName <missile wielded> ~
WhereName <worn on back> ~
WhereName <worn over face> ~
WhereName <worn around ankle> ~
WhereName <worn around ankle> ~
WhereName <BUG Inform Nivek> ~
WhereName <BUG Inform Nivek> ~
WhereName <BUG Inform Nivek> ~
WhereName (null)~
End
I am new to this and puzzled. I have been trying to get rid of a race or two and add some other ones.
Thanks!
| Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Wed 02 May 2001 10:30 PM (UTC) Amended on Wed 02 May 2001 10:31 PM (UTC) by Nick Gammon
|
Message
| |
Posted by
| Blackhawk
USA (13 posts) Bio
|
Date
| Reply #2 on Thu 03 May 2001 12:23 AM (UTC) |
Message
| Thanks i have read both of those links and am still having a problem. I am using a notepad type editor (UltraEdit) for the race files. and editting them while smaug is 'off-line'.
I have been able to add a race called Wood-Elf, and modify it with no problems at all, but i can't seem to add a race called Silver-Elf. Or more exactly, i can add the race (silver-elf.race) but when i log on as a new player and choose a class and then try and choose a race, silver-elf is never among the races i can choose. Even though all the allowed classes are set in the silver-elf.race file. (no dis-allowed classes)
The silver-elf race is in the race.lst file. and also shows up just fine with a "showrace silver-elf" command or just "showrace" or "showrace 5".
Any ideas?
| Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #3 on Thu 03 May 2001 12:45 AM (UTC) |
Message
| There is a field in the server, MAX_RACES, which needs to be increased if you are adding a race. I found that when I added a new race, it would list all available races, less one (for some reason).
You need to recompile to change that field. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Blackhawk
USA (13 posts) Bio
|
Date
| Reply #4 on Thu 03 May 2001 04:16 AM (UTC) |
Message
| Yeah, i thought about that, but there are only 8 races in the races.lst file.
showrace lists 0-7 races used, and 8-19 unused. | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #5 on Thu 03 May 2001 04:35 AM (UTC) |
Message
| OK, but I still found (for some obscure reason that I didn't pursue) that if I had 9 races it only showed the first 8. So, I needed one extra one, that wasn't on the list. Try making yet another one, and then seeing if one of your new ones appears. If it works, don't ask why. :)
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Blackhawk
USA (13 posts) Bio
|
Date
| Reply #6 on Thu 03 May 2001 06:12 PM (UTC) |
Message
| Hmm... Well, your advice gave me some ideas.
"showrace" does show all the races, and "showrace silver-elf" works fine too.
But I added back one of the races that i had taken out earlier, lizardman. Added him to the end of the races.lst file. quit and logged on as new, and he showed up, no problems, but still no silver-elf. so, then i got the bright idea to swap silver-elf and lizardman's places in the races.lst (really just reordered them so lizardman was #5 in the list) and sure enough silver-elf shows up when i logged on as new.
interesting. seems to be a hole where race #5 is when you log on and choose your race. this is not a BIG problem, as i can put an unwanted race there, but still. interesting. have to track this down eventually.
i haven't modified the source, yet....
Thanks!
| Top |
|
Posted by
| Nivek
(15 posts) Bio
|
Date
| Reply #7 on Tue 08 May 2001 07:02 AM (UTC) |
Message
| This is hardcoded to prevent anyone from using RACE_VAMPIRE,
there are two fixes for this, either remove the RACE_VAMPIRE checks in comm.c, or simply move RACE_VAMPIRE to the end of the list in mud.h
Nivek | Top |
|
Posted by
| Tseris
(98 posts) Bio
|
Date
| Reply #8 on Sun 14 Oct 2007 06:24 AM (UTC) |
Message
| This gets to a question on another thread I was asking about. I need a race vampire, so why does the code prevent anyone from using RACE_VAMPIRE? | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #9 on Sun 14 Oct 2007 06:52 AM (UTC) |
Message
| Perhaps because it's not finished? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.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.
31,578 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top