[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Tips and tricks
. . -> [Subject]  Triggers to cancel following lines
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Triggers to cancel following lines
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please)
Maximum of 6000 characters. Text only please, no HTML.
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Pages: 1 2  

Posted by Ked   Russia  (524 posts)  [Biography] bio
Date Sat 10 Apr 2004 06:46 AM (UTC)  quote  ]
Message
As for the specific problem of balance - you can pull apart the AutoHealer plugin I wrote a while ago. It's both in this site's plugins section and the Scripts section of www.darkfenixxx.biz/achaea. That shows (among other things) a way to manage 2 balances at once and can be extended to as many balances as you want, of virtually any type.
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Sat 10 Apr 2004 05:49 AM (UTC)  quote  ]
Message
search the forum for those things. I dont play either place, but Ive seen enough goldenseal questions to remember them. A quick search will probably yield whatever specific questions you might have.
And for the stuff that hasnt been asked yet, this forum community is always up for a new challenge it seems. (just make it a new post, with a logical subject, to help other people reference it in the future)

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by Hathcock   (49 posts)  [Biography] bio
Date Sat 10 Apr 2004 03:26 AM (UTC)  quote  ]
Message
Didn't really expect you to give it up, for such reasons. My triggers are good, just wanted to see what else I can add to make mine better.....like how can I add the herbbalance stuff...where it checks if I just ate a goldenseal right before I eat another, so it stops me from wasting them. Thanks for the color help
[Go to top] top

Posted by Ked   Russia  (524 posts)  [Biography] bio
Date Fri 09 Apr 2004 10:07 PM (UTC)  quote  ]

Amended on Fri 09 Apr 2004 10:08 PM (UTC) by Ked

Message
You can set the trigger to match on a certaing foreground and/or background colour(s), there are dropdown boxes to that effect right under the match field in the Trigger dialogue.

Concerning the reflexes... Sorry, but I don't sell those, I am a strong opponent of buying/selling combat systems as I see it as both detrimental to the overall gameplay, since combat is a very large part of global roleplay, and my own RP. Besides, my combat system wouldn't help you much anyways, as it's spread out across a fairly large number of plugins and the main script, written in 2 different languages and heavily class-biased. You would probably need a few months to just read through it, and then would have to rewrite it nearly from scratch to fit it to your character. Obviously this wouldn't be a very bona fide deal on my part :) I suggest doing it yourself, I am yet to see someone buy a combat system and become any good at combat (in Achaea at least). Part of the reason why I'd never sell my combat system is that I realize all too well just how "effective" such a purchase would be for the person making it - a huge system that makes next to no sense and is thus impossible to modify, fix, or use efficiently. It'll last you about as long as it takes the mud staff to make the next skill change.
[Go to top] top

Posted by Hathcock   (49 posts)  [Biography] bio
Date Fri 09 Apr 2004 07:04 PM (UTC)  quote  ]
Message
Ked, would it be possible to get a copy of your reflexes for Achaea, alot are the same as Aetolia and it would help me fix the parts I'm missing from mine. In our realm people charge for copies of their reflexes, so if you are willing, please let me know and we can work something out
[Go to top] top

Posted by Hathcock   (49 posts)  [Biography] bio
Date Fri 09 Apr 2004 06:53 PM (UTC)  quote  ]
Message
reply thanks Ked, that works rgeat...is there a way to have it only trigger off of a certain colored **illusion**?
like Dark Green or green?
[Go to top] top

Posted by Ked   Russia  (524 posts)  [Biography] bio
Date Fri 09 Apr 2004 01:06 PM (UTC)  quote  ]
Message
Make an "** Illusion **" trigger, set it to send to scripting and put this into the Send box:



world.SetOption "enable_triggers", 0
world.Note "Triggers disabled"
world.DoAfterSpecial 1, "world.SetOption ""enable_triggers"", 1 ", 12


That will disable your triggers when you get the first "** Illusion **" message and enable them again 1 second later.
I don't know exactly how that skill functions but I think the pair of "** Illusion **" messages comes up with a very small delay, so 1 second should be enough.
[Go to top] top

Posted by Hathcock   (49 posts)  [Biography] bio
Date Fri 09 Apr 2004 09:35 AM (UTC)  quote  ]
Message
<aliases>
<alias
name="trigger_controller"
match="^(etr|dtr)$"
enabled="y"
regexp="y"
send_to="12"
sequence="100"
>
<send>if "%1" = "etr" then
world.SetOption "enable_triggers", 1
world.Note "Triggers enabled"
elseif "%1" = "dtr" then
world.SetOption "enable_triggers", 0
world.Note "Triggers disabled"
end if</send>
</alias>
</aliases>

this is what Ked posted in the other area. Now, is there a way that on the first **illusion** it turns my trigegrs off and on hte second **illusion**, it turns them back on?
[Go to top] top

Posted by Meerclar   USA  (606 posts)  [Biography] bio
Date Fri 09 Apr 2004 03:15 AM (UTC)  quote  ]

Amended on Fri 09 Apr 2004 03:16 AM (UTC) by Meerclar

Message
This thread covers it quite nicely actually -
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4038&page=999999

Down toward the bottom after Ked came to his senses again :)

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Hathcock   (49 posts)  [Biography] bio
Date Fri 09 Apr 2004 01:15 AM (UTC)  quote  ]
Message
Meerclar-Put your affliction triggers in a group, have the illusion trigger disable the group and reenable it after say 5 seconds or however long you think is safe.



I like how that sounds, can you give me an example of how to write a script for that?
[Go to top] top

Posted by Meerclar   USA  (606 posts)  [Biography] bio
Date Thu 08 Apr 2004 10:20 PM (UTC)  quote  ]
Message
Put your affliction triggers in a group, have the illusion trigger disable the group and reenable it after say 5 seconds or however long you think is safe.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Thu 08 Apr 2004 10:06 PM (UTC)  quote  ]
Message
Thats so broad. However yes, if you have a prompt, use that to turn everything back on. However if you want to be able to turn off individuals, well, I guess you could turn them off. Depends on if you want NOTHING to match, or just certain triggers to not match.

If you want to have nothing match at all, then youll need to match on those lines with a low sequence, and then have them not keep evaluating (the line doesnt get sent to any more triggers).

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by Gore   (207 posts)  [Biography] bio
Date Thu 08 Apr 2004 09:54 PM (UTC)  quote  ]
Message
trigger ** Illusion ** to turn on a prompt trigger to turn off all your affliction triggers. :p Once your prompt hits, turn them all on again
[Go to top] top

Posted by Hathcock   (49 posts)  [Biography] bio
Date Thu 08 Apr 2004 01:43 PM (UTC)  quote  ]
Message
yeah, it's not always the calm line, it's different each time, the only thing that stays the same is the **illusion** part
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Thu 08 Apr 2004 12:44 AM (UTC)  quote  ]

Amended on Thu 08 Apr 2004 12:46 AM (UTC) by Flannel

Message
make two triggers. One matches on your illusion line, the other on the calm line.

the first one is normal, matches your illusion line, and all it does is turn on the second. (enabletrigger)

The second has a REAL LOW priority, matching the calm line, lower than the other possible triggers it might match on. Then have that trigger turn itself off (using enabletrigger), and simple dont check keep evaluating.

edit: this is of course assuming the calm line WILL come after it. If not, then youll need to decide on a timeout (or a prompt line, or whatnot) and disable the second trigger again some other way (either a timer (DoAfter) or a prompt line, or some other way of disabling the calm trigger.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] 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.


7,595 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.   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Web site powered by FutureQuest.Net]