[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Running the server
. . -> [Subject]  Practicing a new language

Practicing a new language

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


Posted by Taebryn   (58 posts)  [Biography] 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
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] 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
[Go to top] top

Posted by Taebryn   (58 posts)  [Biography] 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
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] 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
[Go to top] top

Posted by Taebryn   (58 posts)  [Biography] 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
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] 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
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] 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
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] 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
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] 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
[Go to top] 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.


16,592 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]