Jump to content
  • Join-Us

    https://metin2.dev is the 1st international community on Metin2 development. Join us to develop your skills and share your knowledge with the community, respectful and ethical forum.

  • 0

Add NPC Problem


LethalArms

Question

I've trying to add a Shop NPC (like  General Store Saleswomen) but with other itens, it will be basically the same as the normal store, but i can't find a way to do it, i tried to follow this topic:

but still wasn't able to do it, i edited the shop and shop_item table, created the quest and still nothing what am i missing?

quest especial3 begin
	state start begin
		when 9010.chat."Loja Especial 3" begin
			npc.open_shop(12)
			setskin(NOWINDOW)
		end
	end
end

In the player shop i have it like this:

VNUM     Name                       NPC_VNUM

12            Loja Especial 3         9010

In shop_item i have this:

SHOP_VNUM       ITEM_VNUM     COUNT

12                         50201                1

 

Also, i dont know if it matters but in the server file questnpc.txt i added this line:

9010 especial3

 

What am i doing wrong?

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.