Jump to content

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 445
  • kekw 3
  • Eyes 6
  • Flame 1
  • Dislove 6
  • Angry 3
  • Not Good 1
  • Sad 1
  • Cry 1
  • Smile Tear 1
  • Think 4
  • Confused 2
  • Scream 3
  • Lmao 1
  • Good 162
  • muscle 3
  • Love 38
  • Love 278

 

Link to comment
https://metin2.dev/topic/15244-official-inventory-expansion/
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

 

  • Active+ Member

@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!  😉

  • 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

 

  • 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

 

  • Active+ Member
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.

I'll be always helpful!  😉

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)

  • 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

 

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
  • 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

 

ty :)))))

 

 

 

last bug by me is 

 

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

 

this item Should disappear

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 2
  • Love 1

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.