How did you not recognize the bot.
An introduction to programming Client does not matter, it is all about the right mindset!
#22
Posted 09 April 2010 - 03:00 PM
Quote
1) Use the prompt to do the following:
1.1) See if I am allowed to sip.
1.1.1) I want to sip health when below 75% health.
1.1.2) I want to sip mana when below 75% mana.
1.1.3) If I've done either of those, try again in 5 seconds if I haven't.
1.2) See if I am allowed to eat.
1.2.1) I want to outc and eat moss when below 75% health.
1.2.2) I want to outc and eat moss when below 75% mana.
1.2.3) If I've done either of those, try again in 5 seconds if I haven't.
2) Use the vial message to:
2.1) Tell myself that I don't need to retry drinking again.
2.2) Forbid myself from sipping again.
*) (insert something for repeating moss here)
3) Use the 'sip again' message to:
3.1) See when I am allowed to sip or not
4) Use the 'eat herb again' message to:
4.1) See when I am allowed to sip or not.
1.1) See if I am allowed to sip.
1.1.1) I want to sip health when below 75% health.
1.1.2) I want to sip mana when below 75% mana.
1.1.3) If I've done either of those, try again in 5 seconds if I haven't.
1.2) See if I am allowed to eat.
1.2.1) I want to outc and eat moss when below 75% health.
1.2.2) I want to outc and eat moss when below 75% mana.
1.2.3) If I've done either of those, try again in 5 seconds if I haven't.
2) Use the vial message to:
2.1) Tell myself that I don't need to retry drinking again.
2.2) Forbid myself from sipping again.
*) (insert something for repeating moss here)
3) Use the 'sip again' message to:
3.1) See when I am allowed to sip or not
4) Use the 'eat herb again' message to:
4.1) See when I am allowed to sip or not.
I know I need a 5 second repeat for moss somewhere in there... But I think that's what I've managed to get so far. If that looks halfway decent to anyone, I'd like to put up the actual code or either show it to someone for a little feedback.
#23
Posted 10 April 2010 - 01:10 PM
It looks quite alright to me. You have mostly managed to separate the goal of eating and sipping in different parts, and from here, it will mostly become a 'how to do this exactly in mush/cmud/mudlet/nexus/tinyfugue/other-esoteric-client' which people who use that language can give you most support with. If your problems are MUSH, or more general in nature, I'll be glad to help out.
On that note.. I visit these forums maybe once a week nowadays, so you're lucky to have a reply this fast.
On that note.. I visit these forums maybe once a week nowadays, so you're lucky to have a reply this fast.
Mushclient related needs?
ExtendedSays, (FREE) - NoAutoSay (FREE) - Prompt Pack, (FREE)
Autobasher - Offensive - Movement Correction - InfoBoard - .. and more!
Bah. I hate signatures. And I still do. It's just that I feel all popular this way.
2007/11/05 21:12:16 - Laswell quit the city.
ExtendedSays, (FREE) - NoAutoSay (FREE) - Prompt Pack, (FREE)
Autobasher - Offensive - Movement Correction - InfoBoard - .. and more!
Quote
You are now wearing a white crow pendant.
One of your reflections has been destroyed! You have 17 left.
A white crow pendant rages, seeing its attack fall on your reflection.
Khepri ponders a white crow pendant's profile, deep in consideration.
Khepri, the Trickster says, "Sneaky, sneaky."
One of your reflections has been destroyed! You have 17 left.
A white crow pendant rages, seeing its attack fall on your reflection.
Khepri ponders a white crow pendant's profile, deep in consideration.
Khepri, the Trickster says, "Sneaky, sneaky."
Bah. I hate signatures. And I still do. It's just that I feel all popular this way.
2007/11/05 21:12:16 - Laswell quit the city.

Help



MultiQuote










1 User(s) are reading this topic