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.
 Entire forum ➜ MUSHclient ➜ General ➜ Problems with plugins

Problems with plugins

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


Pages: 1 2  

Posted by Teclis   (13 posts)  Bio
Date Thu 07 Aug 2003 01:00 PM (UTC)
Message
I have managed to get the AINSI_log plugin onto my MUSH Client, which is the 3.32 version, and when i go to click 'add' to my list of currently running plugins, i get a message telling me that there is an error. Then there is a displat line of something along the lines of:
line X: Plugin requires MUSH Client version 3.32 or above in order to run AISI_log.
This is just the gist of what the line says. I definitely have version 3.32 installed, and can't run the plugin, do you know why this might be?
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 07 Aug 2003 08:43 PM (UTC)
Message
It is saying it needs version 3.35 to run, because it uses some features that were introduced in that version. The latest version is 3.42 - see the downloads page. I suggest you get that version.

- Nick Gammon

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

Posted by Teclis   (13 posts)  Bio
Date Reply #2 on Fri 08 Aug 2003 07:29 PM (UTC)
Message
OK Nick, i have now downloaded the new mush client, onto my older one, but i am having problems with it. I think that it is my aliases that are not compatible in the new mush client, for example, if i have an alias of 'tbr' which would be 'travelto bree' and then the mud would take me on a journey, the client interrupts the command sequence, and stops my travelto. This doesn't happen if i have a set of directions or commands aliased, like do 3n,2e,4n.etc, but i do get a message at the end from the mud, saying 'what?'
This leads me to believe that the client aliases are now trying to do something during the alias itself, or just aftwer, which they shouldn't be doing, do you have any idea what thios could be, or how i could solve it?
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #3 on Sat 09 Aug 2003 01:32 AM (UTC)
Message
I don't quite understand all of that.

What do you mean "the client interrupts the command sequence" - in what way?

The newer versions should be compatible with older ones - I hope you backed up the old world file first - I could look at it and see what the differences are.

Not sure what you mean by "This doesn't happen if i have a set of directions or commands aliased, like do 3n,2e,4n.etc, but i do get a message at the end from the mud, saying 'what?'" - does it work and then you get the 'what', or does it not work at all?


- Nick Gammon

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

Posted by Teclis   (13 posts)  Bio
Date Reply #4 on Sat 09 Aug 2003 03:46 AM (UTC)
Message
When the client sends an alias, it sends the alias command as well as the text. ie, i have aliased 'trb' to travelto bree, yet when it type in 'trb', it sends 'travelto bree' as well as 'trb', which is why i am getting the 'what?' message
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #5 on Sat 09 Aug 2003 03:55 AM (UTC)
Message
It might echo it (so you can see it) but it won't send it. That would be pretty useless.

- Nick Gammon

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

Posted by Teclis   (13 posts)  Bio
Date Reply #6 on Sat 09 Aug 2003 05:45 AM (UTC)
Message
I know it sounds stupid, but i am pretty sure that i am getting a send of the alias, and the garble that i name it after it, which interrupts the alias itself. Kinda stupid i know. I am also having trouble colouring particular words whenever i see them, for some it works, for others it doesn't seem to.
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #7 on Sat 09 Aug 2003 06:37 AM (UTC)
Message
Can you copy and paste the alias here? And the trigger that isn't working. Just select it in the alias list and click the Copy button, then paste the results here.

Also paste some example output the trigger should be matching on.

- Nick Gammon

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

Posted by Teclis   (13 posts)  Bio
Date Reply #8 on Sat 09 Aug 2003 12:26 PM (UTC)
Message
First, the trigger. Say i want to colour top level thieves, i type in the trigger on box 'Crime Lord', and have the enabled, and regular expression checked, along with a colour selected. This sometimes works, but not all the time.
The main problem is with my aliases.ie.

<aliases>
<alias
match="tbr"
>
<send>travelto bree</send>
</alias>
</aliases>

What happens here, is i start off on my little jounrney to bree, then after i move a few rooms, i am stopped by the 'tbr' command, which interrupts the traveto sequesnce. With other aliases such as:

<aliases>
<alias
match="ada"
enabled="y"
>
<send>do 2e,2s,2e,2n,ne,e,request healing</send>
</alias>
</aliases>

I do all the directions, then the command kicks in at the end of them,(the command being ada, which is a nonsense command used as an alias) and so i get a message of 'what?'
As for the triggers, an example of this is:

<triggers>
<trigger
custom_colour="7"
enabled="y"
match="(Demonic)"
regexp="y"
sequence="100"
other_text_colour="black"
other_back_colour="black"
>
</trigger>
</triggers>

This is a trigger which works all the time for me, and always colours (Demonic) in red.

<triggers>
<trigger
custom_colour="9"
enabled="y"
match="Archmage"
regexp="y"
sequence="100"
other_text_colour="black"
other_back_colour="black"
>
</trigger>
</triggers>

This one however, never works, and never colors the Archmages that i see. I don't know why this is.


Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #9 on Sat 09 Aug 2003 09:13 PM (UTC)
Message
Isn't this similar to another thread we couldn't figure out, where the alias was evaluated causing infinite loops? Maybe it's an obscure bug? It never happened to me...

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #10 on Sun 10 Aug 2003 06:36 AM (UTC)
Message
For one thing, the "tbr" alias is not enabled, so it will send "tbr" to the MUD.

As for the trigger that doesn't match, I suspect that you have another trigger that is matching, and that is stopping your other one from matching as well. Try colouring each trigger so you know if they match, and set "keep evaluating" where relevant if you want more than one match.

Are you sure it is sending "ada" to the MUD? Try turning on "packet debug" to confirm exactly what is being sent. It could be anything that is causing a "huh".

- Nick Gammon

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

Posted by Guest1   USA  (256 posts)
Date Reply #11 on Sun 10 Aug 2003 06:52 AM (UTC)
Message
..funny seeing what different muds send when they don't understand a command, such as "huh?" in the above case.
The mud I play has a good one:
"Arglebargle, glop-glyf!?!"
Top

Posted by Teclis   (13 posts)  Bio
Date Reply #12 on Sun 10 Aug 2003 02:26 PM (UTC)
Message
I disabled the tbr alias, because it wasn't working
Top

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #13 on Sun 10 Aug 2003 05:57 PM (UTC)
Message
An obscure command, yet many muds have it (particularly LPC type muds): "history"

This will show you a list of your most recent commands. You may want to investigate, see if your mud supports it.

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

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

Posted by Nick Gammon   Australia  (23,120 posts)  Bio   Forum Administrator
Date Reply #14 on Sun 10 Aug 2003 11:00 PM (UTC)
Message
On the Game menu you can turn on "Trace" so you can see what aliases match. You can also go to the Edit menu and turn on "Debug Packets".

I pasted your alias, enabled it, did the above steps, and then typed "tbr". This is what I say ...


TRACE: Trace on
TRACE: Matched alias "tbr"
travelto bree
Huh?


This is what I expect, because this MUD doesn't recognise the travelto command. But did it also get the "tbr" command sent? Looking at the debug packets window (a separate window opens) I see this:



Sent  packet: 8 (15 bytes)

travelto bree..    74 72 61 76 65 6c 74 6f 20 62 72 65 65 0d 0a


You see there is no "tbr" sent. You can try for yourself.


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


51,793 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.