Well problem is that when i change hg server or map my char gets force log out :S
It's very disturbing can anyone help me out?
Oh and few fixes needed more.
Can anyone fix canc bug?It's like taking amp or pfm off sometimes.
Can anyone fix imc bug?Imc goes trought Amp but shuld only go trought pfm.
Ok I have founded some bugs more.
Anyone knows how to put mim working?
And random drop.
[req]force Logout Fix.:d
-
- Loyal fan
- Posts: 235
- Joined: Mon Jul 12, 2004 9:36 am
for cancellation:
case DEF_MAGICTYPE_CANCELLATION:
m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->GetOwner(&sOwnerH, &cOwnerType, dX, dY);
if ( (cOwnerType == DEF_OWNERTYPE_PLAYER) && (m_pClientList[sOwnerH] != NULL) && (m_pClientList[sOwnerH]->m_iHP > 0) && (m_pClientList[sOwnerH]->m_iAdminUserLevel == 0)) {
// Removes Invisibility Flag 0x0010
SetInvisibilityFlag(sOwnerH, cOwnerType, FALSE);
// Removes Illusion Flag 0x01000000
SetIllusionFlag(sOwnerH, cOwnerType, FALSE);
// Removes Defense Shield Flag 0x02000000
// Removes Great Defense Shield Flag 0x02000000
SetDefenseShieldFlag(sOwnerH, cOwnerType, FALSE);
// Removes Absolute Magic Protection Flag 0x04000000
// Removes Protection From Magic Flag 0x04000000
SetMagicProtectionFlag(sOwnerH, cOwnerType, FALSE);
// Removes Protection From Arrow Flag 0x08000000
SetProtectionFromArrowFlag(sOwnerH, cOwnerType, FALSE);
// Removes Illusion Movement Flag 0x00200000
SetIllusionMovementFlag(sOwnerH, cOwnerType, FALSE);
// Removes Berserk Flag 0x0020
SetBerserkFlag(sOwnerH, cOwnerType, FALSE);
if (m_pClientList[iClientH]->m_bInhibition == TRUE)
bRemoveFromDelayEventList(sOwnerH, DEF_OWNERTYPE_PLAYER, DEF_MAGICTYPE_INHIBITION);
bRegisterDelayEvent(DEF_DELAYEVENTTYPE_MAGICRELEASE, DEF_MAGICTYPE_INHIBITION, dwTime + (m_pMagicConfigList[sType]->m_dwLastTime),
sOwnerH, cOwnerType, NULL, NULL, NULL, m_pMagicConfigList[sType]->m_sValue4, NULL, NULL);
if (m_pClientList[iClientH]->m_iStatus & 0x0010)
bRemoveFromDelayEventList(sOwnerH, DEF_OWNERTYPE_PLAYER, DEF_MAGICTYPE_INVISIBILITY);
bRegisterDelayEvent(DEF_DELAYEVENTTYPE_MAGICRELEASE, DEF_MAGICTYPE_INVISIBILITY, dwTime + (m_pMagicConfigList[sType]->m_dwLastTime),
sOwnerH, cOwnerType, NULL, NULL, NULL, m_pMagicConfigList[sType]->m_sValue4, NULL, NULL);
if (m_pClientList[iClientH]->m_iStatus & 0x0020)
bRemoveFromDelayEventList(sOwnerH, DEF_OWNERTYPE_PLAYER, DEF_MAGICTYPE_BERSERK);
bRegisterDelayEvent(DEF_DELAYEVENTTYPE_MAGICRELEASE, DEF_MAGICTYPE_BERSERK, dwTime + (m_pMagicConfigList[sType]->m_dwLastTime),
sOwnerH, cOwnerType, NULL, NULL, NULL, m_pMagicConfigList[sType]->m_sValue4, NULL, NULL);
if ( (m_pClientList[iClientH]->m_iStatus & 0x08000000) || (m_pClientList[iClientH]->m_iStatus & 0x04000000) || (m_pClientList[iClientH]->m_iStatus & 0x02000000))
bRemoveFromDelayEventList(sOwnerH, DEF_OWNERTYPE_PLAYER, DEF_MAGICTYPE_PROTECT);
bRegisterDelayEvent(DEF_DELAYEVENTTYPE_MAGICRELEASE, DEF_MAGICTYPE_PROTECT, dwTime + (m_pMagicConfigList[sType]->m_dwLastTime),
sOwnerH, cOwnerType, NULL, NULL, NULL, m_pMagicConfigList[sType]->m_sValue4, NULL, NULL);
if ((m_pClientList[iClientH]->m_iStatus & 0x01000000) || (m_pClientList[iClientH]->m_iStatus & 0x00200000))
bRemoveFromDelayEventList(sOwnerH, DEF_OWNERTYPE_PLAYER, DEF_MAGICTYPE_CONFUSE);
bRegisterDelayEvent(DEF_DELAYEVENTTYPE_MAGICRELEASE, DEF_MAGICTYPE_CONFUSE, dwTime + (m_pMagicConfigList[sType]->m_dwLastTime),
sOwnerH, cOwnerType, NULL, NULL, NULL, m_pMagicConfigList[sType]->m_sValue4, NULL, NULL);
// Update Client
SendEventToNearClient_TypeA(sOwnerH, DEF_OWNERTYPE_PLAYER, MSGID_EVENT_MOTION, DEF_OBJECTNULLACTION, NULL, NULL, NULL);
}
break;
- Tbone<br><a href="http://cyborg.namedecoder.com"><br><img src="http://cyborg.namedecoder.com/webimages ... ng"<br></a>
are you behind a routerlaizkloom wrote: Well problem is that when i change hg server or map my char gets force log out :S
It's very disturbing can anyone help me out?
Oh and few fixes needed more.
Can anyone fix canc bug?It's like taking amp or pfm off sometimes.
Can anyone fix imc bug?Imc goes trought Amp but shuld only go trought pfm.
Ok I have founded some bugs more.
Anyone knows how to put mim working?
And random drop.
<img src='http://lifeplaysu420.com/unknow/nightsign.png' border='0' alt='user posted image' /><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Wanna make money for surfing the net sing up at <br><a href='http://www.cashfiesta.com/php/join.php? ... yprivitera' target='_blank'>cash fiesta</a><br>its all free hey why ntot make money while fucking around on the computer<br><br><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this doesnt seem like HG request... admin pls remove it!
<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
the funny thing is....topics here cant be deleted or somethin lol...iono BD said something about it like a longass time ago, they can only be like modded and moved or somethin, but I didnt really read the posts so I dont really know whats goin on but if you host aresden and elvine in the same HG whenever u go to either map u will get force recalled as soon as u go there, or if u change the force recall in the sources then u get forced when u go into the other town after the set time, but then u can sit in the other peoples buildings until u leave then u get recalled because its just like having ares and elv on the same server
<span style='color:blue'>Coding with Evil Intentions....Evil at its Best....</span>