HELP PLEASE! Simple DIKU Mud BOT based on timer and triggers
Posted: Thu Oct 22, 2015 1:38 am
Hi there - I am super new to muds and I absolutely love them. The mud I am playing accepts bots but they do not support it - so they won't help you to build one.
As a new mudder I was hoping someone could help me make a timer, trigger, variable bot that basically rests in an area, and when the timer goes off, it walks to the zone, kills the NPCs that aid first and then kills the levelling NPCs after. Finishes killing in the area and goes back to the resting zone for the timer to reset again. The mud is a DIKUMUD and input is simple like {say hi, e, n, s, kill dinosaur,} etc. I was originally going to make a timer and have a bunch of actions running off it but it then would screw with my triggers to heal me etc. If you could help me I would eternally be in your debt.
Criteria:
- when timer fires - walk a path (the zone)
- kill mobs that aid first (pixies and bodyguards) before killing levelling mob (dinosaur)
- Continue the zone path
- if health drops below 200 then heal
- finish killing area and go back to resting area
PATH of Zone
Area is simple layout 20 rooms 5 (running east and west) and 4 deep (north and south) current path to levelling area from rest zone is u,e,e, south (in the zone now) then the levelling area walked is - e,e,e,e,e,s,w,w,w,w,w,s,e,e,e,e,e,s,w,w,w,w,w
Zone Repop time
Timer - every 45 minutes the zone repops
Walk the above path killing the Bodyguard and Pixies before killing the Dinosaur (levelling NPC)
Example room:
A dinosaur stands here.
A Bodyguard stands here protecting the dinosaur.
A small pixie is here hovering above the ground.
There could be multiple Bodyguards or Pixies in the room and they need to be killed before the Dinosaur is killed.
Health
Health bar looks like this < 265h 149m 189v >
Ideally when health drops below 200h then cast 'heal'
That's pretty much it. Rather simple I think but I am a n00b and I would really appreciate any help you can offer.
Thanks so much guys!!
As a new mudder I was hoping someone could help me make a timer, trigger, variable bot that basically rests in an area, and when the timer goes off, it walks to the zone, kills the NPCs that aid first and then kills the levelling NPCs after. Finishes killing in the area and goes back to the resting zone for the timer to reset again. The mud is a DIKUMUD and input is simple like {say hi, e, n, s, kill dinosaur,} etc. I was originally going to make a timer and have a bunch of actions running off it but it then would screw with my triggers to heal me etc. If you could help me I would eternally be in your debt.
Criteria:
- when timer fires - walk a path (the zone)
- kill mobs that aid first (pixies and bodyguards) before killing levelling mob (dinosaur)
- Continue the zone path
- if health drops below 200 then heal
- finish killing area and go back to resting area
PATH of Zone
Area is simple layout 20 rooms 5 (running east and west) and 4 deep (north and south) current path to levelling area from rest zone is u,e,e, south (in the zone now) then the levelling area walked is - e,e,e,e,e,s,w,w,w,w,w,s,e,e,e,e,e,s,w,w,w,w,w
Zone Repop time
Timer - every 45 minutes the zone repops
Walk the above path killing the Bodyguard and Pixies before killing the Dinosaur (levelling NPC)
Example room:
A dinosaur stands here.
A Bodyguard stands here protecting the dinosaur.
A small pixie is here hovering above the ground.
There could be multiple Bodyguards or Pixies in the room and they need to be killed before the Dinosaur is killed.
Health
Health bar looks like this < 265h 149m 189v >
Ideally when health drops below 200h then cast 'heal'
That's pretty much it. Rather simple I think but I am a n00b and I would really appreciate any help you can offer.
Thanks so much guys!!