Search char_item.cpp ITEM_BLEND :
replace with this.
Code:
case ITEM_BLEND:
sys_log(0,"ITEM_BLEND!!");
if (Blend_Item_find(item->GetVnum())) {
int affect_type = AFFECT_BLEND;
if (item->GetSocket(1) >= _countof(aApplyInfo)) {
sys_err ("INVALID BLEND ITEM(id : %d, vnum : %d). APPLY TYPE IS %d.", item->GetID(), item->GetVnum(), item->GetSocket(0));
return false;
}
int apply_type = aApplyInfo[item->GetSocket(1)].bPointType;
int apply_value = item->GetSocket(2);
int apply_duration = item->GetSocket(3);
if (FindAffect(affect_type, apply_type)) {
if(!m_bIsLoadedAffect) {
Chat Packet(CHAT_TYPE_INFO, LC_TEXT("Nu poti face asta."));
return false;
}
} else {
AddAffect(affect_type, apply_type, apply_value, 0, apply_duration, 0, false);
item->SetCount(item->GetCount() - 1);
}
}
break;
One friend said me to fix.
I don't really understand the bug, but test for me.
If u like thanks button.






