Find
Code: Select all
void CGame::SetPlayingStatus
Code: Select all
m_pClientList[iClientH]->m_bIsInsideWarehouse = FALSE;
Code: Select all
m_pClientList[iClientH]->m_bIsInsideWarehouse = TRUE;
Code: Select all
m_pClientList[iClientH]->m_bIsInsideWizardTower = FALSE;
Code: Select all
m_pClientList[iClientH]->m_bIsInsideWizardTower = TRUE;
Im not sure if this was a bug, but wen u conn loss after dieing u restart with 30hp. Heres a fix if you want to..
Find
Code: Select all
m_pClientList[iClientH]->m_iHP = 30
Code: Select all
m_pClientList[iClientH]->m_iHP = iGetMaxHP(iClientH);
----Maj Stats----
Also wit maj stat change, some servers dc if ur hp too high...fix is
Find
Code: Select all
BOOL CGame::_bCheckCharacterData(int iClientH)
Code: Select all
if ((m_pClientList[iClientH]->m_iHP > iGetMaxHP(iClientH)) && (m_pClientList[iClientH]->m_iAdminUserLevel == 0)) {
wsprintf(G_cTxt, "Packet Editing: (%s) Player: (%s) HP: current/maximum (%d/%d).", m_pClientList[iClientH]->m_cIPaddress, m_pClientList[iClientH]->m_cCharName, m_pClientList[iClientH]->m_iHP, iGetMaxHP(iClientH));
PutHackLogFileList(G_cTxt);
return FALSE;
}
Code: Select all
if ((m_pClientList[iClientH]->m_iHP > iGetMaxHP(iClientH)) && (m_pClientList[iClientH]->m_iAdminUserLevel == 0)) {
m_pClientList[iClientH]->m_iHP = iGetMaxHP(iClientH);
return TRUE;
}
Hope this Helps
Again Please dont Flame
