Genel Araştırma
'dışarı' etiketi için arama sonuçları.
Araştırmada 1 sonuç bulundu
-
İyi günler herkese sorun tam olarak şu juraid içinde slotlarda ki canavarları kesince kapılar açılmıyor ve ayrıca devayı kesincede kazanan ırkı belirtmiyor ve eventten dışarı atmıyor void CNpc::OnDeathProcess kısmı şu şekilde. else if (g_pMain->pTempleEvent.ActiveEvent == TEMPLE_EVENT_JURAD_MOUNTAIN) { if (JuraidTempleEventZone()) { if (g_pMain->m_MonsterRespawnListArray.GetData(GetProtoID()) != nullptr) g_pMain->SpawnEventNpc(g_pMain->m_MonsterRespawnListArray.GetData(GetProtoID())->sSid, true, GetZoneID(), GetX(), GetY(), GetZ(), g_pMain->m_MonsterRespawnListArray.GetData(GetProtoID())->sCount,5,60*60,GetNation(),pUser->GetSocketID(),pUser->GetEventRoom()); if (GetProtoID() == 8100 || GetProtoID() == 8102) { pUser->GetNation() == KARUS ? g_pMain->pTempleEvent.KarusDeathRoom1[pUser->GetEventRoom()]++ : g_pMain->pTempleEvent.ElmoDeathRoom1[pUser->GetEventRoom()]++; if ((g_pMain->pTempleEvent.KarusDeathRoom1[pUser->GetEventRoom()] > 3 && pUser->GetNation() == KARUS) || (g_pMain->pTempleEvent.ElmoDeathRoom1[pUser->GetEventRoom()] > 3 && pUser->GetNation() == ELMORAD)) { if (pUser->GetNation() == KARUS) { g_pMain->pTempleEvent.KarusDeathRoom2[pUser->GetEventRoom()] = 0; CNpc * pNpc = g_pMain->GetNpcPtr(g_pMain->pTempleEvent.JuraidKarusGateID1[pUser->GetEventRoom()]); if(pNpc == nullptr) { } return; pNpc->SendGateFlag(2); } else { g_pMain->pTempleEvent.ElmoDeathRoom2[pUser->GetEventRoom()] = 0; CNpc * pNpc = g_pMain->GetNpcPtr(g_pMain->pTempleEvent.JuraidElmoGateID1[pUser->GetEventRoom()]); if(pNpc == nullptr) { } return; pNpc->SendGateFlag(2); } } } else if (GetProtoID () == 8101 || GetProtoID () == 8104) { pUser->GetNation() == KARUS ? g_pMain->pTempleEvent.KarusDeathRoom2[pUser->GetEventRoom()]++ : g_pMain->pTempleEvent.ElmoDeathRoom2[pUser->GetEventRoom()]++; if ((g_pMain->pTempleEvent.KarusDeathRoom2[pUser->GetEventRoom()] > 3 && pUser->GetNation() == KARUS) || (g_pMain->pTempleEvent.ElmoDeathRoom2[pUser->GetEventRoom()] > 3 && pUser->GetNation() == ELMORAD)) { if (pUser->GetNation() == KARUS) { g_pMain->pTempleEvent.KarusDeathRoom3[pUser->GetEventRoom()] = 0; CNpc * pNpc = g_pMain->GetNpcPtr(g_pMain->pTempleEvent.JuraidKarusGateID2[pUser->GetEventRoom()]); if(pNpc == nullptr) { } return; pNpc->SendGateFlag(2); } else { g_pMain->pTempleEvent.ElmoDeathRoom3[pUser->GetEventRoom()] = 0; CNpc * pNpc = g_pMain->GetNpcPtr(g_pMain->pTempleEvent.JuraidElmoGateID2[pUser->GetEventRoom()]); if(pNpc == nullptr) { } return; pNpc->SendGateFlag(2); } } } else if (GetProtoID () == 8103 || GetProtoID () == 8105) { pUser->GetNation() == KARUS ? g_pMain->pTempleEvent.KarusDeathRoom3[pUser->GetEventRoom()]++ : g_pMain->pTempleEvent.ElmoDeathRoom3[pUser->GetEventRoom()]++; if ((g_pMain->pTempleEvent.KarusDeathRoom3[pUser->GetEventRoom()] > 3 && pUser->GetNation() == KARUS) || (g_pMain->pTempleEvent.ElmoDeathRoom3[pUser->GetEventRoom()] > 3 && pUser->GetNation() == ELMORAD)) { if (pUser->GetNation() == KARUS) { CNpc * pNpc = g_pMain->GetNpcPtr(g_pMain->pTempleEvent.JuraidKarusGateID3[pUser->GetEventRoom()]); if(pNpc == nullptr) { } return; pNpc->SendGateFlag(2); } else { CNpc * pNpc = g_pMain->GetNpcPtr(g_pMain->pTempleEvent.JuraidElmoGateID3[pUser->GetEventRoom()]); if(pNpc == nullptr) { } return; pNpc->SendGateFlag(2); } } } if (GetProtoID() == 8106 && /* pUser->isDevaKilled() &&*/ pUser->GetZoneID() == ZONE_JURAD_MOUNTAIN) { g_pMain->pTempleEvent.isDevaControl[GetEventRoom()] = true; g_pMain->pTempleEvent.isDevaFlag[GetEventRoom()] = true; g_pMain->pTempleEvent.DevaNation[GetEventRoom()] = pUser->GetNation(); } } }