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 ➜ Plugins ➜ newbie @ plugins

newbie @ plugins

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


Posted by Rockeru   (4 posts)  Bio
Date Thu 28 Oct 2004 06:07 PM (UTC)
Message
hi there :)
i'm playing nanny.mud, and i get a fight prompt like this
** HP: 204/204 SP: 204/204
i did my best to make that healt bar to work , but without any results :(
can any1 help me pls :)
tnx alot
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #1 on Thu 28 Oct 2004 06:27 PM (UTC)
Message
Change the line in the beginning of the plugin to this:
"^\*\* HP\: (\d+)\/(\d+) SP\: (\d+)/(\d+)(.*?)$"
(the one that looks sort of like that, line 4)
and then you'll have to comment out (or remove) the third DoGuage line (since you only have 4 wildcards, you dont need that third bar).
It's on line 140, just add a ' to the beginning of the line:
'DoGauge " Move: ", wildcards (5), wildcards (6), "gold", "gold"

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Rockeru   (4 posts)  Bio
Date Reply #2 on Thu 28 Oct 2004 06:40 PM (UTC)
Message
i change it but still nothing.... where is my health bar?
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #3 on Thu 28 Oct 2004 09:00 PM (UTC)
Message
You need to have the "info bar" visible.
View > Info Bar (make sure its checked). Thats where the health bar shows up.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Rockeru   (4 posts)  Bio
Date Reply #4 on Fri 29 Oct 2004 05:28 PM (UTC)
Message
ok
it doesn't work with hp & sp
when i change trigger to
"^\*\* HP\: (\d+)\/(\d+) (.*?)$", it appears only hp bar, but if i try to make
"^\*\* HP\: (\d+)\/(\d+) SP\: (\d+)/(\d+) (.*?)$"
it wont work.
can help me?
this is my prompt ** HP: 88/154 SP: 162/162
i have to keep 3 spaces between 154 and SP?
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #5 on Fri 29 Oct 2004 06:51 PM (UTC)
Message
"^\*\* HP\: (\d+)\/(\d+) SP\: (\d+)\/(\d+) (.*?)$"
The \ infront of the / for the SP was missing.

And yes, if there are spaces, they are important. So add them whereever they might turn up.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
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.


18,344 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.