charon Posted June 20, 2012 Posted June 20, 2012 (edited) Can Any One Give Me Simple Item Identifier Npc Script Edited June 21, 2012 by charon Quote
1 EvilPuncker Posted June 20, 2012 Posted June 20, 2012 something like this http://pastebin.com/raw.php?i=R9w6K7L3 Quote
1 Rikimaru Posted June 20, 2012 Posted June 20, 2012 This is the one I use on my Test Server : http://upaste.me/3065505f1e2d6f8 Quote
1 Euphy Posted July 1, 2012 Posted July 1, 2012 @patr3k: This is the script I use (it's included in my All-In-One NPC): <header> { set .@Price, 100; // Zeny per identify getinventorylist; for(set .@i,0; .@i<@inventorylist_count; set .@i,.@i+1) { if (@inventorylist_identify[.@i]) continue; if (Zeny < .@Price) { dispbottom "It costs "+.@Price+" to identify an item."; break; } set Zeny, Zeny-.@Price; delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0; getitem @inventorylist_id[.@i],1; setarray .@Total[0], .@Total[0]+1, .@Total[1]+.@Price; } if (!.@Total[0]) { message strcharinfo(0),"No items identified."; end; } specialeffect2 154; message strcharinfo(0),"Identified "+.@Total[0]+" items"+((.@Total[1])?" for "+.@Total[1]+" Zeny":"")+"."; end; } Quote
0 Quesooo Posted August 1, 2017 Posted August 1, 2017 i use this script on my server but when players get bulk of crimson unidentified weapons all of them dont have elements but when they use merchant skill and magnifiers the elements is there what should be the fix magnifier npc? Quote
patr3k Posted July 1, 2012 Posted July 1, 2012 @Rikimaru About the Identifier your using, hmmm.. i tried using yours but there's a bug. Even if i dont have item/s to identify. It still charged me 100. Is possible to trap that bug? For example, if you don't have items/s to identify, npc will say... sorry you dont have item/s to identify. Something like that. Quote
patr3k Posted July 1, 2012 Posted July 1, 2012 @Euphy Thanks alot. I will try yours. But where can i set the price? LOL! Sorry... Quote
patr3k Posted July 1, 2012 Posted July 1, 2012 Oh f**k i didnt saw that. hahahaha. sorry im a bit sleepy. Thanks again Quote
Question
charon
Can Any One Give Me Simple Item Identifier Npc Script
Edited by charon9 answers to this question
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.