4tabs Inventory

03/31/2012 15:27 redpoiz#1
Hello,

I have installed the 4tab inventory of Jopsi, but when i compiling my neuz, i have this error, please help me :)

New source\_Interface\WndManager.cpp(3856) : error C2228: left of '.InitItem' must have class/struct/union type
type is 'CWndItemCtrl [4]'
\_Interface\WndField.cpp(21141) : error C2228: left of '.SetDieFlag' must have class/struct/union type
type is 'CWndItemCtrl [4]'

Thx :p
03/31/2012 15:36 Unleashed!#2
I think the jopsi's inventory is realy buggy.
Try change .InitItem to ->InitItem.
Same thing with .SetDieFlag (->SetDieFlag)
03/31/2012 15:39 redpoiz#3
Thx for your answeri go try, but i have the debugged 4tab inventory, the charge.

it works but if I put -> this will not bug or change something?
03/31/2012 15:58 Unleashed!#4
No, this will not bug ^^
You only use a '.' (dot) when you are using the specific class.
When youre using a Pointer (for example CUser* pUser) you have to use the '->'.
03/31/2012 21:07 Jopsi332#5
you must put them into an For and [i]

CWndItemCtrl[i].SetDieflag or .InitItem
04/01/2012 13:48 redpoiz#6
New source\_Interface\WndManager.cpp(3782) : error C2065: 'i' : undeclared identifier
New source\_Interface\WndManager.cpp(3782) : error C2228: left of '.InitItem' must have class/struct/union type
New source\_Interface\WndManager.cpp(3856) : error C2228: left of '.InitItem' must have class/struct/union type
\Users\Jon\Desktop\Flyff\Source Perfect~FlyFF\New source\_Interface\WndManager.cpp(3856) : error C3861: 'i': identifier not found, even with argument-dependent lookup
New source\_Interface\WndManager.cpp(5158) : warning C4288: nonstandard extension used : 'i' : loop control variable declared in the for-loop is used outside the for-loop scope; it conflicts with the declaration in the outer scope
New source\_Interface\WndManager.cpp(5142) : definition of 'i' used
<Unknown> : definition of 'i' ignored

When i put "[i], i got this error --"
04/01/2012 14:07 ZeroTwo02#7
RedPoiz c'est normale tu ne peut pas utilisée l'inventaire 4 onglets de Dave Devil's ou Jopsi :)
Pour pouvoir l'utilisé il faut soit prendre d'autre source soit faire un mélange dangereux :)
C'est juste que des fonctions existe déjà dans les sources que je t'avais passez.
04/01/2012 14:25 redpoiz#8
J'ai supprimer c'est fonction justement :)

Mais je me tappe toujours des error, enfin niveau compile c'est bon, mais aprés arriver IG neuz crash.

CItemBase::SetTexture GetProp() NULL Return 0

Me saoule :p
04/01/2012 14:50 Lumi#9
Je voudrais prendre la partie n'est pas, parce que vous pouvez facilement étendre l'inventaire et au lieu de faire avec 4 onglets. :D