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 ➜ setrace question

setrace question

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


Posted by Inga   (5 posts)  Bio
Date Wed 23 Jul 2008 05:23 PM (UTC)
Message
hi guys,

you were very helpful on my last issue with vassign, heres another.

The command to save a race is listed as setrace name save everywhere i've looked.

Now i've created a race called catfolk, all attribs are assigned.

I type setrace catfolk save

and it comes back with the default list of flags for setrace. Def not working.

Is this another command thats changed and has no documentation? Any advice appreciated.

Top

Posted by Inga   (5 posts)  Bio
Date Reply #1 on Wed 23 Jul 2008 05:46 PM (UTC)
Message
here are the commands i typed:

<2515hp 4000m 110mv> <#21001> showrace catfolk
RACE: Catfolk
Disallowed classes:
Allowed classes: Mage Cleric Thief Warrior Vampire Druid
Ranger Augurer Paladin


Str Plus: 0 Dex Plus: 2 Wis Plus: 0 Int Plus: 0
Con Plus: 0 Cha Plus: 0 Lck Plus: 0
Hit Pts: 0 Mana: 0 Align: 500 AC: 0
Min Align: -1000 Max Align: 1000 XP Mult: 102%
Height: 70 in. Weight: 180 lbs. HungerMod: 0 ThirstMod: 0
Spoken Languages: mammal magical
Affected by: none
Resistant to:
Susceptible to:
Saves: (P/D) 0 (W) 0 (P/P) 0 (B) 0 (S/S) 0
Innate Attacks:
Innate Defenses:

<2515hp 4000m 110mv> <#21001>
The rain falls steadily.
Thunder and lightning shake the ground and light up the sky.

<2520hp 4000m 110mv> <#21001> setrace catfolk save
Syntax: setrace <race> <field> <value>
Syntax: setrace <race> create

Field being one of:
name classes strplus dexplus wisplus
intplus conplus chaplus lckplus hit
mana affected resist suscept language
attack defense alignment acplus
minalign maxalign height weight
hungermod thirstmod expmultiplier
saving_poison_death saving_wand
saving_para_petri saving_breath
saving_spell_staff race_recall
mana_regen hp_regen

<2520hp 4000m 110mv> <#21001>
Top

Posted by Inga   (5 posts)  Bio
Date Reply #2 on Wed 23 Jul 2008 06:23 PM (UTC)
Message
it seems to have added the race without needing save command. Now second question: how do i remove the race.
no help file on that,
Top

Posted by Robert Powell   Australia  (367 posts)  Bio
Date Reply #3 on Wed 23 Jul 2008 11:09 PM (UTC)
Message
That is correct, smaug is not vey consistent in how it deals with saves, somethings save auto others do not. Setrace does infact save after each command is issued.

Just a guy having a bit of fun. Nothing more, nothing less, I do not need I WIN to feel validated.
Top

Posted by Conner   USA  (381 posts)  Bio
Date Reply #4 on Thu 24 Jul 2008 03:35 AM (UTC)
Message
To remove a race that you added online like that, I believe you just need to edit the file races.lst in your races folder and remove that race's file name from the list then reboot.

-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.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.


19,135 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.