Страница 1 из 1

[FAQ] Мануал по macro плагину

Добавлено: Пт июл 20, 2007 2:15 am
4epT
:o Впадлу мне щас искать местный "фак" по макросам, уверен что он полный fuck.. :o

:Yahoo!: Поздравляю Вас с нормальный русским гайдом! :Yahoo!:

Прошу писать замечания, дополнения, пожелания. Нюбы пишете в какой части вам сложно понять что имеется в виду..
Надеюсь VCL не будет ругаться на то, что поместил русский переводна 2-е место и что убрал нафиг их дурную рекламу.

%) Позже планирую добавить ещё пачку переменных %)

Кстати, как думаете, туда нада прикрутить мини фак по regexp или нах?

ЗЫ: принимаю благодарности: R976529432360, Z055472210968

Добавлено: Сб сен 01, 2007 2:58 am
4epT
Вышел новый релиз плагина 2.0.0

This is a major release.

bugfixes


-made compatible with ok 2.0.4
-fix hook-on-demand
-fix "equipped" check
-fix "player" check
-fix player names containing other than a-z0-9 and stuff
-fix varvars (again)


features

-"player" now accepts regexp: e.g. player /./ matches any player
-"equipped" parameter "none" is now case insensitive


incompatibilities:

-"macro set" is gone
-cvsdebug is gone. Nobody understood the messages anyway and too any people used "macro_debug" without reading the §)#%(!$ manual.
-removed the "macro_readmanual" check. Boards like "ingamers.de" rattened it by adding the 'magic words' to their "how to install the macro plugin". Thanks for relieving the users of reading the manual. Great job. I won't give support any longer.


cosmetics

-removed startup warnings.
-removed confusing "orphaned macro!" warning. People seem to prefer complaining rather than reading the §)#%(!$ manual.


internals

-speed up
-removed wrapper for setVar/getVar, access directly
-changes in variable processing (first parse then substitute)
-%Data::logfac, $Data:cvs, @Data::slots are gone

Добавлено: Вт сен 04, 2007 7:28 pm
4epT
фиксим баги:

2.0.1 released

bugfixes

-fixed rxp-subst
-don't update variables when not ingame

Добавлено: Чт окт 11, 2007 11:38 pm
4epT
Появилась очень интересная статейка для тех кто любит поломать голову:
An Eval In Macros

хотя появилась она ещё 9 июля

условие eval от DInvalid

условие eval можно использовать только 1 раз в одном АМ

Добавлено: Ср апр 02, 2008 3:19 pm
piroJOKE
(* Тема очищена от флуда. Этот пост будет удален позже. *)
(* 4epT, извини, я стёр и благодарности пользоватей за твой перевод... ну, это, ты в курсе что мы тебя ценим :twisted: *)

Re: [FAQ] Мануал по macro плагину

Добавлено: Вт дек 02, 2008 3:49 am
4epT
новая команда в macro-плагине:
lock all
закрывает все АМ разом
новые специальные ключевые слова:
@venderitem
getItemIDs($arg, \@::venderItemList)
@venderItem(<itemName>)
returns a list of indexes (for multiple non-stackables) or a single item (for stackables or single non-stackables) or -1 if item was not found in the vender's list or if no shop is being visited.

@venderprice(<indexID>)
returns an items price or -1 if the item is not found or if no shop is being visited

@venderamount
get amount of items for the specifical index in another venders shop, returns -1 if no shop is being visited

@listitem(<listIndex>,<$list>)
returns the x'th item from a list or -1 if there is no such indexed item exists in the list (where $list = ind1,ind2,ind3,ind4,...)

@listlenght(<$list>)
returns the list's lenght of indexes (where $list = ind1,ind2,ind3,ind4, ...)
новые специальные переменные:
$.weight - вес, который перс может поднять
$.maxweight - максимальный вес
описание и какие-то примеры можно поискать на английском форуме, в скором времени хочу сам прощупать эти новшества и дополнить гайд

макро-плагин прилагается:

Re: [FAQ] Мануал по macro плагину

Добавлено: Пн июн 29, 2009 2:31 pm
Priesto
Ссылка в первом посте нерабочая..

Re: [FAQ] Мануал по macro плагину

Добавлено: Пт июл 17, 2009 2:47 am
4epT
Специально для поклонникой :)

ГАЙД по macro-плагину (состояние на 1 февраля 2008)