Jump to content
×
×
  • Create New...

Offline Shop (Premium Private Shop)


Recommended Posts

  • Sun

M2 Download Center

Download Here ( Internal )

Hidden Content

    Give reaction to this post to see the hidden content.
( GitHub )

Offline Shop - Premium Private Shop System
 

Hi, due to lack of time, I hadn't shared, but ¡Hey!, I'm here and one more contribution.

 

The Official Servers have an Offline for few months ago, so I took on the task of making a similar one, It's not like Official Servers in a some parts of code I think, it does occupy designs and other things but in some issues it's different, but I used the rules that they use in terms of encoding.

 

I hope you like it, I tried that the Offline didn't occupy so many SQL sequences to minimize the load of SQL injections for the server and uses the same methods of the store and stores, don't create new files so that you can observe it.


I take this topic to indicate that I don't sell my things because some persons always end up filtering them and it makes me very lazy to think that, I'm selling and providing kind support to good people so that a bad one arrives and simply ends all that, I don't usually give support because I don't received anything... in Yohara's level system some people sent me a message to indicate that there was an error and it was always an error that they installed it wrong, look correctly at the guide and once for real believe that I omitted something in the guide, you can contact me and tell me to fix it, but if it's an installation error and I must install the system for you, I will charge you, I like to help, but I give you a guide so that it is only corrected what I omitted.

 

If you need me to connect it to your code or to add extra functions, I will still charge you, it's not much, it will simply be at your discretion and it will be a voluntary donation for me and my time, you will value how much you give me, it can be 1 EUR, 2 EUR, 3 EUR, 5 EUR I don't know (So I hope you make an effort, I already gave you the most complicated part, is to copy and paste code already done, including other parts for example like Safebox in Safebox part?), Some people were nice and some were not, so I decided to stop placing the rest of Yohara's patches for a few time.

 

I hope you like this, install, test and contact me if you detect an error, I already looked for and corrected everything I observed.

About memory leak - Doesn't have, I think 🤣.
Use WJ_ENABLE_TRADABLE_ICON (public system).
The default code in Python is Safebox to avoid code differences.
Among other things.
I use TRANSMUTATION like TRANSMUTATION, change it to Changelook, as I indicated in some parts of the guide where to change.

 

# Visual Parts

You can download the patches from the Official Servers in:

 

Gyazo:

 

https://gyazo.com/78855364374adbd827e03250d42e11fe
https://gyazo.com/9bd711c9036dcbf366b809b29011f7be

https://gyazo.com/a4bc0f6bfd1bf598aa41a065d423f006
https://gyazo.com/3400c136ba3fa40a4e6f546d1c22fe12

 

spacer.png

spacer.png

 

 

GitHub:

Hidden Content

    Give reaction to this post to see the hidden content.

 

 

  • Metin2 Dev 114
  • Eyes 1
  • Love 115
  • Love 11
  • Good 60
  • Lmao 2
  • Scream 2
  • Think 7
  • Smile Tear 1
  • Confused 2
  • Sad 1
  • Not Good 5
  • Dislove 2
Link to comment
Share on other sites

  • 3 weeks later...
20 hours ago, ilovegreendays said:

How to configure the duration and price of the shop? Other offlineshops you can modify in config

If I don't have any offlineshop in my files, does it do the same as the others or does it have any difference?

char.cpp

1A1Jx.png

the 86400 ist the time in seconds i think.

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...
  • 1 month later...
On 3/9/2021 at 12:04 PM, Kafa said:

@Mali61 Bro, could you give a small hint on how we can adapt your Shop Search into this Offline Shop? (You don't need to show everything, i just want to know how)

curious too! If you managed to do it please add me on discord. CRiQ#6969 . Thanks ❤️

Link to comment
Share on other sites

5 hours ago, CRiQ said:

curious too! If you managed to do it please add me on discord. CRiQ#6969 . Thanks ❤️

I'll answer you with that account, because i have no longer access to the other one, no i didnt. But i deleted this system because a great developer said it isnt good. I'm currently waiting for someones premium private shop i'll buy.

  • Lmao 1
Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • 2 weeks later...
  • 3 weeks later...

Go to safebox.cpp, search CSafebox::MoveItemPremiumPrivateShop an replace pShop->BroadcastUpdateItem(bCell); with pShop->BroadcastUpdateItem(bDestCell);

Edited by DDC
Link to comment
Share on other sites

  • 1 month later...

The system is great ! But, it has a problem. When you close and reopen the server all the shops disappear with all the items. After reboot, u can't access the old items and can't create a new shop because of the old items. After problem, the shop doesn't destroy itself after it expires, maybe this is an error made by me, but the first not. I will test more and come back with info.

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
  • 2 weeks later...

how can i stop the auto sorting :d when i open the shop?

and this cmd: 

{ "click_premium_private_shop",        do_click_premium_private_shop,            0,            POS_DEAD,    GM_IMPLEMENTOR    },

why GM_IMPLEMENTOR ? 😄 

Edited by djmester
Link to comment
Share on other sites

  • 1 month later...
On 12/6/2021 at 6:23 AM, vladu3007 said:

The system is great ! But, it has a problem. When you close and reopen the server all the shops disappear with all the items. After reboot, u can't access the old items and can't create a new shop because of the old items. After problem, the shop doesn't destroy itself after it expires, maybe this is an error made by me, but the first not. I will test more and come back with info.

this error is still present?
somebody else noticed that too?

Link to comment
Share on other sites

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


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.