Jump to content

Fix MoveItem Dupe Bug


Metin2 Dev

Recommended Posts

  • Bot

Hello,

Most of you maybe know the exploit in combination with inventory sorting and channel changer, but it's also possible with a small script and no other systems involved.

Thanks to Fliegex3 / Colossus.

 

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

char_item.cpp

in

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

find

if (!IsValidItemPosition(DestCell))
{
	return false;
}

add

if (Cell.cell == DestCell.cell)
	return false;

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 11
  • Think 2
  • Good 5
  • Love 1
  • Love 11

english_banner.gif

Link to comment
Share on other sites

  • 1 year later...
  • Active+ Member
On 9/3/2021 at 7:43 PM, Metin2 Dev said:

Hello,

Most of you maybe know the exploit in combination with inventory sorting and channel changer, but it's also possible with a small script and no other systems involved.

Thanks to Fliegex3 / Colossus.

 

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

char_item.cpp

in

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

find

if (!IsValidItemPosition(DestCell))
{
	return false;
}

add

if (Cell.cell == DestCell.cell)
	return false;

 

it causes bugs with Switchbot System. You can't place items in switchbot from inventory.

spacer.png

Link to comment
Share on other sites

  • 3 weeks later...

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.