Page 5 of 6
Re: MUSHclient Plugins
Posted: Sat Jun 18, 2016 4:29 am
by
You need to make sure your prompt matches the HP and ST format suggested in the plug in to work. You can add additional things to your prompt after the HP and ST, but those must match for it to update.
Re: MUSHclient Plugins
Posted: Sat Jun 18, 2016 12:56 pm
by
What do I update to include that? Pardon my terrible lack of knowledge on the matter. I played dgate with their front end so I'm totally lost with mush so far.
Re: MUSHclient Plugins
Posted: Sun Jun 19, 2016 12:01 am
by
My current prompt is this:
This displays as:
Code: Select all
HP: 280/280 ST: 210/210 G: 0 doubloon
To change your prompt, simply type "prompt" followed by the prompt you want. "Help prompt" will give you guidance if you prefer it include more information.
Most importantly is the HP and ST part, those must remain the same. After %M, anything else can be whatever you want.
Re: MUSHclient Plugins
Posted: Mon Jun 20, 2016 1:59 am
by
Oh I *think* I understand now. It's not an effect of mush it's the actual game interface itself that needs to be modified here. Am I correct in this assumption?
Re: MUSHclient Plugins
Posted: Mon Jun 20, 2016 2:30 am
by
Correct -- this is something the game needs to feed to you for the plug in to interact properly. It's essentially looking for a trigger that doesn't exist until you edit your prompt to match what it wants.
Re: MUSHclient Plugins
Posted: Mon Jun 20, 2016 5:21 am
by
If you have a prompt that you favour that is different, you can edit the script instead to match it.
In the xml file where it says:
match="^HP\:\s(\d+)\s*\/(\d+)\sST\:\s(\d+)\s*\/(\d+)"
Is where you can change it to trigger on your specific prompt.
A very basic breakdown is-
^ start of the line match of 'HP'
\ next char. is a special(not alpha,not numeral)
\s match a white space
() what we get in here will become wildcard 1 (current hp)
\d+ match a digit. the + is like grab all the digits that are together.
\s* zero or more white spaces
\/ match the forward slash (its a special char. so using the backslash in front of it)
(\d+) setting wildcard 2 for max hp
same pattern repeated to catch the stamina except matching the ST instead of HP
As long as you give it 4 wildcards to work with, you will be good to go.
If your prompt is something simple like:
175/175 38/99
Then the below will work
^(\d+)\s*\/(\d+)\s(\d+)\s*\/(\d+)
these three pages from the Mushclient site can be very helpful with this:
http://www.gammon.com.au/mushclient/funwithtriggers.htm
http://www.gammon.com.au/mushclient/regexp.htm
http://www.gammon.com.au/forum/bbshowpo ... ct_id=5089
Re: MUSHclient Plugins
Posted: Thu Jun 23, 2016 5:00 am
by
Fantastic thank you guys very much. Much appreciated. The bar works but I am getting constant error messages saying dostand or dosit or do_prompt not found or had a previous error. Is this something I can remedy or do I need to squelch those lines?
Re: MUSHclient Plugins
Posted: Sun Jan 08, 2017 4:40 pm
by
Hey client wizards. Gotta question. My skill list is a little cluttered, and the numbers seem too far away from the names. So I get all.. fuzzy when trying to read them. I have my skill names colored using the mushclient highlights, but is there a way to extend that color through the line to numbers and level so it matches?
Re: MUSHclient Plugins
Posted: Sun Jan 08, 2017 8:11 pm
by
Re: MUSHclient Plugins
Posted: Sun Jan 08, 2017 9:59 pm
by
Holy crap it worked! You're my hero.
Also, its ^.*whateverwordyouwanthere.*$
And choose "Change color and style to" then choose your color.
So good. Thanks again.