RagBot Forum
 

Вернуться   RagBot Forum > • Всё что касается бота • > Макросы и Плагины

Макросы и Плагины Всё что относится к макросам и плагинам. Сборник готовых макросов.

Ответ
 
Опции темы Опции просмотра
Старый 30.01.2008, 19:59   #1
v1stos
Новичок
 
Регистрация: 01.04.2007
Сообщений: 27
Вы сказали Спасибо: 0
Поблагодарили 0 раз(а) в 0 сообщениях
По умолчанию ОБщение с npc.

Хелп, ребят, вот как делать к примеру это:
macro Noob {
lock Noob
do talknpc 53 114 c c r0 c c c c
do talknpc 53 114 c c
do move 148 112
do move 99 20
do talknpc 100 29 c r0 c c
do move 101 95
do talknpc 99 105 c c r0 c c c c c c c c
do talknpc 99 105 c r0
pause 2
do talknpc 83 111 c r0 c c c c c c c c c c c r0
do talknpc 83 111 c r0
pause 2
do talknpc 118 108 c c c r1 c r0 c c r1 c c c c c n
do talknpc 115 111 c r0 c c c c c c c c c c r0 c
do talknpc 115 111 c r0 c r0
pause 2
do talknpc 17 182 c c c r0 c c c c c c c c c n
do talknpc 38 182 c c c c r0 c
do eq 1
do eq 2
do eq 3
do eq 4
do eq 5
do eq 6
}

Откуда берутся эти "С" и как их самому делать при написании макроса. Зарание спасибо
v1stos вне форума   Ответить с цитированием
Старый 30.01.2008, 20:25   #2
4epT
Админ
 
Аватар для 4epT
 
Регистрация: 10.12.2006
Сообщений: 4,370
Вы сказали Спасибо: 7
Поблагодарили 387 раз(а) в 240 сообщениях
Отправить сообщение для 4epT с помощью ICQ
По умолчанию

с - это идентично нажатию кнопочки далее (в клиенте)
r0 - это выбор первого варианта при ответе

Цитата:
NPC Conversation Codes
These codes are used for specifying NPC talk sequences or steps when using the console command talknpc or the config.txt option storageAuto_npc_steps.

The following is a list of known NPC talk codes.

c Continue talking to the NPC. This is the same as pressing the next when you talk to an NPC in the RO Client.
r(<response #>) Send response. The response number is the index of the response in the displayed response list (the first response has the index 0). This is the same as selecting a response when you talk to an NPC in the RO Client.
w(<seconds>) Wait for the specified number of seconds before continuing to talk to the NPC using the next talk code.
d(<number>) Send a number to the NPC. Use this if the NPC asks you to enter an amount.
t=(<string>) Send a string or text to the NPC. Use this if the NPC asks you to enter some text.
s Get sell list. This is the same as pressing the sell button when you talk to a buy/sell NPC in the RO Client.
b Get the store list. This is the same as pressing the buy button when you talk to a buy/sell NPC in the RO Client.
b(<store item #>),(<amount>) Buy an item from the NPC. See similar console command buy. Note that the amount is not optional.
n Immediately end or cancel conversation with the NPC. This is the same as pressing the close or cancel button when talking to an NPC in the RO Client.
e Wait until the NPC says "Done talking". Use this after the s or b talk code when talking to a buy/sell NPC.

When specifying NPC talk codes, separate each code with whitespace. For example, by using the following command,

Example:
talknpc 63 60 c r3 c r0 c c r0 c n
you will be able to refine a weapon with the Blacksmith NPC inside Prontera, assuming you are inside the BlackSmith shop in Prontera and the NPC stands on the coordinates (63, 60).
__________________
¤Config checker¤Руководство¤Файлы¤Конфиги¤Макросы¤
Быстро и качественно напишу конфиг (макрос) за yAD! Стучи!
4epT вне форума   Ответить с цитированием
Старый 30.01.2008, 20:28   #3
v1stos
Новичок
 
Регистрация: 01.04.2007
Сообщений: 27
Вы сказали Спасибо: 0
Поблагодарили 0 раз(а) в 0 сообщениях
По умолчанию

Спасибо, мужик
v1stos вне форума   Ответить с цитированием
Ответ


Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 21:48. Часовой пояс GMT +3.