Jump to content

uDe

Members
  • Posts

    400
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by uDe

  1. It's good. But, I think I need reset reward function in case I've entering the wrong ItemID. I also realized that I can set 2 reward at a time. That's good, but still need reset/remove function . How about the countdown?
  2. I still didn't get a way to solve my problem at here : http://rathena.org/b...efine-rentitem/ So, I came up with another idea for a script to automatically delete item from players ID. I need it to be automatically delete the item, Example : I will set an ItemID and PlayerID to that script and the duration of rent. Then after the duration finished. The script will delete the item from that ID. So, the players will be freely to refine/de-refine the equipments. In this case, there should be no problems about trade item because the equipments cannot be trade in any ways. I know this sounds noob. But for now, that's what I can think. But if this can be done. We don't have to worry for players to exploit the rentitem. Thank you.
  3. Can someone help me with this script? emperiumladder.txt I've got no error on map-server and the ladder didn't save any breaker name. Just 0. I'm using SVN r16816.
  4. Hello guys, I would like to request add some functions for this script simple_bg.txt. and... I need these functions to be add on that script : ** Add reward (in-game) Example : Add Reward , Check Reward , Remove Reward ** Add timer to start (in-game) Example : Admin need to set the timer to start (1 hour or 30 minutes) then the script will countdown according to the timer and then enable the Team NPC Original Topic : HERE
  5. please follow script request rules and open a new topic for itas this topic has already done its discussion so you can do something like -> .. in a new topic I like to request add modification of this script ... I want to add this blah blah blah feature ... I'm using rathena 16xxx All right! Thanks
  6. May I request to add more function for this script?
  7. How to prevent players to cannot AFK near NPC like autotrade?
  8. Thanks Annie, that's seems so much better. Thanks again.
  9. uDe

    Skill delay help

    I have the same problem like this. I've disabled everything on renewal.h. But Champion still having after-cast delay...
  10. May I request how to add Apple of Idun & Service for You to Buffer script? I've used sc_start4 SC_APPLEIDUN,300000,10,70,300,10; sc_start4 SC_SERVICE4U,300000,10,50,50,10; and it's not working. Worked. But : After die, relog, my HP still don't go back to normal. How to fix it? BUMP. Help me?
  11. uDe

    @reloadmapcache

    If that happen, it will be great.
  12. I'm just use rentitem, then the eq refined by your script. Because I want players freely to refine or de-refine their rentitem eq. How about the atcommand @refine - ?
  13. turbo_room,107,119,3 script De-Refiner 85,{ setarray .@ItemID[0],7539,100; mes "[^0065DFThe Smith^000000]"; mes "Hello.."; mes "I can de-refine all your refined equipments."; mes "But remember, each services cost ^FF0000"+.@ItemID[1]+" x "+getitemname(.@ItemID[0])+"^000000"; mes "and make sure you have equipped the items."; next; mes "[^0065DFThe Smith^000000]"; mes "Which equipments do you want to de-refine?"; if( countitem( .@ItemID[0] ) >= .@ItemID[1] ){ next; for( set .@i,1; .@i <= 10; set .@i,.@i + 1 ) set .@Menu$,.@Menu$ + (( getequipid(.@i) > 0 && getequiprefinerycnt(.@i) )? getitemname(getequipid(.@i)):"" )+":"; set .@i,select(.@Menu$); next; setarray .@GetData[0],getequipid(.@i),getequipcardid(.@i,0),getequipcardid(.@i,1),getequipcardid(.@i,2),getequipcardid(.@i,3); downrefitem .@i; delitem .@ItemID[0],.@ItemID[1]; getitem2 .@GetData[0],1,1,0,0,.@GetData[1],.@GetData[2],.@GetData[3],.@GetData[4]; equip .@GetData[0]; next; mes "[^0065DFThe Smith^000000]"; mes "Done."; specialeffect 154; } close; } Like that? Result, still same. No more timer..
  14. Can you please help me to edit the script Euphy?
  15. uDe

    GM Commands

    So weird.. ..... ........ Just simply use rAthena SVN and your problems can be solved here.
  16. I'm so slow. Sorry.. So, I need to replace !getequipisenableref( .@Refine ) to successrefitem( .@Refine ) ? Sorry, I missed that... How about de-refine? If I use this de-refiner NPC. The timer will gone.. turbo_room,107,119,3 script De-Refiner 85,{ setarray .@ItemID[0],7539,100; mes "[^0065DFThe Smith^000000]"; mes "Hello.."; mes "I can de-refine all your refined equipments."; mes "But remember, each services cost ^FF0000"+.@ItemID[1]+" x "+getitemname(.@ItemID[0])+"^000000"; mes "and make sure you have equipped the items."; next; mes "[^0065DFThe Smith^000000]"; mes "Which equipments do you want to de-refine?"; if( countitem( .@ItemID[0] ) >= .@ItemID[1] ){ next; for( set .@i,1; .@i <= 10; set .@i,.@i + 1 ) set .@Menu$,.@Menu$ + (( getequipid(.@i) > 0 && getequiprefinerycnt(.@i) )? getitemname(getequipid(.@i)):"" )+":"; set .@i,select(.@Menu$); next; setarray .@GetData[0],getequipid(.@i),getequipcardid(.@i,0),getequipcardid(.@i,1),getequipcardid(.@i,2),getequipcardid(.@i,3); failedrefitem .@i; delitem .@ItemID[0],.@ItemID[1]; getitem2 .@GetData[0],1,1,0,0,.@GetData[1],.@GetData[2],.@GetData[3],.@GetData[4]; equip .@GetData[0]; next; mes "[^0065DFThe Smith^000000]"; mes "Done."; specialeffect 154; } close; } Instead of using delitem .@ItemID[0],.@ItemID[1]; getitem2 .@GetData[0],1,1,0,0,.@GetData[1],.@GetData[2],.@GetData[3],.@GetData[4]; can it be used by @refine -? Or anything else.. So the rentitem won't dissapear..
  17. I'm sorry, but how to apply that into your script? //--- Bitmasks ---- // 1 - Top Headgear // 2 - Armor // 4 - Left Hand // 8 - Right Hand // 16 - Garment // 32 - Shoes // 64 - Left Accessory // 128 - Right Accessory // 256 - Middle Headgear // 512 - Lower Headgear // .....callfunc( "RefineFunc",<itemID>,<Amount>,<BitMasks>,<MinRefine>,<MaxRefine>,<CheckEquip>,<RefineMode>,<Percent> ); // 1. itemID -> Item that will be used during Refine. // 2. Amount -> Amount of Required Items. // 3. BitMask -> Refer to above bitmask table. // 4. MinRefine -> Required Min Refine to use. // 5. MaxRefine -> What is the Max Refine. [ Can Bypass Default Server Max Refine ] // 6. CheckEquip -> Check Equipments is Refineable or not. [ 0 = Disable / 1 = Enable ] // 7. RefineMode -> +1 / Max Refine. [ 0 = +1 Refine / 1 = Max Refine ] // 8. Percent -> Rate of Success to refine current Equipment. // Notes : You can Customize it according to whatever way you want. // Different NPCs / Items with Different Settings. // It will consume the items that you defined to Refine the Equipments according to your Settings. //----------- If used this as Item Script ----------- // Example : Red Potion with 100% Refine Rate // 501,Red_Potion,Red Potion,11,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc( "RefineFunc#normal",501,1,63,0,10,1,0,100 ); },{},{} // Change Item Type to 11 and Amount Required to 1 ( Advised ) //----------- If used this as NPC Script ------------ // Example : 90% Success Rate Refiner. turbo_room,91,116,5 script Perfect Refiner 63,{ callfunc( "RefineFunc#normal",7420,5,63,0,10,1,1,100 ); } function script RefineFunc#normal { for( set .@i,1; .@i <= 10; set .@i,.@i + 1 ) set .@Menu$,.@Menu$ + (( getarg(2) & pow( 2,(.@i-1 ) ) && getequiprefinerycnt( .@i ) >= getarg(3) && getequiprefinerycnt( .@i ) < getarg(4) && getequipisequiped( .@i) )?"^FF0000+"+getequiprefinerycnt( .@i )+" ^0000FF"+getequipname( .@i )+" "+( getitemslots( getequipid( .@i ) )?"["+getitemslots( getequipid( .@i ) )+"]":"" )+"^000000":"" )+":"; set .@Refine,select( .@Menu$ ); mes "Required ^FF0000"+getarg(1)+" x "+getitemname( getarg(0) )+"^000000"; if( getarg(5) == 1 && !getequipisenableref( .@Refine ) ) mes "I cant refine this items. Because it is ^FF0000Un-Refineable^000000."; else{ if( select( "^FF0000Refine^000000:Cancel" ) == 2 ) close; if( countitem( getarg(0) ) < getarg(1) ) close; delitem getarg(0),getarg(1); if( rand(100) < getarg(7) ){ if( getarg(6) ) while( getequiprefinerycnt( .@Refine ) < getarg(4) ) successrefitem ( .@Refine ); else successrefitem ( .@Refine ); mes "You have refined : "; mes "^FF0000+"+getequiprefinerycnt( .@Refine )+" ^0000FF"+getequipname( .@Refine )+"^000000"; }else{ failedrefitem ( .@Refine ); mes "Sorry, Failed in Refine and Equipment...Destroyed."; } } close; } That's your script right? I'm forget already..
  18. Hello guys.. I know that Emistry has released rentitem2 ( http://rathena.org/board/topic/59677-rentitem2/ ) patch. But, here, I just need a mod for npc to able to refine rentitem equipments. Thank you.
  19. Rafael, you're just awesome. Keep up the good work on this script!!
  20. uDe

    help Auto Announce

    Well, that's easy. - script WarAnnounce -1,{ OnMinute00: //WAR START if ( ( gettime(4)==0 && gettime(3)==21 ) || ( gettime(4)==2 && gettime(3)==21 ) || ( gettime(4)==4 && gettime(3)==21) || ( gettime(4)==6 && gettime(3)==21) ){ announce "The War of Emperium has begun! Please go to War Base (@go 36) to warp to WoE Castle!",0; end; } if ( ( gettime(4)==1 && gettime(3)==21 ) || ( gettime(4)==3 && gettime(3)==21 ) || ( gettime(4)==5 && gettime(3)==21) ){ announce "The Baby War of Emperium has begun! Please go to War Base (@go 36) to warp to Baby WoE Castle!",0; end; } if( gettime(3) == 19 ){ announce "The King of Emperium has begun! Please go to War Base (@go 36) to warp to KoE Castle!",0; end; } //WAR END if ( ( gettime(4)==0 && gettime(3)==22 ) || ( gettime(4)==2 && gettime(3)==22 ) || ( gettime(4)==4 && gettime(3)==22) || ( gettime(4)==6 && gettime(3)==22) ){ announce "The War of Emperium is over!",0; end; } if ( ( gettime(4)==1 && gettime(3)==22 ) || ( gettime(4)==3 && gettime(3)==22 ) || ( gettime(4)==5 && gettime(3)==22) ){ announce "The Baby War of Emperium is over!",0; end; } if( gettime(3) == 20 ){ announce "The King of Emperium is over!",0; end; } } Done. Problem fixed. Thank you so much.
  21. uDe

    @ec or @ecall

    Have you check your skill.conf? I also having problems with Emergency Call. But after setting it to these : // Emergency Recall Guild Skill setting (add as appropiate). // Note that for the skill to be usable at all, // you need at least one of 1/2 and 4/8 // 1: Skill is usable outside of woe. // 2: Skill is usable during woe. // 4: Skill is usable outside of GvG grounds // 8: Skill is usable on GvG grounds //16: Disable skill from "nowarpto" maps // (it will work on GVG castles even if they are set to nowarpto, though) emergency_call: 10 My problems fixed..
×
×
  • Create New...