Ho un problema con questo script per macrare taming, mi si è bloccato e da quel momento qualsiasi skill provo ad usare mi dice 'You must wait a few moments...'
Come posso sbloccarlo?
//Genorb's Tame & Kill 1.2
clearjournal
canceltarget
removetimer 'stuckalert'
@unsetalias 'tamingtarget'
//PUT "//" BEFORE THINGS YOU DON'T WANT TO TAME!
if not listexists 'tameables'
createlist 'tameables'
pushlist 'tameables' 0xe8 //Bull
pushlist 'tameables' 0xe9 //Bull2
endif
//Step 1: Scan for animals and initiate
while not @injournal 'You start to tame' and not @injournal 'This animal has had'
while not @findalias 'tamingtarget'
for 0 to 'tameables'
// 'gray' 'innocent' 'any'
if @findtype tameables[] 'any' 'world' 'closest'
@setalias 'tamingtarget' 'found'
endif
endfor
endwhile
if not timerexists 'stuckalert'
createtimer 'stuckalert'
endif
settimer 'stuckalert' 0
while not @inrange 'tamingtarget' 1
if @x 'tamingtarget' > x 'self' and @y 'tamingtarget' > y 'self'
run 'Southeast'
elseif @x 'tamingtarget' < x 'self' and @y 'tamingtarget' > y 'self'
run 'Southwest'
elseif @x 'tamingtarget' > x 'self' and @y 'tamingtarget' < y 'self'
run 'Northeast'
elseif @x 'tamingtarget' < x 'self' and @y 'tamingtarget' < y 'self'
run 'Northwest'
elseif @x 'tamingtarget' > x 'self' and @y 'tamingtarget' == y 'self'
run 'East'
elseif @x 'tamingtarget' < x 'self' and @y 'tamingtarget' == y 'self'
run 'West'
elseif @x 'tamingtarget' == x 'self' and @y 'tamingtarget' > y 'self'
run 'South'
elseif @x 'tamingtarget' == x 'self' and @y 'tamingtarget' < y 'self'
run 'North'
endif
if timer 'stuckalert' > 20000 and not @injournal 'You start to tame'
sysmsg 'CODE RED STUCK ON SOMETHING' 33
headmsg 'MOVE ME TO THE TARGET, IDIOT' 33
pause 2000
endif
endwhile
if @injournal 'Someone else is already' or @injournal 'That animal looks tame'
sysmsg 'Target is tamed or being tamed! Ignoring that one for now.' 33
ignoreobject 'tamingtarget'
@unsetalias 'tamingtarget'
clearjournal
endif
useskill 'Animal Taming'
waitingfortarget 2000
autotargetobject 'tamingtarget'
pause 500
endwhile
//Step 2:Tame until success
while not @injournal 'It seems to accept you' and not @injournal 'This animal has had'
if not @inrange 'tamingtarget' 1
if @x 'tamingtarget' > x 'self' and @y 'tamingtarget' > y 'self'
walk 'Southeast'
elseif @x 'tamingtarget' < x 'self' and @y 'tamingtarget' > y 'self'
walk 'Southwest'
elseif @x 'tamingtarget' > x 'self' and @y 'tamingtarget' < y 'self'
walk 'Northeast'
elseif @x 'tamingtarget' < x 'self' and @y 'tamingtarget' < y 'self'
walk 'Northwest'
elseif @x 'tamingtarget' > x 'self' and @y 'tamingtarget' == y 'self'
walk 'East'
elseif @x 'tamingtarget' < x 'self' and @y 'tamingtarget' == y 'self'
walk 'West'
elseif @x 'tamingtarget' == x 'self' and @y 'tamingtarget' > y 'self'
walk 'South'
elseif @x 'tamingtarget' == x 'self' and @y 'tamingtarget' < y 'self'
walk 'North'
endif
endif
if @injournal 'You fail to tame'
clearjournal
useskill 'Animal Taming'
waitingfortarget 2000
autotargetobject 'tamingtarget'
pause 500
endif
endwhile
//Step 3: Kill
//msg 'all guard me'
//msg 'all guard me'
//CHOOSE YOUR WEAPON!
//____Use Bushido wack____
//cast "Lightning Strike"
//attack 'tamingtarget'
//_____Use Magery Eval____
//cast 'Flamestrike"
//waitingfortarget 2000
//autotargetobject 'tamingtarget'
//____Use a bigger pet____
//msg 'all kill'
//waitingfortarget 2000
//autotargetobject 'tamingtarget'
//pause 100
msg 'all kill'
waitingfortarget 2000
autotargetobject 'tamingtarget'
clearignorelist
ignoreobject 'tamingtarget'
removetimer 'stuckalert'
Come posso sbloccarlo?
//Genorb's Tame & Kill 1.2
clearjournal
canceltarget
removetimer 'stuckalert'
@unsetalias 'tamingtarget'
//PUT "//" BEFORE THINGS YOU DON'T WANT TO TAME!
if not listexists 'tameables'
createlist 'tameables'
pushlist 'tameables' 0xe8 //Bull
pushlist 'tameables' 0xe9 //Bull2
endif
//Step 1: Scan for animals and initiate
while not @injournal 'You start to tame' and not @injournal 'This animal has had'
while not @findalias 'tamingtarget'
for 0 to 'tameables'
// 'gray' 'innocent' 'any'
if @findtype tameables[] 'any' 'world' 'closest'
@setalias 'tamingtarget' 'found'
endif
endfor
endwhile
if not timerexists 'stuckalert'
createtimer 'stuckalert'
endif
settimer 'stuckalert' 0
while not @inrange 'tamingtarget' 1
if @x 'tamingtarget' > x 'self' and @y 'tamingtarget' > y 'self'
run 'Southeast'
elseif @x 'tamingtarget' < x 'self' and @y 'tamingtarget' > y 'self'
run 'Southwest'
elseif @x 'tamingtarget' > x 'self' and @y 'tamingtarget' < y 'self'
run 'Northeast'
elseif @x 'tamingtarget' < x 'self' and @y 'tamingtarget' < y 'self'
run 'Northwest'
elseif @x 'tamingtarget' > x 'self' and @y 'tamingtarget' == y 'self'
run 'East'
elseif @x 'tamingtarget' < x 'self' and @y 'tamingtarget' == y 'self'
run 'West'
elseif @x 'tamingtarget' == x 'self' and @y 'tamingtarget' > y 'self'
run 'South'
elseif @x 'tamingtarget' == x 'self' and @y 'tamingtarget' < y 'self'
run 'North'
endif
if timer 'stuckalert' > 20000 and not @injournal 'You start to tame'
sysmsg 'CODE RED STUCK ON SOMETHING' 33
headmsg 'MOVE ME TO THE TARGET, IDIOT' 33
pause 2000
endif
endwhile
if @injournal 'Someone else is already' or @injournal 'That animal looks tame'
sysmsg 'Target is tamed or being tamed! Ignoring that one for now.' 33
ignoreobject 'tamingtarget'
@unsetalias 'tamingtarget'
clearjournal
endif
useskill 'Animal Taming'
waitingfortarget 2000
autotargetobject 'tamingtarget'
pause 500
endwhile
//Step 2:Tame until success
while not @injournal 'It seems to accept you' and not @injournal 'This animal has had'
if not @inrange 'tamingtarget' 1
if @x 'tamingtarget' > x 'self' and @y 'tamingtarget' > y 'self'
walk 'Southeast'
elseif @x 'tamingtarget' < x 'self' and @y 'tamingtarget' > y 'self'
walk 'Southwest'
elseif @x 'tamingtarget' > x 'self' and @y 'tamingtarget' < y 'self'
walk 'Northeast'
elseif @x 'tamingtarget' < x 'self' and @y 'tamingtarget' < y 'self'
walk 'Northwest'
elseif @x 'tamingtarget' > x 'self' and @y 'tamingtarget' == y 'self'
walk 'East'
elseif @x 'tamingtarget' < x 'self' and @y 'tamingtarget' == y 'self'
walk 'West'
elseif @x 'tamingtarget' == x 'self' and @y 'tamingtarget' > y 'self'
walk 'South'
elseif @x 'tamingtarget' == x 'self' and @y 'tamingtarget' < y 'self'
walk 'North'
endif
endif
if @injournal 'You fail to tame'
clearjournal
useskill 'Animal Taming'
waitingfortarget 2000
autotargetobject 'tamingtarget'
pause 500
endif
endwhile
//Step 3: Kill
//msg 'all guard me'
//msg 'all guard me'
//CHOOSE YOUR WEAPON!
//____Use Bushido wack____
//cast "Lightning Strike"
//attack 'tamingtarget'
//_____Use Magery Eval____
//cast 'Flamestrike"
//waitingfortarget 2000
//autotargetobject 'tamingtarget'
//____Use a bigger pet____
//msg 'all kill'
//waitingfortarget 2000
//autotargetobject 'tamingtarget'
//pause 100
msg 'all kill'
waitingfortarget 2000
autotargetobject 'tamingtarget'
clearignorelist
ignoreobject 'tamingtarget'
removetimer 'stuckalert'
Commenta