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 ➜ Jscript ➜ Scripts for Medievia

Scripts for Medievia

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


Pages: 1 2  

Posted by Thaeldan   Norway  (7 posts)  Bio
Date Fri 21 Jul 2000 (UTC)
Message

I have created a page where you can download some useful scripts for Medievia. These scripts won't work with other MUDs, but feel free to adapt them.

The page is located here.

Top

Posted by Bubbly   (2 posts)  Bio
Date Reply #1 on Fri 02 Aug 2002 06:38 PM (UTC)
Message
Where are your scripts? Your page is no longer available. Have you still got the scripts somewhere?
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #2 on Fri 02 Aug 2002 09:50 PM (UTC)

Amended on Fri 02 Aug 2002 09:52 PM (UTC) by Nick Gammon

Message

That site is down now, however I have a copy.

They can be found at Thaeldan's MUSHClient scripts for Medievia

In some browsers you may need to scroll down to find the various links. Also, the hyperlinks are not underlined, just click on the bold headings and the script should download (eg. the words 'health levels').


- Nick Gammon

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

Posted by Bubbly   (2 posts)  Bio
Date Reply #3 on Sat 03 Aug 2002 11:00 AM (UTC)
Message
Thankyou Nick!

BTW, I would like to say that I am developing a complete JSCript archive of scripts for MUSHClient. It is in TXT format, but contains JScript code. When version 1.0 is finished I will post it on the internet and place the link in here for others. It is an open source archive, so people are welcome to submit their JScripts for MUSHClient to my email address at j.s.thorpe@talk21.com - please give your name, email and web page so I can credit you with your scripts. The script archive is intended to be loaded via MUSHClient, and can be used with any world you see fit. However, most of the scripts wil be geared towards MUDS such as Medievia. More information will be available within the archive when 1.0 is finished, hopefully in about a month or so.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #4 on Sun 04 Aug 2002 02:14 AM (UTC)
Message
I suggest doing them as plugins - the plugins supporting version (3.24) will be released today.

That way you can keep all related things for one function (triggers, aliases, timers, scripts, variables) in one plugin, and avoid problems with namespace collision, in addition to making them much easier to install.

- Nick Gammon

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

Posted by Zotiel   (14 posts)  Bio
Date Reply #5 on Mon 13 Oct 2003 10:07 AM (UTC)

Amended on Mon 13 Oct 2003 10:09 AM (UTC) by Zotiel

Message
Bubbly, you ever finish that archive?

Anyone else have links similar to the one that Thaeldan posted (or rather, the one that Nick Gammon corrected)?


(sorry aboutthe 3 year old bump)
-Zot
Top

Posted by finnish   Russia  (18 posts)  Bio
Date Reply #6 on Tue 14 Oct 2003 04:48 AM (UTC)
Message
i'm interested in such links too.
and unfortunately, i have nothing to add...

she never loved me why should anyone
Top

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #7 on Wed 15 Oct 2003 01:48 AM (UTC)
Message
Nick maintains a list of many plugins here:
http://www.gammon.com.au/mushclient/plugins/

At the bottom of the chart (and also in my tagline), is a link to my own collection of MUSHclient plugins.

I'm sure if anyone else maintains a collection of plugins, Nick would be happy to link their site as well.

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

Posted by Lamaros   (5 posts)  Bio
Date Reply #8 on Mon 07 Jun 2004 03:13 AM (UTC)
Message
This might sound a little stupid. But I can't get any of these scripts to work. I've loaded them all into the script file but when I do what it tells me to load them it gives me this:

Error number: -2146823281
Event: Execution of line 1 column 1
Description: Object expected
Line in error:

Called by: Immediate execution


Any help?
Top

Posted by Shadowfyr   USA  (1,791 posts)  Bio
Date Reply #9 on Mon 07 Jun 2004 04:03 AM (UTC)
Message
Ok, first off, do you mean you are copying them into 'your' script file? If so, then "wrong". Plugins are designed to operate independant of the main script and each other. This means that all you do is:

1. Download the plugin.
2. Unzip or copy the XML file and any other files included into the mushclient\worlds\plugins directory.
3. Go to File.. - Plugins - [Add], and click on the XML file for the plugin.

If all goes well, then it will work.

It sounds like you are adding the XML to the 'master' script file. This master script was used prior to the plugins feature as a storehouse for all scripting. It is now used for almost nothing, except a few options and scripts that still impossible to handle in a plugin, like special MXP functions *though, this actually makes designing such functions extremely inconvenient*. Nearly everything else is now handled in a plugin, since you don't have to edit any scripts at all to use them, just point mushclient's plugin manager at the right file and hit OK. Mushclient at that point loads from the plugin all the triggers, aliases, timers and script for 'that' plugin.

The reason your attempt failed is because the old script system doesn't know how to load XML. It is only meant to load a single script in a known language.
Top

Posted by Lamaros   (5 posts)  Bio
Date Reply #10 on Mon 07 Jun 2004 07:13 AM (UTC)
Message
They're old scripts though, before plugins. They're not plugins.
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #11 on Mon 07 Jun 2004 10:18 AM (UTC)
Message
Post the first half dozen or so lines of the script.

Also, is scripting enabled? Have you selected the right one (VBScript, JavaScript, Et al)?

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Lamaros   (5 posts)  Bio
Date Reply #12 on Mon 07 Jun 2004 10:23 AM (UTC)
Message
function SetupValuer2(alias_name, alias_line, wildcardsVB)

{
world.Note("Installing [Valuer]");
world.AddTrigger("SetTradePost", "^(Medievia Trading Shop|Ur-vile Feeding Hall|A Strange Old Wizard's Cart|Riverton Trading Partners|Trading Post of the City of Karlisna|The Lizard Boulangere|DeRah Villadom's Small Trading Post|Trading Post of the Dark Army|An Elven Marketplace|New Ashton Trading Post|Trading Shop of Trellor City|Sea's End Direct Merchants|Vanlarra Imports and Exports|The Trading Post of Gdangus|A Quiet, Temple Shop|A Ranger's Cabin|Hidden Valley Traders, Inc.|A Minotaur Trading Outpost|Tanivsport Traders)", "", 1057, -1, 0, "", "SetTradePost");
world.AddTrigger("GetPrice", "We will pay you (.+) gold for", "", 1057, -1, 0, "", "getPrice");
world.AddAlias("GetValues", "^(val|values) (.+)", "", 1153, "getValues");
world.AddAlias("SendValues", "^trade\\s*(.*)", "", 1153, "sendValues");
world.Note("Done!");
}

var trading = new Array();
trading[0] = new Array("ruellia", "emeralds", 25, 20);

------

the script goes along like that..
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #13 on Mon 07 Jun 2004 10:29 AM (UTC)

Amended on Mon 07 Jun 2004 10:31 AM (UTC) by Flannel

Message
Loads fine for me. You MUST have JScript enabled, since all the other ones give different errors.

What were you doing right before you got the error? Since its obviously not an error on loading.

I cant find the script anymore. Care to enlighten me?

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Lamaros   (5 posts)  Bio
Date Reply #14 on Mon 07 Jun 2004 11:44 AM (UTC)
Message
I downloaded it from here:

http://www.gammon.com.au/mushclient/Thaeldan/valuer2.zip

I copied the script into the example javescript file in muchclient. Put scripts language as jscript and turned scripts on.

Then reloaded the world and typed /Setupvaluer2() at the prompt and I got the error I mentioned earlier.
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.


75,999 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

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.