Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Source] Add slot item with Gui easy

Skilled Illusionist
Joined
Feb 17, 2012
Messages
307
Reaction score
18
InventoryPageWear.h and InventoryPageWearEx.h find ITEM_IMAGE and add ITEM_IMAGE??, max to 17
InventoryPageWear.cpp and InventoryPageWearEx.cpp
find INVENTORY_WEAR_ITEM_IMAGE and add INVENTORY_WEAR_ITEM_IMAGE??", max to 17
find INVENTORY_WEAR_OVER_IMAGE and add INVENTORY_WEAR_OVER_IMAGE??", max to 17


after that find EMSLOT CInventoryPageWear::IMAGE2EMSLOT ( int nIndex )
add this ( SLOT find it DxPieceDefine.h have a name of PIECE)
PIECE_WING = 14, //add wing
PIECE_AURA = 15, //add aura
PIECE_BELT = 16,//add newitem
PIECE_EARRING = 17,//add newitem
PIECE_ACCESSORY = 18,//add newitem
PIECE_CON = 19,//add newitem

case ITEM_IMAGE12: return SLOT_WING;
case ITEM_IMAGE13: return SLOT_AURA;
case ITEM_IMAGE14: return SLOT_BELT;
case ITEM_IMAGE15: return SLOT_EARRING;
case ITEM_IMAGE16: return SLOT_ACCESSORY;
case ITEM_IMAGE17: return SLOT_CON;

find void CInventoryPageWear::TranslateUIMessage ( UIGUID ControlID, DWORD dwMsg )
add
case ITEM_IMAGE12: //add wing
case ITEM_IMAGE13: //add aura
case ITEM_IMAGE14:
case ITEM_IMAGE15:
case ITEM_IMAGE16:
case ITEM_IMAGE17:

like this
armarmearth - [Source] Add slot item with Gui  easy - RaGEZONE Forums


this GUI

 
Joined
Mar 12, 2011
Messages
607
Reaction score
49
InventoryPageWear.h and InventoryPageWearEx.h find ITEM_IMAGE and add ITEM_IMAGE??, max to 17
InventoryPageWear.cpp and InventoryPageWearEx.cpp
find INVENTORY_WEAR_ITEM_IMAGE and add INVENTORY_WEAR_ITEM_IMAGE??", max to 17
find INVENTORY_WEAR_OVER_IMAGE and add INVENTORY_WEAR_OVER_IMAGE??", max to 17


after that find EMSLOT CInventoryPageWear::IMAGE2EMSLOT ( int nIndex )
add this ( SLOT find it DxPieceDefine.h have a name of PIECE)
PIECE_WING = 14, //add wing
PIECE_AURA = 15, //add aura
PIECE_BELT = 16,//add newitem
PIECE_EARRING = 17,//add newitem
PIECE_ACCESSORY = 18,//add newitem
PIECE_CON = 19,//add newitem

case ITEM_IMAGE12: return SLOT_WING;
case ITEM_IMAGE13: return SLOT_AURA;
case ITEM_IMAGE14: return SLOT_BELT;
case ITEM_IMAGE15: return SLOT_EARRING;
case ITEM_IMAGE16: return SLOT_ACCESSORY;
case ITEM_IMAGE17: return SLOT_CON;

find void CInventoryPageWear::TranslateUIMessage ( UIGUID ControlID, DWORD dwMsg )
add
case ITEM_IMAGE12: //add wing
case ITEM_IMAGE13: //add aura
case ITEM_IMAGE14:
case ITEM_IMAGE15:
case ITEM_IMAGE16:
case ITEM_IMAGE17:

like this
armarmearth - [Source] Add slot item with Gui  easy - RaGEZONE Forums


this GUI


can you pls re-upload the GUI file?
 
Back
Top