Hi, i'm doing the ItemMove, and allways geterror, and i wanna see what is the hSrcItem get from DBOVirtualServer to put in GameServer, now DBOVirtualServer give me back this.
hSrcItem 4 Is for jacket.
I was thinking in how do this automatic, and i understan i can do this.
Pos+2
Example.
EQUIP_SLOT_TYPE_JACKET = 2
EQUIP_SLOT_TYPE_JACKET + 2 = 4
And that way i can get hSrcItem, but now, i get the hSrcItem of BagSlots and bagmove and i get this...
hSrcItem 10 but doesn't exist someone was 8 and is for bag.
How i can get hSrcItem of the items?
res->wOpCode = GU_ITEM_MOVE_RES;
res->wResultCode = GAME_SUCCESS;
res->hSrcItem = hSrcItem;
- - - Updated - - -
I got this.
- - - Updated - - -Code:const int NTL_MAX_BAGSLOT_COUNT = 6; // °¡¹æ ½½·ÔÀÇ °³¼ö const int NTL_MAX_BANKSLOT_COUNT = 4; // â°í ½½·ÔÀÇ °³¼ö const int NTL_MAX_GUILD_BANK_COUNT = 3; // ±æµå â°í °³¼ö const int NTL_MAX_EQUIP_ITEM_SLOT = EQUIP_SLOT_TYPE_COUNT; const int NTL_MAX_ITEM_SLOT = 16; // ½½·ÔÀÇ ÃÖ´ë Å©±â const int NTL_MAX_BAG_ITEM_SLOT = 16; // °¡¹æÀÇ ÃÖ´ë Å©±â const int NTL_MAX_SCOUTER_ITEM_SLOT = 16; // ½ºÄ«¿ìÅÍ °¡¹æÀÇ ÃÖ´ë Å©±â
@Arnie36 maybe you can help me?
UPDATE: I'm bulding all of the function of item to do this D:


Reply With Quote

