Jump to content

BUG - ITEM exceeds the INVENTORY_MAX_NUM


Recommended Posts

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
  • Sad 1
  • Lmao 1
  • Love 1
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.