Pánt[item_scale]

Indította POOWWA, 2019-10-01, 16:45:01

2019-10-01, 16:45:01 Utolsó szerkesztés: 2019-10-02, 13:49:26 Szerző: [SMOD]Ken
Hello szeretnék segitséget kérni mivel hiába állítgatom túl nagyok a pántok.
beraktam még 17.5 patch új pántjait és azoknál is ugyan az helyzet
Rendesen működnek csak a méretek nem az igaziak item_scale.txt csatolva.
Item_scale elérési útja: \locale_hu\locale\hu\item_scale.txt
syserr üres.

Előre is köszönöm.



PythonApplication.cpp
char szItemScale[256];
snprintf(szItemScale, sizeof(szItemScale), "%s/item_scale.txt", localePath);
if (!rkItemMgr.LoadItemScale(szItemScale))
Tracenf("LoadLocaleData: error while loading %s.", szItemScale);

NANOEND

InstanceBase.cpp
void CInstanceBase::SetSash(DWORD dwSash)
{
if (!IsPC())
return;

if (IsPoly())
return;

dwSash += 85000;
ClearSashEffect();

float fSpecular = 65.0f;
if (dwSash > 87000)
{
dwSash -= 2000;
fSpecular += 35;

m_dwSashEffect = EFFECT_REFINED + EFFECT_SASH;
__EffectContainer_AttachEffect(m_dwSashEffect);
}

fSpecular /= 100.0f;
m_awPart[CRaceData::PART_SASH] = dwSash;

CItemData * pItemData;
if (!CItemManager::Instance().GetItemDataPointer(dwSash, &pItemData))
return;

m_GraphicThingInstance.AttachSash(pItemData, fSpecular);
#ifdef ENABLE_OBJ_SCALLING
DWORD dwRace = GetRace(), dwPos = RaceToJob(dwRace), dwSex = RaceToSex(dwRace);
dwPos += 1;
if (dwSex == 0)
dwPos += 5;

float fScaleX, fScaleY, fScaleZ, fPositionX, fPositionY, fPositionZ;
if (pItemData->GetItemScale(dwPos, fScaleX, fScaleY, fScaleZ, fPositionX, fPositionY, fPositionZ))
{
m_GraphicThingInstance.SetScale(fScaleX, fScaleY, fScaleZ, true);
if (m_kHorse.IsMounting())
fPositionZ += 10.0f;

m_GraphicThingInstance.SetScalePosition(fPositionX, fPositionY, fPositionZ);
}
#endif
}

void CInstanceBase::ChangeSash(DWORD dwSash)
{
if (!IsPC())
return;

SetSash(dwSash);
}

void CInstanceBase::ClearSashEffect()
{
if (!m_dwSashEffect)
return;

__EffectContainer_DetachEffect(m_dwSashEffect);
m_dwSashEffect = 0;
}

void CInstanceBase::SetShape(DWORD eShape, float fSpecular)
{
if (IsPoly())
{
m_GraphicThingInstance.SetShape(0);
}
else
{
m_GraphicThingInstance.SetShape(eShape, fSpecular);
}

m_eShape = eShape;
}


item.cpp
else if (GetSubType() == COSTUME_SASH)
{
toSetValue -= 85000;
if (GetSocket(SASH_ABSORPTION_SOCKET) >= SASH_EFFECT_FROM_ABS)
toSetValue += 2000;

toSetValue = (bAdd == true) ? toSetValue : 0;
toSetPart = PART_SASH;
}

Indító forrásban elrontottál vagy kihagytál valamit.
Nem te vagy az első akinél ez előferdült.

“Majdnem minden tudásunkért nem azoknak tartozunk, akik egyetértettek, hanem azoknak, akik nem.”

2019-10-02, 11:53:41 #2 Utolsó szerkesztés: 2019-10-02, 13:50:02 Szerző: [SMOD]Ken
de ha kicserélem rossz Item_scalre.txt-re akkor van syserr tehát olvassa jó helyen van ugye csak rossz igy nem méretezi át de a jóval se és annál semmi syserr
Megnéztem Forrást is minden a helyén van.

Syserr

1002 11:47:12623 :: LoadItemScale: invalid line 0 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 1 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 2 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 3 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 4 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 5 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 6 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 7 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 8 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 9 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 10 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 11 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 12 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 13 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 14 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 15 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 16 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 17 (locale/hu/item_scale.txt).
1002 11:47:12623 :: LoadItemScale: invalid line 18 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 19 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 20 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 21 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 22 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 23 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 24 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 25 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 26 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 27 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 28 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 29 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 30 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 31 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 32 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 33 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 34 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 35 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 36 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 37 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 38 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 39 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 40 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 41 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 42 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 43 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 44 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 45 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 46 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 47 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 48 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 49 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 50 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 51 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 52 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 53 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 54 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 55 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 56 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 57 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 58 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 59 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 60 (locale/hu/item_scale.txt).
1002 11:47:12624 :: LoadItemScale: invalid line 61 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 62 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 63 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 64 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 65 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 66 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 67 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 68 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 69 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 70 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 71 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 72 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 73 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 74 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 75 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 76 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 77 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 78 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 79 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 80 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 81 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 82 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 83 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 84 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 85 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 86 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 87 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 88 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 89 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 90 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 91 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 92 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 93 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 94 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 95 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 96 (locale/hu/item_scale.txt).
1002 11:47:12625 :: LoadItemScale: invalid line 97 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 98 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 99 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 100 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 101 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 102 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 103 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 104 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 105 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 106 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 107 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 108 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 109 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 110 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 111 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 112 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 113 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 114 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 115 (locale/hu/item_scale.txt).
1002 11:47:12626 :: LoadItemScale: invalid line 116 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 117 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 118 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 119 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 120 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 121 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 122 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 123 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 124 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 125 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 126 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 127 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 128 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 129 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 130 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 131 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 132 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 133 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 134 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 135 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 136 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 137 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 138 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 139 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 140 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 141 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 142 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 143 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 144 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 145 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 146 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 147 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 148 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 149 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 150 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 151 (locale/hu/item_scale.txt).
1002 11:47:12627 :: LoadItemScale: invalid line 152 (locale/hu/item_scale.txt).

50db inditó forrás átnézés és forditás után is még UnResolved... :'( :'( :'(