Unknown2006-06-18 14:37:19
No, sorry. First, I'm not going to post alternate versions of someone else's work. Second, I'm betting most people have modified theirs substantially (even if only by adding in aliases) and would lose those changes by uploading a new version. Changing it yourself is really simple, though:
Open Subroutine.vbs. Copy and paste sub melancall from my post above. Find sub purgativehealing. Remove these two lines from it:
elseif ((getvariable ("affliction_asthma") = "1") OR (getvariable ("affliction_punclung") = "1") OR (getvariable ("affliction_blacklung") = "1")) then
setvariable "potionbalance", "1"
send "drink melancholic"
and
elseif ((getvariable ("affliction_asthma") = "1") OR (getvariable ("affliction_punclung") = "1") OR (getvariable ("affliction_blacklung") = "1")) then
setvariable "potionbalance", "1"
send "drink melancholic"
Find sub purgativehealing2. Also remove those same two lines from it.
Find sub salvehealing. Add these two lines wherever you please in the priority queue (anywhere in that giant if statement, before the "else" or the "end if"):
elseif ((getvariable ("affliction_asthma") = "1") OR (getvariable ("affliction_punclung") = "1") OR (getvariable ("affliction_blacklung") = "1")) then
setvariable "salvebalance", "1"
send "apply melancholic to chest"
elseif getvariable ("affliction_sensitivity") OR getvariable ("affliction_dizziness") OR getvariable ("affliction_vapors") then
setvariable "salvebalance", "1"
send "apply melancholic to head"
Make sure the line breaks are correct when you copy and paste things. There shouldn't be a line break anywhere between "elseif" and "then".
Finally, find every trigger that does this: call varycall (whateveraffliction, whateverherb, "melancholic"). Replace it with: call melancall (whateveraffliction, whateverherb, region), where region is "head" for sensitivity, dizziness and vapors, and "chest" for asthma, punclung and blacklung.
So, call varycall ("dizziness", "kombu", "melancholic") should change to call melancall ("dizziness", "kombu", "head").
(A quick way of finding all the triggers you need to change is to open ESV Triggers.mct in a text editor and search for "melancholic". I do that, then change the triggers in MUSHclient.)
And "I really suck at this" is just the wrong way of thinking about it. We all did once. We learned.
Open Subroutine.vbs. Copy and paste sub melancall from my post above. Find sub purgativehealing. Remove these two lines from it:
elseif ((getvariable ("affliction_asthma") = "1") OR (getvariable ("affliction_punclung") = "1") OR (getvariable ("affliction_blacklung") = "1")) then
setvariable "potionbalance", "1"
send "drink melancholic"
and
elseif ((getvariable ("affliction_asthma") = "1") OR (getvariable ("affliction_punclung") = "1") OR (getvariable ("affliction_blacklung") = "1")) then
setvariable "potionbalance", "1"
send "drink melancholic"
Find sub purgativehealing2. Also remove those same two lines from it.
Find sub salvehealing. Add these two lines wherever you please in the priority queue (anywhere in that giant if statement, before the "else" or the "end if"):
elseif ((getvariable ("affliction_asthma") = "1") OR (getvariable ("affliction_punclung") = "1") OR (getvariable ("affliction_blacklung") = "1")) then
setvariable "salvebalance", "1"
send "apply melancholic to chest"
elseif getvariable ("affliction_sensitivity") OR getvariable ("affliction_dizziness") OR getvariable ("affliction_vapors") then
setvariable "salvebalance", "1"
send "apply melancholic to head"
Make sure the line breaks are correct when you copy and paste things. There shouldn't be a line break anywhere between "elseif" and "then".
Finally, find every trigger that does this: call varycall (whateveraffliction, whateverherb, "melancholic"). Replace it with: call melancall (whateveraffliction, whateverherb, region), where region is "head" for sensitivity, dizziness and vapors, and "chest" for asthma, punclung and blacklung.
So, call varycall ("dizziness", "kombu", "melancholic") should change to call melancall ("dizziness", "kombu", "head").
(A quick way of finding all the triggers you need to change is to open ESV Triggers.mct in a text editor and search for "melancholic". I do that, then change the triggers in MUSHclient.)
And "I really suck at this" is just the wrong way of thinking about it. We all did once. We learned.
Unknown2006-06-18 18:01:12
what do i do with the ones that dont have a herb cure? what do i put in the second space, for example, asthma doesnt have a herb cure, all the chest ones dont, so what do i put in its place, if anything, and if nothing, what will it look like? thanks for your help to, that was great
Unknown2006-06-18 19:26:48
Oh yeah... You make a good point. Right, so you also need to find all the triggers that contain: call purgall (whateveraffliction, "melancholic") and change that to call salvecall (thatsameaffliction, "melancholic"). I knew I was missing something. *cough*
Unknown2006-06-18 19:30:48
well there's that, but i mean for the ones that are (affliction name, herb, region), what if there is no herb that cures it, and you only want to put region in for it. how do i go about that, cause asthma, black lung and punclung dont have herbal remedies, only regions.
Unknown2006-06-18 19:35:07
Right, but you're not going to find any varycalls involving those afflictions, because they only had a single cure before, too. You're only going to find purgcalls, and I just explained how you handle those. The region thing is superfluous (since all the afflictions with multiple cures are from the head), but it won't mess anything up to have it there.
Unknown2006-06-18 19:38:13
ah, thank you so much for all of your help, I really appreciate it.
Okin2006-06-20 11:27:37
QUOTE
Open Subroutine.vbs. Copy and paste sub melancall from my post above. Find sub purgativehealing. Remove these two lines from it:
elseif ((getvariable ("affliction_asthma") = "1") OR (getvariable ("affliction_punclung") = "1") OR (getvariable ("affliction_blacklung") = "1")) then
setvariable "potionbalance", "1"
send "drink melancholic"
and
elseif ((getvariable ("affliction_asthma") = "1") OR (getvariable ("affliction_punclung") = "1") OR (getvariable ("affliction_blacklung") = "1")) then
setvariable "potionbalance", "1"
send "drink melancholic"
elseif ((getvariable ("affliction_asthma") = "1") OR (getvariable ("affliction_punclung") = "1") OR (getvariable ("affliction_blacklung") = "1")) then
setvariable "potionbalance", "1"
send "drink melancholic"
and
elseif ((getvariable ("affliction_asthma") = "1") OR (getvariable ("affliction_punclung") = "1") OR (getvariable ("affliction_blacklung") = "1")) then
setvariable "potionbalance", "1"
send "drink melancholic"
Is it just me, or are those two lines the same thing? Is there something else I should be removing? There's another line in there:
elseif ((getvariable ("affliction_dizziness") = "1") OR (getvariable ("affliction_vapors") = "1") OR (getvariable ("affliction_sensitivity") = "1")) then
setvariable "potionbalance", "1"
send "sip melancholic"
Knowing next to nothing about scripting, I'm simply guessing based on the fact that this is also a melancholic cure. Is this the other line that needs to be removed?
Also, should
elseif getvariable ("affliction_sensitivity") OR getvariable ("affliction_dizziness") OR getvariable ("affliction_vapors") then
setvariable "salvebalance", "1"
send "apply melancholic to head"
be
elseif ((getvariable ("affliction_sensitivity") = "1") OR (getvariable ("affliction_dizziness") = "1") OR
(getvariable ("affliction_vapors") = "1") then
setvariable "salvebalance", "1"
send "apply melancholic to head"
?
Thanks.
Unknown2006-06-20 12:33:09
The answer to your first question is yes, sorry! Just take out the other sipped melancholic cure line (which you listed).
The answer to your second question is no: the way I wrote that is OK (a lot of parentheses in Ethelon's scripting are optional, just there to clear things up), the way you did will give you a syntax error when you try to compile the script because you're missing a bracket at the end. This would also be correct:
elseif ((getvariable ("affliction_sensitivity") = "1") OR (getvariable ("affliction_dizziness") = "1") OR
(getvariable ("affliction_vapors") = "1")) then
setvariable "salvebalance", "1"
send "apply melancholic to head"
The answer to your second question is no: the way I wrote that is OK (a lot of parentheses in Ethelon's scripting are optional, just there to clear things up), the way you did will give you a syntax error when you try to compile the script because you're missing a bracket at the end. This would also be correct:
elseif ((getvariable ("affliction_sensitivity") = "1") OR (getvariable ("affliction_dizziness") = "1") OR
(getvariable ("affliction_vapors") = "1")) then
setvariable "salvebalance", "1"
send "apply melancholic to head"
Okin2006-06-20 13:34:39
My point about the different syntaxes wasn't so much the brackets, it was the fact that your original expression doesn't contain any = "1" at all. There's no comparison of the variable value. Am I missing something?
Karrack2006-06-23 20:51:18
anyone knoe how the harvest alieses work? i'm looking at harv5 and wondering if theres somthing like the @target's X
Tervic2006-06-23 21:07:06
QUOTE(karrack @ Jun 23 2006, 01:51 PM) 301687
anyone knoe how the harvest alieses work? i'm looking at harv5 and wondering if theres somthing like the @target's X
no you have to make your own, but it's really easy
Alias: setherb *
Send to script: world.setvariable "herbal", "%1"
Expand variables
Karrack2006-06-24 01:14:46
oh cool, thanks
uh oh i seem to be in need of a "herbal" variable (varible "herbal" is not defined) i noticed that i does use a @herbal in the harv yet there isnt a variable...
uh oh i seem to be in need of a "herbal" variable (varible "herbal" is not defined) i noticed that i does use a @herbal in the harv yet there isnt a variable...
Karrack2006-06-25 02:23:25
is this what i should be getting after i setherb ?
AutoHealer:maxHealth erb yarrow
AutoHealer:maxHealth erb yarrow
Tervic2006-06-26 19:49:00
QUOTE(karrack @ Jun 24 2006, 07:23 PM) 302127
is this what i should be getting after i setherb ?
AutoHealer:maxHealth erb yarrow
AutoHealer:maxHealth erb yarrow
Oh right, I had that issue too. Find the "seth*" trigger and change it to "seth *". The missing space is what's throwing it all off. I had that issue too and it was highly annoying >.<
Karrack2006-06-27 00:44:32
woot! heh i noticed that but thought "maybe if i... nah"
Tervic2006-06-27 04:01:14
QUOTE(karrack @ Jun 26 2006, 05:44 PM) 302635
woot! heh i noticed that but thought "maybe if i... nah"
Only way to learn is to poke it
(something that resulted in much IG pain for me...)
Unknown2006-07-19 15:03:58
I'm a bit confused. I loaded the Variables, and it said it was "overwriting" various lines, and such. However, the auto-sipper doesn't work, and it keeps trying to drink mana.
Is it because it's still set for Ethelon's HP/Mana? How do I fix this?
Is it because it's still set for Ethelon's HP/Mana? How do I fix this?
Tervic2006-07-20 15:41:44
QUOTE(Jesuel @ Jul 19 2006, 08:03 AM) 309223
I'm a bit confused. I loaded the Variables, and it said it was "overwriting" various lines, and such. However, the auto-sipper doesn't work, and it keeps trying to drink mana.
Is it because it's still set for Ethelon's HP/Mana? How do I fix this?
Is it because it's still set for Ethelon's HP/Mana? How do I fix this?
That's not possible, since it grabs your stats on login. The most likely issue has been discussed several times here, I think, and that problem would be that your prompt stats aren't in the format used by the system. I think you might want to try CONFIG PROMPT STATS as opposed to CONFIG PROMPT ALL, but it's a fairly simple matter to change a few lines if you want to use ALL.
Karrack2006-07-31 00:26:37
hrm, how would i make config prompt stats all work with out messing up the auto sipper and healing?
Tervic2006-07-31 02:50:24
Karrack! Stop breaking the system!!!
anyways, to change to being able to use CONFIG PROMPT FULL do the following:
Enter the triggers menu
Search for ^(\\d+)h\\, (\\d+)m\\
Replace the trigger there with ^(\\d+)h\\, (\\d+)m\\, (\\d+)e\\, (\\d+)p\\, (\\d+)en\\, (\\d+)w\\ (.*)\\-
Lather rinse repeat until there are no more to replace.
and that should be it.
Or I could post my current setup, but I don't remember all the tweaks I made and I know there are a lot of them some involving script alterations, and a lot of warrior combat aliases. I'm working on a build for mages/druids right now though, so that'll be fun.
If you're willing to accept liability for a potentially dead system, feel free to contact me IG.
anyways, to change to being able to use CONFIG PROMPT FULL do the following:
Enter the triggers menu
Search for ^(\\d+)h\\, (\\d+)m\\
Replace the trigger there with ^(\\d+)h\\, (\\d+)m\\, (\\d+)e\\, (\\d+)p\\, (\\d+)en\\, (\\d+)w\\ (.*)\\-
Lather rinse repeat until there are no more to replace.
and that should be it.
Or I could post my current setup, but I don't remember all the tweaks I made and I know there are a lot of them some involving script alterations, and a lot of warrior combat aliases. I'm working on a build for mages/druids right now though, so that'll be fun.
If you're willing to accept liability for a potentially dead system, feel free to contact me IG.