Ethelon2006-07-31 02:52:12
In the two triggers PROMPTCATCH and HEALREFLEX add ,? after the p
this is how it looks currently:
^(\\d+)h\\, (\\d+)m\\, (\\d+)e\\, (\\d+)p (.*?)\\-
this is how it should look after:
^(\\d+)h\\, (\\d+)m\\, (\\d+)e\\, (\\d+)p,? (.*?)\\-
this will allow it to work for all the configs I believe..
this is how it looks currently:
^(\\d+)h\\, (\\d+)m\\, (\\d+)e\\, (\\d+)p (.*?)\\-
this is how it should look after:
^(\\d+)h\\, (\\d+)m\\, (\\d+)e\\, (\\d+)p,? (.*?)\\-
this will allow it to work for all the configs I believe..
Karrack2006-07-31 04:16:48
heh, i'm notkilling it!... i'm making it better
and ok i'll try that... your advice thing.. not the "here have my dead system"
and ok i'll try that... your advice thing.. not the "here have my dead system"
Unknown2006-07-31 07:03:19
I'd think this pattern would work better for you.
CODE
^(\\d+)h\\, (\\d+)m\\, (\\d+)e\\, (\\d+)p.*? (.*?)\\-
Ethelon2006-07-31 12:28:04
Either way, it works.
Unknown2006-07-31 18:29:56
I disagree. Your pattern will match your basic HMEP prompt but not the HMEPEnW prompt with all the stats. All you added was a match for an optional comma after the power, which ignores the fact that your other stats will then be captured as part of your prompt flags. Sure, the trigger fires, but it does not correctly capture the stats.
Karrack2006-07-31 23:39:34
hrm so whats best?
Ethelon2006-08-01 01:49:44
according to my testing it does catch them properly. The ,? allows for the possibility of the comma, which is only there if CONFIG STATS ALL is on, and if not, it works as normal. Unless you are talking about a config I dont know of and wasn't able to test....otherwise, my fix works just fine. You seem to forget the fact that the (.*?) (before the -) will catch the endurance and willpower itself, with no need of the additional stuff you added.
Tervic2006-08-01 04:48:45
Not to mention it's my understanding that the base system itself doesn't have anything that deals with willpower or endurance. I myself switched to the ALL stats because someone kept jacking me with broken ribs and stuff, but that's just me. I do them all separately because the (.*?) flag doesn't capture the willpower and endurance and stat flags separately, unless I'm reading the help files wrong.
Unknown2006-08-01 12:38:38
QUOTE(Ethelon @ Jul 31 2006, 09:49 PM) 313419
according to my testing it does catch them properly. The ,? allows for the possibility of the comma, which is only there if CONFIG STATS ALL is on, and if not, it works as normal. Unless you are talking about a config I dont know of and wasn't able to test....otherwise, my fix works just fine. You seem to forget the fact that the (.*?) (before the -) will catch the endurance and willpower itself, with no need of the additional stuff you added.
I'm glad you understand that the last wildcard captures willpower and endurance, but unless you're doing special parsing of the result in your script, you're getting the wrong data. If you look for "e" in your prompt flags, for example, you'll find the "e" in "en" (from the endurance) even if you have no equilibrium. That's what I'm talking about, which is why I replaced your wildcard with mine. With me now?
Ethelon2006-08-02 01:31:32
ohh, for the Prompt Catch...I see, I was talking about the HEalreflex, but yeah, I see what you mean for the promptcatch
Diamondais2006-08-02 02:10:25
Just a silly question, but Im curious on how you would set times. Ive probably seen it, just too silly to fully understand the helpfile.
Ethelon2006-08-02 04:05:36
Set times? You mean set up timers? or Timestamps?
Diamondais2006-08-02 13:42:07
Timers, an example would be demesne setup.
Unknown2006-08-02 13:48:23
QUOTE(diamondais @ Aug 2 2006, 02:42 PM) 313977
Timers, an example would be demesne setup.
Here you go:
http://lusternia.ire-community.com/index.p...7016&hl=demesne
Diamondais2006-08-02 14:03:04
Ive looked there, I need a bit more help understanding it on a whole not just for the one thing.
Unknown2006-08-11 14:01:32
Alright I've got a question about the deep wound healing. It works fine based on affliction but when you check WOUNDS and the wound level is set to the variable V(bodypart) ... it's supposed to change the respective W(bodypart) variable to the wound level it is so that the system will start curing it doesn't work. Anybody know the way to remedy it?
Achius2006-08-29 19:16:27
I'm totally new to Lusternia, having origionated in Aetolia, moved to Achaea and then under unfortunate circumstances to Imperian. Don't really know much about coding so first off I'd like to thank you, Ethelon for making something like this avaliable for everyone to use. Three questions:
1) How do I change the priority of the autosipper to health rather than mana
2) What % of health does the autosipper sip on, and how can I change it?
3) I can't seem to locate the trigger which automatically enters MORE in when reading a help file.. I want to delete that 'cause it's annoying - please advise.
~'chius
1) How do I change the priority of the autosipper to health rather than mana
2) What % of health does the autosipper sip on, and how can I change it?
3) I can't seem to locate the trigger which automatically enters MORE in when reading a help file.. I want to delete that 'cause it's annoying - please advise.
~'chius
Diamondais2006-08-29 19:26:08
QUOTE(Achius @ Aug 29 2006, 03:16 PM) 325522
I'm totally new to Lusternia, having origionated in Aetolia, moved to Achaea and then under unfortunate circumstances to Imperian. Don't really know much about coding so first off I'd like to thank you, Ethelon for making something like this avaliable for everyone to use. Three questions:
1) How do I change the priority of the autosipper to health rather than mana
2) What % of health does the autosipper sip on, and how can I change it?
3) I can't seem to locate the trigger which automatically enters MORE in when reading a help file.. I want to delete that 'cause it's annoying - please advise.
~'chius
I can answer the last, when on the triggers screen use Find. Search 'type more' and youll be taken straight to it.
Unknown2006-08-29 19:34:30
QUOTE(Achius @ Aug 29 2006, 09:16 PM) 325522
I'm totally new to Lusternia, having origionated in Aetolia, moved to Achaea and then under unfortunate circumstances to Imperian. Don't really know much about coding so first off I'd like to thank you, Ethelon for making something like this avaliable for everyone to use. Three questions:
1) How do I change the priority of the autosipper to health rather than mana
2) What % of health does the autosipper sip on, and how can I change it?
3) I can't seem to locate the trigger which automatically enters MORE in when reading a help file.. I want to delete that 'cause it's annoying - please advise.
~'chius
1 and 2:
In your trigger list, search (using the Find button) for "drink mana". Edit the first trigger that pops in, it should look like this:
CODE
if (%1 <= @maxhealth*.80) then
send "drink health"
enabletrigger "HealReflex", "0"
enabletimer "HealReset", "1"
resettimer "HealReset"
elseif (%2 <= @maxmana*.50) then
send "drink mana"
enabletrigger "HealReflex", "0"
enabletimer "HealReset", "1"
resettimer "HealReset"
elseif (%3 <= @maxego*.80) then
send "drink bromide"
enabletrigger "HealReflex", "0"
enabletimer "HealReset", "1"
resettimer "HealReset"
else
call deepwounds (a, b, c)
end if
send "drink health"
enabletrigger "HealReflex", "0"
enabletimer "HealReset", "1"
resettimer "HealReset"
elseif (%2 <= @maxmana*.50) then
send "drink mana"
enabletrigger "HealReflex", "0"
enabletimer "HealReset", "1"
resettimer "HealReset"
elseif (%3 <= @maxego*.80) then
send "drink bromide"
enabletrigger "HealReflex", "0"
enabletimer "HealReset", "1"
resettimer "HealReset"
else
call deepwounds (a, b, c)
end if
What matters are these three lines:
if (%1 <= @maxhealth*.80) then
elseif (%2 <= @maxmana*.50) then
elseif (%3 <= @maxego*.80) then
Change these numbers (bolded part) to set when the autosipper will drink health, mana or bromides. It's a percentage of your total hp/mp/ego - just type SCORE to make sure it has your stats correctly.
3. What Diamondais said. Or you can just turn off all your triggers, and turn them all when you want to fight. To do that, uncheck "enable triggers".
Achius2006-08-31 13:51:19
Great, thanks to both of you for that info. But for some reason, the autosipper won't do anything.. I pasted the code just as you listed it.
if (%1 <= @maxhealth*.80) then
send "drink health"
enabletrigger "HealReflex", "0"
enabletimer "HealReset", "1"
resettimer "HealReset"
elseif (%2 <= @maxmana*.50) then
send "drink mana"
enabletrigger "HealReflex", "0"
enabletimer "HealReset", "1"
resettimer "HealReset"
elseif (%3 <= @maxego*.80) then
send "drink bromide"
enabletrigger "HealReflex", "0"
enabletimer "HealReset", "1"
resettimer "HealReset"
else
call deepwounds (a, b, c)
end if
for this trigger:
^(\\d+)h\\, (\\d+)m\\, (\\d+)e\\, (\\d+)p (.*?)\\-
because of the first line of the script, I should be sipping health at 80% of my max, but I'm not.
if (%1 <= @maxhealth*.80) then
send "drink health"
enabletrigger "HealReflex", "0"
enabletimer "HealReset", "1"
resettimer "HealReset"
elseif (%2 <= @maxmana*.50) then
send "drink mana"
enabletrigger "HealReflex", "0"
enabletimer "HealReset", "1"
resettimer "HealReset"
elseif (%3 <= @maxego*.80) then
send "drink bromide"
enabletrigger "HealReflex", "0"
enabletimer "HealReset", "1"
resettimer "HealReset"
else
call deepwounds (a, b, c)
end if
for this trigger:
^(\\d+)h\\, (\\d+)m\\, (\\d+)e\\, (\\d+)p (.*?)\\-
because of the first line of the script, I should be sipping health at 80% of my max, but I'm not.