Jump to content

Offline Shop (Limit stack item max)


Recommended Posts

Hello. Hi everone i just came accros a problem when i try to sell item that is more than 1000, my frind lookt at the items in shop they see that is only 232.can some help out with this problem.

I change in offlineshop_config.cpp:
ITEM_MAX_COUNT = 200,
to
ITEM_MAX_COUNT = 1000,

And on navicat in offline_shop_item:
`count` tinyint(3)
to
`count` int(3)

 

 

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • 5 years later...
On 9/30/2016 at 10:32 PM, BackPlayer said:

check offlineshop files on source and you i think that you have change type of var on packet etc.. if you search little you will do it.I fix it allone on my server.

Hi i changed somethings and i can see in offlineshop 1000 but another player when buy them they are 232 stack i try to research in source but i don't have so much experience and didn't figured out how to fix this i really need help i've done everything to work fine just that's the problem

On 10/1/2016 at 3:05 AM, ShadowsPR0 said:

Change in navicat from tinyint 3 to int 4 or 5.

Also in offlineshop_config.h search "extern BYTE g_bItemCount;" and change to "extern int g_bItemCount;"

If you know the solution in my above quote reply please.

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.