juan249 Administrador
Cantidad de envíos : 68 Fecha de inscripción : 08/01/2008
| Tema: [FIX] Forced Recall Jue 10 Ene 2008, 21:21 | |
| HG Sources. Game.cpp . Primero buscar: - Código:
-
void CGame::CheckClientResponseTime() Despues buscar : - Código:
-
// ¼ÒȯµÈ´Ù´Â ¸Þ½ÃÃö¸¦ º¸³»°Ã* °Â*æ ¸®ÄÃ. Arriba de la funcion agregar: - Código:
-
//Forced recall de elvine en ares by ZeroEoyPnk if (m_pClientList[iClientH]->m_iAdminUserLevel == 0){ if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "elv",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "gshop_1") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); }
if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "elv",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "cityhall_1") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); }
if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "elv",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "gldhall_1") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); } if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "elv",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "wrhus_1") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); }
if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "elv",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "wzdtwr_1") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); }
if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "elv",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "bsmith_1") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); }
if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "elv",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "cath_1") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); }
if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "elv",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "CmdHall_1") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); } //forced recall de ares en elv by ZeroEoyPnk if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "are",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "gshop_2") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); }
if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "are",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "cityhall_2") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); }
if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "are",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "gldhall_2") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); } if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "are",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "wrhus_2") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); }
if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "are",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "wzdtwr_2") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); }
if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "are",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "bsmith_2") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); }
if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "are",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "cath_2") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); }
if (m_pClientList[i] == NULL) break; if ((memcmp(m_pClientList[i]->m_cLocation, "are",3) == 0) && (strcmp(m_pMapList[m_pClientList[i]->m_cMapIndex]->m_cName, "CmdHall_2") == 0)) { SendNotifyMsg(NULL, i, DEF_NOTIFY_TOBERECALLED, NULL, NULL, NULL, NULL); RequestTeleportHandler(i, "0 "); } }
//terminado el forced recall - ZeroEoyPnk by ZeroEoyPnk | |
|