Yoko

All sides of Injection
It is currently 2017-11-20 06:00:34

All times are UTC+02:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2015-11-03 20:05:01 
Offline

Joined: 2015-11-03 19:39:12
Posts: 1
Это скрипт на майнинг под Изиуо. Проблема в том что он почему-то сейчас завесает на первой точке копания, и не переходит на вторую точку копания. Думаю что проблема в считывание журнала, возможно раньше (Здесь больше нет руды) было на английском а щяс на русском. Кто может помочь - буду благодарен. Шард АоП.
initevents
wait 1s
set %N 1

set %mw 200
set %wingot 150

set %pointMax 33
event macro 32 0 // Бегаем
wait 1s
scanjournal 1
if of in #journal
event macro 32 0

backpack:
finditem ZJF
if #findbagid <> #charid
{
ignoreitem #findid
goto backpack
}
set %bpack #findid
IGNOREITEM reset
gosub FKirka
// Guns
set %gun YSF_RRH

set %wght %mw - 60
set %monster ZC_IJB_YD_WE_CF
set %strongmonster BF_WD
// disarm shield
finditem CIK_AIK
set #lhandid #findid
if #findbagid = #charid
{
event macro 24 1
wait 42
}
move 4588 3290 0 500s
wait 10
if #weight >= %wght
gosub home

nachalo:
gosub lut
set #sysmsgcol 42
EVENT SYSMESSAGE Go to point %N
wait 50
goto %N

1:
move 4588 3290 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 418
set %kopy 271
gosub kopanka
goto nachalo

2:
move 4588 3290 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 436
set %kopy 292
gosub kopanka
goto nachalo

3:
move 4588 3290 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 420
set %kopy 301
gosub kopanka
goto nachalo

4:
move 4588 3290 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 399
set %kopy 330
gosub kopanka
goto nachalo

5:
move 4588 3290 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 380
set %kopy 312
gosub kopanka
goto nachalo

6:
move 4588 3290 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 369
set %kopy 288
gosub kopanka
goto nachalo

7:
move 4588 3290 0 500s
set #lobjectid %kirka
wait 5
event macro 17 0
target 5
set %kopx 385
set %kopy 254
gosub kopanka
goto nachalo

8:
move 4588 3290 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 410
set %kopy 295
gosub kopanka
goto nachalo

9:
move 4588 3293 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 418
set %kopy 271
gosub kopanka
goto nachalo

10:
move 4588 3293 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 436
set %kopy 292
gosub kopanka
goto nachalo

11:
move 4588 3293 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 420
set %kopy 301
gosub kopanka
goto nachalo

12:
move 4588 3293 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 399
set %kopy 330
gosub kopanka
goto nachalo

13:
move 4588 3293 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 380
set %kopy 312
gosub kopanka
goto nachalo

14:
move 4588 3293 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 369
set %kopy 288
gosub kopanka
goto nachalo

15:
move 4588 3293 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 385
set %kopy 254
gosub kopanka
goto nachalo

16:
move 4588 3293 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 410
set %kopy 295
gosub kopanka
goto nachalo

17:
move 4592 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 418
set %kopy 271
gosub kopanka
goto nachalo

18:
move 4592 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 436
set %kopy 292
gosub kopanka
goto nachalo

19:
move 4592 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 420
set %kopy 301
gosub kopanka
goto nachalo

20:
move 4592 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 399
set %kopy 330
gosub kopanka
goto nachalo

21:
move 4592 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 380
set %kopy 312
gosub kopanka
goto nachalo

22:
move 4592 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 369
set %kopy 288
gosub kopanka
goto nachalo

23:
move 4592 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 385
set %kopy 254
gosub kopanka
goto nachalo

24:
move 4592 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 410
set %kopy 295
gosub kopanka
goto nachalo

25:
move 4595 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 418
set %kopy 271
gosub kopanka
goto nachalo

26:
move 4595 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 436
set %kopy 292
gosub kopanka
goto nachalo

27:
move 4595 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 420
set %kopy 301
gosub kopanka
goto nachalo

28:
move 4595 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 399
set %kopy 330
gosub kopanka
goto nachalo

29:
move 4595 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 380
set %kopy 312
gosub kopanka
goto nachalo

30:
move 4595 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 369
set %kopy 288
gosub kopanka
goto nachalo

31:
move 4595 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 383
set %kopy 261
gosub kopanka
goto nachalo

32:
move 4595 3291 0 500s
set #lobjectid %kirka
event macro 17 0
target 5
set %kopx 410
set %kopy 295
gosub kopanka
goto nachalo


// **** Копаем **********
sub kopanka
set %startweight #weight
set #SCNT 0
a:
if #targcurs = 1
click %kopx %kopy

// * ищем монстров *
finditem %strongmonster
if #findkind = -1
goto nextmonster
set %enemy #findid
gosub ups
return
nextmonster:

finditem %monster
if #findkind = -1
goto nextenemy
if #finddist < 2
goto nextenemy
set %enemy #findid
gosub ups
return
nextenemy:


if #weight >= %wght
{
gosub home
return
}

scanjournal 1
if [201] in #journal
{
set %N %N 1
if %N = %pointMax
set %N 1
return
}

scanjournal 1
if :>?0BL? in #journal //вопрос где копать
{
if #SCNT > 3
{
key esc
set %N %N 1
if %N = %pointMax
set %N 1
return
}
}

if %startweight = #weight
{
if #SCNT > 10
{
gosub FKirka
set %N %N 1
if %N = %pointMax
set %N 1
return
}
goto a
}
set %startweight #weight
set #SCNT 0
goto a


// *** Относим в сундук *****
sub home

// *********Overload ore*******

if #weight >= %mw
{
finditem DWJ
event drag #findid
wait 2
msg : 2 $
click 398 323
wait 20
}
if %N > 16
move 4589 3291 0 500s
move 4587 3288 0 500s
wait 30

// ******** плавим руду ****
pl:
finditem DWJ
if #findkind = -1
goto ejekt
if #findbagid <> %bpack
{
IGNOREITEM #findid
goto pl
}
set #lobjectid #findid
set #LTARGETKIND 1
set #LTARGETID DJECAND
event macro 17 0
target
event macro 22 0
wait 55
goto pl


;*********Много инготов*******
ejekt:
if #weight < %wingot
{
if %N > 16
move 4589 3291 0 500s
return
}
move 4587 3294 0 500s
move 4592 3299 0 500s
move 4592 3310 0 500s
move 4593 3311 0 500s

wait 1s
IGNOREITEM reset
ig:
finditem ENK_SZF_POF_JUF_RZF_KUF_BFF_JZF
if #findkind = -1
goto ex
if #findbagid <> %bpack
{
IGNOREITEM #findid
goto ig
}
event drag #findid
wait 2
msg $
wait 2
click 364 314
goto ig
ex:
;********************Кушаем****
eat:
finditem HND
if #findkind <> -1
{
if #findbagid = UISVCB
{
IGNOREITEM #findid
goto eat
}
set #lobjectid #findid
event macro 17 0
wait 10
}
set #sysmsgcol 42
EVENT SYSMESSAGE Go to point %N

move 4592 3310 0 500s
move 4592 3299 0 500s
move 4588 3295 0 500s
move 4588 3293 0 500s

return
// *** дерёмся с монстрами **
sub ups
set #SCNT 0
set #ltargetid %enemy
event macro 27 0
finditem %gun
set #rhandid #findid
finditem CIK
set #lhandid #findid
event macro 24 1
fight:
finditem %enemy
if #findy > 3302
goto upenemy
if #findkind = -1
{
upenemy:
if #SCNT < 4
goto upenemy
event macro 24 1
return
}
move #findx #findy 1 500s
goto fight

// **** Ищем кирку ****
sub FKirka
stkirka:
finditem NPF
if #findkind = -1
{
set #sysmsgcol 42
EVENT SYSMESSAGE Нет кирки !!!
halt
}
if #findbagid <> %bpack
{
IGNOREITEM #findid
goto stkirka
}
set %kirka #findid
return

// ** Ищем лут **
sub lut
set %lutflag 0
findlut:
finditem POF_JUF_RZF_KUF_BFF_JZF
if #findkind = -1
{
return
}
if #findx > 4597
{
IGNOREITEM #findid
goto findlut
}
if #findx < 4584
{
IGNOREITEM #findid
goto findlut
}
if #findbagid = %bpack
{
IGNOREITEM #findid
goto findlut
}
move #findx #findy 1 30s
event drag #findid
wait 2
msg $
wait 2
click 399 271
set %lutflag 1
goto findlut


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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