Yoko

All sides of Injection
It is currently 2024-03-28 15:21:33

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 2015-12-25 19:20:15 
Offline

Joined: 2012-07-27 23:43:14
Posts: 249
Добрые люди помогите пожалуйста со следующим!

Вот кусок из скрипта на копку(реколитца туда и обратно по рунбуке). Дело в том, что иногда чар стопоритца - он как бы реколитца, но стоит на месте и не улетает, а заряды в рунбуке высчитываютца! Может чеклага не хватает или в чем может быть трабла?

Code:
checkelem()
uo.WaitGump(21)
uo.UseObject(0x40564022) ; рунбука
wait(10000)
loot()
wait(3000)
reccal:
uo.deletejournal()
if uo.waiting() then
uo.canceltarget()
endif
uo.WaitGump(94)
uo.UseObject(0x40564022) ; рунбука
grabinvis()
mx = UO.GetX("self")
my = UO.GetY("self")
wait(6100) ; 6100
if not UO.GetX("self") <> mx and not UO.GetY("self") <> my then
goto reccal
endif
goto dig
end sub


Top
   
PostPosted: 2015-12-25 20:34:00 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
Может не туда рекол давит, номера гампа проверь те или нет. И в этой части
Code:
if not UO.GetX("self") <> mx and not UO.GetY("self") <> my then

если чар сделал шаг и при этом рекол не сработал, то повторно он никуда не улетит.

_________________
CodeSweeper


Top
   
PostPosted: 2015-12-25 22:16:41 
Offline

Joined: 2012-07-27 23:43:14
Posts: 249
спасиб, буду смотреть.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited