Jump to content

Recommended Posts

  • Bot
This is the hidden content, please

Alternative download links → 

This is the hidden content, please

 

 

Hello Metin2 Dev.
I'm here to present a Portable Shop System.

How does it work?

  • Players get a panel when click F7 with several options.
  • This system exists to make players able to buy items while farming.

In case of any problem, contact me or write here.

With best regards, Doose.

Spoiler

spacer.png

 

  • Metin2 Dev 35
  • kekw 1
  • Lmao 1
  • Good 2
  • Love 20

english_banner.gif

Link to comment
https://metin2.dev/topic/31972-portable-shop/
Share on other sites

  • Bot
14 minutes ago, Filachilla said:

Yes, thats my idea.. ? I think it would be better when its not just totally free like press button.. ?

I see, here is a simple and fast way to do it (With the system installed).

Spoiler

ROOT:

Spoiler

Inside Game.py search for:

def __ServerCommand_Build(self):

After:

"MyShopPriceList"        : self.__PrivateShop_PriceList,

Add:

"portable_shop"        : self.portable_shop,

 

Add at EOF:

    def portable_shop(self):
        self.interface.PortableShop()

 

Spoiler

Quest:

Spoiler

quest random begin

state start begin

when itemvum.use with pc.get_level() < 20 begin --This pc.get_level() < 20 is a simple conditionm, you can remove if you want.

cmdchat("portable_shop")

end

end

end

 

 

With best regards, Doose.

Edited by Doose
  • Metin2 Dev 2
  • Love 1

english_banner.gif

Link to comment
https://metin2.dev/topic/31972-portable-shop/#findComment-162105
Share on other sites

  • 9 months later...
  • Active Member

In case you use Mali's Remote Shop System:

uiinventory.py search for:

def UseItemSlot(self, slotIndex):

under 

slotIndex = self.__InventoryLocalSlotPosToGlobalSlotPos(slotIndex)

add

        if player.GetItemIndex(self.__InventoryLocalSlotPosToGlobalSlotPos(slotIndex)) == vnumitem:
            self.interface.OpenRemoteShop()
            return

 

replace vnumitem with your own vnum

Link to comment
https://metin2.dev/topic/31972-portable-shop/#findComment-167544
Share on other sites

  • 1 year later...

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.