 |
infimious Beginner
Joined: 24 Jun 2009 Posts: 15
|
Posted: Sun Aug 02, 2009 4:13 am
auto practice Trigger - Whos up for the Challange |
Trying to get it so i can auto practice all my spells in game weather they be casting or just spamming. The first trigger i have would be the Flee (for when in battle) The second one would be the spell list
#CLASS {CastSpellAlarm}
#CLASS {fleeSpellAlarm}
#CLASS {PracSpellAlarm}
#ALIAS learnspells {#T+ CastSpellAlarm}
#ALIAS stoplearn {#T- CastSpellAlarm;#T- PracSpellAlarm;#T- fleeSpellAlarm;SpellCount=1}
#VAR SpellList {inferno|void blast||}
#VAR SpellMax {90|90|90|55|47|47|47||90|90}
#VAR SpellCount {1} {1}
#ALARM {3} {cast '%item( @SpellList, @SpellCount)' dummy;prac %item( @SpellList, @SpellCount)} "CastSpellAlarm"
#TRIGGER {Impossible! You can't concentrate enough!} {flee} "CastSpellAlarm"
#TRIGGER {({@SpellList})%s(%d)} {#IF ((%item( @SpellList, @SpellCount) = "%1") AND (%item( @SpellMax, @SpellCount) = %2)) {#ADD SpellCount 1}} "CastSpellAlarm"
#TRIGGER {You haven't the energy to cast that spell!} {e;#5 flee;#5 el e;#T- CastSpellAlarm;#T+ fleeSpellAlarm} "CastSpellAlarm"
#TRIGGER {No way! You're fighting for your life!} {flee} "fleeSpellAlarm"
#TRIGGER {Hidden Area} {u;e;sit} "fleeSpellAlarm"
#TRIGGER {PANIC! You couldn't escape!} {flee} "fleeSpellAlarm"
#TRIGGER {Down - Entry Room to Algeroth} {#T- fleeSpellAlarm;#T+ PracSpellAlarm} "fleeSpellAlarm"
#ALARM {15} {prac %item( @SpellList, @SpellCount)} "PracSpellAlarm"
#TRIGGER {({@SpellList})%s(%d)} {#IF ((%item( @SpellList, @SpellCount) = "%1") AND (%item( @SpellMax, @SpellCount) = %2)) {#ADD SpellCount 1}} "PracSpellAlarm"
#TRIGGER {6068m} {stand;w;#T- PracSpellAlarm;#T+ CastSpellAlarm} "PracSpellAlarm" {nocr|prompt}
This is the same thing i just have them broke down in the 2 triggers
First Trigger
#CLASS {FleeSpellAlarm} {disable}
#TRIGGER {No way! You're fighting for your life!} {flee}
#TRIGGER {Hidden Area} {
u
e
sit
}
#TRIGGER {PANIC! You couldn't escape!} {flee}
#TRIGGER {Down - Entry Room to Algeroth} {
#T- fleeSpellAlarm
#T+ PracSpellAlarm
}
#CLASS 0
#CLASS {FleeSpellAlarm|CastSpellAlarm} {disable}
#ALARM {3} {
cast '%item( @SpellList, @SpellCount)' dummy
prac %item( @SpellList, @SpellCount)
}
#TRIGGER {Impossible! You can't concentrate enough!} {flee}
#TRIGGER {({@SpellList})%s(%d)} {#IF ((%item( @SpellList, @SpellCount) = "%1") AND (%item( @SpellMax, @SpellCount) = %2)) {#ADD SpellCount 1}}
#TRIGGER {You haven't the energy to cast that spell!} {
e
#5 flee
#5 el e
#T- CastSpellAlarm
#T+ fleeSpellAlarm
}
#CLASS 0
Second Trigger
#CLASS {PracSpellAlarm} {disable}
#ALARM {15} {prac %item( @SpellList, @SpellCount)}
#TRIGGER {({@SpellList})%s(%d)} {#IF ((%item( @SpellList, @SpellCount) = "%1") AND (%item( @SpellMax, @SpellCount) = %2)) {#ADD SpellCount 1}}
#TRIGGER {{6160m}`} {
stand
w
#T- PracSpellAlarm
#T+ CastSpellAlarm
} "" {nocr|prompt}
#CLASS 0 |
|
Last edited by infimious on Sun Aug 02, 2009 5:27 pm; edited 1 time in total |
|
|
 |
infimious Beginner
Joined: 24 Jun 2009 Posts: 15
|
Posted: Sun Aug 02, 2009 3:30 pm |
I see no one is up to the challange so far.
|
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sun Aug 02, 2009 11:04 pm |
Dude, a couple of things...
First it's only been a day... and a weekend at that. Give it time.
Second, sample content to test this against. I don't think you say exactly what MUD you play, so it will be difficult to test it.
Third, you haven't really given clear instructions as to what you need help with. You said you want an auto practice trigger, but to practice what? How? What are the special conditions? It seems like you have two triggers already, so tell us exactly what they do and exactly what they don't do that you need help with. |
|
_________________ Asati di tempari! |
|
|
 |
infimious Beginner
Joined: 24 Jun 2009 Posts: 15
|
Posted: Mon Aug 03, 2009 12:53 am |
My apologizes
Thought there was a timely response to these chats so i do apologize and by timely i thought minutes. Sorry!
The way my MUD is mapped out the dummy and the only room u can gain your skills to go up is to actually practice the spell/skill which is west then the healers and east of that then there is a clan board room east of that. im not sure much else u would need to know about room wise. The MAX a skill/spell will go is 90
here is what it looks lik in game
Chaos Heal Room
Welcome to the Clan Healers. You are welcome to stay here in
this comfortable room and recover from your wounds before again
venturing outside. One of the most powerful healers on ED stands
ready to heal you.
North - Chaos Entrance
East - Chaos Board Room
West - Chaos Training Room
Down - Entry Room to Algeroth
The Clan Healer is here to serve you.
...she glows with a bright light!
The Clan Healer is here to serve you.
...she glows with a bright light!
The Clan Healer is here to serve you.
...she glows with a bright light!
The Clan Healer is here to serve you.
...she glows with a bright light!
The Clan Healer is here to serve you.
...she glows with a bright light!
The Clan Healer is here to serve you.
...she glows with a bright light!
The Clan Healer is here to serve you.
...she glows with a bright light!
If you move West this is the next room
Chaos Training Room
East - Chaos Heal Room
The Clan Training Dummy is standing here.
...it glows with a bright light!
...it glows from a blue shimmer!
If you type Practice (shows list of skills you can practice)
You have 16800 practice sessions remaining.
You know of the following spells and skills:
acid blast 90
acid rain 3
adrenaline 67
adrenaline control 21
age 90
aid 40
air jet 3
alarm 30
animate dead 77
annihilation 33
armageddon 90
armor 90
aura of dispair 90
avatars aid 30
backstab 64
bark skin 12
bash 14
behead 24
berserk skill 26
berserker spell 55
That is Page 1 of 15
There are skills/spells which you need to practice before other or else they will not go up
if i cast berserker spell a million times it wont go up until the spell before it needs to go up
so i would type help berserker spell
and it tell me the prereq is: Bravery
then i type help bravery
Prereq: Youth
help youth
Prereq:age
age is the firs thing that would need practiced
I want to auto practice Every single spell/skill in the game while im at work, when the skill is maxed it will go to the next one and so on and so on
The trggers I currently have dont seem to be working right, possibly im missing some keys.. im not exactly sure but all it does is spam me with practice inferno (which tells me the skill level on
thats what it looks like in game
5648hp 4835m 1786mv> prac inferno
You have 391 practice sessions remaining.
inferno 24
Anything else you need please let me know
Thank You very much for your time, I greatly apprecaite it
and I do apologize again about being snippy didnt know how long it would take
Thanks again
Eric |
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Mon Aug 03, 2009 5:41 am |
Ok... what you asking for isn't that straight forward unless you already have a variable of the full list of spells and their prerequisites. I'm going to assume that the number after the skill is you max level in it. What's the output when you practice a particular skill? Call you fail a practice? Is your output message different if the skill is already maxed? What is the help output of spell that doesn't have a pre-req, e.g. age.
Responses can come pretty quickly, sometimes in the matter of minutes especially if someone is having a problem. What you are asking for is for help with a script, which isn't a big deal, and is encouraged. However, unless someone plays your MUD or something similar (and has a made a script like that for themselves), someone will have to figure how to get the script to do what you want. Since we all volunteer it really comes down to a matter of time, availability and interest.
I personally hope to have some free time by mid-week and will look at it then, someone else may be able to get to it before. I didn't think you were snipper (just a bit eager ), and I hope I didn't appear that way either. |
|
_________________ Asati di tempari! |
|
|
 |
infimious Beginner
Joined: 24 Jun 2009 Posts: 15
|
Posted: Mon Aug 03, 2009 3:29 pm |
I dont have a variable or a list of prerequisites but if you need them i could take the time and do it would only take an hour or so, if need be we could just not worry about anytriggers i already have and start from scartch because my mind obviously isnt workning right.
the number after the skill is what it starts at - the max every skill can be is 90
If you max a skill it doesnt notify you but for intance if i was to type prac inferno
You have 7229 practice sessions remaining.
inferno 90
That would mean it is maxed.
if it was You have 7229 practice sessions remaining.
inferno 12 <---- or any number 22 55 76 whatever then it isnt 90 so its not maxed
I would need to go west
c ' inferno ' dum
Chaos Training Room
East - Chaos Heal Room
The Clan Training Dummy is standing here.
...it glows with a bright light!
...it glows from a blue shimmer!
7654hp 5818m 2099mv> c ' inferno dum
Cast what?!?
7654hp 5818m 2099mv> c ' inferno ' dummy
the Clan Training Dummy is engulfed in an inferno of lava taking great damage! (4818)
7654hp 5772m 2099mv>
You duck under the Clan Training Dummy's fist as it takes a swing at you.
Cyris luck gives you an extra attack!!!
You DEVASTATE the Clan Training Dummy with your wicked slash!! (336)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (341)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (343)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (328)
You miss the Clan Training Dummy by an inch, curse that brat!
You DEVASTATE the Clan Training Dummy with your wicked slash!! (343)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (324)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (319)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (340)
The Clan Training Dummy has a few scratches.
7654hp 5569m 2099mv> c ' inferno ' dummy
Your blade barrier blocks the Clan Training Dummy's attack!
You DEVASTATE the Clan Training Dummy with your wicked slash!! (333)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (315)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (342)
You LIQUIDATE the Clan Training Dummy with your unforgiving slash!! (353)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (333)
You LIQUIDATE the Clan Training Dummy with your unforgiving slash!! (355)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (337)
The Clan Training Dummy has a few scratches.
7654hp 5569m 2099mv> the Clan Training Dummy is engulfed in an inferno of lava taking great damage! (5362)
7654hp 5515m 2099mv> c ' inferno ' dummy
The Clan Training Dummy closes its eyes and utters the words, 'qawsroho poirubt'.
Your Cyris luck makes the Clan Training Dummy miss you!
You DEVASTATE the Clan Training Dummy with your wicked slash!! (316)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (340)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (330)
You LIQUIDATE the Clan Training Dummy with your unforgiving slash!! (365)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (332)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (337)
You DEVASTATE the Clan Training Dummy with your wicked slash!! (329)
The Clan Training Dummy has a few scratches.
7654hp 5515m 2099mv> the Clan Training Dummy dives away from your lava, fear plain on its face.
what iv tried to do in the passed and i thought would work is base it off my mana
whenever i run low on mana #5 flee
so id be back in the healing room
then when @ maxmana w; #50 c ' inferno ' dummy
In order this is what the prerequisite are from berserker spell/bravery/youth/age
_IN GAME_
7654hp 5818m 2100mv> help berserker spell
BERSERKER_SPELL
Usage : cast 'berserker'
Accum : YES for affect and duration
Effects : +2 damroll per cast
Duration : 14 mud hrs
Sphere : body
Stat : intelligence
Prereq : bravery
The most useful ability for berserkers which allows them to slowly
"pump up" their damroll for a brief amount of time.
7654hp 5818m 2100mv> help bravery
BRAVERY
Usage : cast 'bravery' <target>
Accum : NO
Effects : +2 hitroll and +2 damroll
Duration : 12 mud hrs
Sphere : body
Stat : wisdom
Prereq : youth
This spell makes the caster fearless and courageous resulting in bonuses
to hitroll and damroll.
7654hp 5818m 2100mv> help age
AGE
Usage : cast 'age'
Accum : YES for affect and duration
Effects : +4 age for each cast
Duration : 14 mud hrs
Sphere : body
Stat : wisdom
Prereq : none
The ability to make your older in appearance. This can be used
to help in increasing regen rate to an age of 45 which is the
premium age.
See Also: YOUTH
I understand what your saying about you guys are volunteer, I actually thought you guys were paid programmers with Zmud knowledge that was paid, so thats very cool of you guys to take the time to help us people out, im sure everyone would agree when we say, we appreiacte it. and yes, im very eager, iv been tryin to make this trigger for about a year now |
|
|
 |
Sorin Beginner
Joined: 28 Mar 2004 Posts: 10 Location: USA
|
Posted: Sun Aug 09, 2009 1:46 pm |
If Tech doesnt have time to get to this, I might be able to help. As he stated however, we are going to need the patterns in order to match, so that the commands can be sent. The way to do this, would be to log your checking of each skills pre-requisite, or if your mud has a "Skill Tree" Diagram, it would make it simpler, so we know the order it should Cascade in.
Here is how the trigger would work, It would check after the number of casts, or mana percentage left etcetera and so forth, that it is ready to "Flee", once it flees, it would send a command to see if the skill is finished, or not, if not, it would repeat the last command, if so, it would move to the next.
Here comes the problem, without a full list of the skills, its going to be difficult, if not nigh impossible to code this :P
So, if you can get me a diagram, or a list of the skills, and their Requirements, I can start creating variables that would cascade from skill to skill in the correct order, while YOU decide what you want the commands sent to do during practice :)
Hope you understood, its early in the morning and im tired. |
|
|
 |
Sutex-Kindred Apprentice

Joined: 26 Aug 2009 Posts: 141
|
Posted: Fri Aug 28, 2009 8:15 am |
Hi first these code snippets are from Eternal Darkness mud.
Been following this discussion would be interest in in seeing your finished script if you could post in in Finished Script and let me know via the this forum or ED's forum |
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|