DeYaN. 29 Posted May 12, 2020 Share Posted May 12, 2020 (edited) Hello there , this bug is working on the majority serverfiles , and i don`t find the solution .. So,let`s say that we want to do a DUEL ( 1-1) . And i have a bracelet without PV but with good bonuses and a bracelet only with pv. Before we start the duel ,we equip the bracelet with pv ,waiting for it to fill and after that we equip the bracelet without pv. And now,for this duel .. we have the good bonsues + PV , PS, sry for my language. Edited August 26, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
DeYaN. 29 Posted May 13, 2020 Author Share Posted May 13, 2020 up? Link to comment Share on other sites More sharing options...
PeaceMaker 121 Posted May 13, 2020 Share Posted May 13, 2020 Would be nice if you'd take a gif or a short video to show how this happens Link to comment Share on other sites More sharing options...
ridetpro 116 Posted May 13, 2020 Share Posted May 13, 2020 (edited) // Search char_item.cpp if (item1->EquipTo(this, bEquipCell)) item2->AddToCharacter(this, TItemPos(INVENTORY, bInvenCell)); else sys_err("SwapItem cannot equip %s! item1 %s", item2->GetName(), item1->GetName()); Replace if (item1->EquipTo(this, bEquipCell)) { item2->AddToCharacter(this, TItemPos(INVENTORY, bInvenCell)); item2->ModifyPoints(false); ComputePoints(); } else { sys_err("SwapItem cannot equip %s! item1 %s", item2->GetName(), item1->GetName()); } I am not sure if it's the same bug i had few years ago, but looke like you have an issue with item swap like i had.. So try my fix 4 years old video Edited May 13, 2020 by ridetpro 2 Link to comment Share on other sites More sharing options...
DeYaN. 29 Posted May 14, 2020 Author Share Posted May 14, 2020 16 hours ago, ridetpro said: // Search char_item.cpp if (item1->EquipTo(this, bEquipCell)) item2->AddToCharacter(this, TItemPos(INVENTORY, bInvenCell)); else sys_err("SwapItem cannot equip %s! item1 %s", item2->GetName(), item1->GetName()); // Search char_item.cpp if (item1->EquipTo(this, bEquipCell)) item2->AddToCharacter(this, TItemPos(INVENTORY, bInvenCell)); else sys_err("SwapItem cannot equip %s! item1 %s", item2->GetName(), item1->GetName()); Replace if (item1->EquipTo(this, bEquipCell)) { item2->AddToCharacter(this, TItemPos(INVENTORY, bInvenCell)); item2->ModifyPoints(false); ComputePoints(); } else { sys_err("SwapItem cannot equip %s! item1 %s", item2->GetName(), item1->GetName()); } if (item1->EquipTo(this, bEquipCell)) { item2->AddToCharacter(this, TItemPos(INVENTORY, bInvenCell)); item2->ModifyPoints(false); ComputePoints(); } else { sys_err("SwapItem cannot equip %s! item1 %s", item2->GetName(), item1->GetName()); } I am not sure if it's the same bug i had few years ago, but looke like you have an issue with item swap like i had.. So try my fix 4 years old video That`s the bug and that's the fix. Thx you very much ! It`s working wonderful ! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now