Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- #maxbausdep=20;
- #maxbausget=20;
- if(getxu);
- unset(getxu);
- log(&5 parou a macro de cassino);
- stop();
- else;
- set(getxu);
- &itemid=spawn_egg;
- #numerobaudep=0;
- #numerobauget=0;
- #auxbau=0;
- #bxbau=0;
- #numeroBauGet=0;
- do();
- @#saida=0;
- }$$
- /home Cassinobaus
- $${
- wait(5);
- &dire=%DIRECTION%;
- &rdire=%DIRECTION%;
- ifmatches(%&dire%,N);&dire=NORTH;;&rdire=SOUTH;endif;
- ifmatches(%&dire%,S);&dire=SOUTH;;&rdire=NORTH;endif;
- ifmatches(%&dire%,E);&dire=EAST;;&rdire=WEST;endif;
- ifmatches(%&dire%,W);&dire=WEST;&rdire=EAST;endif;
- log("Chegou na home para depositar:verificando bau: %#numerobaudep%);
- #auxbau=#numerobaudep/10;
- #bxbau=#numerobaudep-(#auxbau*10);
- look(%&dire%);
- unset(bauagain);
- do();
- #posx=%XPOS%;
- #posz=%ZPOS%;
- if(%#auxbau%=0);
- log(Chegou1);
- break;
- endif;
- do;
- keydown(RIGHT);
- wait(10ms);
- keyup(RIGHT);
- until((%XPOS%=%#posx%+2)|(%XPOS%=%#posx%-2)|(%ZPOS%=%#posz%+2)|(%ZPOS%=%#posz%- 2));
- #auxbau=#auxbau-1;
- loop;
- if(%#bxbau%>4);
- do;
- keydown(RIGHT);
- wait(10ms);
- keyup(RIGHT);
- until((%XPOS%=%#posx%+1)|(%XPOS%=%#posx%-1)|(%ZPOS%=%#posz%+1)|(%ZPOS%=%#posz%- 1));
- #bxbau=#bxbau-5;
- endif;
- if(%#bxbau%=0);
- look(,55);
- endif;
- if(%#bxbau%=1);
- look(,35);
- endif;
- if(%#bxbau%=2);
- look(,7);
- endif;
- if(%#bxbau%=3);
- look(,-24);
- endif;
- if(%#bxbau%=4);
- look(,-50);
- endif;
- wait(500ms);
- key(use);
- wait(300ms);
- log(Depositando os itens!);
- for(#p,54,89);
- getslotitem(%#p%,&id,#stack);
- ifmatches(%&id%,%&itemid%);
- next;
- endif;
- slotclick(%#p%,right,true);
- wait(80ms);
- next;
- wait(150ms);
- getslotitem(53,&id,#stack);
- if(%#stack%>0);
- #numerobaudep=#numerobaudep+1;
- set(bauagain);
- endif;
- gui();
- wait(1);
- if(!bauagain);
- }$$
- /home Cassinobaus
- $${
- log("Chegou na home para sacarr:verificando bau: %#numerobauget%);
- #auxbau=#numerobauget/10;
- #bxbau=#numerobauget-(#auxbau*10);
- look(%&dire%);
- unset(bauagain);
- do();
- #posx=%XPOS%;
- #posz=%ZPOS%;
- if(%#auxbau%=0);
- log(Chegou1);
- break;
- endif;
- do;
- keydown(LEFT);
- wait(10ms);
- keyup(LEFT);
- until((%XPOS%=%#posx%+2)|(%XPOS%=%#posx%-2)|(%ZPOS%=%#posz%+2)|(%ZPOS%=%#posz%- 2));
- #auxbau=#auxbau-1;
- loop;
- if(%#bxbau%>4);
- do;
- keydown(RIGHT);
- wait(10ms);
- keyup(RIGHT);
- until((%XPOS%=%#posx%+1)|(%XPOS%=%#posx%-1)|(%ZPOS%=%#posz%+1)|(%ZPOS%=%#posz%- 1));
- #bxbau=#bxbau-5;
- endif;
- if(%#bxbau%=0);
- look(,55);
- endif;
- if(%#bxbau%=1);
- look(,35);
- endif;
- if(%#bxbau%=2);
- look(,7);
- endif;
- if(%#bxbau%=3);
- look(,-24);
- endif;
- if(%#bxbau%=4);
- look(,-50);
- endif;
- wait(500ms);
- key(use);
- wait(300ms);
- getslotitem(53,&id,#stack);
- if(%#stack%=0);
- #numerobauget=#numerobauget+1;
- set(bauagain);
- else;
- for(#p,0,53);
- slotclick(%#p%,right,true);
- // getslotitem(#36,&id,#stack);
- // if(%#stack%>1);
- // break;
- // endif;
- wait(80ms);
- next;
- endif;
- wait(150ms);
- gui();
- wait(1);
- endif;
- if(!bauagain);
- }$$
- /home Cassino
- $${
- wait(1);
- do();
- key(attack);
- wait(100ms);
- while(%@#saida%=0);
- endif;
- loop;
- endif;
- }$$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement