djagripnos
19/11/2016, 04:28 PM
Offset: Gameserver 96.40
//================================================== =========================================
//-- items del chaosbox ok
//================================================== =========================================
int gObjGetItemCountInChaosbox(int aIndex, short type) {
int count = 0;
for(unsigned i = 0; i < 32; i++)
{
if(lpObj[aIndex].pChaosBox[i].m_Type == type)
count++;
}
return count;
}
int blesboox = gObjGetItemCountInChaosbox(aIndex,Bless_ID);//bless en chaosbox cantidad
#define InvItemCreateSend ((int(*)(DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD)) 0x004020C7)
[Only registered and activated users can see links]
[Only registered and activated users can see links]
//================================================== =========================================
//-- items del chaosbox ok
//================================================== =========================================
int gObjGetItemCountInChaosbox(int aIndex, short type) {
int count = 0;
for(unsigned i = 0; i < 32; i++)
{
if(lpObj[aIndex].pChaosBox[i].m_Type == type)
count++;
}
return count;
}
int blesboox = gObjGetItemCountInChaosbox(aIndex,Bless_ID);//bless en chaosbox cantidad
#define InvItemCreateSend ((int(*)(DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD)) 0x004020C7)
[Only registered and activated users can see links]
[Only registered and activated users can see links]