Jump to content

  •  

Photo

Ayuda con script Poring Slot Machine :)

Poring Slot Machine

  • Please log in to reply
5 replies to this topic

#1 razmux

razmux

    Member

  • Members
  • PipPip
  • 17 posts
  • Github:https://github.com/razmux/

Posted 24 February 2015 - 12:25 AM

ayuda les dejare el script aqui con todo quiero aserlo compatible con hercules si alguien seria tan amable de ayudarme se lo agradeceria xD muchas gracias :D

 //------Poring Slot Machine-----------//
//------v.1 compatible con rathena----//
 
 
prontera,164,168,4 script Poring Machine 563,{
 
mes "^FF9900Slot Machine^000000";
mes "A Poring Slot Machine!";
close2;
menu
"^cc00ccInsert 1 Poring Coin^000000",play,"^00c020Watermelon Shop^000000",canje2,"^0000FFChange Poring Coins^000000",canje,"Exit",L_sal;
 
canje:
mes "^FF9900Slot Machine^000000";
mes "This option allow you to change 100 Poring Coins for 250 Cash Points";
mes "click Next to confirm";
next;
if(countitem(7539) < 100) callsub Falta;
mes "^FF9900Slot Machine^000000";
mes "Earned 250, Cash Point !";
delitem 7539,100;
specialeffect2 18;
set #CASHPOINTS,#CASHPOINTS+250;
dispbottom "[CashPoints +250] Total ["+#CASHPOINTS+"]";
end;
 
canje2:
specialeffect2 108;
sleep2 300;
callshop "Watermelons",0;
end;
 
 
 
play:
if( countitem(7539) < 3) callsub Falta2;
delitem 7539,1;
switch( rand(11) ) {
 
case 0: goto Pierde1;
 
case 1: goto Pierde2;
 
case 2: goto winner;
 
case 3: goto winner2;
 
case 4: goto almost;
 
case 5: goto Pierde1;
 
case 6: goto ultralose;
 
case 7: goto ultrasafe;
 
case 8: goto sandiW;
 
case 9: goto sandiL;
 
case 10: goto GCW;
 
 
L_sal:
npctalk "Adios";
close;
 
winner:
specialeffect 540; specialeffect 500; sleep2 220; cutin "StartP0",2; sleep2 220; specialeffect 18; cutin "StartP1",2; sleep2 220; specialeffect 18; cutin "StartP2",2; sleep2 220;
specialeffect 18; cutin "Pwin",2; sleep2 220; soundeffectall "poring_attack.wav",0;  cutin "Pwin1",2; sleep2 220; soundeffectall "poring_attack.wav",0; cutin "Pwin2",2; sleep2 220;
soundeffectall "poring_attack.wav",0; cutin "Pwin3",2; sleep2 220; soundeffectall "poring_attack.wav",0; cutin "Pwin1",2; sleep2 220; soundeffectall "poring_attack.wav",0; cutin "Pwin2",2; 
sleep2 220; cutin "Pwin3",2; soundeffectall "poring_attack.wav",0; sleep2 220; cutin "Pwin3",255; specialeffect 10; getitem 7539,5; end;
 
GCW:
specialeffect 540; specialeffect 500; sleep2 300; cutin "StartGC0",2; sleep2 300; specialeffect 18;  cutin "StartGC1",2; sleep2 300; specialeffect 18; cutin "StartGC2",2; sleep2 300;
specialeffect 18; cutin "StartGC3",2; sleep2 300;  cutin "StartGCW",2; specialeffect2 565; sleep2 300; cutin "StartGCW1",2; sleep2 300; specialeffect2 566; cutin "StartGCW2",2; sleep2 300; cutin "StartGCW3",2; specialeffect2 567; sleep2 300; cutin "StartGCW4",2; 
sleep2 300; cutin "StartGC3",2; sleep2 300; specialeffect2 969; cutin "StartGCW4",2; sleep2 300; cutin "StartGCW4",255; specialeffect 10; npctalk "x3 Ghost Chills"; getitem 6471,3; end;
 
winner2:
specialeffect 540; specialeffect 500; sleep2 220; cutin "StartP0",2; sleep2 220; specialeffect 18; cutin "Starte",2; sleep2 220; specialeffect 18; cutin "Starte2",2; sleep2 220;
specialeffect 18; cutin "Starte3",2; sleep2 220; specialeffect 18; cutin "ewin1",2; sleep2 220; specialeffect 18; cutin "ewin2",2; sleep2 220;
specialeffect 18; cutin "ewin3",2; sleep2 220; specialeffect 18; cutin "ewin1",2; sleep2 220; specialeffect 18; cutin "ewin2",2; sleep2 220;
specialeffect 18; cutin "ewin3",2; sleep2 220;  sleep2 100; cutin "ewin3",255; specialeffect 10; specialeffect 18; npctalk "Random Item Prize"; 
switch( rand(13) ) {
case 0: getitem 675,1; break;
case 1: getitem 512,1; break;
case 2: getitem 512,1; break;
case 3: getitem 512,3; break;
case 4: getitem 512,1; break;
case 5: getitem 512,3; break;
case 6: getitem 512,1; break;
case 7: getitem 512,1; break;
 
case 8: specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 311; specialeffect2 268; cutin "StartR",2; sleep2 120; 
specialeffect2 268; specialeffect 311; cutin "StartR2",2; sleep2 120; specialeffect2 268; specialeffect 31; cutin "StartRW",2; specialeffect 40; sleep2 120;
mapannounce "prontera","Poring Slots: " + strcharinfo(0) + " ha ganado un premio especial.",0; getitem 12704,2; sleep2 120; cutin "StartRW",255; break;
 
case 9:
specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 380; specialeffect2 268; cutin "StartR",2; sleep2 120; 
specialeffect2 268; specialeffect 380; cutin "StartR2",2; sleep2 120; specialeffect2 268; specialeffect 160; cutin "StartRL",2; specialeffect 40; npctalk "Perdiste a Lo Grande"; sleep2 120; cutin "StartRL",255; break;
 
case 10: getitem 12232,3; break;
 
case 11: specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 311; specialeffect2 268; cutin "StartR",2; sleep2 120; 
specialeffect2 268; specialeffect 311; cutin "StartR2",2; sleep2 120; specialeffect2 268; specialeffect 31; cutin "StartRW",2; specialeffect 40; sleep2 120;
mapannounce "prontera","Poring Slots: " + strcharinfo(0) + " ha ganado un premio especial.",0; getitem F_Rand( 7231,616,7776,22538),1; sleep2 120; cutin "StartRW",255; break;
 
case 12: specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 311; specialeffect2 268; cutin "StartR",2; sleep2 120; 
specialeffect2 268; specialeffect 311; cutin "StartR2",2; sleep2 120; specialeffect2 268; specialeffect 31; cutin "StartRW",2; specialeffect 40; sleep2 120;
mapannounce "prontera","Poring Slots: " + strcharinfo(0) + " ha ganado un premio especial.",0; getitem 12858,3; sleep2 120; cutin "StartRW",255; break;
 
}
end;
 
almost:
specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2; sleep2 120; specialeffect 18; cutin "Starte",2; sleep2 120; specialeffect 18; cutin "Starte2",2; sleep2 120;
specialeffect 18; cutin "Starte2p",2; sleep2 200; cutin "Starte2p1",2; sleep2 120; cutin "Starte2p2",2; sleep2 200; cutin "Starte2p3",2; soundeffectall "yoyo_die.wav",0; sleep2 200; 
cutin "Starte2p4",2; sleep2 300; specialeffect2 501; cutin "Starte2p4",255; specialeffect2 2; specialeffect 734; percentheal -6,0; sleep2 190; specialeffect 734; specialeffect2 1; percentheal -5,0; sleep2 220;
specialeffect2 3; specialeffect 734; percentheal -7,0; specialeffect2 2; sleep2 400; specialeffect2 4; sleep2 190; npctalk "Haz Perdido Energia Vital!"; heal -400,0; end;
 
Pierde1:
specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2; sleep2 120; specialeffect 18; cutin "StartP1",2; sleep2 120; specialeffect 18; cutin "StartP2",2; sleep2 120;
specialeffect 18; cutin "Lose",2; emotion e_whisp; sleep2 120; specialeffect2 380; cutin "Lose2",2; emotion e_whisp; sleep2 120; soundeffectall "wraith_die.wav",0; cutin "Lose3",2; sleep2 120; emotion e_whisp; cutin "Lose4",2; sleep2 120; cutin "Lose4",255; end;
 
Pierde2:
specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2; sleep2 120; specialeffect 18; cutin "Starte",2; sleep2 120; specialeffect 18; cutin "Starte2",2; sleep2 120;
specialeffect 18; cutin "StarteL",2; sleep2 200; specialeffect2 380; soundeffectall "isilla_die.wav",0; cutin "Startel1",2; sleep2 120; cutin "Startel2",2; sleep2 120;
cutin "Startel3",2; sleep2 100; cutin "Startel4",2; sleep2 200; cutin "Startel5",2; sleep2 200; cutin "Startel5",255; sleep2 100; specialeffect 268; sleep2 120;
specialeffect2 274; npctalk "Pediste 2 Poring Coin"; delitem 7539,2; end;
 
ultralose:
specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 380; specialeffect2 268; cutin "StarL1",2; sleep2 120; specialeffect2 268;
specialeffect 380; cutin "StarL2",2; sleep2 120; specialeffect 380; npctalk "Dame tus Zeny haha!"; specialeffect2 268; cutin "StarL3",2;
soundeffectall "naght_sieger_die.wav",0; specialeffect2 268; sleep2 50; specialeffect2 1; sleep2 50;
makeitem 7539,1,"prontera",161,167; sleep2 50; makeitem 7539,1,"prontera",158,164; sleep2 50; specialeffect2 1; makeitem 7539,1,"prontera",167,166; sleep2 120; specialeffect2 1; 
cutin "ultralose",2; delitem 7539,1; sleep2 50; specialeffect2 1; sleep2 50; specialeffect2 1; monster "prontera",158,170,"Thief",1261,1;
sleep2 200; cutin "ultralose1",2; sleep2 200; cutin "ultralose2",2; sleep2 200; cutin "ultralose3",2; sleep2 200; cutin "ultralose4",2; delitem 7539,1;
sleep2 200; cutin "ultralose4",255; delitem 7539,1; npctalk "3 Poring Coins Stolen"; percentheal -50,-50; end;
 
ultrasafe:
specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2; sleep2 120; specialeffect 380; specialeffect2 268; cutin "StarL1",2; sleep2 120; specialeffect2 268;
specialeffect 380; cutin "StarL2",2; sleep2 120; specialeffect 380; specialeffect2 268; cutin "StarL3",2; sleep2 120; cutin "ultrasafe1",2; sleep2 300; specialeffect 40; cutin "ultrasafe2",2;
sleep2 120; specialeffect 75; cutin "ultrasafe3",2; sleep2 120; cutin "ultrasafe4",2; soundeffectall "poring_attack.wav",0; sleep2 120; cutin "ultrasafe5",2; soundeffectall "poring_die.wav",0; sleep2 50;
soundeffectall "poring_die.wav",0; sleep2 100; cutin "ultrasafe6",2; soundeffectall "poring_attack.wav",0; sleep2 120;  cutin "ultrasafe7",2; soundeffectall "poring_die.wav",0; specialeffect2 82; sleep2 120; 
cutin "ultrasafe8",2; specialeffect2 84; sleep2 120; cutin "ultrasafe9",2; sleep2 50; specialeffect 18; getitem 675,1; sleep2 120; cutin "ultrasafe10",2; sleep2 50; specialeffect 18; sleep2 50; 
specialeffect 18;cutin "ultrasafe10",255; npctalk "SAved by the angel! Prize 1 Silver Coin"; percentheal 100,100; end;
 
sandiW:
specialeffect 540; specialeffect 500; sleep2 300; cutin "StartP0",2; sleep2 300; soundeffectall "rafflesia_attack.wav",0; cutin "StartS1",2;
sleep2 300; cutin "StartS2",2; soundeffectall "rafflesia_attack.wav",0; sleep2 300;  cutin "StartS3",2; soundeffectall "rafflesia_attack.wav",0;
sleep2 370; cutin "StartSW1",2; specialeffect 18;  sleep2 370; cutin "StartSW2",2; specialeffect 18; sleep2 370; specialeffect 18; cutin "StartSW3",2; 
sleep2 370; cutin "StartSW4",2; specialeffect 18; sleep2 370; cutin "StartSW5",2; sleep2 100; specialeffect 18; cutin "StartSW1",2; sleep2 100;
specialeffect 18; sleep2 100; cutin "StartSW2",2; sleep2 100; cutin "StartSW3",2; specialeffect 18; sleep2 100; specialeffect 18; cutin "StartSW4",2; sleep2 100;
specialeffect 18; cutin "StartSW5",2; sleep2 100; cutin "StartSW5",255; specialeffect2 568; npctalk "Premio Frutal!";  sleep2 300; specialeffect 10; getitem 6411,15; end;
 
sandiL:
specialeffect 540; specialeffect 500; sleep2 300; cutin "StartP0",2;  sleep2 300; soundeffectall "rafflesia_attack.wav",0; cutin "StartS1",2;
sleep2 350; soundeffectall "rafflesia_attack.wav",0; cutin "StartS2",2; sleep2 350; specialeffect 380; npctalk "OMG que cerca!!"; specialeffect2 268; cutin "StartSL1",2;
soundeffectall "naga_attack.wav",0; sleep2 300; cutin "StartSL2",2; sleep2 300; cutin "StartSL3",2; sleep2 300; cutin "StartSL4",2; sleep2 300; cutin "StartSL5",2;
soundeffectall "rafflesia_attack.wav",0; sleep2 300; cutin "StartSL6",2; soundeffectall "naga_attack.wav",0; sleep2 300; cutin "StartSL7",2; sleep2 300;
cutin "StartSL8",2; sleep2 300; soundeffectall "rafflesia_attack.wav",0; sleep2 300; specialeffect 380; cutin "StartSL9",2; sleep2 300;
cutin "StartSL10",2; sleep2 300; cutin "StartSL11",2; sleep2 300; cutin "StartSL11",255;  npctalk "Almost!";
percentheal -50,-50; heal -300,0;  end;
 
Falta2:
mes "You need 3 Poring coins to play!";
next;
specialeffect 571;
sleep2 300;
specialeffect2 108;
sleep2 300;
warp "prontera",162,189;
end;
 
Falta:
npctalk "Not enough poring coins!";
specialeffect 571;
sleep2 300;
specialeffect2 108;
sleep2 300;
warp "prontera",162,189;
end;
}
}

 

Attached Files



#2 Kusoo

Kusoo

    Advanced Member

  • Members
  • PipPipPip
  • 40 posts

Posted 24 February 2015 - 06:01 AM

Los items están aquí : set @itemIDfromList, callfunc("F_Rand",7231,616,7776,22538); --- Justo abajo del prontera,164.......
 //------Poring Slot Machine-----------////------v.1 compatible con rathena----//  prontera,164,168,4	script	Poring Machine	563,{set @itemIDfromList, callfunc("F_Rand",7231,616,7776,22538);mes "^FF9900Slot Machine^000000";mes "A Poring Slot Machine!";close2;menu"^cc00ccInsert 1 Poring Coin^000000",play,"^00c020Watermelon Shop^000000",canje2,"^0000FFChange Poring Coins^000000",canje,"Exit",L_sal; canje:mes "^FF9900Slot Machine^000000";mes "This option allow you to change 100 Poring Coins for 250 Cash Points";mes "click Next to confirm";next;if(countitem(7539) < 100) callsub Falta;mes "^FF9900Slot Machine^000000";mes "Earned 2540, Cash Point !";close2;delitem 7539,100;specialeffect2 18;set #CASHPOINTS,#CASHPOINTS+250;dispbottom "[CashPoints +250] Total ["+#CASHPOINTS+"]";end; canje2:specialeffect2 108;sleep2 300;callshop "Watermelons",0;end;   play:if( countitem(7539) < 3) callsub Falta2;delitem 7539,1;switch( rand(11) ) { case 0: goto Pierde1; case 1: goto Pierde2; case 2: goto winner; case 3: goto winner2; case 4: goto almost; case 5: goto Pierde1; case 6: goto ultralose; case 7: goto ultrasafe; case 8: goto sandiW; case 9: goto sandiL; case 10: goto GCW;  L_sal:close2;npctalk "Adios";close; winner:close2;specialeffect 540; specialeffect 500; sleep2 220; cutin "StartP0",2; sleep2 220; specialeffect 18; cutin "StartP1",2; sleep2 220; specialeffect 18; cutin "StartP2",2; sleep2 220;specialeffect 18; cutin "Pwin",2; sleep2 220; soundeffectall "poring_attack.wav",0;  cutin "Pwin1",2; sleep2 220; soundeffectall "poring_attack.wav",0; cutin "Pwin2",2; sleep2 220;soundeffectall "poring_attack.wav",0; cutin "Pwin3",2; sleep2 220; soundeffectall "poring_attack.wav",0; cutin "Pwin1",2; sleep2 220; soundeffectall "poring_attack.wav",0; cutin "Pwin2",2; sleep2 220; cutin "Pwin3",2; soundeffectall "poring_attack.wav",0; sleep2 220; cutin "Pwin3",255; specialeffect 10; getitem 7539,5; end; GCW:close2;specialeffect 540; specialeffect 500; sleep2 300; cutin "StartGC0",2; sleep2 300; specialeffect 18;  cutin "StartGC1",2; sleep2 300; specialeffect 18; cutin "StartGC2",2; sleep2 300;specialeffect 18; cutin "StartGC3",2; sleep2 300;  cutin "StartGCW",2; specialeffect2 565; sleep2 300; cutin "StartGCW1",2; sleep2 300; specialeffect2 566; cutin "StartGCW2",2; sleep2 300; cutin "StartGCW3",2; specialeffect2 567; sleep2 300; cutin "StartGCW4",2; sleep2 300; cutin "StartGC3",2; sleep2 300; specialeffect2 969; cutin "StartGCW4",2; sleep2 300; cutin "StartGCW4",255; specialeffect 10; npctalk "x3 Ghost Chills"; getitem 6471,3; end; winner2:close2;specialeffect 540; specialeffect 500; sleep2 220; cutin "StartP0",2; sleep2 220; specialeffect 18; cutin "Starte",2; sleep2 220; specialeffect 18; cutin "Starte2",2; sleep2 220;specialeffect 18; cutin "Starte3",2; sleep2 220; specialeffect 18; cutin "ewin1",2; sleep2 220; specialeffect 18; cutin "ewin2",2; sleep2 220;specialeffect 18; cutin "ewin3",2; sleep2 220; specialeffect 18; cutin "ewin1",2; sleep2 220; specialeffect 18; cutin "ewin2",2; sleep2 220;specialeffect 18; cutin "ewin3",2; sleep2 220;  sleep2 100; cutin "ewin3",255; specialeffect 10; specialeffect 18; npctalk "Random Item Prize"; switch( rand(13) ) {case 0: getitem 675,1; break;case 1: getitem 512,1; break;case 2: getitem 512,1; break;case 3: getitem 512,3; break;case 4: getitem 512,1; break;case 5: getitem 512,3; break;case 6: getitem 512,1; break;case 7: getitem 512,1; break; case 8:close2; specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 311; specialeffect2 268; cutin "StartR",2; sleep2 120; specialeffect2 268; specialeffect 311; cutin "StartR2",2; sleep2 120; specialeffect2 268; specialeffect 31; cutin "StartRW",2; specialeffect 40; sleep2 120;mapannounce "prontera","Poring Slots: " + strcharinfo(0) + " ha ganado un premio especial.",0; getitem 12704,2; sleep2 120; cutin "StartRW",255; break; case 9:close2;specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 380; specialeffect2 268; cutin "StartR",2; sleep2 120; specialeffect2 268; specialeffect 380; cutin "StartR2",2; sleep2 120; specialeffect2 268; specialeffect 160; cutin "StartRL",2; specialeffect 40; npctalk "Perdiste a Lo Grande"; sleep2 120; cutin "StartRL",255; break; case 10:close2; getitem 12232,3; break; case 11:close2;specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 311; specialeffect2 268; cutin "StartR",2; sleep2 120; specialeffect2 268; specialeffect 311; cutin "StartR2",2; sleep2 120; specialeffect2 268; specialeffect 31; cutin "StartRW",2; specialeffect 40; sleep2 120;mapannounce "prontera","Poring Slots: " + strcharinfo(0) + " ha ganado un premio especial.",0; getitem @itemIDfromList,1; sleep2 120; cutin "StartRW",255; break;         case 12:close2; specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 311; specialeffect2 268; cutin "StartR",2; sleep2 120; specialeffect2 268; specialeffect 311; cutin "StartR2",2; sleep2 120; specialeffect2 268; specialeffect 31; cutin "StartRW",2; specialeffect 40; sleep2 120;mapannounce "prontera","Poring Slots: " + strcharinfo(0) + " ha ganado un premio especial.",0; getitem 12858,3; sleep2 120; cutin "StartRW",255; break; }end; almost:close2;specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2; sleep2 120; specialeffect 18; cutin "Starte",2; sleep2 120; specialeffect 18; cutin "Starte2",2; sleep2 120;specialeffect 18; cutin "Starte2p",2; sleep2 200; cutin "Starte2p1",2; sleep2 120; cutin "Starte2p2",2; sleep2 200; cutin "Starte2p3",2; soundeffectall "yoyo_die.wav",0; sleep2 200; cutin "Starte2p4",2; sleep2 300; specialeffect2 501; cutin "Starte2p4",255; specialeffect2 2; specialeffect 734; percentheal -6,0; sleep2 190; specialeffect 734; specialeffect2 1; percentheal -5,0; sleep2 220;specialeffect2 3; specialeffect 734; percentheal -7,0; specialeffect2 2; sleep2 400; specialeffect2 4; sleep2 190; npctalk "Haz Perdido Energia Vital!"; heal -400,0; end; Pierde1:close2;specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2; sleep2 120; specialeffect 18; cutin "StartP1",2; sleep2 120; specialeffect 18; cutin "StartP2",2; sleep2 120;specialeffect 18; cutin "Lose",2; emotion e_whisp; sleep2 120; specialeffect2 380; cutin "Lose2",2; emotion e_whisp; sleep2 120; soundeffectall "wraith_die.wav",0; cutin "Lose3",2; sleep2 120; emotion e_whisp; cutin "Lose4",2; sleep2 120; cutin "Lose4",255; end; Pierde2:close2;specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2; sleep2 120; specialeffect 18; cutin "Starte",2; sleep2 120; specialeffect 18; cutin "Starte2",2; sleep2 120;specialeffect 18; cutin "StarteL",2; sleep2 200; specialeffect2 380; soundeffectall "isilla_die.wav",0; cutin "Startel1",2; sleep2 120; cutin "Startel2",2; sleep2 120;cutin "Startel3",2; sleep2 100; cutin "Startel4",2; sleep2 200; cutin "Startel5",2; sleep2 200; cutin "Startel5",255; sleep2 100; specialeffect 268; sleep2 120;specialeffect2 274; npctalk "Pediste 2 Poring Coin"; delitem 7539,2; end; ultralose:close2;specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 380; specialeffect2 268; cutin "StarL1",2; sleep2 120; specialeffect2 268;specialeffect 380; cutin "StarL2",2; sleep2 120; specialeffect 380; npctalk "Dame tus Zeny haha!"; specialeffect2 268; cutin "StarL3",2;soundeffectall "naght_sieger_die.wav",0; specialeffect2 268; sleep2 50; specialeffect2 1; sleep2 50;makeitem 7539,1,"prontera",161,167; sleep2 50; makeitem 7539,1,"prontera",158,164; sleep2 50; specialeffect2 1; makeitem 7539,1,"prontera",167,166; sleep2 120; specialeffect2 1; cutin "ultralose",2; delitem 7539,1; sleep2 50; specialeffect2 1; sleep2 50; specialeffect2 1; monster "prontera",158,170,"Thief",1261,1;sleep2 200; cutin "ultralose1",2; sleep2 200; cutin "ultralose2",2; sleep2 200; cutin "ultralose3",2; sleep2 200; cutin "ultralose4",2; delitem 7539,1;sleep2 200; cutin "ultralose4",255; delitem 7539,1; npctalk "3 Poring Coins Stolen"; percentheal -50,-50; end; ultrasafe:close2;specialeffect 540;specialeffect 500;sleep2 120;cutin "StartP0",2;sleep2 120; specialeffect 380;specialeffect2 268;cutin "StarL1",2;sleep2 120;specialeffect2 268;specialeffect 380;cutin "StarL2",2; sleep2 120;specialeffect 380;specialeffect2 268;cutin "StarL3",2; sleep2 120;cutin "ultrasafe1",2;sleep2 300;specialeffect 40;cutin "ultrasafe2",2;sleep2 120;specialeffect 75;cutin "ultrasafe3",2;sleep2 120; cutin "ultrasafe4",2;soundeffectall "poring_attack.wav",0; sleep2 120; cutin "ultrasafe5",2;soundeffectall "poring_die.wav",0;sleep2 50;soundeffectall "poring_die.wav",0;sleep2 100;cutin "ultrasafe6",2; soundeffectall "poring_attack.wav",0;sleep2 120;cutin "ultrasafe7",2;soundeffectall "poring_die.wav",0;specialeffect2 82;sleep2 120; cutin "ultrasafe8",2;specialeffect2 84;sleep2 120;cutin "ultrasafe9",2;sleep2 50;specialeffect 18;getitem 675,1;sleep2 120;cutin "ultrasafe10",2;sleep2 50;specialeffect 18;sleep2 50; specialeffect 18;cutin "ultrasafe10",255; npctalk "SAved by the angel! Prize 1 Silver Coin"; percentheal 100,100;end; sandiW:close2;specialeffect 540; specialeffect 500; sleep2 300; cutin "StartP0",2; sleep2 300; soundeffectall "rafflesia_attack.wav",0; cutin "StartS1",2;sleep2 300; cutin "StartS2",2; soundeffectall "rafflesia_attack.wav",0; sleep2 300;  cutin "StartS3",2; soundeffectall "rafflesia_attack.wav",0;sleep2 370; cutin "StartSW1",2; specialeffect 18;  sleep2 370; cutin "StartSW2",2; specialeffect 18; sleep2 370; specialeffect 18; cutin "StartSW3",2; sleep2 370; cutin "StartSW4",2; specialeffect 18; sleep2 370; cutin "StartSW5",2; sleep2 100; specialeffect 18; cutin "StartSW1",2; sleep2 100;specialeffect 18; sleep2 100; cutin "StartSW2",2; sleep2 100; cutin "StartSW3",2; specialeffect 18; sleep2 100; specialeffect 18; cutin "StartSW4",2; sleep2 100;specialeffect 18; cutin "StartSW5",2; sleep2 100; cutin "StartSW5",255; specialeffect2 568; npctalk "Premio Frutal!";  sleep2 300; specialeffect 10; getitem 6411,15; end; sandiL:close2;specialeffect 540; specialeffect 500; sleep2 300; cutin "StartP0",2;  sleep2 300; soundeffectall "rafflesia_attack.wav",0; cutin "StartS1",2;sleep2 350; soundeffectall "rafflesia_attack.wav",0; cutin "StartS2",2; sleep2 350; specialeffect 380; npctalk "OMG que cerca!!"; specialeffect2 268; cutin "StartSL1",2;soundeffectall "naga_attack.wav",0; sleep2 300; cutin "StartSL2",2; sleep2 300; cutin "StartSL3",2; sleep2 300; cutin "StartSL4",2; sleep2 300; cutin "StartSL5",2;soundeffectall "rafflesia_attack.wav",0; sleep2 300; cutin "StartSL6",2; soundeffectall "naga_attack.wav",0; sleep2 300; cutin "StartSL7",2; sleep2 300;cutin "StartSL8",2; sleep2 300; soundeffectall "rafflesia_attack.wav",0; sleep2 300; specialeffect 380; cutin "StartSL9",2; sleep2 300;cutin "StartSL10",2; sleep2 300; cutin "StartSL11",2; sleep2 300; cutin "StartSL11",255;  npctalk "Almost!";percentheal -50,-50; heal -300,0;  end; Falta2:mes "You need 3 Poring coins to play!";next;specialeffect 571;sleep2 300;specialeffect2 108;sleep2 300;close2;warp "prontera",162,189;end; Falta:close2;npctalk "Not enough poring coins!";specialeffect 571;sleep2 300;specialeffect2 108;sleep2 300;close2;warp "prontera",162,189;end;}}

Edited by Kusoo, 24 February 2015 - 06:21 AM.


#3 razmux

razmux

    Member

  • Members
  • PipPip
  • 17 posts
  • Github:https://github.com/razmux/

Posted 24 February 2015 - 06:55 AM

Gracias lo probare  y te aviso :)



#4 razmux

razmux

    Member

  • Members
  • PipPip
  • 17 posts
  • Github:https://github.com/razmux/

Posted 24 February 2015 - 07:11 AM

disculpa Kusso me confindi de script ese no esta terminado perona u.u te pongo aqui el que esta conpleto porque con este falta el shop perdona u.u

Attached Files


Edited by razmux, 24 February 2015 - 07:14 AM.


#5 Kusoo

Kusoo

    Advanced Member

  • Members
  • PipPipPip
  • 40 posts

Posted 25 February 2015 - 12:28 AM

Así debería correrte :)

 

 //------Poring Slot Machine-----------////------v.2 compatible con rathena----//prt_in,73,170,3,6411	shop	Watermelons	111,29076:50,29080:50,29083:65,29081:65,19543:100,19507:100,5528:150,5332:150,19707:200,19506:200,18879:250,19537:300,19518:300,5213:400,29074:500,29094:500,18549:600,5497:700,29100:1000,18613:1900,18612:1900,18684:2000,18806:2000,5373:2100,19538:5000,18993:5000,18742:10000prontera,164,168,4	script	Poring Machine	563,{set @itemIDfromList, callfunc("F_Rand",7231,616,7776,22538);mes "^FF9900Slot Machine^000000";mes "A Poring Slot Machine!";close2;menu"^cc00ccInsert 1 Poring Coin^000000",play,"^00c020Watermelon Shop^000000",canje2,"^0000FFChange Poring Coins^000000",canje,"Exit",L_sal;canje:mes "^FF9900Slot Machine^000000";mes "This option allow you to change 100 Poring Coins for 250 Cash Points";mes "click Next to confirm";next;if(countitem(7539) < 100) callsub Falta;mes "^FF9900Slot Machine^000000";mes "Earned 250, Cash Point !";delitem 7539,100;specialeffect2 18;set #CASHPOINTS,#CASHPOINTS+250;dispbottom "[CashPoints +250] Total ["+#CASHPOINTS+"]";end;canje2:specialeffect2 108;sleep2 300;callshop "Watermelons",0;end;play:if( countitem(7539) < 3) callsub Falta2;delitem 7539,1;switch( rand(11) ) {case 0: goto Pierde1;case 1: goto Pierde2;case 2: goto winner;case 3: goto winner2;case 4: goto almost;case 5: goto Pierde1;case 6: goto ultralose;case 7: goto ultrasafe;case 8: goto sandiW;case 9: goto sandiL;case 10: goto GCW;L_sal:npctalk "Adios";close;winner:specialeffect 540; specialeffect 500; sleep2 220; cutin "StartP0",2; sleep2 220; specialeffect 18; cutin "StartP1",2; sleep2 220; specialeffect 18; cutin "StartP2",2; sleep2 220;specialeffect 18; cutin "Pwin",2; sleep2 220; soundeffectall "poring_attack.wav",0;  cutin "Pwin1",2; sleep2 220; soundeffectall "poring_attack.wav",0; cutin "Pwin2",2; sleep2 220;soundeffectall "poring_attack.wav",0; cutin "Pwin3",2; sleep2 220; soundeffectall "poring_attack.wav",0; cutin "Pwin1",2; sleep2 220; soundeffectall "poring_attack.wav",0; cutin "Pwin2",2; sleep2 220; cutin "Pwin3",2; soundeffectall "poring_attack.wav",0; sleep2 220; cutin "Pwin3",255; specialeffect 10; getitem 7539,5; end;GCW:specialeffect 540; specialeffect 500; sleep2 300; cutin "StartGC0",2; sleep2 300; specialeffect 18;  cutin "StartGC1",2; sleep2 300; specialeffect 18; cutin "StartGC2",2; sleep2 300;specialeffect 18; cutin "StartGC3",2; sleep2 300;  cutin "StartGCW",2; specialeffect2 565; sleep2 300; cutin "StartGCW1",2; sleep2 300; specialeffect2 566; cutin "StartGCW2",2; sleep2 300; cutin "StartGCW3",2; specialeffect2 567; sleep2 300; cutin "StartGCW4",2; sleep2 300; cutin "StartGC3",2; sleep2 300; specialeffect2 969; cutin "StartGCW4",2; sleep2 300; cutin "StartGCW4",255; specialeffect 10; npctalk "x3 Ghost Chills"; getitem 6471,3; end;winner2:specialeffect 540; specialeffect 500; sleep2 220; cutin "StartP0",2; sleep2 220; specialeffect 18; cutin "Starte",2; sleep2 220; specialeffect 18; cutin "Starte2",2; sleep2 220;specialeffect 18; cutin "Starte3",2; sleep2 220; specialeffect 18; cutin "ewin1",2; sleep2 220; specialeffect 18; cutin "ewin2",2; sleep2 220;specialeffect 18; cutin "ewin3",2; sleep2 220; specialeffect 18; cutin "ewin1",2; sleep2 220; specialeffect 18; cutin "ewin2",2; sleep2 220;specialeffect 18; cutin "ewin3",2; sleep2 220;  sleep2 100; cutin "ewin3",255; specialeffect 10; specialeffect 18; npctalk "Random Item Prize"; switch( rand(13) ) {case 0: getitem 675,1; break;case 1: getitem 512,1; break;case 2: getitem 512,1; break;case 3: getitem 512,3; break;case 4: getitem 512,1; break;case 5: getitem 512,3; break;case 6: getitem 512,1; break;case 7: getitem 512,1; break;case 8: specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 311; specialeffect2 268; cutin "StartR",2; sleep2 120; specialeffect2 268; specialeffect 311; cutin "StartR2",2; sleep2 120; specialeffect2 268; specialeffect 31; cutin "StartRW",2; specialeffect 40; sleep2 120;mapannounce "prontera","Poring Slots: " + strcharinfo(0) + " ha ganado un premio especial.",0; getitem 12704,2; sleep2 120; cutin "StartRW",255; break;case 9:specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 380; specialeffect2 268; cutin "StartR",2; sleep2 120; specialeffect2 268; specialeffect 380; cutin "StartR2",2; sleep2 120; specialeffect2 268; specialeffect 160; cutin "StartRL",2; specialeffect 40; npctalk "Perdiste a Lo Grande"; sleep2 120; cutin "StartRL",255; break;case 10: getitem 12232,3; break;case 11: specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 311; specialeffect2 268; cutin "StartR",2; sleep2 120; specialeffect2 268; specialeffect 311; cutin "StartR2",2; sleep2 120; specialeffect2 268; specialeffect 31; cutin "StartRW",2; specialeffect 40; sleep2 120;mapannounce "prontera","Poring Slots: " + strcharinfo(0) + " ha ganado un premio especial.",0; getitem @itemIDfromList,1; sleep2 120; cutin "StartRW",255; break;		case 12: specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 311; specialeffect2 268; cutin "StartR",2; sleep2 120; specialeffect2 268; specialeffect 311; cutin "StartR2",2; sleep2 120; specialeffect2 268; specialeffect 31; cutin "StartRW",2; specialeffect 40; sleep2 120;mapannounce "prontera","Poring Slots: " + strcharinfo(0) + " ha ganado un premio especial.",0; getitem 12858,3; sleep2 120; cutin "StartRW",255; break;}end;almost:specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2; sleep2 120; specialeffect 18; cutin "Starte",2; sleep2 120; specialeffect 18; cutin "Starte2",2; sleep2 120;specialeffect 18; cutin "Starte2p",2; sleep2 200; cutin "Starte2p1",2; sleep2 120; cutin "Starte2p2",2; sleep2 200; cutin "Starte2p3",2; soundeffectall "yoyo_die.wav",0; sleep2 200; cutin "Starte2p4",2; sleep2 300; specialeffect2 501; cutin "Starte2p4",255; specialeffect2 2; specialeffect 734; percentheal -6,0; sleep2 190; specialeffect 734; specialeffect2 1; percentheal -5,0; sleep2 220;specialeffect2 3; specialeffect 734; percentheal -7,0; specialeffect2 2; sleep2 400; specialeffect2 4; sleep2 190; npctalk "Haz Perdido Energia Vital!"; heal -400,0; end;Pierde1:specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2; sleep2 120; specialeffect 18; cutin "StartP1",2; sleep2 120; specialeffect 18; cutin "StartP2",2; sleep2 120;specialeffect 18; cutin "Lose",2; emotion e_whisp; sleep2 120; specialeffect2 380; cutin "Lose2",2; emotion e_whisp; sleep2 120; soundeffectall "wraith_die.wav",0; cutin "Lose3",2; sleep2 120; emotion e_whisp; cutin "Lose4",2; sleep2 120; cutin "Lose4",255; end;Pierde2:specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2; sleep2 120; specialeffect 18; cutin "Starte",2; sleep2 120; specialeffect 18; cutin "Starte2",2; sleep2 120;specialeffect 18; cutin "StarteL",2; sleep2 200; specialeffect2 380; soundeffectall "isilla_die.wav",0; cutin "Startel1",2; sleep2 120; cutin "Startel2",2; sleep2 120;cutin "Startel3",2; sleep2 100; cutin "Startel4",2; sleep2 200; cutin "Startel5",2; sleep2 200; cutin "Startel5",255; sleep2 100; specialeffect 268; sleep2 120;specialeffect2 274; npctalk "Pediste 2 Poring Coin"; delitem 7539,2; end;ultralose:specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2;  sleep2 120; specialeffect 380; specialeffect2 268; cutin "StarL1",2; sleep2 120; specialeffect2 268;specialeffect 380; cutin "StarL2",2; sleep2 120; specialeffect 380; npctalk "Dame tus Zeny haha!"; specialeffect2 268; cutin "StarL3",2;soundeffectall "naght_sieger_die.wav",0; specialeffect2 268; sleep2 50; specialeffect2 1; sleep2 50;makeitem 7539,1,"prontera",161,167; sleep2 50; makeitem 7539,1,"prontera",158,164; sleep2 50; specialeffect2 1; makeitem 7539,1,"prontera",167,166; sleep2 120; specialeffect2 1; cutin "ultralose",2; delitem 7539,1; sleep2 50; specialeffect2 1; sleep2 50; specialeffect2 1; monster "prontera",158,170,"Thief",1261,1;sleep2 200; cutin "ultralose1",2; sleep2 200; cutin "ultralose2",2; sleep2 200; cutin "ultralose3",2; sleep2 200; cutin "ultralose4",2; delitem 7539,1;sleep2 200; cutin "ultralose4",255; delitem 7539,1; npctalk "3 Poring Coins Stolen"; percentheal -50,-50; end;ultrasafe:specialeffect 540; specialeffect 500; sleep2 120; cutin "StartP0",2; sleep2 120; specialeffect 380; specialeffect2 268; cutin "StarL1",2; sleep2 120; specialeffect2 268;specialeffect 380; cutin "StarL2",2; sleep2 120; specialeffect 380; specialeffect2 268; cutin "StarL3",2; sleep2 120; cutin "ultrasafe1",2; sleep2 300; specialeffect 40; cutin "ultrasafe2",2;sleep2 120; specialeffect 75; cutin "ultrasafe3",2; sleep2 120; cutin "ultrasafe4",2; soundeffectall "poring_attack.wav",0; sleep2 120; cutin "ultrasafe5",2; soundeffectall "poring_die.wav",0; sleep2 50;soundeffectall "poring_die.wav",0; sleep2 100; cutin "ultrasafe6",2; soundeffectall "poring_attack.wav",0; sleep2 120;  cutin "ultrasafe7",2; soundeffectall "poring_die.wav",0; specialeffect2 82; sleep2 120; cutin "ultrasafe8",2; specialeffect2 84; sleep2 120; cutin "ultrasafe9",2; sleep2 50; specialeffect 18; getitem 675,1; sleep2 120; cutin "ultrasafe10",2; sleep2 50; specialeffect 18; sleep2 50; specialeffect 18;cutin "ultrasafe10",255; npctalk "SAved by the angel! Prize 1 Silver Coin"; percentheal 100,100; end;sandiW:specialeffect 540; specialeffect 500; sleep2 300; cutin "StartP0",2; sleep2 300; soundeffectall "rafflesia_attack.wav",0; cutin "StartS1",2;sleep2 300; cutin "StartS2",2; soundeffectall "rafflesia_attack.wav",0; sleep2 300;  cutin "StartS3",2; soundeffectall "rafflesia_attack.wav",0;sleep2 370; cutin "StartSW1",2; specialeffect 18;  sleep2 370; cutin "StartSW2",2; specialeffect 18; sleep2 370; specialeffect 18; cutin "StartSW3",2; sleep2 370; cutin "StartSW4",2; specialeffect 18; sleep2 370; cutin "StartSW5",2; sleep2 100; specialeffect 18; cutin "StartSW1",2; sleep2 100;specialeffect 18; sleep2 100; cutin "StartSW2",2; sleep2 100; cutin "StartSW3",2; specialeffect 18; sleep2 100; specialeffect 18; cutin "StartSW4",2; sleep2 100;specialeffect 18; cutin "StartSW5",2; sleep2 100; cutin "StartSW5",255; specialeffect2 568; npctalk "Premio Frutal!";  sleep2 300; specialeffect 10; getitem 6411,15; end;sandiL:specialeffect 540; specialeffect 500; sleep2 300; cutin "StartP0",2;  sleep2 300; soundeffectall "rafflesia_attack.wav",0; cutin "StartS1",2;sleep2 350; soundeffectall "rafflesia_attack.wav",0; cutin "StartS2",2; sleep2 350; specialeffect 380; npctalk "OMG que cerca!!"; specialeffect2 268; cutin "StartSL1",2;soundeffectall "naga_attack.wav",0; sleep2 300; cutin "StartSL2",2; sleep2 300; cutin "StartSL3",2; sleep2 300; cutin "StartSL4",2; sleep2 300; cutin "StartSL5",2;soundeffectall "rafflesia_attack.wav",0; sleep2 300; cutin "StartSL6",2; soundeffectall "naga_attack.wav",0; sleep2 300; cutin "StartSL7",2; sleep2 300;cutin "StartSL8",2; sleep2 300; soundeffectall "rafflesia_attack.wav",0; sleep2 300; specialeffect 380; cutin "StartSL9",2; sleep2 300;cutin "StartSL10",2; sleep2 300; cutin "StartSL11",2; sleep2 300; cutin "StartSL11",255;  npctalk "Almost!";percentheal -50,-50; heal -300,0;  end;Falta2:mes "You need 3 Poring coins to play!";next;specialeffect 571;sleep2 300;specialeffect2 108;sleep2 300;warp "prontera",162,189;end;Falta:npctalk "Not enough poring coins!";specialeffect 571;sleep2 300;specialeffect2 108;sleep2 300;warp "prontera",162,189;end;}}

 



#6 razmux

razmux

    Member

  • Members
  • PipPip
  • 17 posts
  • Github:https://github.com/razmux/

Posted 26 February 2015 - 04:37 AM

gracias lo provare y te digo. :)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


This topic has been visited by 32 user(s)