qTupeu
-
Posts
3 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by qTupeu
-
-
Hello. I have a bug to chat, that you put an item on chat put everything ok but when I click on that item to see bonuses such as not working.
In syserr is blank.syserr:
1214 15:58:46078 :: Traceback (most recent call last): 1214 15:58:46078 :: File "game.py", line 1594, in OnMouseLeftButtonUp 1214 15:58:46078 :: File "interfaceModule.py", line 409, in MakeHyperlinkTooltip 1214 15:58:46078 :: File "uiToolTip.py", line 1955, in SetHyperlinkItem 1214 15:58:46079 :: File "uiToolTip.py", line 1050, in AddItemData 1214 15:58:46079 :: File "uiToolTip.py", line 1751, in __AppendMetinSlotInfo 1214 15:58:46079 :: File "uiToolTip.py", line 1762, in __AppendMetinSlotInfo_IsEmptySlotList 1214 15:58:46080 :: IndexError 1214 15:58:46080 :: : 1214 15:58:46080 :: list index out of range 1214 15:58:46080 ::
-
Hey Dev´s
I implemented this line in instancebase.cpp :
Spoilervoid CInstanceBase::SetAcce(DWORD eAcce)
{
if (IsPC() == false)
return;
//__ClearAcceRefineEffect();
//long lAbsChance = 0;
//float fSpecularPower = 0.0f;
//int iItemIndex = CPythonPlayer::Instance().GetItemIndex(TItemPos(INVENTORY, c_Costume_Slot_Acce));
//if (iItemIndex > 0)
//{
// CItemManager::Instance().SelectItemData(iItemIndex);
// CItemData * pItemData = CItemManager::Instance().GetSelectedItemDataPointer();
if (pItemData->GetType() == CItemData::ITEM_TYPE_COSTUME && pItemData->GetSubType() == CItemData::COSTUME_ACCE)
// {
// fSpecularPower = pItemData->GetSpecularPowerf();
// lAbsChance = CPythonPlayer::Instance().GetItemMetinSocket(TItemPos(INVENTORY, c_Costume_Slot_Acce), 1);
// if (lAbsChance >= 19)
// {
// m_acceEffect = EFFECT_REFINED+EFFECT_ACCE_SPECIAL;
// __EffectContainer_AttachEffect(m_acceEffect);
// }
// }
//}
m_awPart[CRaceData::PART_ACCE] = eAcce;
m_GraphicThingInstance.SetAcce(eAcce);//if (lAbsChance >= 19)
//{
// m_GraphicThingInstance.SetAcce(eAcce, fSpecularPower);
//}
//else
//{
// m_GraphicThingInstance.SetAcce(eAcce);
//}
}and receive the following error:
Spoiler1 IntelliSense: identifier "pItemData" is undefined d:\mega\majcher\klient\userinterface\instancebase.cpp 2635
2 IntelliSense: more than one instance of overloaded function "CActorInstance::SetAcce" matches the argument list: d:\mega\majcher\klient\userinterface\instancebase.cpp 2648Can someone help me to implement shoulder sash system?
New item type and equip them
in Community Support - Questions & Answers
Posted
Hello.
Does anybody have a tutorial to create new item type and equip them?
i tried something, I created item type but i can't equip them.