Wisling / tibiaauto

Tibia Auto is made to excel in the automation of various aspects of the playing the MMORPG Tibia
31 stars 16 forks source link

Add script and labels in walker #14

Open felipetnh opened 8 years ago

felipetnh commented 8 years ago

Guys... It would be awesome if we could add little script snippets and labels in the walker. Example:

(waypoint)
...
(waypoint)
[script]
  ta.sayNPC("hi")
  ta.wait(300)
  ta.sayNPC("task")
  ta.wait(300)
  ta.sayNPC("yes")
  ta.wait(300)
[/script]
(waypoint)
...
(waypoint)
[label=hunt]
(waypoint)
...
(waypoint)
[script]
  if( cap > 100 )
    ta.goToLabel("hunt")
  else
    ta.goToLabel("depot")
[/script]

I hope you guys get the point... I think a system like this (obviously in such a case, the walker has to be round-robin) present in most bots would make TA much more powerful... We would be able to more easily create scripts that do tasks/quests and things like this...

felipetnh commented 8 years ago

Ops... I accidently closed the issue... xD