PDA

Просмотр полной версии : макрос на рыбалку


chuvachok
25.11.2014, 14:21
подскажите что не так в макросе?

automacro fishing {
run-once 1
call {
do talknpc 262 197 r0 r1 r1
}
}

почему нпц куда-то пропадает, а потом бота дисконектит?



[macro] automacro fishing triggered.
Talking to NPC at (262, 197) using sequence: r0 r1 r1
Group of fishes#malangd: - There's a group of fish. -
Group of fishes#malangd: - Let's try to catch them. -
Group of fishes#malangd: Auto-continuing talking
----------Responses-----------
# Response
0 Begin fishing.
1 Cancel Chat
-------------------------------
Group of fishes#malangd: Type 'talk resp #' to choose a response.
----------Responses-----------
# Response
0 Stop fishing
1 Live earth worm (60in possession)
2 fresh shrimp (87in possession)
3 Crucian_Carp (6in possession)
4 Not enough Mackerel.
5 Not enough Squid.
6 Not enough summer festival coin.
7 Not enough premium bait.
8 Not enough Big earth worm.
9 Not enough King shrimp.
10 Not enough Malangdo special can.
11 Cancel Chat
-------------------------------
Group of fishes#malangd: Type 'talk resp #' to choose a response.
Group of fishes#malangd: - You choose -
Group of fishes#malangd: - Live earth worm. -
Group of fishes#malangd: - Start fishing with bait -
Group of fishes#malangd: Auto-continuing talking
[dist=6] .Shinayano. (10): I feel good. It could be big fish!
----------Responses-----------
# Response
0 Continue fishing by myself
1 Check the fishing result automatically
2 Finish fishing
3 Cancel Chat
-------------------------------
Group of fishes#malangd: Type 'talk resp #' to choose a response.
Inventory Item Removed: Unknown #6781 (8) x 1

мой чар : Yoo hoo let's start fishing~!

The NPC did not respond.

Disconnected from Map Server, connecting to Account Server in 30 seconds...

4epT
26.11.2014, 12:21
что значит куда-то пропадает?

попробуй вставить паузу перед последним r1. Почему-то бот не может дождаться ответа от НПЦ.

или попробуй разбить разговор на несколько команд:
do talk @npc (262 197)
do talk resp 0
do talk resp 1
do talk resp 1