[src] Force Recall Fix For 3.02 Sources

Submit your code requests, and if you are good at coding come help others with their requests.
Post Reply
SlammeR
Loyal fan
Posts: 219
Joined: Fri Nov 04, 2005 1:52 am
Location: Brazil

Post by SlammeR »

The fix i've found for 2.24b dont work for 3.02 sources :( Any idea of how to fix it!?

here is the problem...

You enter on enemy city... have 10min to get recalled but 30min after you still on city :S and the other problem is you can enter on enemy buildings and stay the time you want... when you go outside the building you can still continue on city you dont got forcerecall...


Thanks~

***Edit***

i Got it... it is an error on TeleportHandler Function... a nood thing...

On:

Code: Select all

void CGame::RequestTeleportHandler(int iClientH, char * pData, char * cMapName, int dX, int dY)
Search For:

Code: Select all

m_pClientList[ iClientH ]->m_bIsInsideEnemyBuilding = 0;
and change it to:

Code: Select all

m_pClientList[ iClientH ]->m_bIsInsideEnemyBuilding = FALSE;
OWNED!<br><img src='http://img50.imageshack.us/img50/1386/p ... 3vsqn2.gif' border='0' alt='user posted image' /><br><br><img src="http://hbtop50.com/button.php?u=hbuonline" alt="Helbreath Top 50 - Keepin' it real." border="0" /><br><a href='http://www.hbuonline.net' target='_blank'>Helbreath United</a>
Post Reply