mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-28 20:07:56 +00:00
-Basic move item support.
-Update some Laurion limits to better support new item slots. -Camping on Laurion will now work like it does on live. -Fixed a few of the Laurion exp messages (this will need some work). Packet calc is still all fked up.
This commit is contained in:
+16
-6
@@ -4317,13 +4317,23 @@ void Client::Handle_OP_Camp(const EQApplicationPacket *app)
|
||||
if (IsLFP())
|
||||
worldserver.StopLFP(CharacterID());
|
||||
|
||||
if (GetGM())
|
||||
{
|
||||
OnDisconnect(true);
|
||||
return;
|
||||
if (ClientVersion() >= EQ::versions::ClientVersion::Laurion) {
|
||||
if (!GetGM()) {
|
||||
camp_timer.Start(29000, true);
|
||||
}
|
||||
|
||||
auto outapp = new EQApplicationPacket(OP_Camp, 1);
|
||||
FastQueuePacket(&outapp);
|
||||
}
|
||||
else {
|
||||
if (GetGM())
|
||||
{
|
||||
OnDisconnect(true);
|
||||
return;
|
||||
}
|
||||
|
||||
camp_timer.Start(29000, true);
|
||||
}
|
||||
camp_timer.Start(29000, true);
|
||||
return;
|
||||
}
|
||||
|
||||
void Client::Handle_OP_CancelTask(const EQApplicationPacket *app)
|
||||
|
||||
+18
-3
@@ -657,7 +657,12 @@ void Client::SetEXP(ExpSource exp_source, uint64 set_exp, uint64 set_aaxp, bool
|
||||
} else if (zone->IsHotzone()) {
|
||||
Message(Chat::Experience, "You gain party experience (with a bonus)!");
|
||||
} else {
|
||||
MessageString(Chat::Experience, GAIN_GROUPXP);
|
||||
if (m_ClientVersion >= EQ::versions::ClientVersion::Laurion) {
|
||||
MessageString(Chat::Experience, GAIN_GROUPXP, exp_percent_message.c_str());
|
||||
}
|
||||
else {
|
||||
MessageString(Chat::Experience, GAIN_GROUPXP);
|
||||
}
|
||||
}
|
||||
} else if (IsRaidGrouped()) {
|
||||
if (RuleI(Character, ShowExpValues) > 0) {
|
||||
@@ -665,7 +670,12 @@ void Client::SetEXP(ExpSource exp_source, uint64 set_exp, uint64 set_aaxp, bool
|
||||
} else if (zone->IsHotzone()) {
|
||||
Message(Chat::Experience, "You gained raid experience (with a bonus)!");
|
||||
} else {
|
||||
MessageString(Chat::Experience, GAIN_RAIDEXP);
|
||||
if (m_ClientVersion >= EQ::versions::ClientVersion::Laurion) {
|
||||
MessageString(Chat::Experience, GAIN_RAIDEXP, exp_percent_message.c_str());
|
||||
}
|
||||
else {
|
||||
MessageString(Chat::Experience, GAIN_RAIDEXP);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (RuleI(Character, ShowExpValues) > 0) {
|
||||
@@ -673,7 +683,12 @@ void Client::SetEXP(ExpSource exp_source, uint64 set_exp, uint64 set_aaxp, bool
|
||||
} else if (zone->IsHotzone()) {
|
||||
Message(Chat::Experience, "You gain experience (with a bonus)!");
|
||||
} else {
|
||||
MessageString(Chat::Experience, GAIN_XP);
|
||||
if (m_ClientVersion >= EQ::versions::ClientVersion::Laurion) {
|
||||
MessageString(Chat::Experience, GAIN_XP, exp_percent_message.c_str());
|
||||
}
|
||||
else {
|
||||
MessageString(Chat::Experience, GAIN_XP);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user