--edit--
It fixed by itself I'm not sure but this time I compiled matchserver aswell.
--edit--
Hi, I need help about Infinite ammo roomtag... [R] is working fine but [IA] is not working at all... anyone could help me please?
I tried
andm_nBulletCurrMagazine.Set_CheckCrc(m_nBulletCurrMagazine.Ref() + nAddedBullet);
if(strstr(strlwr((char*)ZGetGameClient()->GetStageName()), "[ia]"))
{
m_nBulletSpare.Set_CheckCrc(m_nBulletSpare.Ref() - nAddedBullet);
}
m_nBulletCurrMagazine.Set_CheckCrc(m_nBulletCurrMagazine.Ref() + nAddedBullet);
if(!strstr(strlwr((char*)ZGetGameClient()->GetStageName()), "[ia]"))
{
m_nBulletSpare.Set_CheckCrc(m_nBulletSpare.Ref() - nAddedBullet);
}
Both didnt work at all...
here is the entire code
bool ZItem::Reload()
{
if (m_pDesc == NULL)
{
//_ASSERT(0);
return false;
}
//_ASSERT(GetItemType() == MMIT_RANGE);
int nAddedBullet = m_pDesc->m_nMagazine.Ref() - m_nBulletCurrMagazine.Ref();
if (nAddedBullet > m_nBulletSpare.Ref()) nAddedBullet = m_nBulletSpare.Ref();
if (nAddedBullet <= 0) return false;
m_nBulletCurrMagazine.Set_CheckCrc(m_nBulletCurrMagazine.Ref() + nAddedBullet);
if(!strstr(strlwr((char*)ZGetGameClient()->GetStageName()), "[ia]"))
{
m_nBulletSpare.Set_CheckCrc(m_nBulletSpare.Ref() - nAddedBullet);
}
return true;
}
Appreciate any help, thank you!


Reply With Quote

