Jump to content

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Contributor

You have 3 errors (all AttributeErrors), the first of which is: 'module' object has no attribute 'OFFLINE_SHOP_SLOT_COUNT' the root of the problems.

So, in the uiOfflineShop.py's Refresh function, you used the OFFLINE_SHOP_SLOT_COUNT attribute and that does not exist. Check the tutorial agin and find out if OFFLINE_SHOP_SLOT_COUNT is included. It will be there, because I have installed Ken's offshop about 3 times so far. It's a simple constant, found in PythonShop.cpp.

PyModule_AddIntConstant(poModule, "OFFLINE_SHOP_SLOT_COUNT", OFFLINE_SHOP_HOST_ITEM_MAX_NUM);

You don't have to deal with errors number 2 and 3 for the time being, because they were only caused by this, if you fix this OFFLINE_SHOP_SLOT_COUNT, they will also disappear.

Link to comment
https://metin2.dev/topic/30901-offline-shop-problem/#findComment-157893
Share on other sites

  • 2 weeks later...
  • Premium
2 minutes ago, mellow2ghost said:

Don't use this shop, it's cursed ?

Edited by Metin2 Dev International
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/30901-offline-shop-problem/#findComment-158030
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.