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

Official Inventory Expansion


Recommended Posts

  • Honorable Member
1 hour ago, AlexKenT said:

Nice, thanks :)

:) 

Don't miss update

#Update missing codes:

uiiventory.py:

Find

def SetEquipmentPage(self, page):
        self.equipmentPageIndex = page
        self.equipmentTab[1-page].SetUp()
        self.RefreshEquipSlotWindow()

Add;

https://paste2.org/mJgPFLxK

  • Metin2 Dev 1
  • Love 2
Link to comment
Share on other sites

  • Premium

@Mali61 Hey man, I got the bug, I'm using source with 5 inventory pages and the system doesn't work good.

You can see 3rd page of inventory which is locked and 4th page of inventory is locked too, but 5 inventory page is bugged. 

 

I'll be always helpful! 👊 

Link to comment
Share on other sites

  • Honorable Member
28 minutes ago, ReFresh said:

@Mali61 Hey man, I got the bug, I'm using source with 5 inventory pages and the system doesn't work good.

You can see 3rd page of inventory which is locked and 4th page of inventory is locked too, but 5 inventory page is bugged. 

0315_213427.jpg

Isn't bug this codes for 4 inventory

Link to comment
Share on other sites

  • Honorable Member
7 hours ago, ReFresh said:

@Mali61 Can you edit the code for 5 inventory pages? Or you're only reposter of this release?

come on dude, this system coded by me.

You can edit for 5 inventory.Simple

Link to comment
Share on other sites

1 bug found :)

Search in:

bool CHARACTER::MoveItem(TItemPos Cell, TItemPos DestCell, BYTE count)

this:

if (DestCell.cell >= (90 + (5*Black_Envanter())))

and replace with:

if (INVENTORY == Cell.window_type && DestCell.cell >= (90 + (5*Black_Envanter())))

 

Problem solved. (this is for alchemy system)

Link to comment
Share on other sites

  • Honorable Member
1 hour ago, AlexKenT said:

1 bug found :)

Search in:

bool CHARACTER::MoveItem(TItemPos Cell, TItemPos DestCell, BYTE count)

this:

if (DestCell.cell >= (90 + (5*Black_Envanter())))

and replace with:

if (INVENTORY == Cell.window_type && DestCell.cell >= (90 + (5*Black_Envanter())))

 

Problem solved. (this is for alchemy system)

I missed thanks

Link to comment
Share on other sites

20 hours ago, Chris90909090909090 said:

belt system is bugged belt inventory is locked

So.

First search in char_item.cpp:

if (INVENTORY == Cell.window_type && DestCell.cell >= (90 + (5*Black_Envanter())))

and replace with:

if (INVENTORY == Cell.window_type && DestCell.cell >= (90 + (5*Black_Envanter())) && !DestCell.IsBeltInventoryPosition())

 

Edited by AlexKenT
PROBLEM SOLVED
Link to comment
Share on other sites

  • Honorable Member
2 hours ago, AlexKenT said:

So.

First search in char_item.cpp:

if (INVENTORY == Cell.window_type && DestCell.cell >= (90 + (5*Black_Envanter())))

and replace with:

if (INVENTORY == Cell.window_type && DestCell.cell >= (90 + (5*Black_Envanter())) && !DestCell.IsBeltInventoryPosition())

 

only remove this code not edit

#update for belt

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
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Activity

    1. 0

      How to fix this?

    2. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    3. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    4. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    5. 0

      Some mobs dont drop items

    6. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    7. 691

      [Group] Daily Music - Share your favorite!

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.