Íüþáè Òàóí Âîïðîñû è ïîìîùü íîâûì èãðîêàì Øàðäà Forgotten World.
Çàïðåùåí Ìàò è Îñêoðáëåíèÿ èãðîêîâ, îáñóæäåíèå äåéñòâèé Ñòàôôà, ôëóä. Íàêàçàíèå -ÁÀÍ |
![](ambience/misc/cat_top_ls.gif) |
ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
18.01.2010, 12:42
|
#1
|
Mystical Hero
Ðåãèñòðàöèÿ: 09.10.2009
Ñîîáùåíèé: 1,103
Ðåïóòàöèÿ: 25 íà ïðàâèëüíîì ïóòè (îò 16 äî 25)![Andrey íà ïðàâèëüíîì ïóòè (îò 16 äî 25)](ambience/reputation/reputation_pos.gif)
×àð: Sokol
|
ÌÀÊÐÎÑÛ
Íàðîä ÷åñòíî óñòàë â èãðå îáúÿñíÿòü ìåëêèì èãðîêàì ïðî ìàêðîñû. Æåëàòåëüíî ïðîâåðåííûå ëè÷íî ìîãó è ñàì ïðîâåðèòü ïî ïðîñüáå. Ðåøèë ñîçäàòü òåìó. Âûêëàäûâàéòå êòî ÷òî ìîæåò. È ïî âîçìîæíîñòè îïèñûâàéòå äåöñòâèÿ. À òî ïîïàäàþòñÿ òàêèå ëþäè ÷òî âñå ðàçæîâûâàòü íàäî. È ïîïðîøó íå ôëóäèòü è íå âûðàæàòñÿ. òèïî òåìà áûëà è âñå â òàêîì äóõå. Åùå îäíà ïðîñüáà åñòü ê àäìèíèñòðàöèè ñäåëàòü ýòó òåìó êàê âàæíàÿ. Åñëè ïîëó÷èòñÿ è òåìà ïîéäåò.
__________________
Äëÿ òîãî, ÷òîáû áûòü äðóãîì, íå îáÿçàòåëüíî áûòü ñîáàêîé.
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
18.01.2010, 13:54
|
#2
|
The Hero
Ðåãèñòðàöèÿ: 17.10.2009
Àäðåñ: [M5]
Ñîîáùåíèé: 602
Ðåïóòàöèÿ: 24 íà ïðàâèëüíîì ïóòè (îò 16 äî 25)![AKA íà ïðàâèëüíîì ïóòè (îò 16 äî 25)](ambience/reputation/reputation_pos.gif)
×àð: Ñëèøêîì Ìíîãî!!
Ãèëüäèÿ: [M5]
|
Re: ÌÀÊÐÎÑÛ
[PHP]
//----Õåëèíã,Ìàãèÿ,Ìåäèòàöèÿ:----
//if hits < 150 // Ïðîâåðêà õèòîâ
//send f6 // Â àññèñòå áèíäèì ìàêðîñ Äàáë êëèê íà áèíòû, êëèê íà ñåáÿ
//wait 3000 // Çàäåðæêà â òðè ñåêóíäû
//end_if
if mana < 100 // Âàøå êîëè÷åñòâî ìàííû
send f7 // Â Óëüòèìå áèíäèì Þç ñêèëë ìåäèòàöèÿ
wait 3000 // Çàäåðæêà â òðè ñåêóíäû
else // 针֌
repeat 10 // Åñëè íàäî òî ïîâòîðÿåì êàñò ìàãèè 10 ðàç åñëè íåò òî áëîêèðóåì ðåïèò
send f5 // â Óëüòèìå áèíäèì Castspell>>Poison>>wait for target>>target self
wait 3000
end_repeat
end_if
[/PHP]
Äîáàâëåíî ÷åðåç 3 ìèíóòû
[PHP]
//----Êîïàåì íà ìåñòå 25 òàèëîâ:----
// Êîïàåò íà îäíîì ìåñòå âñå òàéëû äî êîòîðûõ ìîæåò äîòÿíóòñÿ
// ïîòîì âûäàåò ñîîáùåíèå îá îñòàíîâêå ñêðèïòà
//send F3 4000 // Ñòåëñ èëè õàéä
for #y -2 2 1
for #x -2 2 1
:mining
set lasttargetx charposx + #x
set lasttargety charposy + #y
set lasttargetkind 2
send F2 1200 // ËàñòÎáæåêò-ÂàèòÔîðÒàðãåò-ËàñòÒàðãåò
set timer 0
while (lastmsg do you want) and (timer < 10000)
wait 100
end_while
if_not (lastmsg no ore) or (lastmsg mining in) or (lastmsg have no line)
wait 500
if (lastmsg you see) or (lastmsg targeting) or (lastmsg you have)// äàåò ñèãíàë î òîì ÷òî ïîÿâèëñÿ ãàðä ðóäû èëè èãðîê è îñòîíàâëèâàåò ñêðèï èëè àíòèìàêðîñ
alarm
flash
alarm
flash
alarm
flash
end_script
end_if
goto mining
end_if
end_for
end_for
alarm
flash
end_script
[/PHP]
Äîáàâëåíî ÷åðåç 20 ìèíóò
[PHP]
//----Êàðòîãðàôèÿ----
//... Áèíäèì
//... F11 - LastSkill
//... F9 - LastObject
//... Ïåðåä çàïóñêîì ñêðèïòà çàòàðèòüñÿ
//... õàâêîé è ïîåñòü äî ñûòà.
set #level 1 // - óñòàíîâêà òèïà
//... ñîçäàâàåìîé êàðòû îò 1 äî 4
//... 1 - Detail Map
//... 2 - Regional Map
//... 3 - Sea Chart
//... 4 - Full World
set #havka lastobjectid
set lastskill 12
//...----------------
set #s 1
:map
send F11 2300
if #level = 1
double_left 63, 63 // -- Detail Map
end_if
if #level = 2
double_left 109, 64 // -- Regional Map
end_if
if #level = 3
double_left 152, 64 // -- Sea Chart
end_if
if #level = 4
double_left 194, 64 // -- Full World
end_if
//...----
// if #level = 4
// set #level 3
// else
// set #level #level + 1
// end_if
//...----
if #s = 10
set lastobjectid #havka
send F9 1000
set #s 1
end_if
wait 2000
set #s #s + 1
if lastmsg have no blank parchment
flash uo
end_script
end_if
gosub map
end_script
[/PHP]
Äîáàâëåíî ÷åðåç 24 ìèíóòû
[PHP]
//----Ëîêïèêèíã----
//ñêðèïò íà êà÷ ëóêïèêèíãà, â ïàê êèäàåì êëþ÷ îò Locked Chest'à è îòìû÷êè
send 5 //êíîïêà â àññèñòå âçëàìûâàåì ñóíäóê îòìû÷êàìè, îáÿçàòåëüíî âûñòàâèòü Use Item Type
wait 3s
if lastmsg Container doesn't locked. //ïðîâåðêà âçëàìàëè ëè ñóíäóê
send 4 //êíîïêà â àññèñòå çàêðûâàåì ñóíäóê êëþ÷åì
wait 1s
end_if
[/PHP]
Äîáàâëåíî ÷åðåç 30 ìèíóò
[PHP]
//----Ïîèçîí----
//ñðèïò íà êà÷ ïîéçîíèíãà, èñïîëüçóåì ëåññåð ïîéçîí è æàðåíîå ìÿñî (èëè ðûáíûå ñòåéêè)
drag 429,319 677,617 1 //áåðåì 1 êóñîê ìÿñà è êèäàåì â ïàê
wait 1s
drag 449,304 960,272 1 //áåðåì 1 ëåññåð ïîéçîí è êèäàåì â ïàê
wait 1s
send 4 //êíîïêà â àññèñòå òðàâèòü ìÿñî, îáÿçàòåëüíî âûñòàâèòü Use Item Type è Target Item Type
wait 3s
repeat 2
move 675,585 //äâèãàåì êóðñîð íà òðàâëåííîå ìÿñî â ïàêå
drag 675,585 429,369 //ïåðåòàñêèâàåì èç ïàêà òðàâëåíûé êóñîê ìÿñà
wait 1s
end_repeat
//êîîðäèíàòû move äîëæíû áûòü òàêèìèæå êàê è ïåðâûå êîîðäèíàòû drag,
//÷òîáû âî âðåìÿ ñåéâà ïàê íå ïåðåìåùàëñÿ âñëåä çà êóðñîðîì èñïîëüçóåòñÿ move,
//ïîâòîð (repeat 2) íóæåí ÷òîáû âî âðåìÿ ñåéâà â ïàêå íå îñòàëñÿ êóñîê ìÿñà.
[/PHP]
Äîáàâëåíî ÷åðåç 33 ìèíóòû
[PHP]
//----ÁîÂÊðàôò----
//ñêðèïò íà êà÷ áîóêðàôòà, äåëàåì øàôòû
drag 432,316 959,256 7 //áåðåì 7 ëîãîâ è êèäàåì â ïàê
wait 1s
send 4 //êíîïêà â àññèñòå äåëàòü øàôòû, îáÿçàòåëüíî âûñòàâèòü Target Item Type
wait 4s
if wght > 550 //ïðîâåðêà íà âåñ â ïàêå
move 676,583
drag 676,583 428,368 all //ïåðåòàñêèâàåì èç ïàêà âñå øàôòû
wait 1s
drag 456,343 663,617 2 //áåðåì 2 øàôòà è êèäàåì â ïàê
end_if
//ïðè âåñå ïàêà áîëüøå 550, ñêðèïò âûêëàäûâàåò âñå èçãîòîâëåííûå øàôòû,
//êîîðäèíàòû move äîëæíû áûòü òàêèìèæå êàê è ïåðâûå êîîðäèíàòû drag,
//2 øàôòà êèäàåì â ïàê â òî ìåñòî îòêóäà ïîòîì áóäåì èõ âûêëàäûâàòü, êîãäà âåñ áóäåò áîëüøå 550.
//äåëàåì ñòðåëû èëè áîëòû
drag 433,319 958,258 5 //áåðåì 5 øàôòîâ è êèäàåì â ïàê
wait 1s
drag 451,296 958,258 5 //áåðåì 5 ïåðüåâ è êèäàåì â ïàê
wait 1s
send 4 //êíîïêà â àñññèñòå äåëàòü ñòðåëû, îáÿçàòåëüíî âûñòàâèòü Use Item Type
wait 2s
if wght > 550 //ïðîâåðêà íà âåñ â ïàêå
move 680,587
drag 680,587 429,368 all //ïåðåòàñêèâàåì èç ïàêà âñå ñòðåëû
wait 1s
drag 453,343 666,615 2 //áåðåì 2 ñòðåëû è êèäàåì â ïàê
end_if
//ïðè âåñå ïàêà áîëüøå 550, ñêðèïò âûêëàäûâàåò âñå èçãîòîâëåííûå ñòðåëû,
//êîîðäèíàòû move äîëæíû áûòü òàêèìèæå êàê è ïåðâûå êîîðäèíàòû drag,
//2 ñòðåëû êèäàåì â ïàê â òî ìåñòî îòêóäà ïîòîì áóäåì èõ âûêëàäûâàòü, êîãäà âåñ áóäåò áîëüøå 550.
[/PHP]
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
17.05.2017, 22:55
|
#3
|
Newbie
Ðåãèñòðàöèÿ: 17.05.2017
Ñîîáùåíèé: 1
Ðåïóòàöèÿ: 1 èìååò íóëåâóþ ðåïóòàöèþ![The Egoist èìååò íóëåâóþ ðåïóòàöèþ](ambience/reputation/reputation_pos.gif)
×àð: The Egoist
|
Re: ÌÀÊÐÎÑÛ
Öèòàòà:
Ñîîáùåíèå îò AKA
[PHP]
//----Õåëèíã,Ìàãèÿ,Ìåäèòàöèÿ:----
//if hits < 150 // Ïðîâåðêà õèòîâ
.................
[/PHP]
|
Ïî÷åìó-òî íå ðàáîòàåò ïðîâåðêà õï. Ïðîñòî ïîñòîÿííî õèëèòüñÿ ïûòàåòñÿ. Íå çíàåò êòî, ÷òî íå òàê?
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
18.01.2010, 14:28
|
#4
|
The Hero
Ðåãèñòðàöèÿ: 17.10.2009
Àäðåñ: [M5]
Ñîîáùåíèé: 602
Ðåïóòàöèÿ: 24 íà ïðàâèëüíîì ïóòè (îò 16 äî 25)![AKA íà ïðàâèëüíîì ïóòè (îò 16 äî 25)](ambience/reputation/reputation_pos.gif)
×àð: Ñëèøêîì Ìíîãî!!
Ãèëüäèÿ: [M5]
|
Re: ÌÀÊÐÎÑÛ
[PHP]
//----Êóêåíã----
drag 466,283 424,329 1 //1 áðåâíî èç êó÷è ïåðåòàùèòü íà ìåñòî êîñòðà
wait 500
for #i 0 5 1 //ïûòàåìñÿ ðàçæå÷ü
double_left 424,329
wait 500
end_for
if wght < 400
drag 442,248 399,264 120 //120 ìÿñà íà ñåáÿ åñëè íå ïåðåâåñ
wait 500
end_if
while_not (lastmsg must cook) or (lastmsg can cook)
double_left 95,113 //ìÿñî â ïàêå
wait 500
left 422, 327 //òàðãåò íà êîñòåð
wait 2000
double_left 39,115 //ïîåñòü
end_while
[/PHP]
Äîáàâëåíî ÷åðåç 57 ñåêóíä
[PHP]
//----Òèíêåð----
//ñêðèïò íà êà÷ òèíêèðà, äåëàåì áóòûëêè
drag 382,318 837,484 2 //áåðåì 2 áóòûëêè è êèäàåì â ïàê
wait 1s
drag 424,319 959,256 2700 //áåðåì 2700 àéðîíà è êèäàåì â ïàê
wait 1s
repeat 900 //ïîâòîð êðàôòà, 1 áóòûëêà = 3 àéðîíà
send 4 //êíîïêà â àññèñòå äåëàòü áóòûëêè, îáÿçàòåëüíî âûñòàâèòü Target Item Type
wait 6s
end_repeat
move 849,457
drag 849,457 432,368 all //ïåðåòàñêèâàåì èç ïàêà âñå áóòûëêè
wait 1s
//2 áóòûëêè êèäàåì â ïàê â òî ìåñòî îòêóäà ïîòîì áóäåì èõ âûêëàäûâàòü,
//êîîðäèíàòû move äîëæíû áûòü òàêèìèæå êàê è ïåðâûå êîîðäèíàòû drag.
[/PHP]
Äîáàâëåíî ÷åðåç 3 ìèíóòû
[PHP]
//----Òàèëîðèíã----
//ñêðèïò íà êà÷ òåéëîðà, äåëàåì ïàòòåðíû
drag 382, 318 837,484 2 //áåðåì 2 ïàòòåðíà è êèäàåì â ïàê
wait 1s
drag 424,319 959,256 500 //áåðåì 500 òêàíè è êèäàåì â ïàê
wait 1s
repeat 250 //ïîâòîð êðàôòà, 1 ïàòòåðí = 2 òêàíè
send 4 //êíîïêà â àññèñòå äåëàòü ïàòòåðíû, îáÿçàòåëüíî âûñòàâèòü Target Item Type
wait 4s //çàäåðæêà íà êðàôò
end_repeat
move 849,457
drag 849,457 432,368 all //ïåðåòàñêèâàåì èç ïàêà âñå ïàòòåðíû
wait 1s
//2 ïàòòåðíà êèäàåì â ïàê â òî ìåñòî îòêóäà ïîòîì áóäåì èõ âûêëàäûâàòü,
//êîîðäèíàòû move äîëæíû áûòü òàêèìèæå êàê è ïåðâûå êîîðäèíàòû drag,
//÷òîáû ñêðèïò íå ñáèâàëñÿ âñå ÷òî êèäàåì â ïàê ëó÷øå áðàòü ñ ïîëà,
//ñêðèïò ìîæíî ïåðåäåëàòü ïîä êðàôò áëàíê ñêðîëîâ, äëÿ ýòîãî íàäî,
//ïîìåíÿòü êîëè÷åñòâî ïîâòîðîâ, ïåðåïèñàòü ìàêðîñ â àññèñòå, èçìåíèòü çàäåðæêó êðàôòà.
[/PHP]
Äîáàâëåíî ÷åðåç 4 ìèíóòû
[PHP]
//----Àëõèìèÿ----
//ñêðèïò íà êà÷ àëõèìèè, äåëàåì ëåññåð õèëû
drag 691,91 956,264 790 //áåðåì 790 ÃÑ'à èç êó÷è è êèäàåì íà ñåáÿ
wait 1s
repeat 790 //ñòàâèì ÷èñëî ïîâòîðîâ ðàâíîå êîëè÷åñòó ÃÑ'à
send 5 //êíîïêà â àññèñòå äåëàòü ëåññåð õèëû, îáÿçàòåëüíî âûñòàâèòü Use Item Type
wait 8s
end_repeat
send 4 //êíîïêà â àññèñòå ïåðåëèâà çåëèé â êåãó, îáÿçàòåëüíî âûñòàâèòü Target Item Type
wait 1s
//ñêðèïò ìîæíî ïåðåäåëàòü ïîä êðàôò äðóãèõ çåëèé,
//íåîáõîäèìî ïîìåíÿòü êîëè÷åñòâî ðåãîâ êîòîðîå êèäàåì â ïàê,
//÷èñëî ïîâòîðîâ è çàäåðæêó ïîñëå êíîïêè íà êðàôò çåëüÿ.
[/PHP]
Äîáàâëåíî ÷åðåç 7 ìèíóò
[PHP]
//----Òàìèíã----
double_left 350, 220 -Êîðäèíàòû ïàëêè íà êàðòèíêå èãðîêà!
for #i 1 13 1
send F11 //target next
wait 500
send F12 //last object wait for target last target
wait 500
say
end_for
wait 10 min
[/PHP]
Äîáàâëåíî ÷åðåç 11 ìèíóò
[PHP]
//----Àâàðèéíûè Ðåêîëë----
//////////////////////// by Crimson ///////////////////////////
// Çàíèìàòü ñêðèïò áóäåò äâà îêíà â ïèëîòå
//Îêíî ¹ 1
if lastmsg You see:
stop_script 0 // íîìåð îêíà ãäå çàïóùåí ìàêðîñ (íàïðèìåð ðóáêà èëè êîïêà è òä)
start_script 2 // íîìåð îêíà ãäå áóäåò ñêðèïåò ñàìîãî ðåêîëà (ïðèâåäó íèæå)
alarm
alarm
alarm
alarm
alarm
alarm
alarm
msg Çàìå÷åí ÏÊ, çàïóùåí ñêðèïò àâàðèéíîé ýâàêóàöèè !!!
stop_script
end_if
// Îêíî ¹ 2
if charposx = 1236 //ïðîâåðêà êîîðäèíàò ìåñòà ðåêîëà
msg Ìîè ïîçäðàâëåíèÿ!! ìû ñîñêà÷èëè îò ÏÊ ![Ðàäîñòü](images/smilies/new/smile3.gif) )
stop_script
else
send f3 // çàáèíäåíûé ðåêîë
wait 3000
end_if
/////////////////////////////////////////////////////////////////////////////////////////////////
//Ñêðèïòîì íå ïîëüçîâàëñÿ! ïîïðîáóèòå åñëè ×òî ×åì Ñ ìîãó òåì ïîìîãó =) òåæåëîâàòûè  ïîíèìàíèé =)
[/PHP]
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
04.02.2012, 03:39
|
#5
|
Wizard of words
Ðåãèñòðàöèÿ: 31.10.2007
Àäðåñ: [PK]
Âîçðàñò: 34
Ñîîáùåíèé: 1,550
Ðåïóòàöèÿ: 4 èìååò íóëåâóþ ðåïóòàöèþ![Durchikk èìååò íóëåâóþ ðåïóòàöèþ](ambience/reputation/reputation_pos.gif)
×àð: Man
Ãèëüäèÿ: [PK]
|
Re: ÌÀÊÐÎÑÛ
//----Àâàðèéíûè Ðåêîëë----
//////////////////////// by Crimson ///////////////////////////
// Çàíèìàòü ñêðèïò áóäåò äâà îêíà â ïèëîòå
//Îêíî ¹ 1
if lastmsg You see:
stop_script 0 // íîìåð îêíà ãäå çàïóùåí ìàêðîñ (íàïðèìåð ðóáêà èëè êîïêà è òä)
start_script 2 // íîìåð îêíà ãäå áóäåò ñêðèïåò ñàìîãî ðåêîëà (ïðèâåäó íèæå)
alarm
alarm
alarm
alarm
alarm
alarm
alarm
msg Çàìå÷åí ÏÊ, çàïóùåí ñêðèïò àâàðèéíîé ýâàêóàöèè !!!
stop_script
end_if
// Îêíî ¹ 2
if charposx = 1236 //ïðîâåðêà êîîðäèíàò ìåñòà ðåêîëà
msg Ìîè ïîçäðàâëåíèÿ!! ìû ñîñêà÷èëè îò ÏÊ ![Ðàäîñòü](images/smilies/new/smile3.gif) )
stop_script
else
send f3 // çàáèíäåíûé ðåêîë
wait 3000
end_if
/////////////////////////////////////////////////////////////////////////////////////////////////
//Ñêðèïòîì íå ïîëüçîâàëñÿ! ïîïðîáóèòå åñëè ×òî ×åì Ñ ìîãó òåì ïîìîãó =) òåæåëîâàòûè  ïîíèìàíèé =)
[/PHP][/QUOTE]
Êóäà è Êàê íàäà âñòàâèòü ñêðèïò ÷òîáû åñëè ÷¸ ñ øàõòû ïðè âèäå ïîñòîðîíèõ íèêîâ (Êðîìå Îð Ãâàðäîâ) ðåêîëèëñÿ?
__________________
Âîñòîê ÌÑÊ! Ãîëüÿíîâî!
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
18.01.2010, 14:43
|
#6
|
The Hero
Ðåãèñòðàöèÿ: 02.02.2007
Àäðåñ: KIDs
Âîçðàñò: 36
Ñîîáùåíèé: 969
Ðåïóòàöèÿ: 52 èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)![Sindo èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)](ambience/reputation/reputation_pos.gif)
×àð: Sindoatan
Ãèëüäèÿ: KIDs
|
Re: ÌÀÊÐÎÑÛ
Âîò íàêîïàë òóò íà ôîðóìå èç ñâîèõ ïîñòîâ. Íàéäó àðõèâ ñî ñêðèïòàìè åùå íàêèäàþ.
[php]// Bowcraft by Sindo (Íå http://forum.fwuo.ru/design/new/editor/justifycenter.gifòðåáóåò äëÿ èñïîëüçîâàíèÿ ***ssist)
:start
set #f 0
drag 299, 271 846, 529 1 // áåðåò 1 êèíäëèíã èç êó÷è ¹1 íà çåìëå è êëàäåò â ïàê (äëÿ îïðåäåëåíèÿ êîîðäèíàò)
wait 400
REPEAT 85 // ìàêñèìàëüíîå ÷èñëî ïîâòîðîâ 85 îáîñíîâàíî âåñîì âûïàäåíèÿ èòåìîâ ïðè 150 ñèëû
set #f #f + 1
drag 283, 232 810, 514 7 // áåðåò 7 ëîãîâ ñ ïîëà è êëàäåò â ïàê
wait 400
set #a lastliftedID
set lasttargetID #a
set LastTargetKind 1
send F11 // LastObject/WFT/LastTarget â êëèåíòå (äàããåð íà ëîãè â ïàêå)
wait 500 // çàäåðæêà íà ïîÿâëåíèå/îáíîâëåíèå ìåíþ êðàôòà
double_left 62, 66 // 1-å ïîäìåíþ êðàôòà
wait 500 // çàäåðæêà íà ïîÿâëåíèå/îáíîâëåíèå ìåíþ êðàôòà
double_left 63, 66 // 2-å ïîäìåíþ êðàôòà
wait 5000 // ïàóçà ïîêà êðàôòèò êèíäëèíã
say #f
end_repeat
drag 847, 528 296, 268 all // âûêëàäûâàåò âñå ãîòîâûå êèíäëèíãè â êó÷ó ¹2 íà ïîëó
goto start
// ïåðåä çàïóñêîì ñêðèïòà 1 ðàç èñïîëüçîâàòü äàããåð íà ÷òî óãîäíî.
// çàäåðæêè íåîáõîäèìî ïåðåñìîòðåòü â çàâèñèìîñòè îò ïèíãà ( ó ìåíÿ îí ÎÎÎÎ×ÅÍÜ áîëüøîé =( )
// â êó÷å ¹1 äîëíî áûòü íå áîëüøå 1ê èòåìîâ, èíà÷å îí íå ñìîãåò îòòóäà âçÿòü 1(!) êèíäëèíã. èìåííî ïî ýòîé ïðè÷èíå ÿ ðàçäåëèë êèíäëèíãè íà 2 êó÷è[/php]
Åñëè åñòü âîçìîæíîñòü èñïîëüçîâàòü àññèñò, òî çàìåíèòü êóñîê
Êîä:
send F11 // LastObject/WFT/LastTarget â êëèåíòå (äàããåð íà ëîãè â ïàêå)
wait 500 // çàäåðæêà íà ïîÿâëåíèå/îáíîâëåíèå ìåíþ êðàôòà
double_left 62, 66 // 1-å ïîäìåíþ êðàôòà
wait 500 // çàäåðæêà íà ïîÿâëåíèå/îáíîâëåíèå ìåíþ êðàôòà
double_left 63, 66 // 2-å ïîäìåíþ êðàôòà
íà
Êîä:
send F11 // ìàêð â àññèñòå íà êðàôò êèíäëèíãîâ
[php]// ïðîêà÷êà ìàãåðè, ìåäèòàöèè è õèëèíãà áåç àññèñòà by Sindo
set $lackreg lack reagents //ñîîáùåíèå î íåõâàòêå ðåñóðñîâ äëÿ êàñòà
set $war with thoughts // ñîîáùåíèå î íàõîæäåíèè ÷àðà â âàð ìîäå
set timer
:rep
// Êàñò ñïåëëà íà ñåáÿ
send F9 // â êëèåíòå: CastSpell+Poison(Nightsight)/WFT/TargetSelf
if (lastmsg =$lackreg) // ïðîâåðêà íà íàëè÷èå ðåãîâ äëÿ êàñòà ñïåëëà
Repeat 5
alarm
say Íåò ðåñîâ
wait 2000
end_repeat
pause_script
end_if
wait 2600 // çàäåðæêà íà êàñò ñïåëà
gosub PreventDeath
// Ìåäèòàöèÿ ïðè ñèëüíîé ïîòåðå ìàíû
if mana < 10 // îãðàíè÷åíèå íîðìû ìàíû ñòàâèòü ïî ñâîåìó óñìîòðåíèþ
while mana < int
send 5 // â êëèåíòå: UseSkill+Meditaiton
if (lastmsg = $war)
send Tab // ñíÿòü âàð ìîä
end_if
gosub PreventDeath
wait 3000 // çàäåðæêà íà îäíó ìåäèòàöèþ
end_while
end_if
// Ïîäêîðìêà
if (timer > 600000) // åñò ðàç â 10 ìèí
set lastobjecttype XXXXXXXXXXX // ÈÄ ìÿñà â ïàêå
send F2 // â êëèåíòå: lastobject
set timer
end_if
goto rep
// Îòõèëèâàíèå ïðè ðàíåíèè
:PreventDeath
if hits < 100 // îãðàíè÷åíèå íîðìû õï ñòàâèòü ïî ñâîåìó óñìîòðåíèå
while hits < str
if hits = 0 // Îïîâåùåíèå î ñìåðòè
Repeat 5
alarm
say Ðåñ
wait 2000
end_repeat
pause_script
end_if
set lastobjecttype NNNNNNNNNN // ÈÄ áèíòîâ â ïàêå
send F1 // â êëèåíòå: lastObject/WFT/TargeSelf
say Guards
wait 4000 // çàäåðæêà íà õèëë
end_while
end_if
return
// ïåðåä çàïóñêîì íåîáõîäèìî: 1) ïðîñòàâèòü èòåìòàéï áèíòîâ è ìÿñà â ïàêå ( þçíóòü 1 ðàç áèíòû è,
// ïîñìîòðåâ â ïèëîòå â ðàçäåëå ×àðÏàðàìåòðñ, âñòàâèòü ñîîòâåòñòâóþùèé íàáîð öèôð âìåñòî NNNNNNN (ìÿñî àíàëîãè÷íî (ÕÕÕÕÕÕ)))
// 2) çàáèíäèòü â êëèåíòå êíîïêè â ñîîòâåòñòâèè ñ óêàçàíèÿìè íàïðîòèâ íèõ
// (êíîïêè ìîæíî çàáèíäèòü äðóãèå, òîãäà â ñêðèïòå èõ ñîîòâåòñòâåííî ñëåäóåò èçìåíèòü)
// 3) îòêîððåêòèðîâàòü çàäåðæêè ïîä ñâîé ïèíã
// Ïðèíöèï ðàáîòû: ×àð êàñòóåò íà ñåáÿ ñïåëë ÷åðåç çàäàííûå ïðîìåæóòêè âðåìåíè,
// ïðè ýòîì ïðîâåðÿÿ êîëëè÷åñòâî õï, ìàíû è æèâ ëè åùå ÷åë. åñëè õï ìåíüøå 100,
// òî îí áóäåò õèëèòü ñåáÿ ïîêà çíà÷åíèå õï íå ñòàíåò = çíà÷åíèþ ñèëû. åñëè ìàíà ñòàíåò ìåíüøå 10,
// òî îí áóäåò ìåäèòèðîâàòü ïîêà îíà íå ñðàâíÿåòñÿ ïî çíà÷åíèþ ñ èíòåëåêòîì.
// åñëè ÷åë óìåð (õï = 0), òî ïèëîò 5 ðàç ïèêíåò è ïîñòàâèò ñêðèïò íà ïàóçó.
// âî âðåìÿ õèëèíãà è ìåäèòàöèè ÷åë ñïåëû íå êàñòóåò.
// Âî âðåìÿ ðàáîòû ñêðèïòà íåîáõîäèìî ÷òîáû áûë îòêðûò ñòàòáàð. [/php]
__________________
May the Force be with you..
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
18.01.2010, 14:43
|
#7
|
The Hero
Ðåãèñòðàöèÿ: 17.10.2009
Àäðåñ: [M5]
Ñîîáùåíèé: 602
Ðåïóòàöèÿ: 24 íà ïðàâèëüíîì ïóòè (îò 16 äî 25)![AKA íà ïðàâèëüíîì ïóòè (îò 16 äî 25)](ambience/reputation/reputation_pos.gif)
×àð: Ñëèøêîì Ìíîãî!!
Ãèëüäèÿ: [M5]
|
Re: ÌÀÊÐÎÑÛ
[PHP]
//----Ðó÷íàÿ Ðóáêà----
//ïîìîãàåò íå ìíîãî òàðãåò ïîÿâëÿåòñÿ è ñàì äî ðóáëèâàåò äåðåâî =)
set #rtimer 0
set #msg 99
while #msg <> 0
if #msg = 2
send F2 1000 //lastobject, waitfortarget, lasttarget
else
send F1 //lastobject
while target = 1
wait 1000
end_while
//waitfortarget 5000
end_if
gosub 1
end_while
end_script
:1
set #timer timer
while #rtimer < 30000 //âðåìÿ ïðîâåðêè ðåçóëüòàòîâ 1é ðóáêè
set #msg 99
if lastmsg you put the logs in
set #msg 2
break
end_if
if lastmsg your skill in lumberjacking
set #msg 2
break
end_if
if lastmsg you hack at the tree for a while
set #msg 2
break
end_if
if lastmsg there are no logs
break
end_if
if lastmsg you can't think of a way
break
end_if
[/PHP]
Äîáàâëåíî ÷åðåç 50 ñåêóíä
[PHP]
//----Ïðîñòåíüêèé Ëàìáåð ----
//Ìàêðîñ íà ëàìáåð ïèøåòñÿ ïîä îïðåäåë¸ííóþ ìåñòíîñòü
//Åñëè íàéä¸øü äåëÿíêó ñ äåðåâüÿìè â ðÿä, òî ìîæåøü êà÷àòü íà ïðèìèòèâíîì ìàêðîñå:
Öèòàòà:repeat <äëèííà>
Send F7
wait 200
Send F8
wait 100
double_left point1
wait <çàäåðæêà íà 1 ñðóá>
end_repeat
repeat <äëèííà>
Send F9
wait 200
Send F8
wait 100
double_left point1
wait <çàäåðæêà íà 1 ñðóá>
end_repeat
<äëèíà> - êîëè÷åñòâî øàãîâ
point1 - äåðåâî
<çàäåðæêà íà 1 ñðóá> - çàäåðæêà íà 1 óäàð òîïîðîì
F8 - èñïîëüçîâàòü òîïîð
F7 & F9 - øàãàòü â íàïðàâëåíèè
[/PHP]
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
01.07.2011, 19:22
|
#8
|
Banned
Ðåãèñòðàöèÿ: 09.07.2010
Âîçðàñò: 34
Ñîîáùåíèé: 182
Ðåïóòàöèÿ: 1 èìååò íóëåâóþ ðåïóòàöèþ![Âèòàë¸ê èìååò íóëåâóþ ðåïóòàöèþ](ambience/reputation/reputation_pos.gif)
×àð: Íåòó
|
Re: ÌÀÊÐÎÑÛ
[QUOTE=AKA;277627][PHP]
//----Ðó÷íàÿ Ðóáêà----
//ïîìîãàåò íå ìíîãî òàðãåò ïîÿâëÿåòñÿ è ñàì äî ðóáëèâàåò äåðåâî =)
set #rtimer 0
set #msg 99
while #msg <> 0
if #msg = 2
send F2 1000 //lastobject, waitfortarget, lasttarget
else
send F1 //lastobject
while target = 1
wait 1000
end_while
//waitfortarget 5000
end_if
gosub 1
end_while
end_script
:1
set #timer timer
while #rtimer < 30000 //âðåìÿ ïðîâåðêè ðåçóëüòàòîâ 1é ðóáêè
set #msg 99
if lastmsg you put the logs in
set #msg 2
break
end_if
if lastmsg your skill in lumberjacking
set #msg 2
break
end_if
if lastmsg you hack at the tree for a while
set #msg 2
break
end_if
if lastmsg there are no logs
break
end_if
if lastmsg you can't think of a way
break
end_if
[/PHP]
Äîáàâëåíî ÷åðåç 50 ñåêóíä
Íå ðàáîòàåò íèõð*íà, òàì è îïå÷àòêè â ñëîâàõ è êàêèå òî ïðîáëåìû ñ êîíöîì è íà÷àëîì öèêëà ! Êòî øàðèò - ðàçáèðèòåñü ïîæàëóéñòà ...
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
18.01.2010, 14:45
|
#9
|
The Hero
Ðåãèñòðàöèÿ: 02.02.2007
Àäðåñ: KIDs
Âîçðàñò: 36
Ñîîáùåíèé: 969
Ðåïóòàöèÿ: 52 èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)![Sindo èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)](ambience/reputation/reputation_pos.gif)
×àð: Sindoatan
Ãèëüäèÿ: KIDs
|
Re: ÌÀÊÐÎÑÛ
Âàðèàíò 1 (êà÷àåò òîëüêî ñòåëñ)
send F1 // áèíä íà þç ñêèëëà
wait 300 // çàäåðæêó â ìèëèñåêóíäàõ ñàì ïîäáåðè
Âàðèàíò 2 (êà÷àåò îäíîâðåìåííî õàéä è ñòåëñ)
send F1 // áèíä íà þç õàéäà
repeat 3
send Left 200
end_repeat
send F1
repeat 3
send Right 200
end_repeat
[php]// Poisoning by Sindo (Íå òðåáóåò äëÿ èñïîëüçîâàíèÿ ***ssist) (beta)
set $fizl CCCCCCCCCC // ñîîáùåíèå âîçíèêàþùåå ïðè ôèçëå
set $alrpois CCCCCCCC // ñîîáùåíèå âîçíèêàþùåå ïðè ïîïûòêå îòðàâèòü óæå îòðàâëåííûé êóñîê ìÿñà
set #amount N // êîëëè÷åñòâî áàíîê è ìÿñà (íå â ñóììå), êîòîðûå âû ñîáèðàåòåñü èñïîëüçîâàòü çà îäíó çàãðóçêó (ïîäáèðàòü ïî âåñó)
set $msf XXX, YYY // êîîðäèíàòû êó÷è ñâåæåãî ìÿñà (¹1) íà ïîëó
set $mp XXX, YYY // êîîðäèíàòû ìÿñà â ïàêå
set $pf XXX, YYY // êîîðäèíàòû ïîéçîí áàíîê íà ïîëó
set $pp XXX, YYY // êîîðäèíàòû ïîéçîí áàíîê â ïàêå
set $mpc XXX, YYY // êîîðäèíàòû ñóíäóêà äëÿ îòðàâëåííîãî ìÿñà
set #wdr KKK // çàäåðæêè, ñòîÿùèå ïîñëå äðàãîâ. êîîðåêòèðîâàòü ïî ïèíãó
set #wwp KKK // çàäåðæêà íà îòðàâëåíèå ìÿñà
set #pt BBB // èòåìòàéï ïîéçîí áàíîê
set $actbtn S // êíîïêà ñ áèíäîì íà LastObject â êëèåíòå
set #amountm #amount // äëÿ êîððåêöèè êîë-âà ìÿñà ïðè ôèçëàõ
set #amountp #amount // äëÿ êîððåêöèè êîë-âà áàíîê ïðè îøèáêå ñ îòñóòñòâèåì ìÿñà
set #ft 0 // äëÿ èíôîðìèðîâàíèÿ î ïðîöåññå ïðîêà÷êè
set #iii 0 // ñ÷åò÷èê ôýéëîâ òàðãåòà ìÿñà
:start
set #f 0 // äëÿ èíôîðìèðîâàíèÿ î ïðîöåññå ïðîêà÷êè
set #a 0 // äëÿ îïðåäåëåíèÿ ëàñòòàðãåòà/îáæåêòà
set #fizl 0 // èíäèêàòîð è ñ÷åò÷èê ôèçëîâ
set #ft #ft + 1
repeat #amountm
drag $msf $mp 1 // áåðåò 1 êóñîê íåîòðàâëåííîãî ìÿñà èç êó÷è ¹1 íà çåìëå è êëàäåò â ïàê
wait #wdr
end_repeat
drag $pf $pp #amountp // áåðåò N áàíîê ëåçåð ïîéçîíà èç êó÷è ¹2 ñ ïîëà è êëàäåò â ïàê
wait #wdr
set #a LastLiftedID
set LastObjecttID #a
set LastObjectType #pt // èòåìòàéï ïîéçîí áàíîê
set #amountp #amount
REPEAT #amount // ñòîëüêî ðàç, íà ñêîëüêî îòðàâëåíèé íàáðàëè ðåñîâ
set #f #f + 1
set #ii 0 // ñ÷åò÷èê ôýéëîâ òàðãåòà ìÿñà
:repoison
set #i 0 // ñ÷åò÷èê ôýéëîâ òàðãåòà ìÿñà
send $actbtn // LastObject â êëèåíòå
WaitForTarget
:retarget
left $mp // êîîðäèíàòû êó÷è íåîòðàâëåííîãî ìÿñà â ïàêå
wait #wwp // çàäåðæêà íà îòðàâëåíèå ìÿñà
if (target = 1) // ïðîâåðêè íà íàëè÷èå ìÿñà â ïàêå
set #i #i + 1
if (#i > 3)
send Escape
set #ii #ii + 1
if (#ii > 2)
set #iii #iii + 1
if (#iii > 10)
gosub zopa
end_if
set #amountp #amount - #f
goto start
end_if
goto repoison
end_if
wait 500
goto retarget
end_if
if (lastmsg = $fizl)
set #fizl #fizl + 1
goto fizl
end_if
if (lastmsg = $alrpois)
drag $mp $mpc 1 // óòàñêèâàåò èç ïàêà â ñóíäóê îòðàâëåííûé êóñîê ìÿñà
goto repoison
end_if
drag $mp $mpc 1 // óòàñêèâàåò èç ïàêà â ñóíäóê îòðàâëåííûé êóñîê ìÿñà
wait #wdr
:fizl
say Þç #f èç #amount ( ïîäõîä ¹ #ft )
end_repeat
set #amountm #amount - #fizl
goto start
:zopa
say Çîïà
repeat 5
flash
flash Sindo
alarm
wait 2s
end_repeat
pause_script
return
// â êó÷å ¹1 äîëíî áûòü íå áîëüøå 1ê èòåìîâ, èíà÷å îí íå ñìîãåò îòòóäà âçÿòü 1(!) êóñîê ìÿñà. èìåííî ïî ýòîé ïðè÷èíå ñëåäóåò ðàçäåëÿòü ìÿñî íà íåñêîëüêîëüêî êó÷åê (ïîëîæèòü èç îíäíó íà äðóãóþ, íåñòàêóÿ)
// â ñòðîêàõ [set $* XXX, YYY] è çàìåíÿåì XXX, YYY íà îòíîñèòåëüíûå êîîðäèíàòû â ñîîòâåòñòâèè ñ êîììåíòàðèÿìè
// â ñòðîêàõ [set #w* KKK] çàìåíÿåì KKK íà çàäåðæêó â ìèëèñåêóíäàõ â ñîîòâåòñòâèè ñ êîììåíòàðèÿìè è âàøèì ïèíãîì
// â ñòðîêå [set #pt BBB] çàìåíÿåì BBB íà èòåìòàéï áàíîê ëåçåð ïîéçîíà
// â ñòðîêå [set $actbtn S] çàìåíÿåì S íà êíîïêó ñ óêàçàííûì â êîììåíòå áèíäîì
// â ñòðîêàõ [set {$fizl/$alrpois} CCCCCCCCCC] çàìåíÿåì ÑÑÑÑÑÑ â ñîîòâåòñòâèè ñ êîììåíòàðèzvb
// åñëè íå òðåáóåòñÿ ïðîãîâàðèâàòü øàã öèêëà, óäàëèòü/çàêîììåíòàðèòü ñòðîêó [say Þç #f èç #amount ( ïîäõîä ¹ #ft )]
// â ñòðîêå [set #amount N] çàìåíÿåì N â ñîîòâåòñòâèè ñ êîììåíòàðèåì [/php]
__________________
May the Force be with you..
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
18.01.2010, 14:45
|
#10
|
The Hero
Ðåãèñòðàöèÿ: 17.10.2009
Àäðåñ: [M5]
Ñîîáùåíèé: 602
Ðåïóòàöèÿ: 24 íà ïðàâèëüíîì ïóòè (îò 16 äî 25)![AKA íà ïðàâèëüíîì ïóòè (îò 16 äî 25)](ambience/reputation/reputation_pos.gif)
×àð: Ñëèøêîì Ìíîãî!!
Ãèëüäèÿ: [M5]
|
Re: ÌÀÊÐÎÑÛ
[PHP]
Ðåçèñò È õåëèíã
:main
//repeat 2 // ñäåñü ñòàâèø ñêîêà ñòåí êàñòîâàòü ïîä ñåáÿ åñëè õèëèíã ÃÌ ìîæíî 4 ñòåíû.
set #r 0
send F9 3500 // CastSpel >> waitfortarget >> target selfl
//End_repeat
:heal
if hits < str
send End //õèëèì ñåáÿ, ìîæíî çàìåíèòü íà ìàêðîñ
set #r 0
wait 3600
goto heal
end_if
set #r #r + 1
wait 1000
if #r = 5 // ïåðåìåííàÿ îòâå÷àåò çà îæèäàíèå 5
//ñåêóíä, åñëè â òå÷åíèå ýòîãî âðåìåíè äàìàã íå áûë
//íàíåñåí, òî ñ÷èòàåòñÿ, ÷òî äåéñòâèå ôèëäà
//ïðåêðàòèëîñü
goto medit
else
goto heal
end_if
:medit
if hits < str //âäðóã âñå òàêè ëàãàíóëî è ôèëä âñå åùå
//íàíîñèò äàìàã, ëèøíÿÿ ïðîâåðî÷êà íå ïîìåøàåò
goto heal
end_if
if mana < int
send Backspace //ìàêðîñ ìåäèòàöèè
wait 2500
goto medit
end_if
goto main
end_script
[/PHP]
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
18.01.2010, 14:47
|
#11
|
The Hero
Ðåãèñòðàöèÿ: 02.02.2007
Àäðåñ: KIDs
Âîçðàñò: 36
Ñîîáùåíèé: 969
Ðåïóòàöèÿ: 52 èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)![Sindo èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)](ambience/reputation/reputation_pos.gif)
×àð: Sindoatan
Ãèëüäèÿ: KIDs
|
Re: ÌÀÊÐÎÑÛ
[php] // Tailoring (ñ) Sindo (Íå òðåáóåò äëÿ èñïîëüçîâàíèÿ ***ssist)
:start
set #f 0
set #a 0
drag 298, 266 298, 266 1 // áåðåò 1 ïàòòåðí èç êó÷è ¹1 íà çåìëå è êëàäåò â ïàê (äëÿ îïðåäåëåíèÿ êîîðäèíàò)
wait 400
drag 665, 604 834, 557 N // áåðåò N (ïîäîáðàòü ïî âåñó) êóñêîâ òêàíè ñ ïîëà è êëàäåò â ïàê
wait 400
set #a lastliftedID
set lasttargetID #a
REPEAT N // ñòîëüêî ðàç, ñêîëüêî âû âçÿëè òêàíè
set #f #f + 1
send F11 // LastObject/WFT/LastTarget â êëèåíòå
wait 2000 // ïàóçà íà ïîÿâëåíèÿ ìåíþøêè âûáîðà èçäåëèÿ êðàôòà
double_left 242, 67 // ïîäìåíþ êðàôòà (êàðòèíêà ïàòòåðíà)
wait 5000 // ïàóçà ïîêà êðàôòèò ïàòòåðí
say #f
end_repeat
drag 911, 560 680, 566 all // âûêëàäûâàåò âñå ãîòîâûå ïàòòåðíû â êó÷ó ¹2 íà ïîëó
goto start
// ïåðåä çàïóñêîì ñêðèïòà 1 ðàç èñïîëüçîâàòü ñüþèíã êèò íà ÷òî óãîäíî.
// çàäåðæêè íåîáõîäèìî ïåðåñìîòðåòü â çàâèñèìîñòè îò ïèíãà ( ó ìåíÿ îí íó ÎÎÎÎ×ÅÍÜ áîëüøîé =( )
// â êó÷å ¹1 äîëíî áûòü íå áîëüøå 1ê èòåìîâ, èíà÷å îí íå ñìîãåò îòòóäà âçÿòü 1(!) ïàòòåðí. èìåííî ïî ýòîé ïðè÷èíå ÿ ðàçäåëèë ïàòòåðíû íà 2 êó÷è [/php]Ñðèïòû ñ ïðèïèñêîé Beta òðåáóåò òåñòà è, âîçìîæíî, ïðàâêè.
[PHP]// Taming by Sindoatan. Based on Taming (c) by diss
set $btnRel F6 // êíîïêà ñ say+all_release â êëèåíòå
set $btnUse F12 // êíîïêà ñ Object/LastTarget â àññèñòå ñ UseItemType ïîñîõà
set #k 10 // êîë-âî îáòàìëèâàåìûõ ñêîòèíîê
set #korm 0 // åñëè íàäî çàïóñêàòü ñêðèïò ïîäêîðìêè çâåðüÿ ñòàâèì 1. åñëè íåò 0.
set #kb 5 // íîìåð ïîòîêà ñî ñêðèïòîì ïîäêîðìêè çâåðüÿ
set #blEda 0 // åñëè íàäî ñåáÿ êîðìèòü, òî ñòàâèì 1, èíà÷å 0
set $btnEat M // êíîïêà ñ LastObject â êëèåíòå
set #eda 123456789 // ÈÄ åäû äëÿ ñåáÿ
set #lag 2000000 // âðåìÿ íà çàáûâàíèå çâåðåì õîçÿèíà
set %arr[1] 1273244 // ID'øíèêè ñêîòèíîê
set %arr[2] 1325790
set %arr[3] 1237673
set %arr[4] 1138080
set %arr[5] 1226926
set %arr[6] 1278290
set %arr[7] 1267169
set %arr[8] 1311898
set %arr[9] 29713
set %arr[10] 1088780
//--------------------------------
set #zh #k +1
set $remember remembers
set $success accept
set $tamed already tame
set $failed fail
set $hungry hungry
set $far far away
set $skill changed
set $wait you must wait
set $cant see the target
:loop
set #a 1
while #a < #zh
if #blEda = 1
set lastobjectid #eda
send $btnEat
end_if
send $btnRel //say all release
set lasttargetid %arr[#a]
set #q 0
:repeat
set #q #q +1
if #q > 100 // Òàìèì äî ïîñëåäíåãî, íî ýòî íà âñÿêèé ñëó÷àé
goto next
end_if
set #i 0
send $btnUse
wait 1000
if lastmsg already
goto next
end_if
say zÇâåðóøêà #a, ïîïûòêà #q, âðåìÿ timer
while_not lastmsg $success
if (lastmsg $failed) or (#i > 3)
goto repeat
end_if
repeat 10
if (lastmsg old) or (lastmsg Loved) or (lastmsg again) or (lastmsg return)
send {Tab}
say Æäåìñ
wait 25s
goto repeat
end_if
wait 200
end_repeat
if (lastmsg = $wait) or (lastmsg = $cant) or (lastmsg = $hungry) or (lastmsg = $skill) or (lastmsg = $remember) or (lastmsg = $tamed) or (lastmsg = $far)
goto next
end_if
set #i #i +1
end_while
:next
set #a #a +1
if #a = 2
set timer
end_if
end_while
while timer < #lag
wait 20s
set #k #lag - timer
say Îáîæäèòå #k
end_while
if #korm = 1
start_script #kb
wait 10s
end_if
goto loop
// Ìåíÿåì êíîïêè/çàäåðæè/èäøíèêè â âåðõíåé ÷àñòè ñêðèïòà.  îñíîâíîé ÷àñòè êîïàòüñÿ íå
//îáÿçàòåëüíî. Îáÿçàòåëüíî ñòàâèì ãàëêó â îïöèÿõ êëèåíòà â ïðàâîé âåðõíåé âêëàäêå ó
//ñòðîêè ïðî TAB. Ñêðèïò ìîæåò òàìèòü, ìåíÿòü ïàëêè, åñòü, êîðìèòü è æäàòü ñòîëüêî
//ñêîëüêî íóæíî (è íå áîëåå íåîáõîäèìîãî).
[/PHP]
__________________
May the Force be with you..
Ïîñëåäíèé ðàç ðåäàêòèðîâàëîñü Sindo; 24.03.2011 â 06:10..
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
29.01.2011, 09:42
|
#12
|
Newbie
Ðåãèñòðàöèÿ: 20.01.2011
Âîçðàñò: 36
Ñîîáùåíèé: 1
Ðåïóòàöèÿ: 1 èìååò íóëåâóþ ðåïóòàöèþ![p3ps1 èìååò íóëåâóþ ðåïóòàöèþ](ambience/reputation/reputation_pos.gif)
×àð: Candy Or DeaD
|
Re: ÌÀÊÐÎÑÛ
[
[PHP]// Taming by Sindoatan. Based on Taming (c) by diss
set $btnRel F6 // êíîïêà ñ say+all_release â êëèåíòå
set $btnUse F12 // êíîïêà ñ Object/LastTarget â àññèñòå ñ UseItemType ïîñîõà
set #k 10 // êîë-âî îáòàìëèâàåìûõ ñêîòèíîê
set #korm 0 // åñëè íàäî çàïóñêàòü ñêðèïò ïîäêîðìêè çâåðüÿ ñòàâèì 1. åñëè íåò 0.
set #kb 5 // íîìåð ïîòîêà ñî ñêðèïòîì ïîäêîðìêè çâåðüÿ
set #blEda 0 // åñëè íàäî ñåáÿ êîðìèòü, òî ñòàâèì 1, èíà÷å 0
set $btnEat M // êíîïêà ñ LastObject â êëèåíòå
set #eda 123456789 // ÈÄ åäû äëÿ ñåáÿ
set #lag 2000000 // âðåìÿ íà çàáûâàíèå çâåðåì õîçÿèíà
set %arr[1] 1273244 // ID'øíèêè ñêîòèíîê
set %arr[2] 1325790
set %arr[3] 1237673
set %arr[4] 1138080
set %arr[5] 1226926
set %arr[6] 1278290
set %arr[7] 1267169
set %arr[8] 1311898
set %arr[9] 29713
set %arr[10] 1088780
set #zh #k +1
set $remember remembers
set $success accept
set $tamed already tame
set $failed fail
set $hungry hungry
set $far far away
set $skill changed
set $wait you must wait
set $cant see the target
:loop
set #a 1
while #a < #zh
if #blEda = 1
set lastobjectid #eda
send $btnEat
end_if
send $btnRel //say all release
set lasttargetid %arr[#a]
set #q 0
:repeat
set #q #q +1
if #q > 100 // Òàìèì äî ïîñëåäíåãî, íî ýòî íà âñÿêèé ñëó÷àé
goto next
end_if
set #i 0
send $btnUse
wait 1000
if lastmsg already
goto next
end_if
say zÇâåðóøêà #a, ïîïûòêà #q, âðåìÿ timer
while_not lastmsg $success
if (lastmsg $failed) or (#i > 3)
goto repeat
end_if
repeat 10
if (lastmsg old) or (lastmsg Loved) or (lastmsg again) or (lastmsg return)
send {Tab}
say Æäåìñ
wait 25s
goto repeat
end_if
wait 200
end_repeat
if (lastmsg = $wait) or (lastmsg = $cant) or (lastmsg = $hungry) or (lastmsg = $skill) or (lastmsg = $remember) or (lastmsg = $tamed) or (lastmsg = $far)
goto next
end_if
set #i #i +1
end_while
:next
set #a #a +1
if #a = 2
set timer
end_if
end_while
while timer < #lag
wait 20s
set #k #lag - timer
say Îáîæäèòå #k
end_while
if #korm = 1
start_script #kb
wait 10s
end_if
goto loop
// Ìåíÿåì êíîïêè/çàäåðæè/èäøíèêè â âåðõíåé ÷àñòè ñêðèïòà.  îñíîâíîé ÷àñòè êîïàòüñÿ íå
//îáÿçàòåëüíî. Îáÿçàòåëüíî ñòàâèì ãàëêó â îïöèÿõ êëèåíòà â ïðàâîé âåðõíåé âêîàäêå ó
//ñòðîêè ïðî TAB. Ñêðèïò ìîæåò òàìèòü, ìåíÿòü ïàëêè, åñòü, êîðìèòü è æäàòü ñòîëüêî
//ñêîëüêî íóæíî (íî íå áîëåå íåîáõîäèìîãî).
[/PHP][/QUOTE]
Ïîäñêàæèòå êàê òóò ìíå âûñòàâèòü Id Îâåö... ÿ ïðîñòî íå çíàþ êàê ñìîòðåòü Id
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
29.01.2011, 14:49
|
#13
|
The Hero
Ðåãèñòðàöèÿ: 02.02.2007
Àäðåñ: KIDs
Âîçðàñò: 36
Ñîîáùåíèé: 969
Ðåïóòàöèÿ: 52 èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)![Sindo èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)](ambience/reputation/reputation_pos.gif)
×àð: Sindoatan
Ãèëüäèÿ: KIDs
|
Re: ÌÀÊÐÎÑÛ
Öèòàòà:
Ïîäñêàæèòå êàê òóò ìíå âûñòàâèòü Id Îâåö... ÿ ïðîñòî íå çíàþ êàê ñìîòðåòü Id
|
Ïèëîò->âêëàäêà Åùå->êíîïêà CharParametrs.  ïîÿâèâøåìñÿ îêíå íàõîäèì ñòðî÷êó LastTargetID. Áåðåì íîæíèöû (èëè ïîäðóãîìó âûçûâàåì òàðãåò) è êèäàåì òàðãåò îòíèõ íà ïåðâóþ îâöó. Êîïèðóåì öèôðû èç íàéäåííîé ñòðîêè â îêíå ïàðàìåòðîâ ïèëîòà â îêíî ñêðèïòà â ñîîòâåòñòâóþùóþ íîìåðó îâöû ñòðîêó. Ïîâòîðÿåì àíàëîãè÷íî äëÿ âñåõ îâåö. PROFIT.
__________________
May the Force be with you..
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
18.03.2011, 01:28
|
#14
|
Newbie
Ðåãèñòðàöèÿ: 28.08.2010
Âîçðàñò: 39
Ñîîáùåíèé: 15
Ðåïóòàöèÿ: 1 èìååò íóëåâóþ ðåïóòàöèþ![Evmixiy èìååò íóëåâóþ ðåïóòàöèþ](ambience/reputation/reputation_pos.gif)
×àð: Grok
|
Re: ÌÀÊÐÎÑÛ
set $btnUse F12 // êíîïêà ñ Object/LastTarget â àññèñòå ñ UseItemType ïîñîõà
Êàê òàê ñäåëàòü ? =) Ó ìåíÿ ëèáî 1 òàìèò, ëèáî âîîïùå íè÷åãî... ![Threaten](images/smilies/new/threaten.gif)
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
18.03.2011, 15:50
|
#15
|
Wizard of words
Ðåãèñòðàöèÿ: 29.11.2007
Àäðåñ: íåòóòè äàâíî
Ñîîáùåíèé: 2,411
Ðåïóòàöèÿ: 85 - âàñ óâàæàþò äðóãèå (îò 76 äî 125)![Fluke01 - âàñ óâàæàþò äðóãèå (îò 76 äî 125)](ambience/reputation/reputation_pos.gif)
×àð: Fluke
Ãèëüäèÿ: íåòóòè äàâíî
|
Re: ÌÀÊÐÎÑÛ
Öèòàòà:
Ñîîáùåíèå îò Evmixiy
set $btnUse F12 // êíîïêà ñ Object/LastTarget â àññèñòå ñ UseItemType ïîñîõà
Êàê òàê ñäåëàòü ? =) Ó ìåíÿ ëèáî 1 òàìèò, ëèáî âîîïùå íè÷åãî... ![Threaten](images/smilies/new/threaten.gif)
|
Íà÷èíàåøü çàïèñü ìàêðîñà â àñèñòå 2 ðàçà êëèêàåøü ïî òàìèíã ñòàôó, îí áåðåòñÿ â ðóêó, ïîòîì íàæèìàåøü Esc, ÷òîáû òàðãåò ïðîïàë èëè òûêàåøü òàðãåòîì ê êîãî-íèáóäü.
Ïîòîì þçå èòåì(ïîñîõ) ìåíÿåøü íà þçå èòåì òèï(ëþáûå ïîñîõè ýòîãî æå òèïà), è òàðãåò ìåíÿåøü íà ëàñò òàðãåò.
__________________
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
22.03.2011, 16:32
|
#16
|
Newbie
Ðåãèñòðàöèÿ: 28.08.2010
Âîçðàñò: 39
Ñîîáùåíèé: 15
Ðåïóòàöèÿ: 1 èìååò íóëåâóþ ðåïóòàöèþ![Evmixiy èìååò íóëåâóþ ðåïóòàöèþ](ambience/reputation/reputation_pos.gif)
×àð: Grok
|
Re: ÌÀÊÐÎÑÛ
Öèòàòà:
Ñîîáùåíèå îò Fluke01
Íà÷èíàåøü çàïèñü ìàêðîñà â àñèñòå 2 ðàçà êëèêàåøü ïî òàìèíã ñòàôó, îí áåðåòñÿ â ðóêó, ïîòîì íàæèìàåøü Esc, ÷òîáû òàðãåò ïðîïàë èëè òûêàåøü òàðãåòîì ê êîãî-íèáóäü.
Ïîòîì þçå èòåì(ïîñîõ) ìåíÿåøü íà þçå èòåì òèï(ëþáûå ïîñîõè ýòîãî æå òèïà), è òàðãåò ìåíÿåøü íà ëàñò òàðãåò.
|
êíîïêà ñ Object/LastTarget â àññèñòå ñ UseItemType ïîñîõà. ![Moil](images/smilies/new/moil.gif)
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
29.04.2013, 08:19
|
#17
|
Newbie
Ðåãèñòðàöèÿ: 09.03.2013
Ñîîáùåíèé: 14
Ðåïóòàöèÿ: 1 èìååò íóëåâóþ ðåïóòàöèþ![itsmajik èìååò íóëåâóþ ðåïóòàöèþ](ambience/reputation/reputation_pos.gif)
×àð: itsmajik
|
Re: ÌÀÊÐÎÑÛ
[/PHP][/QUOTE]
[PHP]// Taming by Sindoatan. Based on Taming (c) by diss
set $btnRel F6 // êíîïêà ñ say+all_release â êëèåíòå
set $btnUse F12 // êíîïêà ñ Object/LastTarget â àññèñòå ñ UseItemType ïîñîõà
set #k 10 // êîë-âî îáòàìëèâàåìûõ ñêîòèíîê
set #korm 0 // åñëè íàäî çàïóñêàòü ñêðèïò ïîäêîðìêè çâåðüÿ ñòàâèì 1. åñëè íåò 0.
set #kb 5 // íîìåð ïîòîêà ñî ñêðèïòîì ïîäêîðìêè çâåðüÿ
set #blEda 0 // åñëè íàäî ñåáÿ êîðìèòü, òî ñòàâèì 1, èíà÷å 0
set $btnEat M // êíîïêà ñ LastObject â êëèåíòå
set #eda 123456789 // ÈÄ åäû äëÿ ñåáÿ
set #lag 2000000 // âðåìÿ íà çàáûâàíèå çâåðåì õîçÿèíà
set %arr[1] 1273244 // ID'øíèêè ñêîòèíîê
set %arr[2] 1325790
set %arr[3] 1237673
set %arr[4] 1138080
set %arr[5] 1226926
set %arr[6] 1278290
set %arr[7] 1267169
set %arr[8] 1311898
set %arr[9] 29713
set %arr[10] 1088780
//--------------------------------
set #zh #k +1
set $remember remembers
set $success accept
set $tamed already tame
set $failed fail
set $hungry hungry
set $far far away
set $skill changed
set $wait you must wait
set $cant see the target
:loop
set #a 1
while #a < #zh
if #blEda = 1
set lastobjectid #eda
send $btnEat
end_if
send $btnRel //say all release
set lasttargetid %arr[#a]
set #q 0
:repeat
set #q #q +1
if #q > 100 // Òàìèì äî ïîñëåäíåãî, íî ýòî íà âñÿêèé ñëó÷àé
goto next
end_if
set #i 0
send $btnUse
wait 1000
if lastmsg already
goto next
end_if
say zÇâåðóøêà #a, ïîïûòêà #q, âðåìÿ timer
while_not lastmsg $success
if (lastmsg $failed) or (#i > 3)
goto repeat
end_if
repeat 10
if (lastmsg old) or (lastmsg Loved) or (lastmsg again) or (lastmsg return)
send {Tab}
say Æäåìñ
wait 25s
goto repeat
end_if
wait 200
end_repeat
if (lastmsg = $wait) or (lastmsg = $cant) or (lastmsg = $hungry) or (lastmsg = $skill) or (lastmsg = $remember) or (lastmsg = $tamed) or (lastmsg = $far)
goto next
end_if
set #i #i +1
end_while
:next
set #a #a +1
if #a = 2
set timer
end_if
end_while
while timer < #lag
wait 20s
set #k #lag - timer
say Îáîæäèòå #k
end_while
if #korm = 1
start_script #kb
wait 10s
end_if
goto loop
// Ìåíÿåì êíîïêè/çàäåðæè/èäøíèêè â âåðõíåé ÷àñòè ñêðèïòà.  îñíîâíîé ÷àñòè êîïàòüñÿ íå
//îáÿçàòåëüíî. Îáÿçàòåëüíî ñòàâèì ãàëêó â îïöèÿõ êëèåíòà â ïðàâîé âåðõíåé âêëàäêå ó
//ñòðîêè ïðî TAB. Ñêðèïò ìîæåò òàìèòü, ìåíÿòü ïàëêè, åñòü, êîðìèòü è æäàòü ñòîëüêî
//ñêîëüêî íóæíî (è íå áîëåå íåîáõîäèìîãî).
[/PHP][/QUOTE]
Íàðîä, ïîäñêàæèòå, êàê â ýòîì ñêðèïòå çàïóñòèòü ñêðèïò íà ïîäêîðìêó çâåðüÿ.
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
20.05.2013, 18:01
|
#18
|
Newbie
Ðåãèñòðàöèÿ: 03.04.2012
Âîçðàñò: 39
Ñîîáùåíèé: 25
Ðåïóòàöèÿ: 1 èìååò íóëåâóþ ðåïóòàöèþ![KDbled èìååò íóëåâóþ ðåïóòàöèþ](ambience/reputation/reputation_pos.gif)
×àð: KDbled
|
Re: ÌÀÊÐÎÑÛ
Íàðîä, ïîäñêàæèòå, êàê â ýòîì ñêðèïòå çàïóñòèòü ñêðèïò íà ïîäêîðìêó çâåðüÿ
Ïîäêîðìêà äîëæíà èäòè îòäåëüíî â ñêðèïòå ïîä öèôðîé 5. Çàòåì òàì æå ñêðèïò äîëæåí ïàóçèòüñÿ. Òî åñòü îòäåëüíûé ñêðèïò ïèñàòü ïîä êîðì¸æêó, êàê óæå ñàìîìó äóìàòü.
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
20.05.2013, 18:36
|
#19
|
The Hero
Ðåãèñòðàöèÿ: 11.01.2011
Àäðåñ: 23 RuS
Âîçðàñò: 39
Ñîîáùåíèé: 827
Ðåïóòàöèÿ: 145 èìååò îòëè÷íóþ ðåïóòàöèþ (îò 126 äî 175)![sskrd èìååò îòëè÷íóþ ðåïóòàöèþ (îò 126 äî 175)](ambience/reputation/reputation_pos.gif) ![sskrd èìååò îòëè÷íóþ ðåïóòàöèþ (îò 126 äî 175)](ambience/reputation/reputation_pos.gif)
×àð: sskrd
Ãèëüäèÿ: 23 RuS
|
Re: ÌÀÊÐÎÑÛ
Öèòàòà:
Ñîîáùåíèå îò KDbled
Íàðîä, ïîäñêàæèòå, êàê â ýòîì ñêðèïòå çàïóñòèòü ñêðèïò íà ïîäêîðìêó çâåðüÿ
Ïîäêîðìêà äîëæíà èäòè îòäåëüíî â ñêðèïòå ïîä öèôðîé 5. Çàòåì òàì æå ñêðèïò äîëæåí ïàóçèòüñÿ. Òî åñòü îòäåëüíûé ñêðèïò ïèñàòü ïîä êîðì¸æêó, êàê óæå ñàìîìó äóìàòü.
|
Ïîäêîðìêà íè ÷òî èíîå êàê ïåðåìåùåíèå åäû êîìàíäîé drag
Òîëüêî äëÿ ýòîãî æèâîòíûå äîëæíû â 1é òî÷êå ñòîÿòü, à íå áðîäèòü ïî çàãîíó.
È ëó÷øå âêëþ÷èòü êîðìåæêó â îñíîâíîé ñêðèïò, äîïóñòèì ïðè óäà÷íîì çàòàéìëèâàíèè, òîãäà è ïàóçó ñòàâèòü íå íàäî.
__________________
ß ñ÷àñòëèâà ïî óìîë÷àíèþ. Ïîæàëóéñòà, íå ëåçüòå â íàñòðîéêè.
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
19.01.2010, 12:52
|
#20
|
Mystical Hero
Ðåãèñòðàöèÿ: 09.10.2009
Ñîîáùåíèé: 1,103
Ðåïóòàöèÿ: 25 íà ïðàâèëüíîì ïóòè (îò 16 äî 25)![Andrey íà ïðàâèëüíîì ïóòè (îò 16 äî 25)](ambience/reputation/reputation_pos.gif)
×àð: Sokol
|
Re: ÌÀÊÐÎÑÛ
Çäðàâñòâóéòå ìîëîäûå èãðîêè íàøåãî øàðäà. ß ïîñòàðàþñü âàì îáúÿñíèòü êàê ìîæíî âñòàòü íà ïðîêà÷êó è êà÷àòü ñâîé ñêèë äî ÃÌ. - ×òî íóæíî ñäåëàòü. Ñêà÷àòü ÓÎ ïèëîò ññûëêà íà íåãî íàõîäèòñÿ íà ãëàâíîé ñòðàíè÷å ñàéòà íàøåãî çàìå÷àòåëüíîãî ñàéòà. Âèäèòå òàì íàâåðõó ñåðåíüêóþ ñòî÷å÷êó òàì âàì íàäî íàæàòü íà ñëîàî ÔÀÉËÛ. çàòåì êîãäà ñòðàíè÷êà îáíîâèòñÿ âû óâèäèòå íåñêîëüêî ñòðîê òàì âàì íóæíà ñòðî÷êà ÂÑÏÎÌÎÃÀÒÅËÜÍÛÅ ÏÐÎÃÐÀÌÌÛ. î íèõ äàëåå âñå ðàññêàæó.Ïîë=ñëå î÷åðîäíîãî îáíîâëåíèÿ ñòðàíèöû âàì îïÿòü íà âûáîð äàäóò íåñêîëüêî ïðîãðàì. Âàì íóæíà ñòðî÷êà ãäå íàïèñàííî UO Pilot. â ìîå âðåìÿ (â äîëüíåöøåì ìîæåò èçìåíèòñÿ) îíà íàõîäèòñÿ â ñàìîì íèçó è âåðñèÿ 2.14.
- Ïîçäðàâëÿþ âàñ âû ñêà÷àëè ïèëîò. çàïóñêàéòå ïðîãðàììó. ßðëû÷îê ó íåå ââèäå ñìàéëà. ïîñëå åå çàïóñêà âàì íàäî íèéòè ñëîâî ÑÊÐÈÏÒ. Âîò òóäà ìû ñ âàìè è áóäåì ïèñàòü ìàêðîñû.
- Äàëüøå ÿ áû ïîñîâåòîâàë âàì ñêîïèðîâàòü òó ÷àñòü òåêñòà (òîãî ñêèëà) êîòîðûé âû õîòèòå ïîñòàâèòü íà ïðîêà÷êó â ñêàæåì êàêîé òî òåêñòîâûé ðåäàêòîð(WORD èëè îáû÷íûé ñòàíäàðòíûé ÂÈÍÄÎÂÑÊÈÉ ÁËÎÊÍÎÒ) ïðîñòî ÷òîáû 10 ðàç íå èñêàòü à òî âäðóã ïîòåðÿåòå.
- Ïîñëå âñåãî âûøå ïðèâåäåííîãî âàì íàäî âûäåëèòü òåêñò è âñòàâèòü åãî(òåêñò) â îêîøêî ÑÊÐÈÏÒ.
- Íà÷íåì ñ ñàìîãî ïåðâîêî ñêðèïòà (ïðîñüáà ê àäìèíèñòðàöèè âûäåëèòå íàçâàíèå ñêðèïòà äðóãè òåêñòîì) îí íàçûâàåòñÿ ÕÈË ÌÀÃÈß ÌÅÄÈÒÀÖÈß. Âñòàâèëè ìîëîäöû. Íî ÿ ïðîøó çàìåòèòü ó âàñ ïàðàìåòðû ñèëû ëîâêîñòè è ìàãèè äîëæíû áûòü 150 100 100. Åñëè ÷òî òî íå ïðîêà÷àíî ïèøèòå â ëè÷êó ïîìîãó. ÈËÈ â èãðå ñïðîñèòå ÀÊÀ îí îáåùàë ïîìî÷ü.
- Ïåðåéäåì íåïîñðåäñòâåííî ê ñàìîìó ñêðèïò. Ïåðâàÿ ñòðî÷êà ïðîâåðÿåò íàëè÷èå æèçíåé (ÕÅËÎÂ) à âîò äàëåå âàì íàäî ñäåëàòü åùå êîå ÷òî.
- Êîãäà âû ñêà÷èâàëè èãðó è âìåñòå ñ ÓÎ ÀÑÈÑÒÎÌ âîò îí òî íàì è íóæå åñëè âû ñëåäîâàëè èíñòðóêöèè(êîòîðàÿ òîæå íàõîäèòñÿ íà ãëàâíîé ñòðàíè÷êå) è ñäåëàëè âñå ïðàâèëüíî òî ïðè çàïóñêàíèè èãðû ó âàñ çàïóñêàþòñÿ äâå ïðîãðàììû. ïåðâàÿ ÓÎ âòîðàÿ ÀÑÈÑÒ. Íàøëè íàæìèòå íà íåå è íàéäèòå âêëàäêó ñî ñëîâîì ÌÀÊÐÎÑ. Äàëåå âàì íàäî íàïèñàòü ñàì ìàêðîñ. Îí ïèøåòñÿ òàêèì îáðàçîì.
- Íàæìèòå êíîïî÷êó RECORD(çàïèñü) òåïåðü íàæìèòå íà áèíòû îíè äîäëæíû íàõîäèòñÿ â âàøåì ïàêå(ÑÓÌÊÅ) èçîáðàæåííîé â ïðàâîì íèæíåì óãëó ýêðàíà ãäå èçîáðàæåí âàø èãðîê(÷àð). Íàæàëè íà áèíòèêè òåïåðü öåëüþ óêàæèòå íåïîñðåäñòâåííî íà ÷àðà èëè íà åãî ñòàòóñ. Îí òîæå âûâîäèòñÿ íà ýòîé æå êàðòèíêå ñ âàøèì ÷àðîì òîëüêî íàçûâàåòñÿ ÑÒÀÒÓÑ(STATUS). Ïîñëå òîãî êàê âû âñå ñäåëàëè âàì íàäî îïÿòü ïåðåêëþ÷èòñÿ íà îêîøêî ÀÑÈÑÒÀ. Òàì âàì íàäî íàæàòü êíîïî÷êó ñòîï (STOP) ïîçäðàâëÿþ âàñ ìû çàïèñàëè ïåðâûé ñ âàìè ÌÀÊÐÎÑ. Íî ýòî åùå íå âñå äàëåå âàì íàäî íàæàòü íà âêëàäêó ÊËÞ×È(KEYS) íó èëè êíîïêè. Òàì ñïîìîùþ ñêðîëà âàì íàäî íàéòè ñòðî÷êó PLAY MAKROS 1. Ýòî çíà÷èò ïðîèãðàòü ìàêðîñ íî òóò îïÿòü áóäòå âíèìàòåëüíû.  òî âðåìÿ êîãäà âû çàïèñûâàëè ñ âàìè ìàêðîñ âíèçó ýòîãî îêîøêà ïîêàçàíû öèôîðêè ýòè öèôîðêè è îçíà÷àþò ïîðÿäêîâûé íîìåð ìàêðîñà. Åñëè âû çàïèñûâàëè 15 ìàêðîñ çíà÷èò è ïðîèãðûâàòü íàäî 15 ìàêðîñ. Òàê âîò âû íàøëè òàêóþ ñòðî÷êó òåïåðü âàì íàäî óñòàíîâèòü êëàâèøó âîñïðîèçâåäåíèÿ âàøåãî ìàêðîñà. Íó â äàííîì ñëó÷àå ñòîèò êíîïêà F6 íî ýòî ìîæíî è èçìåíèòü íà âàøå óñìîòðåíèå. Âîò òåïåðü ó íàñ ãîòîâ íàø ìàêðîñ èäåì äàëåå.
- À âîò äàëåå âà ñòîëêíåòåñü ñ äðóãîé ïðåãðàäîé íî íè÷åãî íåïðîõîäèìîãî íåò. Âàì íàäî íà îêîøêå âàøåãî ÷àðà íàæàòü êíîïî÷êó ÕÅËÏ (HELP) íå áîéòåñü ÃÌà çâàòü íå áóäåì. Âàì íóæíî èçîáðàæåíèé âûãëÿäåùåå êàê ïîëóìåñÿö (ËÓÍÀ) íî ïîìîåìó êðóãîâàÿ ñòðåëêà(èçâåíèòå ïèøó ñ ðàáîòû ìîãó îøèáèòñÿ) òàì âàì íàäî â êíîïî÷êàõ íàæàòü ADD(äîáàâèòü) â ïåðâîé ñòðî÷êå ñòàâèì êíîïêó íà êîòîðîé áóäåò ó íàñ ìåäèòàöèÿ â äàííîì ñëó÷àå F7 ïîñëå òîãî ó íàñ ïîÿâëÿåòñÿ ñëåäóþùàÿ ñòðî÷êà â íåé èùåì USE SKILL(èñïîëüçîâàòü ñêèëë) òîãäà ó íàñ äàëüøå ïîÿâëÿåòñÿ åùå îäíà ñòðî÷êà ÷óòü íèæå. È âîò â íåé ìû èùåì ñëîâî MEDITATION (ìåäåòàöèÿ). ïîñëå òîãî êàê ìû ñäåëàëè íàäî íàæàòü êíîïî÷êó APLY(ïðèìåíèòü) è ïîòîì ÎÊ.
- Íî è íà ýòîì ðàáîòà â äàííîì îêíå íå çàêàí÷èâàåòñÿ âñå âûøå ïðèâåäåííîå íàäî ñäåëàòü åùå è íà êíîïî÷êó F5 íî òîëüêî ñ íåáîëüøèìè èçìåíåíèÿìè. âàì íàäî áóäåò ïîñòàâèòü íå èñïîëüçîâàòü ñêèëë à íàéòè ñòðî÷êó CAST SPEL(ñäåëàòü çàêëèíàíèå) ñîîòâåòñòâåííî âî âòîðîé ñòðî÷å èùåì ñëîâî ïîèçîí (POISON) ÿä ÷óòü íèæå ñòàâè ñëîâîñî÷åòàíèå wait for target è ñïóñòèòåñü åùå ÷óòî÷êó íèæå è âû íàéäåòå åùå îäíó ñòðî÷êó òàì âàì íàäî ïîñòàâèòü target self öåëüíà ñåáÿ è íà ýòîì ïîæàëóé âñå íåçàáóäòå ïðèìåíèòü èçìåíåíèÿ APLY.
Âñåãäà âàø - SOKOL.
__________________
Äëÿ òîãî, ÷òîáû áûòü äðóãîì, íå îáÿçàòåëüíî áûòü ñîáàêîé.
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
24.02.2010, 15:23
|
#21
|
Newbie
Ðåãèñòðàöèÿ: 29.11.2009
Âîçðàñò: 36
Ñîîáùåíèé: 38
Ðåïóòàöèÿ: 1 èìååò íóëåâóþ ðåïóòàöèþ![Jerom èìååò íóëåâóþ ðåïóòàöèþ](ambience/reputation/reputation_pos.gif)
×àð: Osvald
|
Re: ÌÀÊÐÎÑÛ
Öèòàòà:
Ñîîáùåíèå îò Andrey
- À âîò äàëåå âà ñòîëêíåòåñü ñ äðóãîé ïðåãðàäîé íî íè÷åãî íåïðîõîäèìîãî íåò. Âàì íàäî íà îêîøêå âàøåãî ÷àðà íàæàòü êíîïî÷êó ÕÅËÏ (HELP) íå áîéòåñü ÃÌà çâàòü íå áóäåì. Âàì íóæíî èçîáðàæåíèé âûãëÿäåùåå êàê ïîëóìåñÿö (ËÓÍÀ) íî ïîìîåìó êðóãîâàÿ ñòðåëêà(èçâåíèòå ïèøó ñ ðàáîòû ìîãó îøèáèòñÿ) òàì âàì íàäî â êíîïî÷êàõ íàæàòü ADD(äîáàâèòü) â ïåðâîé ñòðî÷êå ñòàâèì êíîïêó íà êîòîðîé áóäåò ó íàñ ìåäèòàöèÿ â äàííîì ñëó÷àå F7 ïîñëå òîãî ó íàñ ïîÿâëÿåòñÿ ñëåäóþùàÿ ñòðî÷êà â íåé èùåì USE SKILL(èñïîëüçîâàòü ñêèëë) òîãäà ó íàñ äàëüøå ïîÿâëÿåòñÿ åùå îäíà ñòðî÷êà ÷óòü íèæå. È âîò â íåé ìû èùåì ñëîâî MEDITATION (ìåäåòàöèÿ). ïîñëå òîãî êàê ìû ñäåëàëè íàäî íàæàòü êíîïî÷êó APLY(ïðèìåíèòü) è ïîòîì ÎÊ.
|
Ýýýýý... Options à íå Help. Êñòàòè, êëàññíàÿ òåìà ![Ðàäîñòü](images/smilies/new/smile3.gif) . Äàâíî ìå÷òàë ðàçîáðàòüñÿ ñ Ïèëîòîì, íî âñå íå ðåøàëñî, áîþñü ëþáîãî ïðîãðàììèðîâàíèÿ, êàê îãíÿ ![Swoon](images/smilies/new/swoon.gif) ![:(](images/smilies/new/sad.gif)
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
24.02.2010, 15:29
|
#22
|
Mystical Hero
Ðåãèñòðàöèÿ: 09.10.2009
Ñîîáùåíèé: 1,103
Ðåïóòàöèÿ: 25 íà ïðàâèëüíîì ïóòè (îò 16 äî 25)![Andrey íà ïðàâèëüíîì ïóòè (îò 16 äî 25)](ambience/reputation/reputation_pos.gif)
×àð: Sokol
|
Re: ÌÀÊÐÎÑÛ
À òû íå áîéñÿ ïðîáóé åñëè ÷òî òî ïîìîæåì))))
__________________
Äëÿ òîãî, ÷òîáû áûòü äðóãîì, íå îáÿçàòåëüíî áûòü ñîáàêîé.
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
20.01.2010, 13:25
|
#23
|
Junior Player
Ðåãèñòðàöèÿ: 10.11.2008
Àäðåñ: Vendetta
Âîçðàñò: 37
Ñîîáùåíèé: 179
Ðåïóòàöèÿ: 10 íà ïðàâèëüíîì ïóòè, ïîêà ÷òî (îò 5 äî 15)![Superman íà ïðàâèëüíîì ïóòè, ïîêà ÷òî (îò 5 äî 15)](ambience/reputation/reputation_pos.gif)
×àð: maximus
Ãèëüäèÿ: Vendetta
|
Re: ÌÀÊÐÎÑÛ
Áëàãîäàðá Àêà çà ïîìîùü â ìàêðàõ!
[PHP]
//----Âûêëàäûâàþ ìàêð íà ôèøèíã----
repeat 40 //öèêë íà 40 ïîâòîðîâ
goto 1
:1
send 7 //Êíîïêà óäî÷êè ïî òèïó â àñèñòå è òàðãåò ïî ðåëàòèâ ëîêàöèè
wait 2000
if lastmsg You see
repeat 3
alarm
double_right 624, 81 //êîîðäèíàòû ïðîòèâîïîëîæíîãî êðàÿ ïëîòà(êóäà ïåðñ áóäåò îòõîäèòü) æåëàòåëüíî ïëîò 9õ9
double_right 624, 81
end_repeat
double_right 624, 81
double_right 624, 81
send tab //ñíèìàåò íåïðèíóæäåííîñòü ïåðñà(ïîñëè õèëà áèíòàìè íå îòâå÷àåò íà àòàêó íàïðèìåð)
send f1 //ëóê â ðóêè
pause_script all //îñòàíîâêà ñêðèïòà íà ïàóçó, ïåðñ æäåò àòàêè ìîáà è óáèâàåò îòâåòíîé ñòðåëüáîé, ïîñëå ÷åãî ëóòàåòå, âñòàåò íà ïðåæíåå ìåñòî è æìåòå íà êíîïêó ñíÿòèÿ ñ ïàóçû à íå íà êíîïêó "play" èíà÷å ñêðèïò ïîéäåò ñ íà÷àëà
end_if
wait 2000
if lastmsg You see
repeat 3
alarm
double_right 624, 81
double_right 624, 81
end_repeat
double_right 624, 81
double_right 624, 81
send tab
send f1
pause_script all
end_if
if lastmsg you fish a while
goto 1
end_if
say Come on, Fish =) //ó òåõ, ó êîãî ìàêðû çàáèòû íà f# ìîãóò ýòó ñòðî÷êó óáðàòü
say right
wait 2000
say stop
end_repeat
say Come on, Fish =)
say back
wait 2500
say stop
repeat 40 //öèêë íà 40 ïîâòîðîâ (åäåì îáðàòíî, íî óæå íà òåéë íèæå)
goto 2
:2
send 7
135, 128 ait 2000
if lastmsg You see
repeat 3
alarm
double_right 624, 81
double_right 624, 81
end_repeat
double_right 624, 81
double_right 624, 81
send tab
send f1
pause_script all
end_if
wait 2000
if lastmsg You see
repeat 3
alarm
double_right 624, 81
double_right 624, 81
end_repeat
double_right 624, 81
double_right 624, 81
send tab
send f1
pause_script all
end_if
if lastmsg you fish a while
goto 2
end_if
say Come on, Fish =)
say left
wait 2000
say stop
end_repeat
say Come on, Fish =)
say back
wait 2500
say stop
[/PHP]
Äîáàâëåíî ÷åðåç 31 ñåêóíäó
[PHP]
//----ìàêðîñ íà ïîéçîí----
repeat 900
drag 384, 317 703, 668 1
wait 1700
while_not lastmsg = $pois
send f12
wait 1700
drag 707, 658 421, 324 1
wait 500
end_repeat
end_while
alarm
alarm
//íà ïîë ïåðåä ñîáîé êó÷ó æàðåíîé ðûáû â ïàêå ëåñèðïîéçîíû
//F12-â àñèñòå çàïèñûâàåì ìàêð òðàâèòü ðûáó è ìåíÿåì íà use item type è target item type
//drag1 - ýòî îòêóäà è êóäà è ñêîëüêî ïåðåòàñêèâàòü æàðåíîé ðûáû
//drag2- ýòî îòêóäà è êóäà ïåðåòàñêèâàòü ïîéçîíåíóþ ðûáó
//Ñêðèïò áóäåò ïåðåòàñêèâàòü ñ ïîëà 1 ðûáó â ïàê òðàâèòü åå è ëîæèòü â ïàê íà ïîëó.
//Ñêðèïò ðàáîòàåò íîðìàëüíî , ñáèâàåòüñÿ òîëüêî ïðè ñåéâàõ è áóäåò ïîñòîÿííî ñáèâàòüñÿ ïðè ñåéâàõ òàê êàê ïðèñóòñòâóåò ïåðåòàñêèâàíèå.
[/PHP]
Äîáàâëåíî ÷åðåç 2 ìèíóòû
[PHP]
//---- ìàêðîñ íà òàìèíã ----
set $remember The Sheep remembers you
set $master It seems to accept you as master
set $player Âû íå ìîæåòå ïðèðó÷àòü èãðîêîâ.
set $alredy This creature already tame
repeat 6
say all release
wait 600
end_repeat
:1
send 8 // F12 LastObject+wait for target+TargetLast
set timer
while_not lastmsg $remember or $master or $player or $alredy
if lastmsg The Sheep remembers you
goto NeXT
end_if
if lastmsg It seems to accept you as master
goto NeXT
end_if
if lastmsg Âû íå ìîæåòå ïðèðó÷àòü èãðîêîâ.
goto NeXT
end_if
if lastmsg This creature already tame
goto Neploxo
end_if
if lastmsg You fail to tame the creature.
goto 1
end_if
if lastmsg Animal Taming changed now
goto NeXT
end_if
if timer > 40000
gosub next
end_if
end_while
if timer > 5000
goto next
end_if
:NeXT
say all release
send 9
wait 500
goto 1
:neploxo
repeat 4
say all release
wait 1s
end_repeat
goto 1
[/PHP]
__________________
×óæèå ñëàáîñòè íóæíî óâàæàòü, à íå îñóæäàòü!
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
06.05.2015, 08:58
|
#24
|
The Hero
Ðåãèñòðàöèÿ: 24.04.2008
Àäðåñ: Coma Mierda, GoD's,
Ñîîáùåíèé: 590
Ðåïóòàöèÿ: 8 íà ïðàâèëüíîì ïóòè, ïîêà ÷òî (îò 5 äî 15)![Akad3m1k íà ïðàâèëüíîì ïóòè, ïîêà ÷òî (îò 5 äî 15)](ambience/reputation/reputation_pos.gif)
×àð: Akad3m1k-
Ãèëüäèÿ: Coma Mierda, GoD's,
|
Re: ÌÀÊÐÎÑÛ
Öèòàòà:
Ñîîáùåíèå îò Superman
Äîáàâëåíî ÷åðåç 2 ìèíóòû
[PHP]
//---- ìàêðîñ íà òàìèíã ----
set $remember The Sheep remembers you
set $master It seems to accept you as master
set $player Âû íå ìîæåòå ïðèðó÷àòü èãðîêîâ.
set $alredy This creature already tame
repeat 6
say all release
wait 600
end_repeat
:1
send 8 // F12 LastObject+wait for target+TargetLast
set timer
while_not lastmsg $remember or $master or $player or $alredy
if lastmsg The Sheep remembers you
goto NeXT
end_if
if lastmsg It seems to accept you as master
goto NeXT
end_if
if lastmsg Âû íå ìîæåòå ïðèðó÷àòü èãðîêîâ.
goto NeXT
end_if
if lastmsg This creature already tame
goto Neploxo
end_if
if lastmsg You fail to tame the creature.
goto 1
end_if
if lastmsg Animal Taming changed now
goto NeXT
end_if
if timer > 40000
gosub next
end_if
end_while
if timer > 5000
goto next
end_if
:NeXT
say all release
send 9
wait 500
goto 1
:neploxo
repeat 4
say all release
wait 1s
end_repeat
goto 1
[/PHP]
|
È ÷å ýòî çà îïèñàíèå ñêðèïòà? Êíîïêà 8 ÷òî ó òåáÿ çíà÷èò? À êíîïêà 9 ? Ëþäè êîòîðûå ïåðâûé ðàç âñ¸ ýòî äåëî âèäÿò ÍÅ äîãàäàþòñÿ ÷òî 8 ýòî ëî,ëñ. à 9 ýòî òàðãåò íåêñò. Áîæå ìîé.
__________________
Çàáèâàë, âåðíóëñÿ, âêà÷àë ÷àðà, íóáèë, çàáèë, æäó ðàíÔÂ
skype : akademuk666, icq : 926883, discord : Akad3m1k#2971
Ïîñëåäíèé ðàç ðåäàêòèðîâàëîñü Îrigami; 06.05.2015 â 09:54..
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
20.01.2010, 17:38
|
#25
|
Wizard of words
Ðåãèñòðàöèÿ: 29.11.2007
Àäðåñ: íåòóòè äàâíî
Ñîîáùåíèé: 2,411
Ðåïóòàöèÿ: 85 - âàñ óâàæàþò äðóãèå (îò 76 äî 125)![Fluke01 - âàñ óâàæàþò äðóãèå (îò 76 äî 125)](ambience/reputation/reputation_pos.gif)
×àð: Fluke
Ãèëüäèÿ: íåòóòè äàâíî
|
Re: ÌÀÊÐÎÑÛ
Ñàìûé ãëàâíûé ñêðèïò ïðè ïðîêà÷êå çàáûëè
[PHP]
//Ãâàðäèëêà, êîãäà óáèòü õîòÿò
if hits < str
say guards //2 ïðîáåëà ïîñëå say
send f1 //êíîïêà ëå÷åíèÿ â àñèñòå
wait 1000
say guards
wait 1500
end_if[/PHP]
Íàñòðîéêà UOPilot
 ìåíþ "Íàñòðîéêè", óñòàíàâëèâàåì ãàëî÷êó íà "Îòîáðàæàòü çàïóùåííûå ñêðèïòû"(ñèíåíüêèì âûäåëÿòñÿ áóäóò) è íà "ñîõðàíÿòü íàñòðîéêè ïðè âûõîäå".
Ñíèìàåì ãàëî÷êó íà "Îòîáðàæàòü õîä âûïîëíåíèÿ ñêðèïòà"(ïðîö ìåíüøå çàãðóæåí áóäåò).
Çàêëàäêà "Ñêðèïò"
Âíèçó + è -, + äîáàâëÿåò åùå îäíî îêíî ñêðèïòà, ñâåðõó åñòü W, â íåé íóæíî âûáðàòü àêòèâíîå îêíî ÓÎ, ýòî âàæíî äëÿ ðàáîòû ñêðèïòîâ, åñëè çàïóùåíî íåñêîëüêî îêîí ÓÎ.
Ïîñëå äîáàâëåíèÿ ñêðèïòà, ñîõðàíèòå åãî, òîãäà ïîñëå çàïóñêà ïèëîòà îíè áóäóò îòêðûâàòüñÿ.
Çàêëàäêà "Åùå", "Ïàóçà ìåæäó ñòðîê" ñòàâèì 0
Íàæèìàåì "Edit HotKeys"
Íàçíà÷àåì òàì êíîïêó íà ïðèíòñêðèí, ìîæíî åùå íà àâòîìóâ ![Ðàäîñòü](images/smilies/new/smile3.gif)
Ñïðàâà âíèçó, ìîæíî íàçíà÷èòü ãîðÿ÷èå êëàâèøè íà ñêðèïòû.
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
27.01.2010, 00:40
|
#26
|
The Hero
Ðåãèñòðàöèÿ: 02.02.2007
Àäðåñ: KIDs
Âîçðàñò: 36
Ñîîáùåíèé: 969
Ðåïóòàöèÿ: 52 èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)![Sindo èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)](ambience/reputation/reputation_pos.gif)
×àð: Sindoatan
Ãèëüäèÿ: KIDs
|
Re: ÌÀÊÐÎÑÛ
Ïîïðàâèë è äîðàáîòàë ðåçèñò, ñåé÷àñ ñàì èì êà÷àþ. Âîò ðåçóëüòàò:
[PHP]
////////////////////////////////Resist by Sindo
//êàñò ñòåíêè è ëå÷åíèå âî âðåìÿ õîäüáû (1/3) (c àññèñòîì)
/////////////////////////////////
set $westbtn j// walk+west
set $eastbtn l// walk+east
set $southbtn k // walk+south
set $ffcastbtn f9// CastSpell+FireField/WFT/TargetSelf
set $healbtn F11 // ëå÷åíèå áèíòàìè ÷åðåç àññèñò
set #healwait 2900// çàäåðæêà íà îòõèëèâàíèå ñ áèíòà
set #ffcastwait 2000// çàäåðæêà íà êàñò ôàåðôèëäà
set #2scr 4// íîìåð ïîòîêà ñî ñêðèïòîì õîäüáû ïî ñòåíêå
set #worky charposy
set timer
:f
if hits < 150
send $healbtn
end_if
set #h 150 - hits
wait #healwait
if (hits = 150) and (#h = 0) or (timer >= 100000)
stop_script #2scr
repeat 10 // íà÷àëî âûðàâíèâàíèÿ (âûðàâíèâàåòñÿ óïèðàÿñü â çàïàäíóþ ñòåíó äîìà, õîäÿ ïàðàëåëüíî þæíîé)
send $westbtn
wait 200
end_repeat
repeat 4
send $eastbtn
wait 200
end_repeat // êîíåö âûðàâíèâàíèÿ
:recast
if charposy = #worky
set timer
send $ffcastbtn
wait #ffcastwait
if (lastmsg fiz)
goto recast
end_if
start_script #2scr
else
repeat 3
send $southbtn
end_repeat
goto recast
end_if
end_if
goto f [/PHP][PHP]///////////////////////////////////Resist by Sindo
//õîäüáà ïî ñòåíêå (2/3)
///////////////////////////////////
// ìåæñòðî÷íàÿ çàäåðæêà 100
set $westbtn j // walk+west
set $eastbtn l // walk+east
repeat 4
send $westbtn
wait 50
end_repeat
:rep
repeat 7
send $eastbtn
end_repeat
repeat 7
send $westbtn
end_repeat
goto rep [/PHP][PHP]//////////////////////////////////Resist by Sindo
//îòõîä åñëè ìàëî õï (3/3)
//////////////////////////////////
// ìåæñòðî÷íàÿ çàäåðæêà 20
set #2scr 4 // íîìåð ïîòîêà ñî ñêðèïòîì õîäüáû ïî ñòåíêå
set $northbtn i // walk+north
set $southbtn k // walk+south
set #a 0
:start
if (hits < 60) and (hits >= 1)
pause_script #2scr
repeat 3
send $northbtn
wait 200
end_repeat
while hits < 120
wait 500
end_while
repeat 3
send $southbtn
wait 200
end_repeat
resume_script #2scr
end_if
if hits < 1
repeat 5
alarm
wait 2s
end_repeat
set #a #a + 1
if #a > 20
stop_script all
end_if
end_if
goto start [/PHP]Íàñòðîéêà è çàïóñê:
1) âñòàâèòü ñêðèïòû â 3 ðàçíûõ îêíà ïèëîòà
2) ïðîâåðèòü áèíäû â âåðõíèõ ÷àñòÿõ ñêðèïòîâ íà ñîîòâåòñòâèå äåéñòâèÿì îïèñàííûì â êîììåíòàðèÿõ
3) çàãðóçèòü â ïàê ÷àðó êàê ìîæíî áîëüøå áèíòîâ è ðåãè äëÿ êàñòà ôàåð ôèëäà
4) ïîñòàâèòü ÷àðà âïëîòíóþ ê þæíîé ñòåíå áàçû íà 4-é òåéë îò çàïàäíîé
5) ïðîâåðèòü ñòîèò ëè ÷àð çà àì çîíîé äîìà, åñëè íåò òî ïåðåäâèíóòü þæíûé çàáîð íà 1 òåéë íà þã è âíîâü âûñòàâèòü ÷àðà (ï. 4)
6) çàïóñòèòü ñêðèïòû ¹1 ¹3
7) ïåðåîäè÷åñêè ïðîâåðÿòü íàëè÷èå ó ÷àðà ðåàãåíòîâ è áèíòîâ, è íå óìåð ëè ÷àð ( åñëè óìðåò îí áóäåò ãðîìêî êðè÷àòü (â ðàçðàáîòêå))
Ñîâåòû:
1) êîãäà âû íà÷íåòå þçàòü ýòîò ñêðèïò ó âàøåãî ïèòîìöà äîëæíî áûòü íå ìåíåå 60 ìàãåðè è 80 õèëèíãà, èíà÷å áóäåò ìíîãî ôèçëîâ è ïðîñòîÿ íà îòõèëèâàíèå
2) ÷òîáû çàñóíóòü ïîáîëüøå èòåìîâ â ïàê ÷àðó óáåéòå åãî, ïîëîæèòå òóäà âñå ÷òî íóæíî è ðåñíèòå. (? èáî ìîãëè ïîôèêñèòü)
3) êà÷àòüñÿ íàäî â àðìîðå êîòîðûé íå äàåò ïëþñîâ ê ñêèëó ðåçèñòà èëè áåç àðìîðà
4) êà÷àòüñÿ â ïîëèìîðôå ãëþïî èáî â ïîëèìîðôå íåëüçÿ õèëÿòüñÿ
5) ïðè õèëèíãå 90 è ãì ìàãåðè íà 1ê áèíòîâ ïðèõîäèòñÿ ~40 êàñòîâ ôàåðôèëäà.
Ïðèíöèï ðàáîòû ñêðèïòà:
1) ÷àð âûðàâíèâàåòñÿ îá çàïàäíóþ ñòåíó äîìà áåãàÿ ïàðàëåëüíî þæíîé
2) êàñòóåò íà ñåáÿ ôàåðôèëä
3) áåãàåò âäîëü þæíîãî çàáîðà ïî ôàåðôèëäó ïðè ýòîì õèëÿñü è íåâûõîäÿ çà ïðåäåëû ôàåðôèëäà
4) åñëè õï ìåíüøå 60 ÷àð îòõîäèò â ñòîðîíó è õèëèòñÿ, âîññòàíîâèâ õï äî 120 âîçâðàùàåòñÿ è ïðîäîëæàåò áåãàòü
5) åñëè ñòåíêà ïî÷òè ïîãàñëà èëè ó ÷àðà 150 õï âñå ïîâòîðÿåòñÿ ñ 1-ãî ïóíêòà
6) ïðè ýòîì åñëè ÷àð óìåð îí áóäåò äîëãî êðè÷àòü ( àëàðì ïèëîòà), à ïîòîì çàòêíåòñÿ è îñòàíîâèò âñå ñêðèïòû (â ðàçðàáîòêå)
7) ìåäèòàöèÿ íå òðåáóåòñÿ, ò.ê. äëÿ âîññòàíîâëåíèÿ áîëåå ÷åì äîñòàòî÷íî ïàññèâíîãî ðåãåíà.
__________________
May the Force be with you..
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
27.01.2010, 10:20
|
#27
|
The Hero
Ðåãèñòðàöèÿ: 02.02.2007
Àäðåñ: KIDs
Âîçðàñò: 36
Ñîîáùåíèé: 969
Ðåïóòàöèÿ: 52 èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)![Sindo èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)](ambience/reputation/reputation_pos.gif)
×àð: Sindoatan
Ãèëüäèÿ: KIDs
|
Re: ÌÀÊÐÎÑÛ
[PHP]// Áðîäèëêà Sindo Edition
//Èñïîëüçóåòñÿ êàê äîïîëíèòåëüíàÿ ïðîöåäóðêà âíóòðè îñíîâíîãî ñêðèïòà
// è òðåáóåò ñîîòâåòñòâóþùåé èçîëÿöèè. Ïðèìåð èñïîëüçîâàíèÿ:
set #kudax 1067 // Ïåðåä âûçîâîì áðîäèëêè óêàçûâàåì êîîðäèíàòû öåëè
set #kuday 2670 //
gosub gogogo // âûçîâ áðîäèëêè
repeat 5 // ñîîáùèì ÷òî ïåðåõîä ê öåëè âûïîëíåí
alarm
end_repeat
stop_script
:gogogo
set #try 0 // ñ÷åò÷èê øàãîâ
set #flip 0 // ñ÷åò÷èê/èíäèêàòîð ðàçâîðîòîâ íà ìåñòå
set #ston 0 // èíäèêàòîð çàñòðåâàíèÿ
:nextstep
set #try #try + 1
:nextfixstep
if (charposx = #prevx ) and ( charposy = #prevy ) // åñëè åùå íå ïåðåøëè íà íîâûé òàéë
if (#flip >= 1) // åñëè ìû óæå ðàçâîðà÷èâàëèñü íà ýòîì òàéëå ïîäîæäåì, ìîæåò ëàãàåì
set #ston #ston + 1
wait 500
set #flip #flip + 1
if (#flip >= 5) // åñëè íå äîæäàëèñü ïîïðîáóåì øàãíóòü åùå ðàç
set #flip 0
end_if
goto nextfixstep
end_if
set #flip #flip + 1
end_if
if (charposx <> #prevx ) and ( charposy <> #prevy ) // ïåðåøëè íà íîâûé òàéë
set #ston 0
set #flip 0
end_if
if #ston > 10 // åñëè äîëãî íå ìîæåì ñäâèíóòüñÿ ñ îäíîãî òàéëà îòîéäåì â ñòîðîíó (ðàíäîìíûé âûáîð)
set #walk random 8
if #walk = 0
repeat 5
send PageUp 200
end_repeat
end_if
if #walk = 1
repeat 5
send PageDown 200
end_repeat
end_if
if #walk = 2
repeat 5
send Home 200
end_repeat
end_if
if #walk = 3
repeat 5
send End 200
end_repeat
end_if
if #walk = 4
repeat 5
send Up 200
end_repeat
end_if
if #walk = 5
repeat 5
send Down 200
end_repeat
end_if
if #walk = 6
repeat 5
send Left 200
end_repeat
end_if
if #walk = 7
repeat 5
send Right 200
end_repeat
end_if
set #ston 0
end_if
if #try > 50 // åñëè íàø ïóòü ê öåëè ñëèøêîì äîëîã, ïðîáóåì ïðèâëå÷ü âíèìàíèå õîçÿèíà ÷àðà
repeat 5
flash
flash Sindo
wait 2s
end_repeat
set #try 0
end_if
if (charposx = #kudax ) and ( charposy = #kuday ) // öåëü äîñòèãíóòà
goto yes
end_if
// Êîððåêòèðîâêà, åñëè óæå ñòîèì íà îñè Õ ñ öåëüþ
if charposx = #kudax
if charposy > #kuday
gosub savepos
send pageup
goto nextstep
end_if
if charposy < #kuday
gosub savepos
send end
goto nextstep
end_if
end_if
// Êîððåêòèðîâêà, åñëè óæå ñòîèì íà îñè Ó ñ öåëüþ
if charposy = #kuday
if charposx > #kudax
gosub savepos
send home
goto nextstep
end_if
if charposx < #kudax
gosub savepos
send pagedown
goto nextstep
end_if
end_if
// Êîððåêòèðîâêà, åñëè íåò ïåðåñå÷åíèé ñ öåëüþ ïî îñÿì êîîðäèíàò
if charposy < #kuday
if charposx < #kudax
gosub savepos
send down
goto nextstep
else
gosub savepos
send left
goto nextstep
end_if
else
if charposx < #kudax
gosub savepos
send right
goto nextstep
else
gosub savepos
send up
goto nextstep
end_if
end_if
:yes
return
:savepos
set #prevx charposx
set #prevy charposy
return
// Áèíäèòü íè÷åãî íå íóæíî, ñòîèò ëèøü ïåðåäàòü êîîðäèíàòû öåëè è óáåäèòüñÿ, ÷òî â "ñòðîêå ðå÷è ÷àðà(âîáùåì ãäå òåêñò ïèøåì â óî)" íåò íèêàêèõ ñèìâîëîâ è êíîïêè end, home, pageup è pagedown ñâîáîäíû îò áèíäîâ.
[/PHP]Äîáàâëåíî ÷åðåç 12 ìèíóò
[PHP]// AutoMeditation by Sindo
set #a 0 // ñ÷åò÷èê ñáðîñîâ âàð ìîäà
set #b 0 // äëÿ ïðîâåðêè èñïîëüçóåòñÿ ëè ñêðèïò â äàííûé ìîìåíò
set $war with thoughts // ñîîáùåíèå î íàõîæäåíèè ÷àðà â âàð ìîäå
set $medbtn 6 // UseSkill+Meditation
:try
while mana < int
if #b = 0
say *Meditation Started*
set #b 1
end_if
send $medbtn
send Backspace // óáðàòü ëèøíèé ñèìâîë ñ ýêðàíà (åñëè íå òðåáóåòñÿ, óáðàòü)
if (lastmsg = $war)
if #a > 0 // êîë-âî ñíÿòèé âàðà êîððåêòèðîâàòü ïî æåëàíèþ
say *Nakilon is under attack! No more time for meditation!*
stop_script
end_if
set #a #a + 1
send Tab // ñíÿòü âàð ìîä
goto try
end_if
wait 3s
end_while
say *Nakilon's magic energy succesfully refreshed*
alarm
// set #b 0
// âîçìîæíî ïîòîì ïðèäóìàþ ñèñòåìó äëÿ áåçîñòàíîâî÷íîé ðàáîòû
stop_script
[/PHP]
__________________
May the Force be with you..
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
27.01.2010, 10:41
|
#28
|
The Hero
Ðåãèñòðàöèÿ: 02.02.2007
Àäðåñ: KIDs
Âîçðàñò: 36
Ñîîáùåíèé: 969
Ðåïóòàöèÿ: 52 èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)![Sindo èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)](ambience/reputation/reputation_pos.gif)
×àð: Sindoatan
Ãèëüäèÿ: KIDs
|
Re: ÌÀÊÐÎÑÛ
Ðàíüøå êîïàë ýòèì íà áàçå, òåïåðü, âåðîÿòíî, ïðèãîäèòñÿ ëèøü â Ò2À
[PHP]// Mining near wall by Sindo
// Èíòåðâàë ìåæäó ñòðîê 20
set #napravl 3 // íàïðàâëåíèå íà îáêàïûâàåìóþ ñêàëó (0=N,1=E,2=S,3=W)
set $miningbtn01 F10 // êíîïêà ñ áèíäîì LastObject/WFT â êëèåíòå
set $miningbtn2 F11 // êíîïêà ñ áèíäîì LastTarget â êëèåíòå
set #wstep 1500 // çàäåðæêà äî ïåðåõîäà ÷àðà íà íîâûé òàéë ïîñëå ïîäà÷è êîìàíäû ê ýòîìó
set #wmine 4300 // çàäåðæêà äî îêîí÷àíèÿ âñêàïûâàíèÿ ÷àðîì óêàçàííîãî òýéëà ïîñëå âûçîâà $miningbtn2
set #pich 1 // èíäèêàòîð íåîáõîäèìîñòè ïîääåðæêè çàìåíû êèðêè ïðè ïîëîìêå (0=íóæíî, 1=íå íóæíî)
set %pickaxe[1] 0 // ID ïåðâîé çàïàñíîé êèðêè
set %pickaxe[2] 0 // ID âòîðîé çàïàñíîé êèðêè
set %pickaxe[3] 0 // ID òðåòüåé çàïàñíîé êèðêè
set #pickaxetype 0 // èòåìòàéï êèðîê
set $s1 is no ore here
set $s2 have no line
set $s3 try mining
set $s4 too far away
set $s5 has changed
set $s6 loosen some rocks
set $s7 has increased
set $s8 put the
set $broke broke // ñîîáùåíèå ïðè ïîëîìêå êèðêè
set $loose reach that // ñîáùåíèå ïðè ïîòåðå êèðêè (â òîì ÷èñëå ïðè ïîëîìêå)
set #broke 0 // ñ÷åò÷èê ïîëîìîê êèðêè
set #a 0 // èíäèêàòîð íåîáõîäèìîñòè ðàçâîðîòà
set #ston 0 // èíäèêàòîð çàñòîÿ íà ìåñòå
set #superston 0 // èíäèêàòîð êàïèòàëüíîãî çàñòîÿ íà ìåñòå
if (#napravl = 0)
set $correctx + 0
set $correcty - 1
set $nexttilebtn Home
set $otskalibtn End
set $kskalebtn PageUp
end_if
if (#napravl = 1)
set $correctx + 1
set $correcty + 0
set $nexttilebtn PageUp
set $otskalibtn Home
set $kskalebtn PageDown
end_if
if (#napravl = 2)
set $correctx + 0
set $correcty + 1
set $nexttilebtn Home
set $otskalibtn PageUp
set $kskalebtn End
end_if
if (#napravl = 3)
set $correctx - 1
set $correcty + 0
set $nexttilebtn PageUp
set $otskalibtn PageDown
set $kskalebtn Home
end_if
:start
set lasttargetx charposx $correctx
set lasttargety charposy $correcty
set lasttargetkind 2
send $miningbtn01 300
set $prevmsg lastmsg
if (lastmsg = $broke) or (lastmsg = $loose)
if (#pich = 0)
set #broke #broke + 1
if (#broke <= 3)
set LastObjectID %pickaxe[#broke]
set LastObjectType #pickaxetype
goto start
else
msg Ó âàñ çàêîí÷èëèñü çàïàñíûå êèðêè!
end_if
else
msg Ó âàñ ñëîìàëàñü êèðêà!
end_if
end_if
send $miningbtn2 #wmine
if (lastmsg = $prevmsg)
alarm
say Ping troubles! Ëèáî âû ëàãàåòå, ëèáî íåïðàâèëüíî âûñòàâëåíà "#wmine", ëèáî âûëåç àíòèìàêðîñ.
end_if
set timer
while_not (lastmsg = $s1) or (lastmsg = $s2) or (lastmsg = $s4) // or (timer > 800)
while_not (lastmsg = $s5) or (lastmsg = $s6) or (lastmsg = $s7) or (lastmsg = $s8) or (timer > 7000)
if (lastmsg = $s3) // ïîäõîä ê ñêàëå, åñëè ëèíèÿ âñêàïûâàíèÿ îòäàëèëàñü îò íàñ (ñðàáàòûâàåò íà îòñóòñòâèå ñêàëû)
repeat 2
send $kskalebtn #wstep
end_repeat
goto start
end_if
set #a 1
end_while
goto start
end_while
:nextstep
set #prevx charposx
set #prevy charposy
if (#a >< 0)
send $nexttilebtn #wstep
set #a 0
end_if
send $nexttilebtn #wstep
if (charposx = #prevx) and (charposy = #prevy) // îáõîä ïðèïÿòñòâèÿ îò ñêàëû â ñòîðîíó ÷àðà (ñðàáàòûâàåò íà çàñòîé íà ìåñòå (â òîì ÷èñëå ïðè óïèðàíèè â ñêàëó))
set #ston #ston + 1
set #superston #superston + 1
if (#ston > 2)
repeat 2
send $otskalibtn #wstep
end_repeat
set #ston 0
set #superston 0
set #a 1
goto nextstep
else
goto nextstep
end_if
else
set #ston 0
set #superston 0
end_if
goto start
// Ïåðåä èñïîëüçîâàíèåì ñêðèïòà íåîáõîäèìî:
// Ïðîâåðèòü ÷òîáû íå áûëî ïðåïÿòñòâèé äëÿ ïåðïåíäèêóëÿðíîãî îòõîäà îò ñêàëû íà âñåì åå ïðîòÿæåíèè
// Ó÷åñòü ÷òî êîïàòü ñëåäóåò ñ ~þãà íà ~ñåâåð, à íå íàîáîðîò (ïîçâîëÿåò îáîéòè áîëüøèíñòâî áàãîâ òåêñòóð)
// íå çàáûâàåì þçàòü êèðêó ðó÷êàìè ïåðåä êàæäûì íîâûì ñòàðòîì ñêðèïòà
[/PHP]
__________________
May the Force be with you..
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
27.01.2010, 11:28
|
#29
|
The Hero
Ðåãèñòðàöèÿ: 02.02.2007
Àäðåñ: KIDs
Âîçðàñò: 36
Ñîîáùåíèé: 969
Ðåïóòàöèÿ: 52 èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)![Sindo èìååò õîðîøóþ ðåïóòàöèþ (îò 26 äî 75)](ambience/reputation/reputation_pos.gif)
×àð: Sindoatan
Ãèëüäèÿ: KIDs
|
Re: ÌÀÊÐÎÑÛ
[PHP]//äåëåíèå ðóäû ñ ïåðåïëàâêîé
//îáùàÿ çàäåðæêà ïðè GPRS 150
drag 848, 562 903, 559 1
wait 300
move 903, 559
double_left 898, 546
wait 200
[/PHP][PHP]// 1) â ëåâûé âåðõíèé óãîë ïàêà êëàäåøü ñâîþ êó÷êó ðóäû (æåëàòåëüíî äî 500 åäèíèö çà ðàç)
// 2) â îêíå "Ñêðèïò" ïèëîòà ñòàâèøü ãàëî÷êó â êâàäðàòèêå ñïðàâà îò "Òî÷êà (Ctrl+A)"
// 3) âñòàâëÿåøü â ñêðèïò âîò ýòî:
// //äåëåíèå ðóäû áåç ïåðåïëàâêè
// drag 848, 562 903, 559 1
// wait 300
// 4) âûäåëÿåøü â ñêðèïòå 848, 562
// 5) â îêíå óî íàâîäèøü êóðñîð íà êó÷êó ðóäû â ïàêå è æìåøü Ctrl+A. ó òÿ äîëæíû âìåñòî 848, 562 ïîÿâèöà äðóãèå öèôðû â òàêîì æå ôîðìàòå
// 6) âûäåëÿåøü â ñêðèïòå 903, 559
// 7) â îêíå óî íàâîäèøü ïðèìåðíî íà öåíòð ïàêà è æìåøü Ctrl+A. Òåðü ó òÿ äîëæíû èçìåíèöà öûôðû âìåñòî 903, 559
// 8) çàïóñêàåøü ñêðèïò è æäåøü ïîêà îí ïî 1 êóñî÷êó ðàçäåëèò âñþ êó÷êó
// 9) ïîòîì ÷åðåç âêëàäêó "Îáùåå" ñòàâèøü äàáëêëèê íà êîîðäèíàòû ðóäû, ëåæàùåé ó òÿ â ïàêå ïî 1 ( èëè ïèøåøü â ñêðèïòàõ double_left 898, 546 ìåíÿÿ êîîðäèíàòû íà êîîðäèíàòû òâîåé êó÷êè)[/PHP]
[php]//Camping by Sindoatan
set #dl 40 //Êðàò÷àéøåå ðàññòîÿíèå ìåæäó öåíòðàìè ñîñåäíèõ òàéëîâ â ïèêñåëÿõ (40äëÿ 640*480)
set #mbasex 319 //X êîîðäèíàòà ïèêñåëÿ êó÷êè ùåïîê ïîä ÷àðîì
set #mbasey 245 //Y êîîðäèíàòà ïèêñåëÿ êó÷êè ùåïîê ïîä ÷àðîì
//goto test
////////////////////////////////////////
set #basex #mbasex
set #basey #mbasey
for #x -#dl #dl #dl
for #y -#dl #dl #dl
set #Targx #basex +#x
set #Targy #basey +#y
set #a #basex -#dl
set #b #basey +#dl
set #c #basey -#dl
if ((#Targx = #a) and (#Targy = #b)) or ((#Targx = #mbasex) and (#Targy = #mbasey)) or ((#Targx = #mbasex) and (#Targy = #c))
goto next1
end_if
repeat 19
drag #mbasex, #mbasey #Targx, #Targy 1
wait 50
set #a LastLiftedID
set LastObjectID #a
repeat 4
send F11 // LastObject â êëèåíòå
end_repeat
end_repeat
:next1
end_for
end_for
//:test
set #a #dl / 2
set #b #dl / 2
set #basex #mbasex + #a
set #basey #mbasey - #b
for #x -#dl #dl #dl
for #y -#dl #dl #dl
set #Targx #basex +#x
set #Targy #basey +#y
set #a #basex +#dl
set #b #basey -#dl
if (#Targx = #a) and (#Targy = #b)
goto next2
end_if
repeat 19
drag #mbasex, #mbasey #Targx, #Targy 1
wait 50
set #a LastLiftedID
set LastObjectID #a
repeat 4
send F11 // LastObject â êëèåíòå
end_repeat
end_repeat
:next2
end_for
end_for
//repeat 5
alarm
// wait 2s
//end_repeat
//stop_script
//Íå çàáûâàåì áèíäèòü êíîïêó ñ LastObject[/php]
__________________
May the Force be with you..
Ïîñëåäíèé ðàç ðåäàêòèðîâàëîñü Sindo; 09.12.2012 â 22:51..
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
12.01.2012, 19:05
|
#30
|
The Hero
Ðåãèñòðàöèÿ: 11.01.2011
Àäðåñ: 23 RuS
Âîçðàñò: 39
Ñîîáùåíèé: 827
Ðåïóòàöèÿ: 145 èìååò îòëè÷íóþ ðåïóòàöèþ (îò 126 äî 175)![sskrd èìååò îòëè÷íóþ ðåïóòàöèþ (îò 126 äî 175)](ambience/reputation/reputation_pos.gif) ![sskrd èìååò îòëè÷íóþ ðåïóòàöèþ (îò 126 äî 175)](ambience/reputation/reputation_pos.gif)
×àð: sskrd
Ãèëüäèÿ: 23 RuS
|
Re: ÌÀÊÐÎÑÛ
Öèòàòà:
Ñîîáùåíèå îò Sindo
[PHP]//äåëåíèå ðóäû ñ ïåðåïëàâêîé
//îáùàÿ çàäåðæêà ïðè GPRS 150
drag 848, 562 903, 559 1
wait 300
move 903, 559
double_left 898, 546
wait 200
[/PHP][PHP]// 1) â ëåâûé âåðõíèé óãîë ïàêà ëîæèøü ñâîþ êó÷êó ðóäû (æåëàòåëüíî äî 500 åäèíèö çà ðàç)
// 2) â îêíå "Ñêðèïò" ïèëîòà ñòàâèøü ãàëî÷êó â êâàäðàòèêå ñïðàâà îò "Òî÷êà (Ctrl+A)"
// 3) âñòàâëÿåøü â ñêðèïò âîò ýòî:
// //äåëåíèå ðóäû áåç ïåðåïëàâêè
// drag 848, 562 903, 559 1
// wait 300
// 4) âûäåëÿåøü â ñêðèïòå 848, 562
// 5) â îêíå óî íàâîäèøü êóðñîð íà êó÷êó ðóäû â ïàêå è æìåøü Ctrl+A. ó òÿ äîëæíû âìåñòî 848, 562 ïîÿâèöà äðóãèå öèôðû â òàêîì æå ôîðìàòå
// 6) âûäåëÿåøü â ñêðèïòå 903, 559
// 7) â îêíå óî íàâîäèøü ïðèìåðíî íà öåíòð ïàêà è æìåøü Ctrl+A. Òåðü ó òÿ äîëæíû èçìåíèöà öûôðû âìåñòî 903, 559
// 8) çàïóñêàåøü ñêðèïò è æäåøü ïîêà îí ïî 1 êóñî÷êó ðàçäåëèò âñþ êó÷êó
// 9) ïîòîì ÷åðåç âêëàäêó "Îáùåå" ñòàâèøü äàáëêëèê íà êîîðäèíàòû ðóäû, ëåæàùåé ó òÿ â ïàêå ïî 1 ( èëè ïèøåøü â ñêðèïòàõ double_left 898, 546 ìåíÿÿ êîîðäèíàòû íà êîîðäèíàòû òâîåé êó÷êè)[/PHP]
|
 îêíå ñêðèïòà öèôðû ïðè íàæàòèè Ctrl+A ìåíÿþòñÿ?
Ïðè ðàáîòå ìàêðîñà â ëåâîì íèæíåì óãëó èãðîâîãî îêíà ïîÿâëÿþòñÿ õîòü êàêèå-íèáóäü ñîîáùåíèÿ?
Ïðè çàïóñêå ìàêðîñà ìûøêà áåãàåò ïî ýêðàíó?
 îêíå ñêðèïòà â ïèëîòå ïî êíîïêå W îêíî ñ ÷àðîì âûáðàíî?
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
06.01.2017, 07:26
|
#31
|
Newbie
Ðåãèñòðàöèÿ: 04.03.2015
Âîçðàñò: 35
Ñîîáùåíèé: 52
Ðåïóòàöèÿ: 1 èìååò íóëåâóþ ðåïóòàöèþ![Aleksei4ik èìååò íóëåâóþ ðåïóòàöèþ](ambience/reputation/reputation_pos.gif)
×àð: Aleksei
|
Re: ÌÀÊÐÎÑÛ
Öèòàòà:
Ñîîáùåíèå îò Sindo
Ðàíüøå êîïàë ýòèì íà áàçå, òåïåðü, âåðîÿòíî, ïðèãîäèòñÿ ëèøü â Ò2À
// Mining near wall by Sindo
// Èíòåðâàë ìåæäó ñòðîê 20
|
×òî-òî ñîâñåì íå ðàáîòàåò ñêðèïò...äàæå õîäèòü íå ïûòàåòñÿ (èçíà÷àëüíî íå ïîíÿë,êàêèìè îí êíîïêàìè õîäèò...äóìàë âñ¸,êàê ó ëþäåé - up,down è ò.ä.,àí-íåò) è äàæå íå ïîâîðà÷èâàåòñÿ,÷òîá êîïàòü äðóãîé òàéòë...
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
08.01.2017, 13:55
|
#32
|
Newbie
Ðåãèñòðàöèÿ: 12.11.2016
Àäðåñ: old Pycu4u
Ñîîáùåíèé: 31
Ðåïóòàöèÿ: 1 èìååò íóëåâóþ ðåïóòàöèþ![KudesNIK èìååò íóëåâóþ ðåïóòàöèþ](ambience/reputation/reputation_pos.gif)
×àð: KudesNIK
Ãèëüäèÿ: old Pycu4u
|
Re: ÌÀÊÐÎÑÛ
Öèòàòà:
Ñîîáùåíèå îò Aleksei4ik
×òî-òî ñîâñåì íå ðàáîòàåò ñêðèïò...äàæå õîäèòü íå ïûòàåòñÿ (èçíà÷àëüíî íå ïîíÿë,êàêèìè îí êíîïêàìè õîäèò...äóìàë âñ¸,êàê ó ëþäåé - up,down è ò.ä.,àí-íåò) è äàæå íå ïîâîðà÷èâàåòñÿ,÷òîá êîïàòü äðóãîé òàéòë...
|
Ïîïðîáóé âåðñèþ ïèëîòà ïîìåíÿòü [Òîëüêî çàðåãèñòðèðîâàííûå ïîëüçîâàòåëè ìîãóò âèäåòü ññûëêè. Ðåãèñòðàöèÿ!]
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
10.01.2017, 13:27
|
#33
|
Junior Player
Ðåãèñòðàöèÿ: 05.12.2015
Ñîîáùåíèé: 147
Ðåïóòàöèÿ: 1 èìååò íóëåâóþ ðåïóòàöèþ![êàïèòàí êàêàî èìååò íóëåâóþ ðåïóòàöèþ](ambience/reputation/reputation_pos.gif)
×àð: dani california
|
Re: ÌÀÊÐÎÑÛ
[QUOTE=Sindo;279380]Ðàíüøå êîïàë ýòèì íà áàçå, òåïåðü, âåðîÿòíî, ïðèãîäèòñÿ ëèøü â Ò2À
[PHP]// Mining near wall by Sindo
// Èíòåðâàë ìåæäó ñòðîê 20
set #napravl 3 // íàïðàâëåíèå íà îáêàïûâàåìóþ ñêàëó (0=N,1=E,2=S,3=W)
set $miningbtn01 F10 // êíîïêà ñ áèíäîì LastObject/WFT â êëèåíòå
set $miningbtn2 F11 // êíîïêà ñ áèíäîì LastTarget â êëèåíòå
set #wstep 1500 // çàäåðæêà äî ïåðåõîäà ÷àðà íà íîâûé òàéë ïîñëå ïîäà÷è êîìàíäû ê ýòîìó
set #wmine 4300 // çàäåðæêà äî îêîí÷àíèÿ âñêàïûâàíèÿ ÷àðîì óêàçàííîãî òýéëà ïîñëå âûçîâà $miningbtn2
set #pich 1 // èíäèêàòîð íåîáõîäèìîñòè ïîääåðæêè çàìåíû êèðêè ïðè ïîëîìêå (0=íóæíî, 1=íå íóæíî)
set %pickaxe[1] 0 // ID ïåðâîé çàïàñíîé êèðêè
set %pickaxe[2] 0 // ID âòîðîé çàïàñíîé êèðêè
set %pickaxe[3] 0 // ID òðåòüåé çàïàñíîé êèðêè
set #pickaxetype 0 // èòåìòàéï êèðîê
set $s1 is no ore here
set $s2 have no line
set $s3 try mining
set $s4 too far away
set $s5 has changed
set $s6 loosen some rocks
set $s7 has increased
set $s8 put the
set $broke broke // ñîîáùåíèå ïðè ïîëîìêå êèðêè
set $loose reach that // ñîáùåíèå ïðè ïîòåðå êèðêè (â òîì ÷èñëå ïðè ïîëîìêå)
set #broke 0 // ñ÷åò÷èê ïîëîìîê êèðêè
set #a 0 // èíäèêàòîð íåîáõîäèìîñòè ðàçâîðîòà
set #ston 0 // èíäèêàòîð çàñòîÿ íà ìåñòå
set #superston 0 // èíäèêàòîð êàïèòàëüíîãî çàñòîÿ íà ìåñòå
if (#napravl = 0)
set $correctx + 0
set $correcty - 1
set $nexttilebtn Home
set $otskalibtn End
set $kskalebtn PageUp
end_if
if (#napravl = 1)
set $correctx + 1
set $correcty + 0
set $nexttilebtn PageUp
set $otskalibtn Home
set $kskalebtn PageDown
end_if
if (#napravl = 2)
set $correctx + 0
set $correcty + 1
set $nexttilebtn Home
set $otskalibtn PageUp
set $kskalebtn End
end_if
if (#napravl = 3)
set $correctx - 1
set $correcty + 0
set $nexttilebtn PageUp
set $otskalibtn PageDown
set $kskalebtn Home
end_if
:start
set lasttargetx charposx $correctx
set lasttargety charposy $correcty
set lasttargetkind 2
send $miningbtn01 300
set $prevmsg lastmsg
if (lastmsg = $broke) or (lastmsg = $loose)
if (#pich = 0)
set #broke #broke + 1
if (#broke <= 3)
set LastObjectID %pickaxe[#broke]
set LastObjectType #pickaxetype
goto start
else
msg Ó âàñ çàêîí÷èëèñü çàïàñíûå êèðêè!
end_if
else
msg Ó âàñ ñëîìàëàñü êèðêà!
end_if
end_if
send $miningbtn2 #wmine
if (lastmsg = $prevmsg)
alarm
say Ping troubles! Ëèáî âû ëàãàåòå, ëèáî íåïðàâèëüíî âûñòàâëåíà "#wmine", ëèáî âûëåç àíòèìàêðîñ.
end_if
set timer
while_not (lastmsg = $s1) or (lastmsg = $s2) or (lastmsg = $s4) // or (timer > 800)
while_not (lastmsg = $s5) or (lastmsg = $s6) or (lastmsg = $s7) or (lastmsg = $s8) or (timer > 7000)
if (lastmsg = $s3) // ïîäõîä ê ñêàëå, åñëè ëèíèÿ âñêàïûâàíèÿ îòäàëèëàñü îò íàñ (ñðàáàòûâàåò íà îòñóòñòâèå ñêàëû)
repeat 2
send $kskalebtn #wstep
end_repeat
goto start
end_if
set #a 1
end_while
goto start
end_while
:nextstep
set #prevx charposx
set #prevy charposy
if (#a >< 0)
send $nexttilebtn #wstep
set #a 0
end_if
send $nexttilebtn #wstep
if (charposx = #prevx) and (charposy = #prevy) // îáõîä ïðèïÿòñòâèÿ îò ñêàëû â ñòîðîíó ÷àðà (ñðàáàòûâàåò íà çàñòîé íà ìåñòå (â òîì ÷èñëå ïðè óïèðàíèè â ñêàëó))
set #ston #ston + 1
set #superston #superston + 1
if (#ston > 2)
repeat 2
send $otskalibtn #wstep
end_repeat
set #ston 0
set #superston 0
set #a 1
goto nextstep
else
goto nextstep
end_if
else
set #ston 0
set #superston 0
end_if
goto start
// Ïåðåä èñïîëüçîâàíèåì ñêðèïòà íåîáõîäèìî:
// Ïðîâåðèòü ÷òîáû íå áûëî ïðåïÿòñòâèé äëÿ ïåðïåíäèêóëÿðíîãî îòõîäà îò ñêàëû íà âñåì åå ïðîòÿæåíèè
// Ó÷åñòü ÷òî êîïàòü ñëåäóåò ñ ~þãà íà ~ñåâåð, à íå íàîáîðîò (ïîçâîëÿåò îáîéòè áîëüøèíñòâî áàãîâ òåêñòóð)
// íå çàáûâàåì þçàòü êèðêó ðó÷êàìè ïåðåä êàæäûì íîâûì ñòàðòîì ñêðèïòà
[/PHP]ó
ó ìåíÿ íà ýòîì ñêðèïòå âñå âðåìÿ âûëàçèò:
say Ping troubles! Ëèáî âû ëàãàåòå, ëèáî íåïðàâèëüíî âûñòàâëåíà "#wmine", ëèáî âûëåç àíòèìàêðîñ.
Äîáàâëåíî ÷åðåç 33 ñåêóíäû
ñòàëêèâàëñÿ êòî?
Ïîñëåäíèé ðàç ðåäàêòèðîâàëîñü êàïèòàí êàêàî; 10.01.2017 â 13:28..
Ïðè÷èíà: Äîáàâëåíî ñîîáùåíèå
|
|
|
![](ambience/misc/cat_top_ls.gif) |
Re: ÌÀÊÐÎÑÛ |
![](ambience/misc/cat_top_rs.gif) |
29.01.2010, 00:13
|
#34
|
The Hero
Ðåãèñòðàöèÿ: 28.02.2009
Àäðåñ: íèêòî íå ïðèþòèë :(
Âîçðàñò: 15
Ñîîáùåíèé: 536
Ðåïóòàöèÿ: 7 íà ïðàâèëüíîì ïóòè, ïîêà ÷òî (îò 5 äî 15)![Ãîïíåã íà ïðàâèëüíîì ïóòè, ïîêà ÷òî (îò 5 äî 15)](ambience/reputation/reputation_pos.gif)
×àð: fd2.
Ãèëüäèÿ: íèêòî íå ïðèþòèë :(
|
Re: ÌÀÊÐÎÑÛ
[php]//by #m#i#c#a# ëàìáåð âñïîìîãàòåëüíûé ÄËß ÇÎÍÛ
//uopilot 2.14, client v. 1.26.4b, 0 ms ïàóçà ìåæäó ñòðîê
//f9 - LastObject
//f11 - LastObject+Waitfortarget+LastTarget
:start
send f11 500// f11 LastObject+Waitfortarget+TargetLast
:asd
set timer
while_not (lastmsg You can't) or (lastmsg There are no logs) or (lastmsg far away) or (lastmsg chopping)
if (lastmsg You put) or (timer > 5000)
goto start
end_if
if (lastmsg You hack)
wait 1500
end_if
end_while
send f9 250
while target = 1
end_while
goto asd[/php]òàðãåò ïîÿâëÿåòüñÿ ñàì âûðóáàåò êàê âûðóáèò ïîÿâëÿåòüñÿ íîâûé òàðãåò è òàê äàëåå ![Ðàäîñòü](images/smilies/new/smile3.gif)
__________________
Íà çåìëå íåò íè÷åãî òàêîãî õîðîøåãî, ÷òî â ñâîåì ïåðâîèñòî÷íèêå íå èìåëî áû ãàäîñòè.
|
|
|
![](ambience/misc/cat_top_ls.gif) |
ÑÊÐÈÏÒ ÍÀ ÔÈØÈÍÃ |
![](ambience/misc/cat_top_rs.gif) |
06.02.2010, 13:43
|
#35
|
Newbie
Ðåãèñòðàöèÿ: 04.09.2009
Ñîîáùåíèé: 52
Ðåïóòàöèÿ: 1 èìååò íóëåâóþ ðåïóòàöèþ![IYDA èìååò íóëåâóþ ðåïóòàöèþ](ambience/reputation/reputation_pos.gif)
×àð: IYDA
|
ÑÊÐÈÏÒ ÍÀ ÔÈØÈÍÃ
[PHP]
//-----------FISHING-------------
gosub fishingsub //âûëîâ ðûáû
//13 òàéëîâ ïî ìîñòó
repeat 13
send PageDown 200 //íàïðàâëåíèå äâèæåíèÿ. Èçìåíèòü íà íóæíîå
end_repeat
end_repeat
//èäåì ïî áåðåãó íà èñõîäíóþ òî÷êó 7 òàéë.
repeat 27 //îäèí òàéë íà ðàçâîðîò.
send home 200
end_repeat
send PageDown 200 //ðàçâîðîò.
// ñêîëüêî öèêëîâ ñäåëàëè çà íî÷ü (äëÿ îïòèìèñòîâ è ñòàòèñòèêîâ)
set #counter #counter +1
:fishingsub //fishing sub
// ýíòà ÷àñòü çàèìñòâîâàíà ó êîãî-òî, íî îïòèìèçèðîâàíà è äîðàáîòàíà äî ñëàáîé óçíàâàåìîñòè.
for #y -6 6 1 // !!!âîîò òóò, åñëè êîïàåòå ñ áåðåãà, à íå ñ ìîñòà,
for #x -6 6 1 // !!!íàäî ïîäïðàâèòü ìàêñ êîîðäèíàòû ïî X è Y.
:fishing //ïîäïðîãðàììà âûëîâà ðûáû
set lasttargetx charposx + #x
set lasttargety charposy + #y
set lasttargetkind 2
send F1 1000 // LastObject, WaitForTarget, LastTarget
set timer 0
while_not (lastmsg pull) or (lastmsg fail) or (lastmsg Try) or (lastmsg quick) or (lastmsg no fish) or (timer > 6000)
end_while
if (lastmsg Try) or (lastmsg quick) or (lastmsg no fish) or (lastmsg fail)
wait 1500 // çàäåðæêà ïîñëå íåóäà÷íîãî èñïîëüçîâàíèÿ íà óäî÷êå.
end_if
if (lastmsg pull) and (wght < 620) //!!! åñëè öåëü ïðîñòî ïðîêà÷êà, ýòî ìîæíî îòêëþ÷èòü äëÿ ýêîíîìèè âðåìåíè.
drag 406, 298 404, 254 all // ïåðåòàñêèâàíèå ðûáû íà ñåáÿ.
drag 406, 298 404, 254 all // ïåðåòàñêèâàíèå ðûáû íà ñåáÿ.
wait 500
end_if
if lastmsg destroer //ñëîìàëàñü óäî÷êà
send f3 500 //!!! â àññèñòå - target type íà óäî÷êó
double_left 810, 68 //!!! êîîðäèíàòû óäî÷êè â ðóêå. Íàäåæíåå, ÷åì áðàòü èç ïàêà.
wait 500
send f2 1000
end_if
if_not (lastmsg are no fish) or (lastmsg Try) or (lastmsg pull)
//!!! ïîñëåäíèé or - ëîâëÿ áóäåò ïðîäîëæàòüñÿ òîëüêî îäèí ðàç âìåñòî ëîâëè äî no fish
//åñëè äëèíà áåðåãà äîñòàòî÷íàÿ, ýòî óñêîðÿåò ïðîöåññ ëîâëè è ïðîêà÷êè.
//Åñëè ñêèëë ìåíüøå 60, òî èìååò ñìûñë ïîñòàâèòü // ïåðåä or (lastmsg pull)
goto fishing // ïðîöåäóðà âûëîâà ðûáû.
end_if
end_for
end_for
return //fishing
+ äîïîëíåíèå ê ñêðèïòó
//ïàóçû ñêðèïòà ôèøèíãà ÷òîáû ñêðèïò íå ïðåðâàëñÿ â êàêîé-íèáóäü íåóäîáíûé ìîìåíò
if lastmsg world
pause_script 3 //!!!íîìåð îñòàíàâëèâàåìîãî ñêðèïòà ïðîïèñàòü íàäî!
wait 10000
say Save the Power of Macros! //ýò ÷òîáû ñáðîñèòü Lastmsg
resume_script 3 //!!!íîìåð îñòàíàâëèâàåìîãî ñêðèïòà ïðîïèñàòü íàäî!
end_if
// ïðîâåðêà - íå óáèâàþò ëè âàñ, ïîêà âû ñïîêîéíî óäèòå..
if (lastmsg hit) or (lastmsg attacking you) or (hits < str)
repeat 3
say guards
wait 1000
end_repeat
end_if
[/PHP]
|
|
|
Âàøè ïðàâà â ðàçäåëå
|
Âû íå ìîæåòå ñîçäàâàòü íîâûå òåìû
Âû íå ìîæåòå îòâå÷àòü â òåìàõ
Âû íå ìîæåòå ïðèêðåïëÿòü âëîæåíèÿ
Âû íå ìîæåòå ðåäàêòèðîâàòü ñâîè ñîîáùåíèÿ
HTML êîä Âûêë.
|
|
|
Ïîõîæèå òåìû
|
Òåìà |
Àâòîð |
Ðàçäåë |
Îòâåòîâ |
Ïîñëåäíåå ñîîáùåíèå |
ÏÂÏ ìàêðîñû
|
MDEA |
Íüþáè Òàóí |
35 |
08.07.2007 17:23 |
Ïðî ìàêðîñû!
|
Dvalin |
Íüþáè Òàóí |
3 |
21.02.2007 20:51 |
|
|
|