Jump to content
metin2dev
Mali61

c++ [RLS]Official Inventory Expansion

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

 

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
4 hours ago, Mali61 said:

come on dude, this system coded by me.

You can edit for 5 inventory.Simple

@Mali61 Sure, but I'm not a good programmer. I don't want to do some fault in the code.

  • Like 1

Share this post


Link to post
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)

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
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.

×