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 ➜ MUSHclient ➜ General ➜ How to import a tinyFugue Script

How to import a tinyFugue Script

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


Posted by Lusiphur   (8 posts)  Bio
Date Tue 09 Dec 2008 11:10 AM (UTC)
Message
Hey there.
I am totally happy with the MUSH client :-) for years now, although all the others keep telling me how much better the tf is...
well... the only thing they have I don´t is: a script to research details of a room. now I got the "untroom.tf" file and wanted to put it in my MUSH somehow...

people told me that tf had an own language which is not provided by MUSH but it should be possible...

but as I am just a user... erm.... how?

Regards from Germany
Lusiphur
Top

Posted by Lusiphur   (8 posts)  Bio
Date Reply #1 on Tue 09 Dec 2008 03:07 PM (UTC)
Message
or maybe if it isn´t possible to import... does anyone of you have a script which allows to do fast research on details in a room, on npcs, quetsions npcs etc.?
Top

Posted by Lusiphur   (8 posts)  Bio
Date Reply #2 on Thu 12 Feb 2009 09:52 AM (UTC)
Message
anybody any idea? Or anybody a written plugin similar to this?
Top

Posted by Worstje   Netherlands  (899 posts)  Bio
Date Reply #3 on Thu 12 Feb 2009 03:54 PM (UTC)
Message
TF scripts can indeed not be used within MUSHclient. As such, you will either need to write your own plugin, or find someone elses.

With a bit of studying and asking of your friends, you should be able to figure out what that TF plugin does. You can try to replicate it afterwards. (Or you can write such a plugin from scratch. :))
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #4 on Thu 12 Feb 2009 06:47 PM (UTC)
Message
This thread demonstrates converting a zMUD script into MUSHclient:

http://www.gammon.com.au/forum/bbshowpost.php?id=9157

I believe zMUD scripting is similar to TF.

However as others have said, MUSHclient cannot directly process TF - for one thing, the behaviour of things like triggers and aliases is a bit different, so scripting needs to take that into account.

It would help to paste your current untroom.tf file (or at least, part of it, if it is big) so we can see roughly what it does.

Something like questioning an NPC should be easy enough with a trigger and a bit of scripting. Perhaps if you showed an example of MUD output to illustrate what you had in mind?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Lusiphur   (8 posts)  Bio
Date Reply #5 on Thu 12 Feb 2009 06:55 PM (UTC)
Message
http://www.koders.com/noncode/fidFB01EA6B92846B0FD0D3F94BCD15731D0E857C3C.aspx

here is a link to the complete untroom.tf where most things are in english. Hope it helps?

Regards from germany
Top

Posted by Lusiphur   (8 posts)  Bio
Date Reply #6 on Thu 12 Feb 2009 07:08 PM (UTC)
Message
basically this plugin is supposed to check all details in the room and ask npcs about all possible details.

then give a list of all details, descriptions, details in descriptions and their descriptions

supposed to make exploring faster (especially when you have been there and just look for 1 detail you might have not seen)

always helps the people with tf they tell me

Thanx for the effort... owe you one if it works :-)
Top

Posted by Lusiphur   (8 posts)  Bio
Date Reply #7 on Sat 14 Feb 2009 08:54 AM (UTC)
Message
well... as I really just am a user - to my shame - I didn´t even understand the demonstration thread :-(

so... a donation to anybody who can make it work :-)
Top

Posted by Lusiphur   (8 posts)  Bio
Date Reply #8 on Sat 14 Feb 2009 09:04 AM (UTC)
Message
so... this is basically a room in the mud. as it is a german mud you need to know that in German nouns have a capital letter. Basically 99 % of the details are nouns

>>
Nachdem Du Dich durch die enge Einkerbung gezwaengt hast, befindest Du Dich in der Eiche. Sie ist von innen hohl, jedoch nicht vergammelt. Sie scheint bereits so hohl gewachsen zu sein, denn auch hier innen strotzt der Baum vor
Leben. Licht kann durch zwei scheinbar natuerlich gewachsene Fenster ohne Scheiben hereinfallen. Vor den Fenstern sind von innen geschlossene Holzluken angebracht, die man jedoch oeffnen koennte, so dass momentan von aussen die Fenster nicht zu sehen sind. Vor den Fenstern haengen in dunklem Blau gehaltene Vorhaenge. An der Decke haengt eine Art offene Lampe. An den Waenden befinden sich mehrere Bilder und Vitrinen. In der Mitte des Raumes fuehrt eine
ebenfalls natuerlich gewachsene Wendeltreppe weiter nach oben. Direkt neben der Treppe befindet sich ein Loch im Boden, das in den unterirdischen Teil des Baumes fuehrt.
<<

to "look" for details
it is basically "untersuche" (look, search), "lausche" (listen), "rieche" (smell)

example:

untersuche Fenster (look windows)

>>
Die Fenster sind hinter den schweren Vorhaengen und den Holzluken nicht zu sehen.
<<

untersuche Vorhaenge (look curtains)

>>
Welchen Vorhang meinst Du denn? Den Eingangsvorhang oder den Fenstervorhang?
<<

unt Eingangsvorhang

>>
Der Vorhang an der Einkerbung besteht aus lebendem Efeu und lebenden Ranken, die von aussen hereinwachsen.
<<

etc etc etc.

basically the plugin should work as a "researcher" you get into a room, startit it does "lausche" in general and then with the results vor all details, then "rieche" in general and for all result-details, then "untersuche" for all details in the room and each sublevel-result-details.

Important thing is that it has to filter sublevel or room details details which repaet itselves so the plugin doesn´t get into a neverending loop.

all the text is supposed to be put out in the mud-world so the player can manually do research for non-typical details with non-typical verbs like e.g. "schmecke" (taste) which are rarely used.

hmmm. this enough for the explanation? Possible for anybody to write that or extract that from the untroom.tf plugin I posated the link to?

Wit many thanx & regards from Good Old Germany
Lusiphur
Top

Posted by Lusiphur   (8 posts)  Bio
Date Reply #9 on Thu 26 Feb 2009 03:04 PM (UTC)
Message
any more information needed? can anybody help?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #10 on Fri 27 Feb 2009 06:49 PM (UTC)
Message
Personally I am working on improving MUSHclient, and don't have time to write a script from scratch. It looks like you could do it with some effort, it helps that the relevant words are capitalized, as a regular expression could find those.

You will probably find people willing to help if you try to do it yourself, and post specific questions about problems. Asking for a script to be written from scratch, for a MUD in German, is probably asking a bit much.

- Nick Gammon

www.gammon.com.au, www.mushclient.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.


33,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.