Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

BUG - ITEM exceeds the INVENTORY_MAX_NUM


damzaffari

Question

Hi guys, im Brazilian, so... sorry my bad English.

I'm are having problems in my server/client with the INVENTORY_MAX_NUM, that seems no limiting the items on INVENTORY CELLS
When the storage get the limit, the items appear on the EQUIPMENT CELLS.

IMAGE

Spoiler

spacer.png

 

The client get BUG because the item image don't get off of the cell where he is created and the core syserr output the fallowing lines when i move the item from EQUPMENT CELL to INVENTORY CELL.

SERVER
SYSERR: Aug 17 17:00:05 :: RemoveFromCharacter: CItem::RemoveFromCharacter: Invalid Item Position

CLIENT DEBUG
CPythonPlayer::GetStatus - Get Status Type Error
CPythonPlayer::GetStatus - Get Status Type Error
CPythonPlayer::GetStatus - Get Status Type Error
CPythonPlayer::GetStatus - Get Status Type Error
CPythonPlayer::GetStatus - Get Status Type Error
ENABLE_NEW_EQUIPMENT_SYSTEM 201 0 0
ENABLE_NEW_EQUIPMENT_SYSTEM 202 0 0
ENABLE_NEW_EQUIPMENT_SYSTEM 203 0 0
ENABLE_NEW_EQUIPMENT_SYSTEM 201 0 0
ENABLE_NEW_EQUIPMENT_SYSTEM 202 0 0
ENABLE_NEW_EQUIPMENT_SYSTEM 203 0 0

SOURCE ARCHIVES:

Spoiler

Pastebin Password: Gtws1VkZrb

SERVER SIDE
length.h - https://pastebin.com/j4fcpt9k
char_Item.cpp - https://pastebin.com/66m2ZMQe
item.cpp - https://pastebin.com/yszTdbJL

CLIENT SIDE
gameType.h - https://pastebin.com/5a7FivXA
gameType.cpp - https://pastebin.com/sxwgSvKx
PythonPlayer.cpp - https://pastebin.com/PBv1ECGY
PythonPlayerModule.cpp - https://pastebin.com/ATUJmKPz

I Revised the code, but not find where the problem are produced.

I Appreciate any help you can do.

Thanks in advance

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

2 answers to this question

Recommended Posts

  • 0
  • Premium

Hi,

Please use Pastebin for your C++ code.

This post has been censored due to using a lot of C++!

Have a nice day,

Forum Bureau of Investigation

PeriodWars

release kraken GIF

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


  • Activity

    1. 1

      Costume shining/costume effect system

    2. 992

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

    3. 3

      Biologist Manager (C++ & LUA)

    4. 3

      Visual studio 2022 compiling issue

    5. 63

      Metin2 | Mount System Renewal

    6. 58

      Metin2 2004 Beta Client

    7. 0

      🔥Paradise2 PVP SERVER GLOBAL!! EN-ES-PT 🕐📢Apertura 11 de diciembre 21 horas de España!

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