Jump to content

inventory problem


Recommended Posts

hi, when i try to get an item from the ground or even with /i it says my inventory it s full.. i was lookin into char_item but all seems to be fine..

https://metin2.download/picture/T9Q45hyw86tYSz966EmvEiSzfp55AOAt/.gif

https://metin2.download/picture/E33D20QDZ3eW4XOEnAQ6E89P2GsZsgo1/.gif

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

  • Active Member

Hello!! this problem is from char.cpp because you need change a value, if you use special storage, you can't use Byte, you cand put your char_item.cpp ? 🙂

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
Share on other sites

  • Active Member
5 hours ago, ddar said:

https://pastebin.com/fUrhz7xu  char_item.cpp 

gracias por el consejo, buscaré char.cpp para ver qué puedo hacer

hello sorry to reply late,

open char_item.cpp and search;

Spoiler

bool CHARACTER::IsEmptyItemGrid(TItemPos Cell, BYTE bSize, int iExceptionCell) const

change this:

Spoiler

switch (Cell.window_type)

{

case INVENTORY:

{

BYTE bCell = Cell.cell;

to this:

Spoiler

    switch (Cell.window_type)
    {
    case INVENTORY:
        {
            int bCell = Cell.cell;

now you have fix problem 🙂

  • Good 1

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
Share on other sites

36 minutes ago, nazox said:

hello sorry to reply late,

open char_item.cpp and search;

  Hide contents

bool CHARACTER::IsEmptyItemGrid(TItemPos Cell, BYTE bSize, int iExceptionCell) const

change this:

  Hide contents

switch (Cell.window_type)

{

case INVENTORY:

{

BYTE bCell = Cell.cell;

to this:

  Hide contents

    switch (Cell.window_type)
    {
    case INVENTORY:
        {
            int bCell = Cell.cell;

now you have fix problem 🙂

MAN... thank u so much dude, the problem has been solved! Thank u bro again.. God bless u !

  • Love 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

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.