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 ➜ Running the server ➜ Practicing a new language

Practicing a new language

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


Posted by Taebryn   (58 posts)  Bio
Date Tue 02 Mar 2004 02:04 AM (UTC)
Message
smaug 1.4a
i have this in skills.dat for my new language

#SKILL
Name animal~
Type Tongue
Info 0
Flags 0
Code spell_null
Dammsg ~
Teachers 4042~
Minlevel 1
End

the teachers are still not able to teach the language
how can i have my players practice it?

Arthurian MUD in development.

Reign of Arthur
http://arthur.vze.com
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #1 on Tue 02 Mar 2004 06:14 AM (UTC)
Message
I beleive that you must also add an entry to TONGUE_FILE. This is required for all languages in 1.4. There may be more, but start with that.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Taebryn   (58 posts)  Bio
Date Reply #2 on Wed 03 Mar 2004 02:06 AM (UTC)
Message
where do you see tounge_file?

Arthurian MUD in development.

Reign of Arthur
http://arthur.vze.com
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #3 on Wed 03 Mar 2004 05:08 AM (UTC)
Message
#define TONGUE_FILE	SYSTEM_DIR "tongues.dat"  /* Tongue tables	 */

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Taebryn   (58 posts)  Bio
Date Reply #4 on Wed 03 Mar 2004 10:55 PM (UTC)
Message
yes yes, its in there
i made my own language in tounges.dat and skills.dat
but the Teachers tag doesnt work for languages?

Arthurian MUD in development.

Reign of Arthur
http://arthur.vze.com
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #5 on Wed 03 Mar 2004 11:10 PM (UTC)
Message
Oh, I beleive that you need the scholar flag for that

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #6 on Thu 04 Mar 2004 12:33 AM (UTC)
Message
Also, this could be the problem (not sure, just something to note)

Quote:

Teachers 4042~

It is reading numbers correct? In my code I'm used to not having the ~ after a number. Its generally a terminating character for fread_string correct?

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

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #7 on Thu 04 Mar 2004 12:35 AM (UTC)
Message
Teachers are stored in a string, so that it can have more than one teacher. It uses is_name, I beleive to parse the string to see the the teachers vnum is equal to one of the words(numbers) in string.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #8 on Thu 04 Mar 2004 02:01 AM (UTC)
Message
Good to know. I guess next time I won't post from school where I don't have access to my code to backup what I'm saying. :)

~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.


23,434 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.