Sziasztok.
Szeretném betenni ezt a speciális leltárt:
Idézhttps://forum.turkmmo.com/konu/3670060-special-storage-system/?fbclid=IwAR2gbwyc7HJU38i7sBhySjPys2APbx20NQjdDwxUIOO5pY0F03XZJfKI15o
Viszont fordításnál előjön pár hiba.
Hibák:
Idézchar_item.cpp:6380: error: 'g_bItemCountLimit' was not declared in this scope
char_item.cpp:6410: error: 'g_bItemCountLimit' was not declared in this scope
char_item.cpp:6440: error: 'g_bItemCountLimit' was not declared in this scope
Mi lehet a hiba, és hogyan lehetne orvosolni?
Előre is köszönöm.
6380. sor
IdézBYTE bCount2 = MIN(g_bItemCountLimit - item2->GetCount(), bCount);
6410. sor
IdézBYTE bCount2 = MIN(g_bItemCountLimit - item2->GetCount(), bCount);
6440. sor
IdézBYTE bCount2 = MIN(g_bItemCountLimit - item2->GetCount(), bCount);
ird át a g_bItemCountLimit 200 ra(Ennyi a max amit össze lehet rakni 200 pack)
azaz:
BYTE bCount2 = MIN(200- item2->GetCount(), bCount);
a
Valaki?
A hiba még mindig adott.