Jump to content

Problem after incrase Safebox and Inventory Page Size


Recommended Posts

Hallo m2 Dev Com,


i have incrased my Inventory and normal Safebox Pagesize:


Inventory 5*9*4 -> 7*9*4

Safebox 5*9*3 -> 9*9*3


To do that, i have changed in my Server Source this Contents:


int p = wCell + (i * 7)

on case Inventory and Equipment



CGrid grid(9, MAX(1, pi->pSafebox->bSize) * 9);



#define SAFEBOX_MAX_NUM			243


safebox.cpp (all):

m_pkGrid = M2_NEW CGrid(9, m_iSize);




In the Client i have do the Same Way, i have replaced some Inventory Grids in Client and Server with my new. I have choosen the max possible Grid's under 255.

In Inventory i have 252 Slots.


Now my Problem is. After i put a Item into the Safebox or take one from them, then i got a Kick to Login.

The next Problem is, after i change my Equipment, nothing happens and my item on the first slot will change to the slot from the weapon.


In my serverside syserr is follow Content after Safebox Kick:

SYSERR: Oct 13 23:14:38 :: SetItem: Invalid Inventory type 0
SYSERR: Oct 13 23:14:38 :: Process: SEQUENCE 35319c00 mismatch 0x4e != 0x1 header 71
SYSERR: Oct 13 23:14:38 :: Process: SEQUENCE_LOG [Endless]-------------


My Clientside syserr contains only:

CMapOutdoor::Load - LoadMonsterAreaInfo ERROR



Can someone help me? What is my Misstake?


With kind Regards, BlackEndless 🙂

All my Releases are stored on epvp ^-^

Link to comment
Share on other sites

Change the size of any field sense safebox, inventory, dragonsoul, take much more code than that will make. Take the tutorial indicate for LordZiege:

Dependes how many slots do you want to do, you must to change variable type in soucer game, db and binary, DataBase fields, and client side changes to.

I make my own changes in safebox, now i have 6 pages of 9x5 slots any, 270 slots, i dont chance my inventory, but takes similars steps. 

If yu want help, PM me.

  • Good 1
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

  • Similar Content

  • Activity

    1. 20

      Item ToolTip Width Fix

    2. 4

      Connection problem

    3. 1276

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 1276

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    5. 1276

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    6. 1

      Sanii Switchbot problem

    7. 4

      Connection problem

    8. 1

      Maintenance System (For P2P)

  • Recently Browsing

    • No registered users viewing this page.
  • 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.