Aetolia Forums: An introduction to programming - Aetolia Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

An introduction to programming Client does not matter, it is all about the right mindset!

#21 User offline   Virgo Brainsick Icon

  • Mischief's Victim
  • PipPipPip
  • Group: Aetolians
  • Posts: 76
  • Joined: 27-November 09

Posted 21 January 2010 - 04:44 PM

How did you not recognize the bot.
0

#22 User offline   Catt Icon

  • Pawn of Artifice
  • PipPip
  • Group: Aetolians
  • Posts: 43
  • Joined: 28-December 09
  • Gender:Female
  • Location:Home Sweet Home

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.



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.
Posted Image
0

#23 User offline   Mygale Icon

  • Teacher of the Rhythm
  • PipPipPipPipPipPipPip
  • Group: Aetolians
  • Posts: 924
  • Joined: 23-November 04

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. :P
Mushclient related needs?
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."

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.
0

#24 User offline   Kennai Icon

  • Teacher of the Rhythm
  • PipPipPipPipPipPipPip
  • Group: Aetolians
  • Posts: 895
  • Joined: 03-February 08

Posted 10 April 2010 - 02:29 PM

Eat and then outc.

Try repeating it as fast as you can, but have it under two controls. I personally try to repeat herbs/salve/sip/moss every .5 seconds, but I also have a value to say if I can or can not do it.
Posted Image
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Icon1 User(s) are reading this topic (0 members, 1 guests, 0 anonymous users)


Font:
Arial | Calibri | Lucida Console | Verdana
 
Font Size:
9px | 10px | 11px | 12px | 10pt | 12pt
 
Color: