Jump to content

Official Inventory Expansion


Recommended Posts

  • Honorable Member

M2 Download Center

This is the hidden content, please
( Internal )

This is the hidden content, please
( GitHub )

 

Spoiler

 

Spoiler

 

 

  • Metin2 Dev 248
  • kekw 2
  • Eyes 3
  • Dislove 5
  • Angry 3
  • Not Good 1
  • Sad 1
  • Cry 2
  • Smile Tear 1
  • Think 4
  • Confused 2
  • Scream 3
  • Lmao 1
  • Good 100
  • muscle 1
  • Love 19
  • Love 146

 

Link to comment
Share on other sites

  • 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

  • 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

  • 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

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.