ShtacketT
22.05.2009, 12:22
Периодически в консоль выводятся сообщения вида "Unable to cast skill ... in 3 tries". Проблема возникает только тогда, когда скилл юзается из макроса. Например:
Код макроса:
macro doCallSpirit {
log Calling spirits
$i = $.spirits
while ($i < 5) as callspirit
do ss 261
pause 2
$i++
end callspirit
}
Консоль:
[May 22 03:01:48 2009.30] [macro][log] Calling spirits
[May 22 03:01:49 2009.34] Unable to cast skill Vigor Condensation in 3 tries.
[May 22 03:01:49 2009.40] You are casting Vigor Condensation on yourself (time 533ms)
[May 22 03:01:49 2009.96] You use Vigor Condensation on yourself : Lv 5
[May 22 03:01:49 2009.97] You have 1 spirit(s) now
[May 22 03:01:51 2009.41] Unable to cast skill Vigor Condensation in 3 tries.
[May 22 03:01:51 2009.47] You are casting Vigor Condensation on yourself (time 533ms)
[May 22 03:01:51 2009.97] You use Vigor Condensation on yourself : Lv 5
[May 22 03:01:51 2009.97] You have 2 spirit(s) now
[May 22 03:01:53 2009.40] Unable to cast skill Vigor Condensation in 3 tries.
[May 22 03:01:53 2009.46] You are casting Vigor Condensation on yourself (time 533ms)
[May 22 03:01:53 2009.96] You use Vigor Condensation on yourself : Lv 5
[May 22 03:01:53 2009.97] You have 3 spirit(s) now
[May 22 03:01:55 2009.40] Unable to cast skill Vigor Condensation in 3 tries.
[May 22 03:01:55 2009.46] You are casting Vigor Condensation on yourself (time 533ms)
[May 22 03:01:55 2009.97] You use Vigor Condensation on yourself : Lv 5
[May 22 03:01:55 2009.97] You have 4 spirit(s) now
[May 22 03:01:57 2009.40] Unable to cast skill Vigor Condensation in 3 tries.
[May 22 03:01:57 2009.47] You are casting Vigor Condensation on yourself (time 533ms)
[May 22 03:01:57 2009.96] You use Vigor Condensation on yourself : Lv 5
[May 22 03:01:57 2009.97] You have 5 spirit(s) now
Или макрос
macro doWarp {
log Warping
$x = @eval($::char->{pos}{x})
$y = @eval($::char->{pos}{y})
$x1 = $x + @random("-1", "1")
$y1 = $y + @random("-1", "0")
do sl 27 @eval($x1) @eval($y1)
pause 3
do warp 1
pause 3
do move @eval($x1) @eval($y1)
}
[May 22 03:02:01 2009.28] [macro][log] Warping
[May 22 03:02:02 2009.46] Unable to cast skill Warp Portal in 3 tries.
[May 22 03:02:02 2009.53] You are casting Warp Portal on location (160, 93) - (time 533ms)
[May 22 03:02:03 2009.31] You use Warp Portal (lvl 4) on location (160, 93)
[May 22 03:02:03 2009.35] ----------------- Warp Portal --------------------
# Place Map
[May 22 03:02:03 2009.38] 0 Inside Morroc morocc_in
Как видно, сначала кора пишет, что мы 3 раза обломались с юзанием скилла, а потом косвенно сообщает, что скилл юзанулся отлично. В чем может быть проблема?
Код макроса:
macro doCallSpirit {
log Calling spirits
$i = $.spirits
while ($i < 5) as callspirit
do ss 261
pause 2
$i++
end callspirit
}
Консоль:
[May 22 03:01:48 2009.30] [macro][log] Calling spirits
[May 22 03:01:49 2009.34] Unable to cast skill Vigor Condensation in 3 tries.
[May 22 03:01:49 2009.40] You are casting Vigor Condensation on yourself (time 533ms)
[May 22 03:01:49 2009.96] You use Vigor Condensation on yourself : Lv 5
[May 22 03:01:49 2009.97] You have 1 spirit(s) now
[May 22 03:01:51 2009.41] Unable to cast skill Vigor Condensation in 3 tries.
[May 22 03:01:51 2009.47] You are casting Vigor Condensation on yourself (time 533ms)
[May 22 03:01:51 2009.97] You use Vigor Condensation on yourself : Lv 5
[May 22 03:01:51 2009.97] You have 2 spirit(s) now
[May 22 03:01:53 2009.40] Unable to cast skill Vigor Condensation in 3 tries.
[May 22 03:01:53 2009.46] You are casting Vigor Condensation on yourself (time 533ms)
[May 22 03:01:53 2009.96] You use Vigor Condensation on yourself : Lv 5
[May 22 03:01:53 2009.97] You have 3 spirit(s) now
[May 22 03:01:55 2009.40] Unable to cast skill Vigor Condensation in 3 tries.
[May 22 03:01:55 2009.46] You are casting Vigor Condensation on yourself (time 533ms)
[May 22 03:01:55 2009.97] You use Vigor Condensation on yourself : Lv 5
[May 22 03:01:55 2009.97] You have 4 spirit(s) now
[May 22 03:01:57 2009.40] Unable to cast skill Vigor Condensation in 3 tries.
[May 22 03:01:57 2009.47] You are casting Vigor Condensation on yourself (time 533ms)
[May 22 03:01:57 2009.96] You use Vigor Condensation on yourself : Lv 5
[May 22 03:01:57 2009.97] You have 5 spirit(s) now
Или макрос
macro doWarp {
log Warping
$x = @eval($::char->{pos}{x})
$y = @eval($::char->{pos}{y})
$x1 = $x + @random("-1", "1")
$y1 = $y + @random("-1", "0")
do sl 27 @eval($x1) @eval($y1)
pause 3
do warp 1
pause 3
do move @eval($x1) @eval($y1)
}
[May 22 03:02:01 2009.28] [macro][log] Warping
[May 22 03:02:02 2009.46] Unable to cast skill Warp Portal in 3 tries.
[May 22 03:02:02 2009.53] You are casting Warp Portal on location (160, 93) - (time 533ms)
[May 22 03:02:03 2009.31] You use Warp Portal (lvl 4) on location (160, 93)
[May 22 03:02:03 2009.35] ----------------- Warp Portal --------------------
# Place Map
[May 22 03:02:03 2009.38] 0 Inside Morroc morocc_in
Как видно, сначала кора пишет, что мы 3 раза обломались с юзанием скилла, а потом косвенно сообщает, что скилл юзанулся отлично. В чем может быть проблема?