Jump to content

Offline Shop problem


Recommended Posts

Hi devs, I have 2 problems with offlineshop, maybe some of you had this errors and maybe can point me in the direction of fixing them :

1.The first item when I create the offline shop npc is deleted and in mysql the vnum of that item goes to 0.

https://metin2.download/picture/3QJE6IA7p6Y9oyE1NtsqGWfvGOnvUfAX/.png

2.When i make a offline shop npc I get 2kkk gold from nothing.

https://metin2.download/picture/6UkJ6cmGtZYt85012a8rcNN5Ldkf0ClS/.gif

 

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Premium
8 hours ago, Tasho said:

this is my gold limit : GOLD_MAX = 1000000000000001LL,how should I make it work?

Ehm, tutorial by me :D ye? You need change some things in offlineshop files etc.
 

Spoiler

Example
    TPlayerItem item;
#ifdef ENABLE_MAXIMUM_YANG_FOR_OFFLINE_SHOP
    long long llPrice = 0;
#else
    DWORD dwPrice = 0;
#endif

 


 

Link to comment
Share on other sites

  • 3 years later...

I have the same problem how do i fix this?

On 4/22/2016 at 1:06 AM, Tasho said:

Hi devs, I have 2 problems with offlineshop, maybe some of you had this errors and maybe can point me in the direction of fixing them :

1.The first item when I create the offline shop npc is deleted and in mysql the vnum of that item goes to 0.

https://metin2.download/picture/3QJE6IA7p6Y9oyE1NtsqGWfvGOnvUfAX/.png

2.When i make a offline shop npc I get 2kkk gold from nothing.

https://metin2.download/picture/6UkJ6cmGtZYt85012a8rcNN5Ldkf0ClS/.gif

 

 

Did you fixed both problems?

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.