Jump to content

Recommended Posts

Version of Files : zeta v3

hi there 

 

I want to ask how I can place a merchandise store inside a pet.
When I click on the pet, the store appears to me.

 

I tried it through NaviCat by taking the merchandise store number and placing it in the pet  code
However, it was not allowed because the store already exists,

in addition to that the pet number is higher than the number allowed in the NaviCat

 

Is there a Quest doing the thing?
If there is, I would like it, please

 

?

 

 

 

Edited by B7aR
.....
Link to comment
https://metin2.dev/topic/24392-shop-in-pet/
Share on other sites

You can do it by source code modification at server side.

You can make a quest function (lua) to send a shop open command by a shop id and you can add that function to the target pet's vnum in quest (lua).

  • Love 1

All wolves are gray in the dark.

Link to comment
https://metin2.dev/topic/24392-shop-in-pet/#findComment-130668
Share on other sites

  • Solution

just use it like:

quest pshop begin
	state start begin
		when 34006.click begin
			npc.open_shop(1001)
		end
	end
end

NOTE: the vnum in .click should be the mob vnum not the item because pet have 2 vnums

one for the item to summon the pet, and the second is for the pet itself

you have to use it for pet itself

 

  • Love 1
Link to comment
https://metin2.dev/topic/24392-shop-in-pet/#findComment-130676
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



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.