Thread Rating:
  • 7 Vote(s) - 3.71 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Poradnik - 100% afk, depositer, reffiler, config
#1
Postanowiłem napisać poradnik, sam miałem problemy z botem i teraz chce pomóc trochę innym osobom.

Mały schemat, nawet pomagający.

[Image: botgq.png]

Najpierw zastanawiamy się czy chcemy mieć config czy nie, tutaj poradnik będzie z owym configiem, ponieważ wszystko edytujemy w jednym miejscu i jest o wiele łatwiej ustawić niż bawić się w skrypcie...

Zaczniemy od skryptu, ja najpierw robię zawsze WPT na respie, sprawdzam, same wpt czy działają, dodaje labele, następnie full check label i ponownie sprawdzam.

Przykład

Quote:Label (0 0 0:hunt)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
FullCheck (0 0 0:Full dp Else hunt Code cap<!minCap!;!HP!<=!minHP!)
Label (0 0 0:dp)
]

cap<!minCap! - sprawdza capa
!HP!<=!minHP! - sprawdza health potiony

Bardzo ważne aby wszystkie zmienne oddzielać ;

+ config

Config dodajemy w Variables czyli w zmiennych
Czyli tutaj.

[Image: beztytuujdd.png]

Code:
# Leave Hunt #
minCap=100 - wraca do dp kiedy ma 100 i mnie capa
minHP=50 - wraca do dp kiedy ma 50 i mniej potów

# Amount of Potions #
amountHP=80 - ilość potów jakie ma kupić

# Price of Potions #
costHP=45 - cena potów

# Supplies #
HP=266 - ID Potów

Chyba nic tutaj nie trzeba tłumaczyć, wszystko zrozumiałe...

Teraz NPC

Robimy wpt do depo i npc

Code:
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Fixed (0 0 0)
Say (0 0 0:hi)
NPCSay (0 0 0:deposit all) - deponuje kasę
NPCSay (0 0 0:yes)
Fixed (0 0 0)
Depositer (0 0 0) - deponuje itemki
Fixed (0 0 0)
Say (0 0 0:hi)
NPCSay (0 0 0:withdraw) - wypłaca kasę
Withdraw (0 0 0:!HP! !costHP! !amountHP!) - bot liczy ilosc pieniędzy jaką ma wypłacić na poty
NPCSay (0 0 0:yes)

Teraz znowu robimy wpt ale do sklepu z potami

Code:
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Fixed (0 0 0)
Say (0 0 0:hi)
NPCSay (0 0 0:trade)
Buy (0 0 0:!HP! !amountHP!) - kupuje daną ilość potów z configu
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)

Reszta wpt to powrót na expa, bot z końca listy wpt wraca sam na początek i wszystko leci od nowa...

Przykład całości jak wszystko wygląda

Code:
Label (0 0 0:hunt)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
FullCheck (0 0 0:Full dp Else hunt Code cap<!minCap!;!HP!<=!minHP!)
Label (0 0 0:dp)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Fixed (0 0 0)
Say (0 0 0:hi)
NPCSay (0 0 0:deposit all)
NPCSay (0 0 0:yes)
Fixed (0 0 0)
Depositer (0 0 0)
Fixed (0 0 0)
Say (0 0 0:hi)
NPCSay (0 0 0:withdraw)
Withdraw (0 0 0:!HP! !costHP! !amountHP!)
NPCSay (0 0 0:yes)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Fixed (0 0 0)
Say (0 0 0:hi)
NPCSay (0 0 0:trade)
Buy (0 0 0:!HP! !amountHP!)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)
Point (0 0 0)

A tutaj jakiś prosty skrypt na Dwarfy Soldiery z depositerem, reffilerem.

Code:
Label (32471 31905 10:hunt)
Point (32471 31905 10)
Point (32466 31905 10)
Point (32464 31902 10)
Point (32461 31900 10)
Point (32459 31897 10)
Point (32458 31893 10)
Point (32458 31888 10)
Point (32458 31883 10)
Point (32462 31882 10)
Point (32464 31879 10)
Point (32468 31878 10)
Point (32465 31879 10)
Point (32463 31882 10)
Point (32460 31884 10)
Point (32459 31885 10)
Point (32458 31889 10)
Point (32458 31894 10)
Point (32459 31898 10)
Point (32462 31900 10)
Point (32464 31904 10)
Point (32468 31905 10)
Point (32471 31906 10)
Point (32472 31910 10)
Point (32473 31914 10)
Point (32475 31917 10)
Point (32475 31922 10)
Point (32475 31927 10)
Point (32475 31932 10)
Point (32475 31936 10)
Point (32475 31937 10)
Point (32476 31941 10)
Point (32481 31941 10)
Point (32484 31943 10)
Point (32487 31945 10)
Point (32492 31945 10)
Point (32495 31947 10)
Point (32492 31945 10)
Point (32487 31945 10)
Point (32483 31944 10)
Point (32481 31941 10)
Point (32476 31941 10)
Point (32475 31937 10)
Point (32475 31932 10)
Point (32475 31927 10)
Point (32475 31922 10)
Point (32476 31918 10)
Point (32478 31915 10)
Point (32479 31911 10)
Point (32478 31907 10)
FullCheck (32476 31907 10:Full dp Else hunt2 Code cap<!minCap!;!HP!<=!minHP!)
Label (32476 31906 10:hunt2)
Point (32476 31906 10)
Point (32476 31905 11)
Point (32477 31905 11)
Point (32477 31908 11)
Point (32480 31910 11)
Point (32482 31913 11)
Point (32485 31915 11)
Point (32488 31917 11)
Point (32491 31917 11)
Point (32493 31918 11)
Point (32496 31920 11)
Point (32498 31923 11)
Point (32501 31925 11)
Point (32499 31922 11)
Point (32496 31920 11)
Point (32493 31918 11)
Point (32492 31917 11)
Point (32488 31918 11)
Point (32485 31920 11)
Point (32485 31925 11)
Point (32482 31927 11)
Point (32479 31929 11)
Point (32482 31927 11)
Point (32484 31924 11)
Point (32485 31920 11)
Point (32486 31916 11)
Point (32483 31914 11)
Point (32480 31912 11)
Point (32478 31909 11)
Point (32476 31905 11)
Point (32473 31903 11)
Point (32470 31901 11)
Point (32468 31898 11)
Point (32464 31898 11)
Point (32460 31898 11)
Point (32458 31901 11)
Point (32454 31902 11)
Point (32450 31903 11)
Point (32454 31902 11)
Point (32458 31903 11)
Point (32460 31906 11)
Point (32462 31908 11)
Point (32464 31911 11)
Point (32466 31914 11)
Point (32466 31919 11)
Point (32465 31923 11)
Point (32463 31926 11)
Point (32462 31927 11)
Point (32459 31929 11)
Point (32456 31931 11)
Point (32459 31929 11)
Point (32462 31927 11)
Point (32465 31925 11)
Point (32466 31921 11)
Point (32467 31917 11)
Point (32465 31913 11)
Point (32463 31910 11)
Point (32461 31907 11)
Point (32459 31904 11)
Point (32460 31900 11)
Point (32459 31896 11)
Point (32456 31894 11)
Point (32455 31893 11)
Point (32453 31890 11)
Point (32451 31887 11)
Point (32449 31885 11)
Point (32447 31884 11)
Point (32444 31882 11)
Point (32442 31879 11)
Point (32444 31882 11)
Point (32447 31884 11)
Point (32450 31886 11)
Point (32451 31887 11)
Point (32453 31891 11)
Point (32457 31892 11)
Point (32458 31896 11)
Point (32462 31897 11)
Point (32466 31898 11)
Point (32470 31899 11)
Point (32472 31902 11)
Point (32474 31904 11)
Point (32476 31905 11)
Point (32476 31906 10)
FullCheck (32476 31906 10:Full dp Else hunt Code cap<!minCap!;!HP!<=!minHP!)
Label (32476 31906 10:dp)
Point (32475 31907 9)
Point (32478 31905 9)
Point (32481 31903 9)
Point (32486 31903 9)
Point (32489 31901 9)
Point (32489 31896 9)
Point (32488 31896 9)
Point (32488 31891 9)
Point (32490 31888 9)
Point (32494 31887 9)
Point (32498 31886 9)
Point (32501 31884 9)
Point (32505 31885 9)
Point (32510 31885 9)
Point (32514 31884 9)
Point (32518 31885 9)
Point (32519 31889 9)
Point (32521 31890 9)
Point (32521 31891 8)
Point (32519 31894 8)
Point (32515 31895 8)
Point (32512 31897 8)
Point (32511 31901 8)
Point (32511 31906 8)
Point (32514 31908 8)
Point (32516 31911 8)
Point (32519 31913 8)
Point (32524 31913 8)
Point (32529 31913 8)
Point (32531 31913 8)
Point (32533 31913 7)
Fixed (32533 31913 7)
Point (32537 31912 7)
Point (32539 31909 7)
Point (32539 31904 7)
Point (32541 31901 7)
Point (32543 31897 7)
Point (32546 31895 7)
Point (32547 31890 7)
Point (32548 31886 7)
Point (32549 31882 7)
Point (32551 31881 7)
Point (32555 31880 7)
Point (32559 31879 7)
Point (32561 31876 7)
Point (32565 31875 7)
Point (32566 31874 7)
Point (32567 31871 7)
Point (32572 31871 7)
Point (32577 31871 7)
Point (32580 31869 7)
Point (32585 31869 7)
Point (32590 31869 7)
Point (32594 31868 7)
Point (32599 31868 7)
Point (32603 31868 7)
Point (32603 31863 7)
Point (32604 31859 7)
Point (32604 31854 7)
Point (32604 31849 7)
Point (32606 31846 7)
Point (32610 31845 7)
Point (32611 31841 7)
Point (32612 31837 7)
Point (32615 31835 7)
Point (32618 31833 7)
Point (32619 31829 7)
Point (32619 31824 7)
Point (32623 31823 7)
Point (32628 31823 7)
Point (32631 31821 7)
Point (32634 31819 7)
Point (32636 31816 7)
Point (32636 31811 7)
Point (32636 31806 7)
Point (32640 31805 7)
Point (32640 31800 7)
Point (32641 31796 7)
Point (32643 31793 7)
Point (32644 31789 7)
Point (32644 31784 7)
Point (32644 31779 7)
Point (32644 31775 7)
Point (32644 31770 7)
Point (32641 31769 7)
Point (32640 31765 7)
Point (32640 31760 7)
Point (32640 31755 7)
Point (32640 31750 7)
Point (32640 31745 7)
Point (32640 31740 7)
Point (32640 31735 7)
Point (32640 31730 7)
Point (32640 31725 7)
Point (32640 31720 7)
Point (32641 31716 7)
Point (32641 31711 7)
Point (32641 31706 7)
Point (32641 31701 7)
Point (32642 31697 7)
Point (32647 31697 7)
Point (32652 31697 7)
Point (32652 31692 7)
Point (32654 31689 7)
Point (32654 31684 7)
Point (32654 31679 7)
Point (32654 31675 7)
Point (32654 31675 8)
Point (32656 31678 8)
Point (32656 31683 8)
Point (32659 31685 8)
Point (32663 31686 8)
Point (32668 31686 8)
Point (32673 31686 8)
Point (32675 31683 8)
Point (32678 31681 8)
Point (32681 31683 8)
Point (32682 31687 8)
Fixed (32684 31687 8)
Say (32684 31687 8:hi)
NPCSay (32684 31687 8:deposit all)
NPCSay (32684 31687 8:yes)
Depositer (32681 31686 8)
Fixed (32684 31686 8)
Say (32684 31686 8:hi)
NPCSay (32684 31686 8:withdraw)
Withdraw (32684 31686 8:!HP! !costHP! !amountHP!)
NPCSay (32684 31686 8:yes)
Point (32682 31686 8)
Point (32682 31686 7)
Point (32682 31687 7)
Point (32682 31688 6)
Point (32681 31684 6)
Point (32681 31679 6)
Point (32681 31674 6)
Point (32681 31669 6)
Point (32681 31664 6)
Point (32677 31663 6)
Point (32672 31663 6)
Point (32669 31661 6)
Fixed (32669 31659 6)
Say (32669 31659 6:hi)
NPCSay (32669 31659 6:trade)
Buy (32669 31659 6:!HP! !amountHP!)
Point (32667 31663 6)
Point (32662 31663 6)
Point (32657 31663 6)
Point (32655 31666 6)
Point (32655 31671 6)
Point (32656 31673 6)
Point (32656 31674 7)
Point (32656 31679 7)
Point (32654 31682 7)
Point (32654 31687 7)
Point (32653 31691 7)
Point (32652 31695 7)
Point (32649 31697 7)
Point (32644 31697 7)
Point (32641 31699 7)
Point (32641 31704 7)
Point (32641 31709 7)
Point (32641 31714 7)
Point (32641 31719 7)
Point (32641 31724 7)
Point (32641 31729 7)
Point (32641 31734 7)
Point (32641 31739 7)
Point (32641 31744 7)
Point (32640 31748 7)
Point (32640 31753 7)
Point (32640 31758 7)
Point (32641 31762 7)
Point (32642 31766 7)
Point (32644 31769 7)
Point (32644 31774 7)
Point (32644 31779 7)
Point (32644 31784 7)
Point (32642 31787 7)
Point (32641 31791 7)
Point (32640 31795 7)
Point (32639 31799 7)
Point (32638 31803 7)
Point (32637 31805 7)
Point (32635 31808 7)
Point (32633 31811 7)
Point (32632 31815 7)
Point (32632 31820 7)
Point (32630 31823 7)
Point (32625 31823 7)
Point (32621 31824 7)
Point (32619 31827 7)
Point (32619 31832 7)
Point (32618 31836 7)
Point (32615 31838 7)
Point (32611 31839 7)
Point (32609 31842 7)
Point (32605 31843 7)
Point (32604 31847 7)
Point (32599 31847 7)
Point (32599 31852 7)
Point (32596 31853 7)
Point (32595 31857 7)
Point (32595 31862 7)
Point (32594 31866 7)
Point (32592 31869 7)
Point (32588 31870 7)
Point (32585 31871 7)
Point (32580 31871 7)
Point (32578 31872 7)
Point (32576 31872 7)
Point (32573 31874 7)
Point (32569 31875 7)
Point (32565 31876 7)
Point (32562 31878 7)
Point (32559 31880 7)
Point (32554 31880 7)
Point (32553 31882 7)
Point (32550 31884 7)
Point (32545 31884 7)
Point (32542 31886 7)
Point (32541 31890 7)
Point (32539 31893 7)
Point (32537 31896 7)
Point (32537 31897 7)
Point (32538 31898 7)
Point (32539 31902 7)
Point (32538 31906 7)
Point (32537 31910 7)
Point (32534 31912 7)
Fixed (32533 31913 7)
Point (32531 31913 8)
Point (32527 31914 8)
Point (32523 31913 8)
Point (32518 31913 8)
Point (32517 31910 8)
Point (32516 31909 8)
Point (32512 31908 8)
Point (32512 31905 8)
Point (32511 31901 8)
Point (32512 31897 8)
Point (32514 31894 8)
Point (32519 31894 8)
Point (32521 31891 8)
Point (32521 31890 9)
Point (32520 31886 9)
Point (32517 31885 9)
Point (32515 31885 9)
Point (32511 31884 9)
Point (32508 31886 9)
Point (32504 31885 9)
Point (32499 31885 9)
Point (32497 31886 9)
Point (32493 31887 9)
Point (32491 31888 9)
Point (32488 31890 9)
Point (32488 31895 9)
Point (32489 31899 9)
Point (32487 31902 9)
Point (32483 31903 9)
Point (32480 31905 9)
Point (32477 31907 9)
Point (32475 31907 9)
Point (32475 31906 10)

Bardzo ważne aby dodawać Fixed Point Fixed (0 0 0) przez każdym sklepem z npc, depositerem, map tool'em, macro,

Przykład z map tool'em

Quote:Fixed (32183 32428 9)
MapTool (32183 32428 9:Target: 1629 Use: 0 Pos: 32184 32428 9)
Point (32186 32428 9)

Przykład z NPC w sklepie

Quote:Fixed (32684 31686 8)
Say (32684 31686 8:hi)
NPCSay (32684 31686 8:withdraw)
Withdraw (32684 31686 8:!HP! !costHP! !amountHP!)
NPCSay (32684 31686 8:yes)

Przykład z depositer'em

Quote:Fixed (0 0 0)
Depositer (0 0 0)

Przykład z macro

Quote:Point (32889 31051 7)
Fixed (32889 31051 7)
Macro (32887 31050 6:lewica)




Jeżeli jest coś nie zrozumiałego proszę pisać, postaram się to wytłumaczyć.

@edit
poprawiony błąd z configiem brakowało # przy # Supplies #
akutalnie powinno wygladac tak # Supplies #
#2
upne Smile
#3
ok.....
#4
Siema, mam dwa pytania. 1 - Depositer wsadza itemy znajdujące się w lootliscie w Bbocie? 2 - Co zrobi bot gdy ustawie fixed pointa przy dp (X,Y,Z) a w tym miejscu akurat ktoś będzie stał i afkował ? bot będzie czekać aż się zwolni miejsce czy poszuka innego wolnego miejsca?
#5
1. Bot wsadza wszystkie itemki ktore maja zaznaczaną opcje depositer w loot liscie.
2. Nie ustawiaj bezpośrednio fixed pointa przy dp, ustaw go koło jakieś sciany, bot sam podejdzie do wolnego dp, schowa itemki i pojdzie dalej
#6
upne....
#7
upne....
#8
F5 refresh
#9
czy bp musza byc otwarte zeby sprawdzal ile zostalo potek?
#10
Mam pytanie moze banalne, ale nie wiem. Gdzie sie wpisuje id np. mana potion lub shp?
#11
@busel
Quote:# Leave Hunt #
minCap=100 - wraca do dp kiedy ma 100 i mnie capa
minHP=50 - wraca do dp kiedy ma 50 i mniej potów

# Amount of Potions #
amountHP=80 - ilość potów jakie ma kupić

# Price of Potions #
costHP=45 - cena potów

# Supplies
HP=266 - ID Potów

Tutaj jest cały config wszystkiego

@Bruce01
Tak, bp z potami musza byc otwarte.
#12
Aha sorry po prostu nie zjechalem w dol i nie widzialem co dalej xD
#13
spoko xd
#14
@F5
Refresh
#15
Mam jeszcze jedno pytanie moj variables wyglada tak:
Code:
# Leave Hunt #
minCap=50
minHP=25
minMP=40
minRS=10

# Amount of Potions #
amountHP=40
amounMP=100
amounRS=30

# Price of Potions #
costHP=100
costMP=80
costRS=15

# Supplies #
HP=236
MP=237
RS=7378
a cavebocie wyglada to tak:
Quote:Point (32762 31298 10)
Say (32824 31249 7:hi)
NPCSay (32824 31249 7:withdraw)
Withdraw (32824 31249 7:!HP! !costHP! !amountHP!)
NPCSay (32824 31249 7:yes)
Fixed (32824 31249 7)
Say (32824 31249 7:hi)
NPCSay (32824 31249 7:withdraw)
Withdraw (32824 31249 7:!MP! !costMP! !amountMP!)
NPCSay (32824 31249 7:yes)
Fixed (32824 31249 7)
Say (32824 31249 7:hi)
NPCSay (32824 31249 7:withdraw)
Withdraw (32824 31249 7:!RS! !costRS! !amountRS!)
NPCSay (32824 31249 7:yes)
Point (32831 31246 7)
A CHodzi o to ze pieniadze na hp wybierze a kiedy ma wybrac na mp to przeskakuje wpt np na dp albo inny
#16
Juz sam znalazlem problem Big Grin
#17
Na przyszłość do pana na górze, nie musisz za każdym razem dawać fixed pointa + na nowo hi, mozesz dac tak

Quote:Point (32762 31298 10)
-- tu powinien być fixed point --
Say (32824 31249 7:hi)
NPCSay (32824 31249 7:withdraw)
Withdraw (32824 31249 7:!HP! !costHP! !amountHP!)
NPCSay (32824 31249 7:yes)
NPCSay (32824 31249 7:withdraw)
Withdraw (32824 31249 7:!MP! !costMP! !amountMP!)
NPCSay (32824 31249 7:yes)
NPCSay (32824 31249 7:withdraw)
Withdraw (32824 31249 7:!RS! !costRS! !amountRS!)
NPCSay (32824 31249 7:yes)
Point (32831 31246 7)

raz w zupełności starczy, chyba ze kupujesz itemki gdzie mogą Cię przepchać to wtedy inna sprawa. Ach i przed pierwszym Hi do NPC dodawaj Fixed Pointa wtedy raz,
#18
O.o widze juz uwage na to zwracasz xd
#19
ta xDDDD bo juz zaczeło mnie też to denerwować Big Grin
#20
F5
Refresh


Forum Jump:


Users browsing this thread: 1 Guest(s)