Jump to content

Emistry

Forum Moderator
  • Posts

    10013
  • Joined

  • Days Won

    396

Everything posted by Emistry

  1. something like this ??? prontera,155,181,5 script Sample 992,{ OnHeal: percentheal 100,100; end; OnBuffs: percentheal 100,100; skilleffect 34,0; sc_start SC_BLESSING,360000,10; skilleffect 29,0; sc_start SC_INCREASEAGI,360000,10; end; OnLink: switch ( basejob ) { case Job_Alchemist: set .@spirit, 445; break; case Job_Monk: set .@spirit, 447; break; case Job_Star_Gladiator: set .@spirit, 448; break; case Job_Sage: set .@spirit, 449; break; case Job_Crusader: set .@spirit, 450; break; case Job_SuperNovice: set .@spirit, 451; break; case Job_Knight: set .@spirit, 452; break; case Job_Wizard: set .@spirit, 453; break; case Job_Priest: set .@spirit, 454; break; case Job_Bard: case Job_Dancer: set .@spirit, 455; break; case Job_Rogue: set .@spirit, 456; break; case Job_Assassin: set .@spirit, 457; break; case Job_Blacksmith: set .@spirit, 458; break; case Job_Hunter: set .@spirit, 460; break; case Job_Soul_Linker: set .@spirit, 461; break; default: if ( upper == 1 && baselevel < 70 ) set .@spirit, 494; } if ( .@spirit ) { sc_start4 sc_spirit, 360000, 5, .@spirit,0,0; skilleffect .@spirit, 5; } end; OnInit: defpattern 1, "heal","OnHeal"; defpattern 1, "buff","OnBuffs"; defpattern 1, "link","OnLink"; activatepset 1; end; } heal = Heal HP / SP buff = Supportive Skills Buff link = Soul Linking
  2. if you have restricted the GM from trade / drop / storing... then you can just use rentitem command so that the items will disappear after a short period of time. For Example : Give a Valkyie Helm with 1 Days of Durations rentitem 5171,86400;
  3. prontera,155,181,5 script Sample 718,{ if( !#Freebies ){ set #Freebies,1; mes "Welcome...this is your gift..."; getitem 607,10; getitem 7539,10; }else{ mes "You have claim the Reward already."; } close; } if you want to make it Character Based.. change All #Freebies into Freebies Edit the Price here getitem 607,10; getitem 7539,10;
  4. please wrap your script with CodeBox / Code if possible...show us the Error you get..not the full script only... Problem Source : Should be : ( Reason : Missing 1 Close Bracket ) if (countitem(923) < 500 || countitem(5160) < 1 || Zeny < 10000000 ) goto L_NotEnough;
  5. Haha this time Goddameit forget post a Video for his script "Explanation"
  6. this is what Kenpachi trying to tell you... =='' you just didnt get what he mean.. and i m here try to give you an example based on his method...
  7. wan to add a list of item just simple like this ~ For Example : setarray .TCG_ITEMS[0],607,608,609,610,611,612; setarray .ITEMPRICE[0], 30, 10, 12, 13,100,500;
  8. anyway,..next time you can try browse the Request Section ...xD coz most of the time....the script like these could have made by other members as well in previous topic / posts.. ^^ for example prontera,138,183,5 script TCG Uppers 793,{ mes .name$; mes "You currently have "+countitem(.tcg_item)+" TCG."; mes "Would you like to look at the shop?"; next; if(select("Yes:No") == 2) {close;} close2; callshop "TCG_SHOP",1; npcshopattach "TCG_SHOP"; dispbottom "You currently have "+countitem(.tcg_item)+" TCG."; end; OnBuyItem: for(set @i,0; @i < getarraysize(@bought_nameid); set @i,@i+1) { for(set @j,0; @j < getarraysize(.TCG_ITEMS); set @j,@j+1) { if(.TCG_ITEMS[@j] == @bought_nameid[@i]) { set @itemcost,(.ITEMPRICE[@j]*@bought_quantity[@i]); set @totalcost,(@totalcost+@itemcost); break; } } } if(@totalcost > countitem(.tcg_item)) { dispbottom "You don't have enough TCG."; } else { for(set @i,0; @i < getarraysize(@bought_nameid); set @i,@i+1) { getitem @bought_nameid[@i],@bought_quantity[@i]; } delitem .tcg_item,@totalcost; dispbottom "Thank you for shopping."; dispbottom "You now have "+countitem(.tcg_item)+" TCG left."; } set @totalcost,0; deletearray @bought_nameid[0],128; deletearray @bought_quantity[0],128; end; OnInit: npcshopdelitem "TCG_SHOP",909; // Leave this alone set .name$,"[TCG Uppers]"; set .tcg_item,7227; // Input TCG ID setarray .TCG_ITEMS[0],20001; // Item IDs - 128 max setarray .ITEMPRICE[0],30; // Item prices - Should followe ID's order for(set .@i,0; .@i < getarraysize(.TCG_ITEMS); set .@i,.@i+1) { npcshopadditem "TCG_SHOP",.TCG_ITEMS[.@i],.ITEMPRICE[.@i]; } end; } - shop TCG_SHOP -1,909:20 Change Item Required here : set .tcg_item,7227; // Input TCG ID Set your Items / Price here : setarray .TCG_ITEMS[0],20001; // Item IDs - 128 max setarray .ITEMPRICE[0],30; // Item prices - Should followe ID's order if you want to Duplicate the NPC for other items. change all this TCG_SHOP to other
  9. try this ~ prontera,155,181,5 script Sample 718,{ if( !getcharid(1) ){ mes "You didnt have Party."; close; } getpartymember getcharid(1),1; getpartymember getcharid(1),2; set .@Location$,strcharinfo(3); for ( set .@i, 0; .@i < $@partymembercount; set .@i, .@i +1 ){ if ( isloggedin($@partymemberaid[.@i]) && attachrid($@partymemberaid[.@i]) && strcharinfo(3) == .@Location$ ){ message strcharinfo(0),"Your Party get buffs."; sc_start SC_BLESSING,300000,10; sc_start SC_INCREASEAGI,300000,10; sc_start SC_MAGNIFICAT,300000,5; sc_start SC_ANGELUS,300000,10; } } end; }
  10. LOL ? who this fellow ? didnt anyone know ? i guess i added think fellow long time ago....but i cant remember who is this.... and today...he just suddenly POP out and talk cock with me =='' and..i assume it is somekind of harrassment for me !! Spammed my wall + harrassment ...then Delete me from Friendlist... /sigh @Fellow of this Profile if you do "Exist" in RAthena ... i advise you to stop your action...it is irritating !! if you think my script is suck..then dont use...i didnt force anybody here to use it... so there is no need of using irritating words to harm me/others.. @those who are going to reply... Do Not Discuss on this issue..!! i just wonder did anybody know this fellow ? i just cant remember who this !! Sorry if this topic bringing some sensitive issue..then mod please remove it... i just try to find some hint/clue/guide to find out who's this
  11. if you want to learn scripting... Read these... Basic_Scripting Script_Command Scripting for Dummies If you are request for a script...( Since you are posting in Script Request Section ) then you must explain / give details on what script you are going to request with
  12. LOL...thank for the support.....anyway... i think GM Xeon's Disguise Event might be better since he might have added renewal monster and blacklisted some non exist mob id.
  13. use this 1...better. than the previous 1 i have posted.. - script Sample -1,{ OnPCKillEvent: if( getmapflag( strcharinfo(3),mf_gvg_castle ) ){ announce strcharinfo(0)+" has killed "+rid2name(killedrid),0; } end; } Tested and work in my Test Server.. this it work when the person is killed within Guild Caste Map... Only Guild Castle Map...not GVG Map ( I guess..it stil okay for you right ? using announce to show who killed you ) Otherwise....just change the Announce part to this if(AttachRID(killedrid)) DispBottom("You were killed by " + RID2Name(killerrid) + ".");
  14. LOL ? how come your emulator have 3rd Job stuffs but didnt have this settings ?? what emulator you are using...the above 1 is copy from 3Ceam
  15. Haha..thank to Goddameit...know i can barely understand how instances work xD good guide ~
  16. Yes..it is inside the Skills.onf....and use to cap for the Max HP i guess..since the Dragon Breath is based on users MaxHP...
  17. Dragon Breath Damage actually can be cap... conf/battle/skill.conf // Set this to the max HP cap that you would like Rune Knight skills to add extra bonus damage from. // [Pinky] // Current Rune Knight skills using Max HP as damage multifactor: DRAGON BREATH // Examples: // 0 = disabled, it will use the original player's max hp rate. // 75000 = if the player's max hp rate is above 75000, this will force the skills to use 75000 HP instead of the original player's max hp rate. // NOTE: Use this wisely, it's suggested to set it to 75000 since that's the average MAX HP a Sura class can get with stats/hp items/cards in official server. // Anything higher than 75000 will let you experience higher/overload damage from the above mentioned Sura skills skillsbonus_maxhp_RK: 0
  18. Otherwise....maybe make it able to minimize it to somewhere ? Anyway,..it doesnt affect me..xD as i browse the New Content Section.. i will also saw what's new...xD haha
  19. Hope i was right here ^^ For Example you wan to make another Poring. Original Poring Database : 1002,PORING,Poring,Poring,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,512,150,619,20,0,0,0,0,4001,1 Duplicated Database for New Poring : ( I used 25000 as example for the ID ) 25000,PORING,Poring,Poring,1,50,0,2,1,1,7,10,0,5,1,1,1,0,6,30,10,12,1,3,21,0x83,400,1872,672,480,0,0,0,0,0,0,0,0,909,7000,1202,100,938,400,512,1000,713,1500,512,150,619,20,0,0,0,0,4001,1 Okay, now go to your db/mob_avail.txt add this 25000,1002 with this..your Monster with ID of 25000 will using the Poring Sprite ID ( 1002 )
  20. erm...since there is alot map to write into the array.... just wondering about this~ if we use getmapflag to check for gvg map...could that be a little bit better ? xD something like this ? - script Sample -1,{ OnPCKillEvent: if( getmapflag( strcharinfo(3),mf_gvg ) ){ announce strcharinfo(0)+" has killed "+rid2name(killedrid),0; } end; }
  21. when you diff your client... make sure you have diffed Extend Chatbox ?
  22. =='' i think they just added you as fren...( You think too much ) if you are feeling uncomfortable with them....easy...just remove them....
  23. Emistry

    Ragray

    i guess it work like that as well.. >.< anyway..i am not sure..since my last use of ragray were....1 or 2 years ++ ago.... and i keep 1 Clean KRO with most updated files as my root files...xD if playing another RO / test server..i will copy 1 out before i paste the files inside.. so that i wont mess up with it haha ~
  24. Emistry

    Ragray

    If i was right.....even though the Ragray providing All-In-One package..but it still have certain features where users able to choose which type of files he need... for example..if a users only Need BGM files..then he only choose BGM files for download...and etc...
  25. Emistry

    Ragray

    i think it would be good if rAthena capable to host this...coz i have seen alot users / members quite depenable on this Ragray instead of other sites.. i guess it is because Ragray provide the All-In-One Package for download..instead of other site that provide download that separated to alot small part... and Ragray is assume as the most updated as well... O.O
×
×
  • Create New...