Jump to content

Recommended Posts

Hi guys,

I have bug with exchange.. Just for example:

Player1 giving in exchange window 4x arrow (4x1) - He do not manipulate with items in exchange.. This is impossible..  But he can manipulate with items without exchange window.. And thats my problem.. If they are players with same items like in exchange (now arrow) and drop arrow to the floor + now stack in inventory ->  accept button in exchange.. Player2 has all items (4x arrow + arrows from floor now stacked in inventory) I need block drop on the floor from my inventory if I use exchange with other players.. Anyone know part in source?

Thanks!


Edit: Fixed by yourself.. If anyone has same problem..

char_item.cpp this function:

bool CHARACTER::DropItem(TItemPos Cell, BYTE bCount)

Add after:

if (item->IsExchanging())
		return false;

This:

if (GetExchange())
	{
		ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can't drop an item if you're trading."));
		return false;
	}

Now you cant drop item to the floor if you has open exchange with player..

  • Love 1
Link to comment
https://metin2.dev/topic/20886-not-drop-item-with-exchange-bug/
Share on other sites

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.