Skip to content

Commit 46442df

Browse files
committed
Update Event Missions
1 parent 9a6206b commit 46442df

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

MainServer/include/Handlers/Player/InitialPlayerInfoHandlers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Main
2626
handleAccountInformation(request, session, sessionsManager, scheduler, *accountInfo, timeSinceLastServerRestart, serverId, 59);
2727

2828
Common::Network::Packet response;
29-
response.setTcpHeader(request.getSession(), Common::Enums::NO_ENCRYPTION);
29+
response.setTcpHeader(request.getSession(), Common::Enums::USER_LARGE_ENCRYPTION);
3030
response.setOrder(204);
3131
struct Advertisement
3232
{

MainServer/src/Classes/Room.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,23 +1364,23 @@ namespace Main
13641364
const std::uint64_t now = static_cast<std::uint64_t>(std::chrono::duration_cast<std::chrono::seconds>(std::chrono::system_clock::now().time_since_epoch()).count());
13651365
if (now >= eventMissionInfo.startDate && now <= eventMissionInfo.endDate)
13661366
{
1367-
if (m_settings.mode == Common::Enums::ZombieMode && (stats.totalKills / 3) >= 1) // >= 1 zombie kills per match = 1 pt
1367+
if (m_settings.mode == Common::Enums::ZombieMode && (stats.totalKills / 3) >= 2) // >= 2 zombie kills per match = 1 pt
13681368
{
13691369
session->sendEventMission(ClientData::EventMissionPoint{ 1 });
13701370
}
13711371
if (m_settings.mode == Common::Enums::ZombieMode && stats.meleeKills >= 2) // >= 2 infections per match = 1 pt
13721372
{
13731373
session->sendEventMission(ClientData::EventMissionPoint{ 2 });
13741374
}
1375-
if (stats.headshots >= 2) // >= 2 headshots per match = 1 pt
1375+
if (stats.headshots >= 5) // >= 5 headshots per match = 1 pt
13761376
{
13771377
session->sendEventMission(ClientData::EventMissionPoint{ 3 });
13781378
}
13791379
if (stats.totalKills >= 15) // >= total kills >= 15 per match = 1 pt
13801380
{
13811381
session->sendEventMission(ClientData::EventMissionPoint{ 4 });
13821382
}
1383-
if (stats.mgKills >= 5) // >= mgKills >= 5 per match = 1 pt
1383+
if (stats.rifleKills >= 10) // >= rifleKills >= 10 per match = 1 pt
13841384
{
13851385
session->sendEventMission(ClientData::EventMissionPoint{ 5 });
13861386
}

MainServer/src/Network/MainSession.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,8 +1877,6 @@ namespace Main
18771877
const std::uint32_t index = eventMission.eventIndex;
18781878
if (m_eventMissions.find(index) == m_eventMissions.end())
18791879
{
1880-
//sendMessage("[sendEventMission] error while sending event mission point (EventMissionIndex: " + std::to_string(index) + ", ActiveEventsSize: " +
1881-
//std::to_string(m_eventMissions.size()) + ") - please report this issue");
18821880
return;
18831881
}
18841882

@@ -1933,8 +1931,7 @@ namespace Main
19331931
eventIndex, Common::Constants::eventMissionTotal);
19341932

19351933
// Also send 5,000 RT for each event mission + 10 coupons + boss battle ticket
1936-
sendRt(5'000);
1937-
spawnCouponImmediate(5);
1934+
sendRt(10'000);
19381935
spawnItemCommand(4811300, "Item spawned automatically - event mission rewards");
19391936
sendMessage("You obtained 5'000 RT, 5 coupons and a Boss Battle ticket!", Main::Enums::TIP);
19401937
}

0 commit comments

Comments
 (0)