Need help with uncomplete bot.

07/31/2009 13:42 MutilateRetaliate#1
So I'm writing my own bot for Norn points, if I manage to finish it before tonight, I'll release it in time for the double rep weekend, but I'm having a problem...

It keeps zoning into my Guild Hall and back...

I understand it's because of the way I've done it...

Like... (Example)
Code:
FindSpawnPoint()
If $Spawn = 4 Then
       ToGHandBack()
       FindSpawnPoint()
EndIf
SelectHM
GoOutside



$Spawn = 0
Func FindSpawnPoint()
       If CheckArea(1234,1234,200) Then
              $Spawn = 1
       ElseIf CheckArea(5678,5678,200) Then
              $Spawn = 2
       ElseIf CheckArea(3213,3213,200) Then
              $Spawn = 3
       Else
              $Spawn = 4 ;Unknown.
       EndIf
EndFunc
etc. etc.
I've actually attached my project to this file so you's can have a better look.

Thanks.



EDIT: Problem solved, thanks for the help...
07/31/2009 19:37 Frutex#2
Zhos source looks like the one from me and neon..
07/31/2009 19:50 MutilateRetaliate#3
Quote:
Originally Posted by MutilateRetaliate View Post
EDIT: Please delete this topic.... I've figured it out all by myself....

And about 4 other bots to help me :P

I know basics now, I can write a bot that will abandon the current quest, go and get the quest from Rurik, run outside, do the quest, go back into town, abandon the quest, go and get the quest from Rurik, run outside, do the quest.... etc... Obviously, inspired by the Ascalon Pack, I won't be releasing it, because it's only for me, my window positions etc.
....There's your answer...