MrNobody Posted May 11, 2023 Posted May 11, 2023 Hi all, may I request a Identify npc for my server use. Im not good on scripting too new to this. Identify NPC function:- - Identify item with cost per item. - easy to edit the cost. - simple dialog. Thank you. Quote
1 hendra814 Posted May 11, 2023 Posted May 11, 2023 Just now, MrNobody said: Cool it works fine. But can you explain the npc function for me? @hendra you can use identify the item with Deckard Cain without quest first with price 50z for each item. but if you complete quest first with NPC Kashya, you will get free cost how many item you bring in your inventory. Quote
0 Sallycantdance Posted May 11, 2023 Posted May 11, 2023 42 minutes ago, MrNobody said: Hi all, may I request a Identify npc for my server use. Im not good on scripting too new to this. Identify NPC function:- - Identify item with cost per item. - easy to edit the cost. - simple dialog. Thank you. Quote prontera,164,170,3 script Identifier 831,{ set .@n$,"^0000FF[ Identifier ]^000000"; mes .@n$; mes "Hello "+strcharinfo(0)+",for 100"; mes "Zenny I'm going to identify"; mes "all items in your inventory."; next; mes .@n$; mes "Do you want me to Identify your Items?"; next; switch(select("Yes:No")) { case 1: if(Zeny < 100) { mes .@n$; mes "Sorry,but you don't have enough Zeny!"; close; } mes .@n$; mes "Okay identifying!"; set Zeny,Zeny - 100; getinventorylist; for( set .@i,0; .@i < @inventorylist_count; set .@i, .@i + 1 ) { if ( @inventorylist_identify[.@i] == 1 ) continue; delitem2 @inventorylist_id[.@i],1,0,0,0,0,0,0,0; getitem @inventorylist_id[.@i],1; } case 2: close; } } Quote
0 MrNobody Posted May 11, 2023 Author Posted May 11, 2023 24 minutes ago, GM Winter said: @GM Winter Thanks for your fast respond. But this wasn't the identify npc that I'm looking for. Because this npc only pays one time for the identify service and It also bugged even u dont have any item need to identify that npc still deduct your zeny btw. What I need is cost charges per item not per service. Quote
0 hendra814 Posted May 11, 2023 Posted May 11, 2023 Try this, include quest to get cheaper price at this part // Prices set @price, 50; // Price to identify one item, BEFORE finishing quest set @price2, 0; // Price to identify one item, AFTER quest identification.txt 1 Quote
0 MrNobody Posted May 11, 2023 Author Posted May 11, 2023 3 minutes ago, hendra814 said: Try this, include quest to get cheaper price at this part // Prices set @price, 50; // Price to identify one item, BEFORE finishing quest set @price2, 0; // Price to identify one item, AFTER quest identification.txt 8.19 kB · 0 downloads Cool it works fine. But can you explain the npc function for me? @hendra Quote
0 MrNobody Posted May 12, 2023 Author Posted May 12, 2023 On 5/11/2023 at 4:05 PM, hendra814 said: you can use identify the item with Deckard Cain without quest first with price 50z for each item. but if you complete quest first with NPC Kashya, you will get free cost how many item you bring in your inventory. Ahh.... Thank you for the explain in details... xD Quote
Question
MrNobody
Hi all, may I request a Identify npc for my server use. Im not good on scripting too new to this.
Identify NPC function:-
- Identify item with cost per item.
- easy to edit the cost.
- simple dialog.
Thank you.
6 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.