Jump to content
×
×
  • Create New...
  • 0

Shop Size problem


Mano

Question

  • Premium

today i was trying to fix the shop problem

i had done this steps

 

Go to common folder and the edit length.h , like this:

 

    SHOP_HOST_ITEM_MAX_NUM    = 80,
    SHOP_PRICELIST_MAX_NUM    = 80,

 

To:

 

    SHOP_HOST_ITEM_MAX_NUM    = 40,
    SHOP_PRICELIST_MAX_NUM    = 40,

 

After you made that go to shop.cpp from game folder and edit like this:

 

m_pGrid = M2_NEW CGrid(10, 9);

 

To:

 

m_pGrid = M2_NEW CGrid(5, 9);

 

And the last step is going to shop_manager.cpp and edit like this:

 

CGrid grid = CGrid(10, 9);

 

To:

 

CGrid grid = CGrid(5, 9);

but it is not fixed yet

 

here is a screenshot

 

http://prntscr.com/7ycxv0

 

waiting for your help

 

kind regards

Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
  • Premium

i even didn't understand which bug u try to fix ?

u made the 80 slot and now want it 40 slot ?

if this what u want to do then do like night said get back the original files ( source/python)

If you're going to do something, then do it right.

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


  • Read our Rules
  • Activity

    1. 0

      Need help with a small function

    2. 0

      How to Delay quest

    3. 0

      After choosing a character, it throws it at the login screen.

    4. 0

      Bonus Board Official like

    5. 0

      [ERROR] unfinished string , ranking quest .

    6. 0

      experience 0

  • Recently Browsing

    • No registered users viewing this page.

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.