Jump to content

crazyarashi

Developer
  • Posts

    776
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by crazyarashi

  1. Try Removing This part i had a same case with my npc fixed it by removing the mes before a case. switch(select($menu$+"Sortear premio",$menu$+"Informações")){ next; mes "[^FF0000 Premiador ^000000]"; <----- case 1:
  2. Very Detailed guide Thumbs up
  3. Resolved it by applying what tokei corrected and by fixing a few close lines Here's the full script :)) prt_in,63,69,3 script Rough Stones Exchanger 756,{ mes "[Leon]"; mes "Hi adventurer, I'm Leon and im trading"; mes "a whole ^0055FFOridecon^000000 or ^0055FFElunium^000000"; mes "For 5 ^0055FFRough Oridecon^000000 or ^0055FFRough Elunium^000000"; next; mes "[Leon]"; mes "What would you like to exchange today?"; next; switch(select("Rough Elu to Elunium:Rough Ori to Oridecon")) { case 1: set .@i, countitem(757); if (.@i < 5) goto noelu; next; mes "[Leon]"; mes "How many Rough Elunium would you like to exchange?"; next; input .@e = .@e / 5 * 5; next; if (.@e < 5 || .@e > countitem(757)) { mes "[Leon]"; mes "That's an invalid amount of ^00FF00Rough Elunium^000000"; mes "The exchange rate is 5 Rough Elunium to 1 Elunium"; close; } mes "Are you sure you want to exchange ^0055FF" + .@e + " Rough Eluniums?^000000?"; if (select("Yes:No") == 2) close; mes "[Leon]"; mes "Okay come to me again if you want to exchange"; delitem 757, .@e; getitem 985, .@e/5; end; case 2: set .@i2, countitem(756); if (.@i2 < 5) goto noori; next; mes "[Leon]"; mes "How many Rough Oridecon would you like to exchange?"; next; input .@r = .@r / 5 * 5; next; if (.@r < 5 || .@r > countitem(756)) { mes "[Leon]"; mes "That's an invalid amount of Oridecon"; mes "The Exchange rate is 5 Rough Oridecon to 1 Oridecon"; mes "Make sure you input the right value"; close; } mes "Are you sure you want to exchange ^0055FF"+.@r+" Rough Oridecon?^000000?"; if(select("Yes:No")==2) close; mes "[Leon]"; mes "Okay come to me again if you want to exchange"; delitem 756,.@r; getitem 984,.@r/5; end; } noori: mes "[Leon]"; mes "You don't have enough ^00FF00Rough Oridecon^000000 to exchange"; close; noelu: mes "[Leon]"; mes "You dont have enough ^00FF00Rough Elunium^000000 to exchange"; close; }
  4. Hello can this script also provide rewards for the losing guild
  5. I want to make the BG rewards automatically goes to the inventory of the player at the end of the round so i tried getitem7829,10; //But it needs an npc to work and i tried another getitem $@TeamA,7829,10; But it doesn't seem to work either // Just Tested This. I saw it in EaMOD Rewarding System and kinda copy it. Gonna edit the question to make it clearer sorry about that :D
  6. Hi Im currently making a battlegrounds script and I want to the rewards straight to the inventory of the player at the end of the round i tried using getitem but it needs an npc to work so i tried the script below but it doesnt work. is there any other way to make the rewards go to the inventory of the player on the end of the round without using an npc? if( $@TeamA != 0 ) { if( $@TestBG_Victory == $@TeamA) { getitem $@TeamA,7829,10; end; } else { getitem $@TeamA,7829,5; end; } end; }
  7. Good Day Rathena im the type who works with music and I'm kind off tired listening to my playlist over and over again so if you have any suggestions feel free to share here!
  8. Personally i want from a staff is to be honest, active, tons of ideas for GM hosted events, have a certain amount of knowledge in RO, Loves RO, and dedicated to his work without being bias and other things :))
  9. OnMinute00 = Triggers Every Hour OnMinute20 = Triggers every 20 minutes of an hour (ex. 1:20, 2:20,3:20 and so on)
  10. Hi this was ask already and i saw this link http://roworkshop.com/andro/main/faqso.html you may refer to this :))
  11. Try This :)) poringsoccerv3.txt
  12. Try this it's the one im using. :)) azzyai
  13. Did you try to make standby while /hoai is activated? :))
  14. Can you send your script here? :))
  15. Just add the map files in your grf and in your data.ini make sure youre reading your own grf first. 0 = yourro.grf 1 = data.grf
  16. i see you may refer to what valor posted :))
  17. i see thanks for the info :))
  18. Try Using Freeloop something like this - script AutoPickEvent -1,{ OnMinute00: freeloop(1); { query_sql "select account_id from `char` where online = 1 order by rand() limit 1", .@aid; attachrid .@aid; if ( getgmlevel() < 100 && !checkvending() ) { DetachRID(); continue; } announce strcharinfo(0) +" won 1 Hourly Coin in Lucky Pick Event.",0,0x00FF00; getitem 31060,1; break; } freeloop(0); end; }
  19. I mean is there any npc,item or other things that might be the source of the error? :))
  20. Hi, Do you have the source of error? :))
  21. ra_temsky,146,135,5 script Rough Stones Exchanger 756,{ mes "[Leon]"; mes "Hi adventurer, I'm Leon and im trading"; mes "a whole ^0055FFOridecon^000000 or ^0055FFElunium^000000"; mes "For 5 ^0055FFRough Oridecon^000000 or ^0055FFRough Elunium^000000"; mes "What would you like to exchange today?"; switch(select("Rough Elu to Elunium:Rough Ori to Oridecon")) { case 1: set .@i, countitem(757); if (.@i < 5) goto noelu; mes "[Leon]"; mes "[How many rough elunium would you like to exchange?]"; next; input .@e; if (.@e < 5 || .@e > countitem(757)) { mes "[Leon]"; mes "That's an invalid amount of Elunium"; mes "The Exchange rate is 5 rough elu to 1 Elunium"; close; } mes "Are you sure you want to exchange ^0055FF"+(.@e*5)+" Rough Elunium?^000000?"; if(select("Yes:No")==2) close; mes "[Leon]"; mes "Okay come to me again if you want to exchange"; delitem .@i,.@e*5; getitem 985,.@e/5; end; case 2: set .@i, countitem(757); if (.@i < 5) goto noori; mes "[Leon]"; mes "[How many rough elunium would you like to exchange?]"; next; input .@e; if (.@e < 5 || .@e > countitem(757)*5 ) { mes "[Leon]"; mes "That's an invalid amount of Elunium"; mes "The Exchange rate is 5 rough elu to 1 Elunium"; mes "Make sure you input the right value"; close; } mes "Are you sure you want to exchange ^0055FF"+(.@e*5)+" Rough Elunium?^000000?"; if(select("Yes:No")==2) close; mes "[Leon]"; mes "Okay come to me again if you want to exchange"; delitem .@i,.@e*5; getitem 985,.@e; end; } noori: mes "[Leon]"; mes "You Don't have enough rough oridecon to exchange"; close; noelu: mes "[Leon]"; mes "You Dont have enough rough elunium to exchange"; close; } Nevermind Fixed it now thank you!
  22. Hi Good Day Rathena ,I Don't know if im asking in the right section but how to make this possible. And The Penalty for the damage in WOE Doesn't seem to apply in the Doram Race :))
  23. Hi Im not getting any errors but i think this part is wrong because it's not exchanging anything at all :)) mes "Are you sure you want to exchange ^0055FF"+(.@e*5)+" Rough Elunium?^000000?"; if(select("Yes:No")==2) close; mes "[Leon]"; mes "Okay come to me again if you want to exchange"; delitem .@i,.@e*5; getitem 985,.@e/5; end; }
  24. Hi I'm making a rough elunium/oridecon exchanger with an amount input on it and im quite confuse right now anyone can check if this is correct. :)) prontera,255,55,5 script Rough Stones Exchanger 756,{ mes "[Leon]"; mes "Hi adventurer, I'm Leon and im trading"; mes "a whole ^0055FFOridecon^000000 or ^0055FFElunium^000000"; mes "For 5 ^0055FFRough Oridecon^000000 or ^0055FFRough Elunium^000000"; mes "What would you like to exchange today?"; switch(select("Rough Elu to Elunium:Rough Ori to Oridecon")) { case 1: set .@i, countitem(757); if (.@i < 5) goto notelu; mes "[Leon]"; mes "[How many rough elunium would you like to exchange?]"; next; input .@e; if (.@e < 5 || .@e > countitem(757)) { mes "[Leon]"; mes "That's an invalid amount of Elunium"; mes "The Exchange rate is 5 rough elu to 1 Elunium"; close; } mes "Are you sure you want to exchange ^0055FF"+(.@e*5)+" Rough Elunium?^000000?"; if(select("Yes:No")==2) close; mes "[Leon]"; mes "Okay come to me again if you want to exchange"; delitem .@i,.@e*5; getitem 985,.@e/5; end; }
×
×
  • Create New...