GAWD I made the exact same thing you did trail only dif was mine didn't click the quest items and it well here is the whole script
InitEvents
set %makecount 0
set %go 0
;Get on it!
gosub GetQuest
main:
if %go = 1
{
if %makecount > 0
{
gosub checkforcraftmenu
if #result
{
gosub makeone
}
}
}
; wonder if this could save some cputime ?
wait 5
goto main
sub GetQuest
click 921 475 f ;SET THIS TO THE NPCS BAR
gosub CheckQuest
sub CheckQuest
wait 5
call kalocr.txt GetMLQInfo QuestOffer #contposx #contposy
;Check for A Simple Bow quest
if %1 = A , #spc , Simple , #spc , Bow
{
;Looks like we got it
;Accept it and start making the bows
click 149 454 f ;SET THIS TO THE ACCEPT BUTTON
;Open up the Crafting Menu
set #lObjectID REYDOMD
event Macro 17 0
wait 2s
set %makecount %makecount + 10
set %go 1
goto main
}
;Looks like we didn't get it this time
;So lets cancel the offer and try again
gosub CancelOffer
sub CancelOffer ; not needed
set !x #contposx + 350
set !y #contposy + 400
click !x !y f dmc
for !_ 5 1
gosub GetQuest
{
if #contsize <> 507_436
break
wait 1
gosub GetQuest
}
while #contsize <> 507_436
wait 1
set !x #contposx + 350
set !y #contposy + 400
click !x !y f dmc
for !_ 5 1
gosub GetQuest
{
if #contsize <> 507_436
break
wait 1
gosub GetQuest
}
return
sub checkforcraftmenu
if #contSize = 530_437
{
return #true
}
return #false
return
sub makeone
click 330 460
set %makecount %makecount - 1
if %makecount = 0
{
set %go 0
}
return
well most of it anyways aside from a few subs I had in other places it uses kalocr subs also so its ALOT ALOT slower then urs.
Alot of setting up to do before you even start also, then again it was only a few hours worth of work but I DID want it to end up like yours but the rails dont work top notch but I should be able to fix that eventually.
Post Merge: August 27, 2009, 04:37:00 AM
I tried that heartwood quest it don't work half the time :/
it don't work 99.9% of the time, gah rails are fuk'd it keeps walking out of heartwood for no reason
Post Merge: August 27, 2009, 02:45:01 AM

I take that back 50% of the time it works the other 50
% it at least works once you get into heartwood and get to the quest npcs.