Thursday, September 30th | Friday, October 1st | Friday, October 1st |
defeated 3-0 | defeated 3-0 | defeated 3-0 |
Battle Condenser |
Post Reply | Page 123> |
Author | |
gnome power
Sergeant Major Fear my graphs! Joined: 02 July 2003 Location: United States Status: Offline Points: 14503 |
Post Options
Thanks(0)
Posted: 28 March 2013 at 7:45pm |
Hm, on second thought, I think you're right.
|
|
Jor'Mox
First Sergeant Joined: 29 July 2004 Status: Offline Points: 8561 |
Post Options
Thanks(0)
|
So... it specifically checks to be sure it isn't "You" after it replaces "You" and "Your" with the person's name? Why? Seems excessive.
|
|
No price is too high to pay for the privilege of owning yourself. - Friedrich Nietzsche
|
|
gnome power
Sergeant Major Fear my graphs! Joined: 02 July 2003 Location: United States Status: Offline Points: 14503 |
Post Options
Thanks(0)
|
Thanks, j. I forgot that it was already there. Really, i could and should make it universal by parsing number labels in any order. That will go on the to-do list.
I think the battle condenser has a minor break if name is set to "you." It will no longer know how to identify personal actions and distinguish from others, so for instance he would lose background highlighting of personal injuries. I would suggest to him to stick it in there and just leave it off the cecho. |
|
Jor'Mox
First Sergeant Joined: 29 July 2004 Status: Offline Points: 8561 |
Post Options
Thanks(0)
|
So, first, the new regex needed to capture your prompt as specified:
Pattern 0: ^[Quiet\s]*\(([\d\?]+)/(\d+)hp (\d+)/(\d+)m (\d+)/(\d+)mv\)\-([\w\-]+)\- Pattern 1: \([\w\s\'\-]+\|(\w+)\)\([\w\s]+\)(\d+)\:(\d+)([ap]m)\> Check the "multiline / AND Trigger" check box, and set "line delta" to 1. And here are the new variable assignments to match your prompt for the Prompt Parsing trigger. Note that Name and both XP variables are dummy values as they are not in your prompt.
Edited by Jor'Mox - 28 March 2013 at 11:20am |
|
No price is too high to pay for the privilege of owning yourself. - Friedrich Nietzsche
|
|
Jor'Mox
First Sergeant Joined: 29 July 2004 Status: Offline Points: 8561 |
Post Options
Thanks(0)
|
So, I get the regex bit, but I'm looking at the parse prompt trigger stuff... and I don't see why you are saying I would need to create a new variable for the directions. You seem to have one there already, is there some reason that this would need to change? (I know I need to change the assignment to match with the regex, but that is different.)
|
|
No price is too high to pay for the privilege of owning yourself. - Friedrich Nietzsche
|
|
gnome power
Sergeant Major Fear my graphs! Joined: 02 July 2003 Location: United States Status: Offline Points: 14503 |
Post Options
Thanks(0)
|
Hi Jor'mox, thanks!
The regex would have to change to capture the room exits. Also, in the Parse Prompt trigger folder it would need a new variable for directions, and the cecho would need to change to reflect it. It's not very much actually.
|
|
Jor'Mox
First Sergeant Joined: 29 July 2004 Status: Offline Points: 8561 |
Post Options
Thanks(0)
|
Hey GP, think you can throw the parts you think will break here, so I don't have to dig them out? I have a feeling I'll have better luck fixing things than most people would.
Edit: And, yes, I know, I should try and smash this apart and reconstruct it in the framework I have been building, but my time isn't limitless, and I've been working on other stuff for now. Edited by Jor'Mox - 28 March 2013 at 8:48am |
|
No price is too high to pay for the privilege of owning yourself. - Friedrich Nietzsche
|
|
gnome power
Sergeant Major Fear my graphs! Joined: 02 July 2003 Location: United States Status: Offline Points: 14503 |
Post Options
Thanks(0)
|
Unfortunately I don't have the time at this point to customize the prompt for people, I think a few things would have to change in the SmartPrompt code as well to display it properly. You'll have to comb through it yourself or use the standard prompt until I get time (which may not be for awhile, work is hectic).
|
|
Jor'Mox
First Sergeant Joined: 29 July 2004 Status: Offline Points: 8561 |
Post Options
Thanks(0)
|
No. He means changing the regular expression so that it will match your prompt.
Oh, and colors don't matter. So I think I stripped color codes out properly, this is what I'm seeing for your prompt: prompt (%h/%Hhp %m/%Mm %v/%Vmv)-%e-%c(%r|%S)(%d)%t>%c Edited by Jor'Mox - 28 March 2013 at 7:51am |
|
No price is too high to pay for the privilege of owning yourself. - Friedrich Nietzsche
|
|
Elathan
Corporal Joined: 23 July 2012 Status: Offline Points: 226 |
Post Options
Thanks(0)
|
lol I typed reply...
|
|
Elathan
Corporal Joined: 23 July 2012 Status: Offline Points: 226 |
Post Options
Thanks(0)
|
Reply do you mean changing it from Pearl Regex to something else?
|
|
gnome power
Sergeant Major Fear my graphs! Joined: 02 July 2003 Location: United States Status: Offline Points: 14503 |
Post Options
Thanks(0)
|
It would just require changing the regex.
Do you know how to do so?
|
|
Elathan
Corporal Joined: 23 July 2012 Status: Offline Points: 226 |
Post Options
Thanks(0)
|
This is my current prompt by the way:
prompt {W({x%h{W/{x%Hhp %m{W/{x%Mm %v{W/{x%Vmv{W){W-{C%e{W-{x%c{w({c%r{w|{y%S{w){R({W%d{R){c%t{W>{x%c |
|
Elathan
Corporal Joined: 23 July 2012 Status: Offline Points: 226 |
Post Options
Thanks(0)
|
As far as the prompt goes. My current prompt has color in it and has which room I'm in named in the prompt. Is there a way to add that to the prompt you need for this script to work?
|
|
gnome power
Sergeant Major Fear my graphs! Joined: 02 July 2003 Location: United States Status: Offline Points: 14503 |
Post Options
Thanks(0)
|
My guess is it would be pretty easy to do, just based on the fact that I already use a prompt that states the character name. Can just make a library of names you want each trigger to function for, and have it check if the current alt is on that list at the beginning of the trigger.
|
|
Jor'Mox
First Sergeant Joined: 29 July 2004 Status: Offline Points: 8561 |
Post Options
Thanks(0)
|
You could do that, or you could set up your triggers/aliases to check a variable that stores your character name/class and act accordingly.
|
|
No price is too high to pay for the privilege of owning yourself. - Friedrich Nietzsche
|
|
Ericka
Master Sergeant Joined: 07 February 2007 Location: Sacramento, CA Status: Offline Points: 3207 |
Post Options
Thanks(0)
|
Question for gnome and others: What's the best way to configure Mudlet for multiple characters that use different trigs/alises? I'm guessing I should just make different alias/trig folders for each char and enable/disable them as needed.
That's one thing I definitely miss about Atlantis. The World:Character structure was really easy to use.
|
|
Aeltor OOC: 'if you werent sboosted phonivia id tear your a few new holes as a
monk' |
|
gnome power
Sergeant Major Fear my graphs! Joined: 02 July 2003 Location: United States Status: Offline Points: 14503 |
Post Options
Thanks(0)
|
edit: Nevermind, was going to suggest another script but forgot I already included it into the current script.
Edited by gnome power - 16 November 2012 at 9:35am |
|
gnome power
Sergeant Major Fear my graphs! Joined: 02 July 2003 Location: United States Status: Offline Points: 14503 |
Post Options
Thanks(0)
|
Awesome. :)
I don't know about the slow-ness, it seems to work pretty well for me. But I'm on a different OS so maybe it's not as good on Windows.
|
|
jharel
Sergeant First Class Joined: 16 April 2005 Status: Offline Points: 1792 |
Post Options
Thanks(0)
|
Too true! Downloaded a mudlet client for Win 7, a bit sluggish (or I am just not used to the format). This is a brilliant script though, congrats.
|
|
Post Reply | Page 123> |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |