Jump to content

Yudax

Members
  • Posts

    248
  • Joined

  • Last visited

Everything posted by Yudax

  1. Hello rathena, I would like to ask for an NPC script that if you click to that NPC. It will show everything you have equiped. From headgear down to the accessorries. I really cant work or make this script work.
  2. bump
  3. Is this the right way where to put the command: if ( .Allskills == 1 ){ atcommand "@allskills"; atcommand "@allstats 254"; Sorry, I missed the 254 in atcommand "@allstats";
  4. Hi sir, Thank you so much for this. May I know which is which you have edited?
  5. I dont know if this is correct but let me try this out. atcommand "@allstats";
  6. There is a video tutorial on youtube. Just search "asurahosting"
  7. May I know where to edit this script to make it every 12 HOURS instead of 24 HOURS? prontera,153,189,5 script dksfjdsk 100,{ .@t = gettime(4); mes "Hi, today is "+ .week$[.@t]; mes "The Daily Quest for today is ..."; mes getitemname( getd( ".req_item"+ .@t ) ); next; mes "The Items that needed are :"; .@size = getarraysize( getd( ".req_item"+ .@t ) ); for ( .@i = 1; .@i < .@size; .@i += 2 ) mes getd( ".req_item"+ .@t +"["+( .@i +1 )+"]" ) +"x "+ getitemname( getd( ".req_item"+ .@t +"["+ .@i +"]" ) ); next; if ( select ( "I want this Item", "Just walk around" ) == 2 ) { mes "OK, please come again"; close; } else if ( gettime(4) != .@t ) { mes "I'm sorry, today is a brand new day"; close; } else if( #the_day_today == gettime(4) ) { mes "You already finished the Daily Quest today."; close; } for ( .@i = 1; .@i < .@size; .@i += 2 ) { if ( countitem( getd( ".req_item"+ .@t +"["+ .@i +"]" ) ) < getd( ".req_item"+ .@t +"["+( .@i +1 )+"]" ) ) { setarray .@not_enough[.@c], getd( ".req_item"+ .@t +"["+ .@i +"]" ), getd( ".req_item"+ .@t +"["+( .@i +1 )+"]" ) - countitem( getd( ".req_item"+ .@t +"["+ .@i +"]" ) ); .@c += 2; } } if ( .@c ) { mes "You didn't bring enough items"; for ( .@i = 0; .@i < .@c; .@i += 2 ) mes .@not_enough[ .@i +1 ] +"x "+ getitemname( .@not_enough[ .@i ] ); close; } for ( .@i = 1; .@i < .@size; .@i += 2 ) delitem getd( ".req_item"+ .@t +"["+ .@i +"]" ), getd( ".req_item"+ .@t +"["+( .@i +1 )+"]" ); getitem getd( ".req_item"+ .@t ), 1; #the_day_today = gettime(4); mes "Congratulations for getting"; mes getitemname( getd( ".req_item"+ .@t ) ); close; OnInit: setarray .week$, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"; setarray .req_item0, 501, 501,1, 502,1; setarray .req_item1, 501, 501,10, 502,20, 503,30, 504, 40; setarray .req_item2, 501, 501,1, 502,1; setarray .req_item3, 501, 501,1, 502,1; setarray .req_item4, 501, 501,1, 502,1; setarray .req_item5, 501, 501,1, 502,1; setarray .req_item6, 501, 501,1, 502,1; end; }
  8. Thank you sir
  9. I have this script and I want to request to edit this and make these possible changes: ( 1 ) They can choose what to put / enchant on the item, but only a maximum of +3 each stat like: "Please choose what you want to enchant on your item?" Str Agi Vit Int Dex Luk If they chose on Str they will see this: Str + 1 <-- cost 3 tcg Str + 2 <-- cost 5 tcg Str + 3 <-- cost 7 tcg If Agi Agi + 1 <-- cost 3 tcg Agi + 2 <-- cost 5 tcg Agi + 3 <-- cost 7 tcg so on until Luk. They can only enchant their equips up to 3x only. prontera,160,187,5 script Item Echant 100,{ mes "[^0000FFItem Enchant^000000]"; mes "I can enchant your equipment."; next; mes "[^0000FFItem Enchant^000000]"; mes "But you need to have 3 ^0000FFTCG^000000 to do this, do you have it?"; menu "Yes, I have it.",T_yes,"Sorry, I dont have it.",T_no; T_yes: mes "What would you like to Enchant?"; menu "Armor",T_armor; close; T_no: mes "[^0000FFItem Enchant^000000]"; mes "Okay, Come back if you have it already."; close; T_armor: if ( select ( "Yes", "No" ) == 2 ) close; mes "[^0000FFItem Enchant^000000]"; if ( !getequipisequiped( EQI_ARMOR ) ) { mes "You dont have any ^0000FFArmor^000000 that is being equipped."; close; } .@id = getequipid( EQI_ARMOR ); .@ref = getequiprefinerycnt( EQI_ARMOR ); .@card1 = getequipcardid( EQI_ARMOR, 0 ); .@card2 = getequipcardid( EQI_ARMOR, 1 ); .@card3 = getequipcardid( EQI_ARMOR, 2 ); .@card4 = getequipcardid( EQI_ARMOR, 3 ); if ( .@card1 == 255 || .@card1 == 254 ) { mes "I can't enchant a signed equipment."; close; } if ( !.@card4 ) .@enchant = 0; else if ( !.@card3 ) .@enchant = 1; else if ( !.@card2 ) .@enchant = 2; else { mes "Sorry, this ^0000FFArmor^000000 has already been enchanted 3 times."; close; } if ( countitem( .item_id ) < .item_req[ .@enchant ] ) { mes "Sorry, you need "+ .item_req[ .@enchant ] +" "+ getitemname( .item_id ) +" to enchant this armor."; close; } .@rand = rand(.totalchance); while ( ( .@rand = .@rand - .rate[.@r] ) >= 0 ) .@r++; .@o = rand(0,5); // orb of str/int/dex ... delitem .item_id, .item_req[ .@enchant ]; delitem2 .@id, 1,1, .@ref, 0, .@card1, .@card2, .@card3, .@card4; if ( !.@card4 ) getitem2 .@id, 1,1, .@ref, 0, .@card1, .@card2, .@card3, 4700 + .@o * 10 + .@r; else if ( !.@card3 ) getitem2 .@id, 1,1, .@ref, 0, .@card1, .@card2, 4700 + .@o * 10 + .@r, .@card4; else getitem2 .@id, 1,1, .@ref, 0, .@card1, 4700 + .@o * 10 + .@r, .@card3, .@card4; equip .@id; mes "Armor Enchancement successful !"; announce ""+strcharinfo(0)+" enchanted his ARMOR!",0; close; OnInit: waitingroom "Item Enchanter",0; setarray .rate, 40,30,20,10; // rate of getting +1 is 50%, +2 is 33%, +3 is 17% .item_id = 7227; // item ID requirement use to refine setarray .item_req, 3,5,7; while ( .@i < 3 ) { .totalchance = .totalchance + .rate[.@i]; .@i++; } end; } I hope this is possible and if someone is willing to share their scripts like this. Thank you all for the support!
  10. W I tried to open a map name hc_prontera to browedit. After which browedit doesnt respond and automatically closed itself.
  11. They still cant use that skill.
  12. Sir let me ask you this question. Whats with that weediff pack?
  13. Can you tell us what have you done before having those errors? What did you edit, what did you do? Please be more specific.
  14. Why dont you try to use 2012-04-12 client?
  15. you are in the latest svn revision. to update: go the terminal and type: svn update
  16. What client are you using?
  17. There's a lot of it in here. Try to use the search button.
  18. So I guess this is all you need: http://rathena.org/b...english-folder/ Download mo lang yung = Data Version 3.0 ' IF ' you are using 2012 client and up.
  19. Thats what I want to hear Thank you anyways. All we have to do is hope for this to be added to the svn.
  20. No, what i mean is for now, since this patch is not added yet. Whenever they have a SVN update. No errors will occur right? I added the patch successfully.
  21. Correct me if Im wrong pero sa tingin ko di kapa naka download ng latest data folder?
  22. 20010,bunny_hood,bunny_hood,5,5,0,10,,1,,1,0xFFFFFFFF,7,2,256,,1,,884,{ bonus bMatkRate,10; bonus bBaseAtk,10;},{},{} If im not wrong, bBaseAtk;10 will give +10 to the 'Base Attack'. And the bMatkRate gives 'magic atack power'
  23. Hindi nman siguro gagawa ng guide ang isang tao kung imposible itong gayahin ng iba. Its just a matter of time and reading, download everything that is needed and you will not going to have any problems.
  24. So that means if this patch is already applied. Whenever there is a new update to the SVN. there is no need to edit the sources?
×
×
  • Create New...