Rikimaru Posted November 27, 2011 Posted November 27, 2011 (edited) Hello eAthena.net Board, yeah,it's me again,I was thinking about making a Refiner + Repairman , because many Servers just need a Refiner + Repairman for the Players to upgrade their items. This Refiner/Repairman ( I call it Smith) Refines the complete Equipment to +10 and repairs all broken items in the inventory of a Player. Do not do the following: - Claim my Work as yours - Download the Script and edit the Name to your name and release it again. - Use it without having the Credits at the top of the Script. - Editing the Script and removing my name from the Script. You are allowed to do this : - Edit the Script ,but you have to add my name at the top of the Script. - Download the Script and use it for your Server Thank you. Script V 1.1 : - http://pastebin.com/RQkvaSRq - Refiner_Repairman2.txt - Codebox //#####################################################################//# #//# ##### # ######## # # ##### ## # # #//# # ### ## # # # # # # ### #//# #### # # ## ###### #### # # # # # #//# # ####### ## # # # # # # ####### #//# ##### # # ## # # ##### # ## # # #//# #//#####################################################################////=========== Script for eAthena Users ====================////= Refiner and Repairman made by Rikimaru on eathena .net=////=========================================================////======== Description ====================================////== Easy made Refiner with Repairman for new eAthena =====////== Users. Please do not remove theese Credits ===========////== Refines the complete Equipment to +10 and repairs ====////== All broken items in the Players inventory ============////================= Version : =============================////============= V. 1.0 Bug Fixes by Rikimaru ==============////=========== Credits End =================================////////===================== Script of Smith/Repairman =========//MAP_NAME,XXX,YYY,5 script Smith 63,{mes "[smith]";mes "Hi,I can Refine your";mes "Equipment to +10";mes "or Repair your";mes "Equipment.Also I'm able";mes "to Derefine your Equipment.";mes "What do you want from me?";next;switch(select("I want a Repair:I want a Refine:I want a Derefine:Nothing")) {case 1:mes "[smith]";mes "Okay I'm going to repair";mes "your Equipment.";next;while (getbrokenid(1)) {repair(1);set .@i, .@i +1;}if (.@i) dispbottom .@i + " items repaired.";mes "[smith]";mes "Congrats!Enjoy!";close;end;case 2:mes "[smith]";mes "Okay I'm going";mes "to refine your Equipment";mes "to +10,Thx for using my Service!";next;for(set @part,1;@part<11;set @part,@part+1)if(getequipisequiped(@part))while(getequiprefinerycnt(@part) < 10)successrefitem @part;mes "[smith]";mes "Congrats Enjoy it!";close;end;case 3:mes "[ Smith ]";mes "Okay I'm going to Derifne your Equipment now. You need 10.000 Zeny for that.";next;setarray .@a[1],256,16,32,2,4,64,8,128,512,1;select(getequipname(1),getequipname(2),getequipname(3),getequipname(4),getequipname(5),getequipname(6),getequipname(7),getequipname(8),getequipname(9),getequipname(10));if ( !getequipisequiped(@menu) ) {mes "[ Smith ]";mes "There's nothing equipped there...";close; }if ( zeny < 10000 ) {mes "[ Smith ]";mes "You don't have enough zeny";close; }if ( getequiprefinerycnt(@menu) > 10 || getequiprefinerycnt(@menu) == 0 ) {mes "[ Smith ]";mes "This item cannot be de-refine.";close; }atcommand "@refine "+ .@a[@menu] +" -10";set zeny,zeny - 10000;mes "[ Smith ]";mes "Your item has de-refined successfully";close;case 4:mes "[ Smith ]";mes "Okay,come back when you need me.";close;}}[/codeBOX] Screenshot : Thank you,comments allowed and I hope that I help some players with this. Yours, ~ Rikimaru Edited November 27, 2011 by Rikimaru Quote
Rikimaru Posted November 27, 2011 Author Posted November 27, 2011 - Update - I thought of making a Derefiner,now I added the Derifiner into the Refiner/Repairman Script. Updated first post. Quote
Rikimaru Posted November 28, 2011 Author Posted November 28, 2011 Yes,the Equipment won't break. ^^ Quote
YouDie Posted December 18, 2011 Posted December 18, 2011 Yes,the Equipment won't break. ^^ ) Sorry if I asked to request on you're topic Can you make one Refiner but the safest is only +7 and once they input 8 up to 10 have chance to destroy the item . Thanx in advance cause you're Script is Safe till +10 ayt ? ) Quote
OnNplay Posted January 10, 2012 Posted January 10, 2012 @Rikimaru Thanks for the NPC script. Please make a refine amount selectable with some charge / price for it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.