forked from metin2/server
Initial pass of converting string literals to english
This commit is contained in:
parent
9056f6c6c6
commit
9b7536ee9a
|
@ -322,7 +322,7 @@ bool DSManager::ExtractDragonHeart(LPCHARACTER ch, LPITEM pItem, LPITEM pExtract
|
|||
return false;
|
||||
if (pItem->IsEquipped())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC2\xF8\xBF\xEB \xC1\xDF\xC0\xCE \xBF\xEB\xC8\xA5\xBC\xAE\xC0\xBA \xC3\xDF\xC3\xE2\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The Dragon Stone cannot be removed."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -366,7 +366,7 @@ bool DSManager::ExtractDragonHeart(LPCHARACTER ch, LPITEM pItem, LPITEM pExtract
|
|||
}
|
||||
LogManager::instance().ItemLog(ch, pItem, "DS_HEART_EXTRACT_FAIL", "");
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xEB\xBD\xC9 \xC3\xDF\xC3\xE2\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Remaining duration extraction failed."));
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
@ -392,7 +392,7 @@ bool DSManager::ExtractDragonHeart(LPCHARACTER ch, LPITEM pItem, LPITEM pExtract
|
|||
std::string s = boost::lexical_cast <std::string> (iCharge);
|
||||
s += "%s";
|
||||
LogManager::instance().ItemLog(ch, pItem, "DS_HEART_EXTRACT_SUCCESS", s.c_str());
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xEB\xBD\xC9 \xC3\xDF\xC3\xE2\xBF\xA1 \xBC\xBA\xB0\xF8\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Dragon Stone remaining duration has been extracted."));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -412,7 +412,7 @@ bool DSManager::PullOut(LPCHARACTER ch, TItemPos DestCell, LPITEM& pItem, LPITEM
|
|||
int iEmptyCell = ch->GetEmptyDragonSoulInventory(pItem);
|
||||
if (iEmptyCell < 0)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD2\xC1\xF6\xC7\xB0\xBF\xA1 \xBA\xF3 \xB0\xF8\xB0\xA3\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There isn't enough space in your inventory."));
|
||||
return false;
|
||||
}
|
||||
else
|
||||
|
@ -469,7 +469,7 @@ bool DSManager::PullOut(LPCHARACTER ch, TItemPos DestCell, LPITEM& pItem, LPITEM
|
|||
sprintf(buf, "dice(%d) prob(%d)", (int)fDice, (int)fProb);
|
||||
}
|
||||
LogManager::instance().ItemLog(ch, pItem, "DS_PULL_OUT_SUCCESS", buf);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xEB\xC8\xA5\xBC\xAE \xC3\xDF\xC3\xE2\xBF\xA1 \xBC\xBA\xB0\xF8\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Dragon Stone has been removed."));
|
||||
pItem->AddToCharacter(ch, DestCell);
|
||||
return true;
|
||||
}
|
||||
|
@ -490,12 +490,12 @@ bool DSManager::PullOut(LPCHARACTER ch, TItemPos DestCell, LPITEM& pItem, LPITEM
|
|||
{
|
||||
LPITEM pByProduct = ch->AutoGiveItem(dwByProduct, true);
|
||||
if (pByProduct)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xEB\xC8\xA5\xBC\xAE \xC3\xDF\xC3\xE2\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xA9 %s\xB8\xA6 \xBE\xF2\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."), pByProduct->GetName());
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Removal of Dragon Stone failed. But you have received the following: %s"), pByProduct->GetName());
|
||||
else
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xEB\xC8\xA5\xBC\xAE \xC3\xDF\xC3\xE2\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Removal of Dragon Stone failed."));
|
||||
}
|
||||
else
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xEB\xC8\xA5\xBC\xAE \xC3\xDF\xC3\xE2\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Removal of Dragon Stone failed."));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -532,7 +532,7 @@ bool DSManager::DoRefineGrade(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_SOUL
|
|||
// 용혼석이 아닌 아이템이 개량창에 있을 수 없다.
|
||||
if (!pItem->IsDragonSoul())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xEE\xB1\xDE \xB0\xB3\xB7\xAE\xBF\xA1 \xC7\xCA\xBF\xE4\xC7\xD1 \xC0\xE7\xB7\xE1\xB0\xA1 \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item is not required for improving the clarity level."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL_INVALID_MATERIAL, TItemPos(pItem->GetWindow(), pItem->GetCell()));
|
||||
|
||||
return false;
|
||||
|
@ -566,7 +566,7 @@ bool DSManager::DoRefineGrade(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_SOUL
|
|||
|
||||
if (!m_pTable->GetRefineGradeValues(ds_type, grade_idx, need_count, fee, vec_probs))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xEE\xB1\xDE \xB0\xB3\xB7\xAE\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBF\xEB\xC8\xA5\xBC\xAE\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item cannot be advanced this way."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL_INVALID_MATERIAL, TItemPos(pItem->GetWindow(), pItem->GetCell()));
|
||||
|
||||
return false;
|
||||
|
@ -585,7 +585,7 @@ bool DSManager::DoRefineGrade(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_SOUL
|
|||
|
||||
if (ds_type != GetType(pItem->GetVnum()) || grade_idx != GetGradeIdx(pItem->GetVnum()))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xEE\xB1\xDE \xB0\xB3\xB7\xAE\xBF\xA1 \xC7\xCA\xBF\xE4\xC7\xD1 \xC0\xE7\xB7\xE1\xB0\xA1 \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item is not required for improving the clarity level."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL_INVALID_MATERIAL, TItemPos(pItem->GetWindow(), pItem->GetCell()));
|
||||
|
||||
return false;
|
||||
|
@ -603,7 +603,7 @@ bool DSManager::DoRefineGrade(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_SOUL
|
|||
|
||||
if (ch->GetGold() < fee)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xB3\xB7\xAE\xC0\xBB \xC7\xCF\xB1\xE2 \xC0\xA7\xC7\xD1 \xB5\xB7\xC0\xCC \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You do not have enough Yang to use this item."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL_NOT_ENOUGH_MONEY, NPOS);
|
||||
return false;
|
||||
}
|
||||
|
@ -648,7 +648,7 @@ bool DSManager::DoRefineGrade(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_SOUL
|
|||
char buf[128];
|
||||
sprintf(buf, "GRADE : %d -> %d", grade_idx, result_grade);
|
||||
LogManager::instance().ItemLog(ch, pResultItem, "DS_GRADE_REFINE_SUCCESS", buf);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xEE\xB1\xDE \xB0\xB3\xB7\xAE\xBF\xA1 \xBC\xBA\xB0\xF8\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Refinement up one class was successful."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_SUCCEED, TItemPos (pResultItem->GetWindow(), pResultItem->GetCell()));
|
||||
return true;
|
||||
}
|
||||
|
@ -657,7 +657,7 @@ bool DSManager::DoRefineGrade(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_SOUL
|
|||
char buf[128];
|
||||
sprintf(buf, "GRADE : %d -> %d", grade_idx, result_grade);
|
||||
LogManager::instance().ItemLog(ch, pResultItem, "DS_GRADE_REFINE_FAIL", buf);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xEE\xB1\xDE \xB0\xB3\xB7\xAE\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Refinement up one class failed."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL, TItemPos (pResultItem->GetWindow(), pResultItem->GetCell()));
|
||||
return false;
|
||||
}
|
||||
|
@ -690,7 +690,7 @@ bool DSManager::DoRefineStep(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_SOUL_
|
|||
// 용혼석이 아닌 아이템이 개량창에 있을 수 없다.
|
||||
if (!pItem->IsDragonSoul())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xDC\xB0\xE8 \xB0\xB3\xB7\xAE\xBF\xA1 \xC7\xCA\xBF\xE4\xC7\xD1 \xC0\xE7\xB7\xE1\xB0\xA1 \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You do not own the materials required to strengthen the Dragon Stone."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL_INVALID_MATERIAL, TItemPos(pItem->GetWindow(), pItem->GetCell()));
|
||||
return false;
|
||||
}
|
||||
|
@ -721,7 +721,7 @@ bool DSManager::DoRefineStep(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_SOUL_
|
|||
|
||||
if (!m_pTable->GetRefineStepValues(ds_type, step_idx, need_count, fee, vec_probs))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xDC\xB0\xE8 \xB0\xB3\xB7\xAE\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBF\xEB\xC8\xA5\xBC\xAE\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item is not required for refinement."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL_INVALID_MATERIAL, TItemPos(pItem->GetWindow(), pItem->GetCell()));
|
||||
return false;
|
||||
}
|
||||
|
@ -738,7 +738,7 @@ bool DSManager::DoRefineStep(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_SOUL_
|
|||
}
|
||||
if (ds_type != GetType(pItem->GetVnum()) || grade_idx != GetGradeIdx(pItem->GetVnum()) || step_idx != GetStepIdx(pItem->GetVnum()))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xDC\xB0\xE8 \xB0\xB3\xB7\xAE\xBF\xA1 \xC7\xCA\xBF\xE4\xC7\xD1 \xC0\xE7\xB7\xE1\xB0\xA1 \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You do not own the materials required to strengthen the Dragon Stone."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL_INVALID_MATERIAL, TItemPos(pItem->GetWindow(), pItem->GetCell()));
|
||||
return false;
|
||||
}
|
||||
|
@ -755,7 +755,7 @@ bool DSManager::DoRefineStep(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_SOUL_
|
|||
|
||||
if (ch->GetGold() < fee)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xB3\xB7\xAE\xC0\xBB \xC7\xCF\xB1\xE2 \xC0\xA7\xC7\xD1 \xB5\xB7\xC0\xCC \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You do not have enough Yang to use this item."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL_NOT_ENOUGH_MONEY, NPOS);
|
||||
return false;
|
||||
}
|
||||
|
@ -800,7 +800,7 @@ bool DSManager::DoRefineStep(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_SOUL_
|
|||
char buf[128];
|
||||
sprintf(buf, "STEP : %d -> %d", step_idx, result_step);
|
||||
LogManager::instance().ItemLog(ch, pResultItem, "DS_STEP_REFINE_SUCCESS", buf);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xDC\xB0\xE8 \xB0\xB3\xB7\xAE\xBF\xA1 \xBC\xBA\xB0\xF8\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Improvement of the clarity level successful."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_SUCCEED, TItemPos (pResultItem->GetWindow(), pResultItem->GetCell()));
|
||||
return true;
|
||||
}
|
||||
|
@ -809,7 +809,7 @@ bool DSManager::DoRefineStep(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_SOUL_
|
|||
char buf[128];
|
||||
sprintf(buf, "STEP : %d -> %d", step_idx, result_step);
|
||||
LogManager::instance().ItemLog(ch, pResultItem, "DS_STEP_REFINE_FAIL", buf);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xDC\xB0\xE8 \xB0\xB3\xB7\xAE\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Improvement of the clarity level failed."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL, TItemPos (pResultItem->GetWindow(), pResultItem->GetCell()));
|
||||
return false;
|
||||
}
|
||||
|
@ -892,7 +892,7 @@ bool DSManager::DoRefineStrength(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_S
|
|||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xAD\xC8\xAD\xBF\xA1 \xC7\xCA\xBF\xE4\xC7\xD1 \xC0\xE7\xB7\xE1\xB0\xA1 \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item is not required for improving the clarity level."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL_INVALID_MATERIAL, TItemPos(pItem->GetWindow(), pItem->GetCell()));
|
||||
return false;
|
||||
}
|
||||
|
@ -915,14 +915,14 @@ bool DSManager::DoRefineStrength(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_S
|
|||
// 가중치 값이 없다면 강화할 수 없는 용혼석
|
||||
if (!m_pTable->GetWeight(bType, bGrade, bStep, bStrength + 1, fWeight))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xAD\xC8\xAD\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBF\xEB\xC8\xA5\xBC\xAE\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This Dragon Stone cannot be used for strengthening."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL_MAX_REFINE, TItemPos(pDragonSoul->GetWindow(), pDragonSoul->GetCell()));
|
||||
return false;
|
||||
}
|
||||
// 강화했을 때 가중치가 0이라면 더 이상 강화되서는 안된다.
|
||||
if (fWeight < FLT_EPSILON)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xAD\xC8\xAD\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBF\xEB\xC8\xA5\xBC\xAE\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This Dragon Stone cannot be used for strengthening."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL_MAX_REFINE, TItemPos(pDragonSoul->GetWindow(), pDragonSoul->GetCell()));
|
||||
return false;
|
||||
}
|
||||
|
@ -931,7 +931,7 @@ bool DSManager::DoRefineStrength(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_S
|
|||
float fProb;
|
||||
if (!m_pTable->GetRefineStrengthValues(bType, pRefineStone->GetSubType(), bStrength, fee, fProb))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xAD\xC8\xAD\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBF\xEB\xC8\xA5\xBC\xAE\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This Dragon Stone cannot be used for strengthening."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL_INVALID_MATERIAL, TItemPos(pDragonSoul->GetWindow(), pDragonSoul->GetCell()));
|
||||
|
||||
return false;
|
||||
|
@ -939,7 +939,7 @@ bool DSManager::DoRefineStrength(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_S
|
|||
|
||||
if (ch->GetGold() < fee)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xB3\xB7\xAE\xC0\xBB \xC7\xCF\xB1\xE2 \xC0\xA7\xC7\xD1 \xB5\xB7\xC0\xCC \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You do not have enough Yang to use this item."));
|
||||
SendRefineResultPacket(ch, DS_SUB_HEADER_REFINE_FAIL_NOT_ENOUGH_MONEY, NPOS);
|
||||
return false;
|
||||
}
|
||||
|
@ -967,7 +967,7 @@ bool DSManager::DoRefineStrength(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_S
|
|||
char buf[128];
|
||||
sprintf(buf, "STRENGTH : %d -> %d", bStrength, bStrength + 1);
|
||||
LogManager::instance().ItemLog(ch, pDragonSoul, "DS_STRENGTH_REFINE_SUCCESS", buf);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xAD\xC8\xAD\xBF\xA1 \xBC\xBA\xB0\xF8\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Strengthening was successful."));
|
||||
ch->AutoGiveItem(pResult, true);
|
||||
bSubHeader = DS_SUB_HEADER_REFINE_SUCCEED;
|
||||
}
|
||||
|
@ -991,7 +991,7 @@ bool DSManager::DoRefineStrength(LPCHARACTER ch, TItemPos (&aItemPoses)[DRAGON_S
|
|||
// strength강화는 실패시 깨질 수도 있어, 원본 아이템을 바탕으로 로그를 남김.
|
||||
LogManager::instance().ItemLog(ch, pDragonSoul, "DS_STRENGTH_REFINE_FAIL", buf);
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xAD\xC8\xAD\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Strengthening failed."));
|
||||
pDragonSoul->SetCount(pDragonSoul->GetCount() - 1);
|
||||
pRefineStone->SetCount(pRefineStone->GetCount() - 1);
|
||||
if (NULL != pResult)
|
||||
|
|
|
@ -155,11 +155,11 @@ bool COXEventManager::ShowQuizList(LPCHARACTER pkChar)
|
|||
{
|
||||
for (size_t j = 0; j < m_vec_quiz[i].size(); ++j, ++c)
|
||||
{
|
||||
pkChar->ChatPacket(CHAT_TYPE_INFO, "%d %s %s", m_vec_quiz[i][j].level, m_vec_quiz[i][j].Quiz, m_vec_quiz[i][j].answer ? LC_TEXT("\xC2\xFC") : LC_TEXT("\xB0\xC5\xC1\xFE"));
|
||||
pkChar->ChatPacket(CHAT_TYPE_INFO, "%d %s %s", m_vec_quiz[i][j].level, m_vec_quiz[i][j].Quiz, m_vec_quiz[i][j].answer ? LC_TEXT("TRUE") : LC_TEXT("FALSE"));
|
||||
}
|
||||
}
|
||||
|
||||
pkChar->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xD1 \xC4\xFB\xC1\xEE \xBC\xF6: %d"), c);
|
||||
pkChar->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Total number of the Quiz: %d"), c);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -197,22 +197,22 @@ EVENTFUNC(oxevent_timer)
|
|||
switch (flag)
|
||||
{
|
||||
case 0:
|
||||
SendNoticeMap(LC_TEXT("10\xC3\xCA\xB5\xDA \xC6\xC7\xC1\xA4\xC7\xCF\xB0\xDA\xBD\xC0\xB4\xCF\xB4\xD9."), OXEVENT_MAP_INDEX, true);
|
||||
SendNoticeMap(LC_TEXT("The result will follow in 10 seconds."), OXEVENT_MAP_INDEX, true);
|
||||
flag++;
|
||||
return PASSES_PER_SEC(10);
|
||||
|
||||
case 1:
|
||||
SendNoticeMap(LC_TEXT("\xC1\xA4\xB4\xE4\xC0\xBA"), OXEVENT_MAP_INDEX, true);
|
||||
SendNoticeMap(LC_TEXT("The correct answer is:"), OXEVENT_MAP_INDEX, true);
|
||||
|
||||
if (info->answer == true)
|
||||
{
|
||||
COXEventManager::instance().CheckAnswer(true);
|
||||
SendNoticeMap(LC_TEXT("O \xC0\xD4\xB4\xCF\xB4\xD9"), OXEVENT_MAP_INDEX, true);
|
||||
SendNoticeMap(LC_TEXT("Yes (O)"), OXEVENT_MAP_INDEX, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
COXEventManager::instance().CheckAnswer(false);
|
||||
SendNoticeMap(LC_TEXT("X \xC0\xD4\xB4\xCF\xB4\xD9"), OXEVENT_MAP_INDEX, true);
|
||||
SendNoticeMap(LC_TEXT("No (X)"), OXEVENT_MAP_INDEX, true);
|
||||
}
|
||||
|
||||
if (LC_IsJapan())
|
||||
|
@ -221,7 +221,7 @@ EVENTFUNC(oxevent_timer)
|
|||
}
|
||||
else
|
||||
{
|
||||
SendNoticeMap(LC_TEXT("5\xC3\xCA \xB5\xDA \xC6\xB2\xB8\xAE\xBD\xC5 \xBA\xD0\xB5\xE9\xC0\xBB \xB9\xD9\xB1\xF9\xC0\xB8\xB7\xCE \xC0\xCC\xB5\xBF \xBD\xC3\xC5\xB0\xB0\xDA\xBD\xC0\xB4\xCF\xB4\xD9."), OXEVENT_MAP_INDEX, true);
|
||||
SendNoticeMap(LC_TEXT("In 5 sec. everyone who gave an incorrect answer will be removed."), OXEVENT_MAP_INDEX, true);
|
||||
}
|
||||
|
||||
flag++;
|
||||
|
@ -230,7 +230,7 @@ EVENTFUNC(oxevent_timer)
|
|||
case 2:
|
||||
COXEventManager::instance().WarpToAudience();
|
||||
COXEventManager::instance().SetStatus(OXEVENT_CLOSE);
|
||||
SendNoticeMap(LC_TEXT("\xB4\xD9\xC0\xBD \xB9\xAE\xC1\xA6 \xC1\xD8\xBA\xF1\xC7\xD8\xC1\xD6\xBC\xBC\xBF\xE4."), OXEVENT_MAP_INDEX, true);
|
||||
SendNoticeMap(LC_TEXT("Ready for the next question?"), OXEVENT_MAP_INDEX, true);
|
||||
flag = 0;
|
||||
break;
|
||||
}
|
||||
|
@ -247,9 +247,9 @@ bool COXEventManager::Quiz(unsigned char level, int timelimit)
|
|||
|
||||
int idx = Random::get<int>(0, m_vec_quiz[level].size() - 1);
|
||||
|
||||
SendNoticeMap(LC_TEXT("\xB9\xAE\xC1\xA6 \xC0\xD4\xB4\xCF\xB4\xD9."), OXEVENT_MAP_INDEX, true);
|
||||
SendNoticeMap(LC_TEXT("OX-Question: ), OXEVENT_MAP_INDEX, true);
|
||||
SendNoticeMap(m_vec_quiz[level][idx].Quiz, OXEVENT_MAP_INDEX, true);
|
||||
SendNoticeMap(LC_TEXT("\xB8\xC2\xC0\xB8\xB8\xE9 O, \xC6\xB2\xB8\xAE\xB8\xE9 X\xB7\xCE \xC0\xCC\xB5\xBF\xC7\xD8\xC1\xD6\xBC\xBC\xBF\xE4"), OXEVENT_MAP_INDEX, true);
|
||||
SendNoticeMap(LC_TEXT("If it's correct, then go to O. If it's wrong, go to X."), OXEVENT_MAP_INDEX, true);
|
||||
|
||||
if (m_timedEvent != NULL) {
|
||||
event_cancel(&m_timedEvent);
|
||||
|
@ -312,7 +312,7 @@ bool COXEventManager::CheckAnswer(bool answer)
|
|||
}
|
||||
else
|
||||
{
|
||||
pkChar->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xA4\xB4\xE4\xC0\xD4\xB4\xCF\xB4\xD9!"));
|
||||
pkChar->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Correct!"));
|
||||
// pkChar->CreateFly(Random::get(FLY_FIREWORK1, FLY_FIREWORK6), pkChar);
|
||||
char chatbuf[256];
|
||||
int len = snprintf(chatbuf, sizeof(chatbuf),
|
||||
|
|
|
@ -233,17 +233,17 @@ EVENTFUNC(ready_to_start_event)
|
|||
|
||||
if (chA != NULL)
|
||||
{
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xBB\xF3\xB4\xEB\xB0\xA1 \xBB\xE7\xB6\xF3\xC1\xAE \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The duel has finished, because your combatant vanished."));
|
||||
SPDLOG_DEBUG("ARENA: Oppernent is disappered. MyPID({}) OppPID({})", pArena->GetPlayerAPID(), pArena->GetPlayerBPID());
|
||||
}
|
||||
|
||||
if (chB != NULL)
|
||||
{
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xBB\xF3\xB4\xEB\xB0\xA1 \xBB\xE7\xB6\xF3\xC1\xAE \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The duel has finished, because your combatant vanished."));
|
||||
SPDLOG_DEBUG("ARENA: Oppernent is disappered. MyPID({}) OppPID({})", pArena->GetPlayerBPID(), pArena->GetPlayerAPID());
|
||||
}
|
||||
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("\xB4\xEB\xB7\xC3 \xBB\xF3\xB4\xEB\xB0\xA1 \xBB\xE7\xB6\xF3\xC1\xAE \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("The duel has finished, because your combatant vanished."));
|
||||
|
||||
pArena->EndDuel();
|
||||
return 0;
|
||||
|
@ -260,20 +260,20 @@ EVENTFUNC(ready_to_start_event)
|
|||
|
||||
if (count > 10000)
|
||||
{
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB9\xB0\xBE\xE0 \xC1\xA6\xC7\xD1\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB9\xB0\xBE\xE0 \xC1\xA6\xC7\xD1\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There is no limit for Potions."));
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There is no limit for Potions."));
|
||||
}
|
||||
else
|
||||
{
|
||||
chA->SetPotionLimit(count);
|
||||
chB->SetPotionLimit(count);
|
||||
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB9\xB0\xBE\xE0\xC0\xBB %d \xB0\xB3 \xB1\xEE\xC1\xF6 \xBB\xE7\xBF\xEB \xB0\xA1\xB4\xC9\xC7\xD5\xB4\xCF\xB4\xD9."), chA->GetPotionLimit());
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB9\xB0\xBE\xE0\xC0\xBB %d \xB0\xB3 \xB1\xEE\xC1\xF6 \xBB\xE7\xBF\xEB \xB0\xA1\xB4\xC9\xC7\xD5\xB4\xCF\xB4\xD9."), chB->GetPotionLimit());
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can use up to %d potions."), chA->GetPotionLimit());
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can use up to %d potions."), chB->GetPotionLimit());
|
||||
}
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("10\xC3\xCA\xB5\xDA \xB4\xEB\xB7\xC3\xC0\xCC \xBD\xC3\xC0\xDB\xB5\xCB\xB4\xCF\xB4\xD9."));
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("10\xC3\xCA\xB5\xDA \xB4\xEB\xB7\xC3\xC0\xCC \xBD\xC3\xC0\xDB\xB5\xCB\xB4\xCF\xB4\xD9."));
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_INFO, LC_TEXT("10\xC3\xCA\xB5\xDA \xB4\xEB\xB7\xC3\xC0\xCC \xBD\xC3\xC0\xDB\xB5\xCB\xB4\xCF\xB4\xD9."));
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The fight will start in 10 seconds."));
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The fight will start in 10 seconds."));
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_INFO, LC_TEXT("The fight will start in 10 seconds."));
|
||||
|
||||
info->state++;
|
||||
return PASSES_PER_SEC(10);
|
||||
|
@ -282,9 +282,9 @@ EVENTFUNC(ready_to_start_event)
|
|||
|
||||
case 1:
|
||||
{
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xCC \xBD\xC3\xC0\xDB\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xCC \xBD\xC3\xC0\xDB\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xCC \xBD\xC3\xC0\xDB\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The duel has begun."));
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The duel has begun."));
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_INFO, LC_TEXT("The duel has begun."));
|
||||
|
||||
TPacketGCDuelStart duelStart;
|
||||
duelStart.header = HEADER_GC_DUEL_START;
|
||||
|
@ -354,9 +354,9 @@ EVENTFUNC(ready_to_start_event)
|
|||
buf2.write(&dwOppList[0], 4);
|
||||
chB->GetDesc()->Packet(buf2.read_peek(), buf2.size());
|
||||
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xCC \xBD\xC3\xC0\xDB\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xCC \xBD\xC3\xC0\xDB\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xCC \xBD\xC3\xC0\xDB\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The duel has begun."));
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The duel has begun."));
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_INFO, LC_TEXT("The duel has begun."));
|
||||
|
||||
pArena->ClearEvent();
|
||||
|
||||
|
@ -366,9 +366,9 @@ EVENTFUNC(ready_to_start_event)
|
|||
|
||||
default:
|
||||
{
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xE5 \xB9\xAE\xC1\xA6\xB7\xCE \xC0\xCE\xC7\xCF\xBF\xA9 \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xE5 \xB9\xAE\xC1\xA6\xB7\xCE \xC0\xCE\xC7\xCF\xBF\xA9 \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xE5 \xB9\xAE\xC1\xA6\xB7\xCE \xC0\xCE\xC7\xCF\xBF\xA9 \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The duel is being finished because there is a problem in the duel arena."));
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The duel is being finished because there is a problem in the duel arena."));
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_INFO, LC_TEXT("The duel is being finished because there is a problem in the duel arena."));
|
||||
|
||||
SPDLOG_DEBUG("ARENA: Something wrong in event func. info->state({})", info->state);
|
||||
|
||||
|
@ -407,17 +407,17 @@ EVENTFUNC(duel_time_out)
|
|||
{
|
||||
if (chA != NULL)
|
||||
{
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xBB\xF3\xB4\xEB\xB0\xA1 \xBB\xE7\xB6\xF3\xC1\xAE \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
chA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The duel has finished, because your combatant vanished."));
|
||||
SPDLOG_DEBUG("ARENA: Oppernent is disappered. MyPID({}) OppPID({})", pArena->GetPlayerAPID(), pArena->GetPlayerBPID());
|
||||
}
|
||||
|
||||
if (chB != NULL)
|
||||
{
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xBB\xF3\xB4\xEB\xB0\xA1 \xBB\xE7\xB6\xF3\xC1\xAE \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
chB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The duel has finished, because your combatant vanished."));
|
||||
SPDLOG_DEBUG("ARENA: Oppernent is disappered. MyPID({}) OppPID({})", pArena->GetPlayerBPID(), pArena->GetPlayerAPID());
|
||||
}
|
||||
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xBB\xF3\xB4\xEB\xB0\xA1 \xBB\xE7\xB6\xF3\xC1\xAE \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_INFO, LC_TEXT("The duel has finished, because your combatant vanished."));
|
||||
|
||||
pArena->EndDuel();
|
||||
return 0;
|
||||
|
@ -427,14 +427,14 @@ EVENTFUNC(duel_time_out)
|
|||
switch (info->state)
|
||||
{
|
||||
case 0:
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("\xB4\xEB\xB7\xC3 \xBD\xC3\xB0\xA3 \xC3\xCA\xB0\xFA\xB7\xCE \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xDF\xB4\xDC\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("10\xC3\xCA\xB5\xDA \xB8\xB6\xC0\xBB\xB7\xCE \xC0\xCC\xB5\xBF\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("The duel has finished because of a timeout."));
|
||||
pArena->SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("In 10 seconds you will be teleported into the city."));
|
||||
|
||||
chA->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("\xB4\xEB\xB7\xC3 \xBD\xC3\xB0\xA3 \xC3\xCA\xB0\xFA\xB7\xCE \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xDF\xB4\xDC\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
chA->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("10\xC3\xCA\xB5\xDA \xB8\xB6\xC0\xBB\xB7\xCE \xC0\xCC\xB5\xBF\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
chA->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("The duel has finished because of a timeout."));
|
||||
chA->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("In 10 seconds you will be teleported into the city."));
|
||||
|
||||
chB->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("\xB4\xEB\xB7\xC3 \xBD\xC3\xB0\xA3 \xC3\xCA\xB0\xFA\xB7\xCE \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xDF\xB4\xDC\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
chB->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("10\xC3\xCA\xB5\xDA \xB8\xB6\xC0\xBB\xB7\xCE \xC0\xCC\xB5\xBF\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
chB->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("The duel has finished because of a timeout."));
|
||||
chB->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("In 10 seconds you will be teleported into the city."));
|
||||
|
||||
TPacketGCDuelStart duelStart;
|
||||
duelStart.header = HEADER_GC_DUEL_START;
|
||||
|
@ -729,19 +729,19 @@ bool CArena::OnDead(DWORD dwPIDA, DWORD dwPIDB)
|
|||
if (pCharA == NULL && pCharB == NULL)
|
||||
{
|
||||
// 둘다 접속이 끊어졌다 ?!
|
||||
SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xDA \xB9\xAE\xC1\xA6\xB7\xCE \xC0\xCE\xC7\xCF\xBF\xA9 \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xDF\xB4\xDC\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("The duel has been stopped because there is a problem in the arena."));
|
||||
restart = false;
|
||||
}
|
||||
else if (pCharA == NULL && pCharB != NULL)
|
||||
{
|
||||
pCharB->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("\xBB\xF3\xB4\xEB\xB9\xE6 \xC4\xB3\xB8\xAF\xC5\xCD\xC0\xC7 \xB9\xAE\xC1\xA6\xB7\xCE \xC0\xCE\xC7\xCF\xBF\xA9 \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xDA \xB9\xAE\xC1\xA6\xB7\xCE \xC0\xCE\xC7\xCF\xBF\xA9 \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
pCharB->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("Your combatant has got some problems. The duel is being cancelled."));
|
||||
SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("The duel is being cancelled as there is a problem with the combatant."));
|
||||
restart = false;
|
||||
}
|
||||
else if (pCharA != NULL && pCharB == NULL)
|
||||
{
|
||||
pCharA->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("\xBB\xF3\xB4\xEB\xB9\xE6 \xC4\xB3\xB8\xAF\xC5\xCD\xC0\xC7 \xB9\xAE\xC1\xA6\xB7\xCE \xC0\xCE\xC7\xCF\xBF\xA9 \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xDA \xB9\xAE\xC1\xA6\xB7\xCE \xC0\xCE\xC7\xCF\xBF\xA9 \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
pCharA->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("Your combatant has got some problems. The duel is being cancelled."));
|
||||
SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("The duel is being cancelled as there is a problem with the combatant."));
|
||||
restart = false;
|
||||
}
|
||||
else if (pCharA != NULL && pCharB != NULL)
|
||||
|
@ -752,9 +752,9 @@ bool CArena::OnDead(DWORD dwPIDA, DWORD dwPIDB)
|
|||
|
||||
if (m_dwSetPointOfA >= m_dwSetCount)
|
||||
{
|
||||
pCharA->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("%s \xB4\xD4\xC0\xCC \xB4\xEB\xB7\xC3\xBF\xA1\xBC\xAD \xBD\xC2\xB8\xAE\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), pCharA->GetName());
|
||||
pCharB->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("%s \xB4\xD4\xC0\xCC \xB4\xEB\xB7\xC3\xBF\xA1\xBC\xAD \xBD\xC2\xB8\xAE\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), pCharA->GetName());
|
||||
SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("%s \xB4\xD4\xC0\xCC \xB4\xEB\xB7\xC3\xBF\xA1\xBC\xAD \xBD\xC2\xB8\xAE\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), pCharA->GetName());
|
||||
pCharA->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("%s has won the duel."), pCharA->GetName());
|
||||
pCharB->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("%s has won the duel."), pCharA->GetName());
|
||||
SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("%s has won the duel."), pCharA->GetName());
|
||||
|
||||
SPDLOG_DEBUG("ARENA: Duel is end. Winner {}({}) Loser {}({})",
|
||||
pCharA->GetName(), GetPlayerAPID(), pCharB->GetName(), GetPlayerBPID());
|
||||
|
@ -762,10 +762,10 @@ bool CArena::OnDead(DWORD dwPIDA, DWORD dwPIDB)
|
|||
else
|
||||
{
|
||||
restart = true;
|
||||
pCharA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xB4\xD4\xC0\xCC \xBD\xC2\xB8\xAE\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), pCharA->GetName());
|
||||
pCharA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s has won."), pCharA->GetName());
|
||||
pCharA->ChatPacket(CHAT_TYPE_NOTICE, "%s %d : %d %s", pCharA->GetName(), m_dwSetPointOfA, m_dwSetPointOfB, pCharB->GetName());
|
||||
|
||||
pCharB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xB4\xD4\xC0\xCC \xBD\xC2\xB8\xAE\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), pCharA->GetName());
|
||||
pCharB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s has won."), pCharA->GetName());
|
||||
pCharB->ChatPacket(CHAT_TYPE_NOTICE, "%s %d : %d %s", pCharA->GetName(), m_dwSetPointOfA, m_dwSetPointOfB, pCharB->GetName());
|
||||
|
||||
SendChatPacketToObserver(CHAT_TYPE_NOTICE, "%s %d : %d %s", pCharA->GetName(), m_dwSetPointOfA, m_dwSetPointOfB, pCharB->GetName());
|
||||
|
@ -779,19 +779,19 @@ bool CArena::OnDead(DWORD dwPIDA, DWORD dwPIDB)
|
|||
m_dwSetPointOfB++;
|
||||
if (m_dwSetPointOfB >= m_dwSetCount)
|
||||
{
|
||||
pCharA->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("%s \xB4\xD4\xC0\xCC \xB4\xEB\xB7\xC3\xBF\xA1\xBC\xAD \xBD\xC2\xB8\xAE\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), pCharB->GetName());
|
||||
pCharB->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("%s \xB4\xD4\xC0\xCC \xB4\xEB\xB7\xC3\xBF\xA1\xBC\xAD \xBD\xC2\xB8\xAE\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), pCharB->GetName());
|
||||
SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("%s \xB4\xD4\xC0\xCC \xB4\xEB\xB7\xC3\xBF\xA1\xBC\xAD \xBD\xC2\xB8\xAE\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), pCharB->GetName());
|
||||
pCharA->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("%s has won the duel."), pCharB->GetName());
|
||||
pCharB->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("%s has won the duel."), pCharB->GetName());
|
||||
SendChatPacketToObserver(CHAT_TYPE_NOTICE, LC_TEXT("%s has won the duel."), pCharB->GetName());
|
||||
|
||||
SPDLOG_DEBUG("ARENA: Duel is end. Winner({}) Loser({})", GetPlayerBPID(), GetPlayerAPID());
|
||||
}
|
||||
else
|
||||
{
|
||||
restart = true;
|
||||
pCharA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xB4\xD4\xC0\xCC \xBD\xC2\xB8\xAE\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), pCharB->GetName());
|
||||
pCharA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s has won."), pCharB->GetName());
|
||||
pCharA->ChatPacket(CHAT_TYPE_NOTICE, "%s %d : %d %s", pCharA->GetName(), m_dwSetPointOfA, m_dwSetPointOfB, pCharB->GetName());
|
||||
|
||||
pCharB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xB4\xD4\xC0\xCC \xBD\xC2\xB8\xAE\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), pCharB->GetName());
|
||||
pCharB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s has won."), pCharB->GetName());
|
||||
pCharB->ChatPacket(CHAT_TYPE_NOTICE, "%s %d : %d %s", pCharA->GetName(), m_dwSetPointOfA, m_dwSetPointOfB, pCharB->GetName());
|
||||
|
||||
SendChatPacketToObserver(CHAT_TYPE_NOTICE, "%s %d : %d %s", pCharA->GetName(), m_dwSetPointOfA, m_dwSetPointOfB, pCharB->GetName());
|
||||
|
@ -817,12 +817,12 @@ bool CArena::OnDead(DWORD dwPIDA, DWORD dwPIDB)
|
|||
if (restart == false)
|
||||
{
|
||||
if (pCharA != NULL)
|
||||
pCharA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("10\xC3\xCA\xB5\xDA \xB8\xB6\xC0\xBB\xB7\xCE \xB5\xC7\xB5\xB9\xBE\xC6\xB0\xA9\xB4\xCF\xB4\xD9."));
|
||||
pCharA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You will be teleported into the city in 10 seconds."));
|
||||
|
||||
if ( pCharB != NULL)
|
||||
pCharB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("10\xC3\xCA\xB5\xDA \xB8\xB6\xC0\xBB\xB7\xCE \xB5\xC7\xB5\xB9\xBE\xC6\xB0\xA9\xB4\xCF\xB4\xD9."));
|
||||
pCharB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You will be teleported into the city in 10 seconds."));
|
||||
|
||||
SendChatPacketToObserver(CHAT_TYPE_INFO, LC_TEXT("10\xC3\xCA\xB5\xDA \xB8\xB6\xC0\xBB\xB7\xCE \xB5\xC7\xB5\xB9\xBE\xC6\xB0\xA9\xB4\xCF\xB4\xD9."));
|
||||
SendChatPacketToObserver(CHAT_TYPE_INFO, LC_TEXT("You will be teleported into the city in 10 seconds."));
|
||||
|
||||
if (m_pEvent != NULL) {
|
||||
event_cancel(&m_pEvent);
|
||||
|
@ -838,12 +838,12 @@ bool CArena::OnDead(DWORD dwPIDA, DWORD dwPIDB)
|
|||
else
|
||||
{
|
||||
if (pCharA != NULL)
|
||||
pCharA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("10\xC3\xCA\xB5\xDA \xB4\xD9\xC0\xBD \xC6\xC7\xC0\xBB \xBD\xC3\xC0\xDB\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
pCharA->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The next round will begin in 10 seconds."));
|
||||
|
||||
if (pCharB != NULL)
|
||||
pCharB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("10\xC3\xCA\xB5\xDA \xB4\xD9\xC0\xBD \xC6\xC7\xC0\xBB \xBD\xC3\xC0\xDB\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
pCharB->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The next round will begin in 10 seconds."));
|
||||
|
||||
SendChatPacketToObserver(CHAT_TYPE_INFO, LC_TEXT("10\xC3\xCA\xB5\xDA \xB4\xD9\xC0\xBD \xC6\xC7\xC0\xBB \xBD\xC3\xC0\xDB\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
SendChatPacketToObserver(CHAT_TYPE_INFO, LC_TEXT("The next round will begin in 10 seconds."));
|
||||
|
||||
if (m_pEvent != NULL) {
|
||||
event_cancel(&m_pEvent);
|
||||
|
@ -949,7 +949,7 @@ void CArena::OnDisconnect(DWORD pid)
|
|||
if (m_dwPIDA == pid)
|
||||
{
|
||||
if (GetPlayerB() != NULL)
|
||||
GetPlayerB()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xB4\xEB\xB9\xE6 \xC4\xB3\xB8\xAF\xC5\xCD\xB0\xA1 \xC1\xA2\xBC\xD3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xCF\xBF\xA9 \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xDF\xC1\xF6\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
GetPlayerB()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The combatants have been separated. The duel has been stopped."));
|
||||
|
||||
SPDLOG_DEBUG("ARENA : Duel is end because of Opp({}) is disconnect. MyPID({})", GetPlayerAPID(), GetPlayerBPID());
|
||||
EndDuel();
|
||||
|
@ -957,7 +957,7 @@ void CArena::OnDisconnect(DWORD pid)
|
|||
else if (m_dwPIDB == pid)
|
||||
{
|
||||
if (GetPlayerA() != NULL)
|
||||
GetPlayerA()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xB4\xEB\xB9\xE6 \xC4\xB3\xB8\xAF\xC5\xCD\xB0\xA1 \xC1\xA2\xBC\xD3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xCF\xBF\xA9 \xB4\xEB\xB7\xC3\xC0\xBB \xC1\xDF\xC1\xF6\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
GetPlayerA()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The combatants have been separated. The duel has been stopped."));
|
||||
|
||||
SPDLOG_DEBUG("ARENA : Duel is end because of Opp({}) is disconnect. MyPID({})", GetPlayerBPID(), GetPlayerAPID());
|
||||
EndDuel();
|
||||
|
|
|
@ -147,10 +147,10 @@ int battle_melee_attack(LPCHARACTER ch, LPCHARACTER victim)
|
|||
}
|
||||
|
||||
if (timed_event_cancel(ch))
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xFC\xC5\xF5\xB0\xA1 \xBD\xC3\xC0\xDB \xB5\xC7\xBE\xEE \xC3\xEB\xBC\xD2 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Action cancelled. You have entered a battle."));
|
||||
|
||||
if (timed_event_cancel(victim))
|
||||
victim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xFC\xC5\xF5\xB0\xA1 \xBD\xC3\xC0\xDB \xB5\xC7\xBE\xEE \xC3\xEB\xBC\xD2 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
victim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Action cancelled. You have entered a battle."));
|
||||
|
||||
ch->SetPosition(POS_FIGHTING);
|
||||
ch->SetVictim(victim);
|
||||
|
|
|
@ -250,7 +250,7 @@ EVENTFUNC(castle_siege_event)
|
|||
// 공성 시작후 30분 이내라면 안내만 하자
|
||||
if (info->pulse < PASSES_PER_SEC(30*60))
|
||||
{
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s\xBF\xA1\xBC\xAD \xBA\xC0\xC8\xAD\xB8\xA6 \xB5\xD1\xB7\xAF\xBD\xCE\xB0\xED \xC0\xFC\xC5\xF5\xB0\xA1 \xC1\xF8\xC7\xE0\xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9."),
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("There are %s wars to inflame the bonfires."),
|
||||
EMPIRE_NAME(GET_SIEGE_EMPIRE()));
|
||||
BroadcastNotice(buf);
|
||||
|
||||
|
@ -264,10 +264,10 @@ EVENTFUNC(castle_siege_event)
|
|||
|
||||
case CASTLE_SIEGE_STRUGGLE:
|
||||
{
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s\xC0\xCC \xBC\xF6\xBC\xBA\xBF\xA1 \xBC\xBA\xB0\xF8\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."), EMPIRE_NAME(GET_SIEGE_EMPIRE()));
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s has successfully defended."), EMPIRE_NAME(GET_SIEGE_EMPIRE()));
|
||||
BroadcastNotice(buf);
|
||||
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("\xC1\xF6\xB1\xDD\xBA\xCE\xC5\xCD %s\xC0\xBA 30\xBA\xD0\xB0\xA3 \xBA\xC0\xC8\xAD\xB8\xA6 \xC6\xC4\xB1\xAB\xC7\xCF\xBF\xA9 \xBA\xB8\xBB\xF3\xC0\xBB \xC8\xB9\xB5\xE6 \xC7\xD2 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."), EMPIRE_NAME(GET_SIEGE_EMPIRE()));
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("30 minutes from now on the player %s can get a reward because he destroyed the bonfire."), EMPIRE_NAME(GET_SIEGE_EMPIRE()));
|
||||
BroadcastNotice(buf);
|
||||
|
||||
GET_SIEGE_STATE() = CASTLE_SIEGE_END;
|
||||
|
@ -276,7 +276,7 @@ EVENTFUNC(castle_siege_event)
|
|||
}
|
||||
break;
|
||||
case CASTLE_SIEGE_END:
|
||||
BroadcastNotice(LC_TEXT("30\xBA\xD0\xC0\xCC \xB0\xE6\xB0\xFA\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9.. \xBA\xC0\xC8\xAD\xB0\xA1 \xBB\xE7\xB6\xF3\xC1\xFD\xB4\xCF\xB4\xD9."));
|
||||
BroadcastNotice(LC_TEXT("30 minutes are over. The bonfires have disappeared."));
|
||||
castle_end_siege();
|
||||
break;
|
||||
}
|
||||
|
@ -796,7 +796,7 @@ bool castle_spawn_tower(int empire, int tower_count)
|
|||
// broad cast
|
||||
{
|
||||
char buf[1024];
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s\xBF\xA1 \xC0\xFC\xC0\xEF\xC0\xC7 \xBD\xC3\xC0\xDB\xC0\xBB \xBE\xCB\xB8\xAE\xB4\xC2 \xBA\xC0\xC8\xAD\xB0\xA1 \xB3\xAA\xC5\xB8\xB3\xB5\xBD\xC0\xB4\xCF\xB4\xD9."), EMPIRE_NAME(empire));
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("A bonfire was inflamed at %s to warn because of a battle."), EMPIRE_NAME(empire));
|
||||
BroadcastNotice(buf);
|
||||
}
|
||||
return true;
|
||||
|
@ -864,7 +864,7 @@ void castle_tower_die(LPCHARACTER ch, LPCHARACTER killer)
|
|||
case CASTLE_SIEGE_END:
|
||||
{
|
||||
int siege_end = true;
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s\xC0\xCC \xBA\xC0\xC8\xAD\xB8\xA6 \xC6\xC4\xB1\xAB\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."), EMPIRE_NAME(killer_empire));
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s has destroyed the bonfire."), EMPIRE_NAME(killer_empire));
|
||||
BroadcastNotice(buf);
|
||||
|
||||
LogManager::instance().CharLog(killer, 0, "CASTLE_TORCH_KILL", "");
|
||||
|
@ -885,12 +885,12 @@ void castle_tower_die(LPCHARACTER ch, LPCHARACTER killer)
|
|||
{
|
||||
if (GET_SIEGE_STATE() == CASTLE_SIEGE_STRUGGLE)
|
||||
{
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s\xC0\xCC \xBC\xF6\xBC\xBA\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xA9 \xC0\xFC\xC0\xEF\xBF\xA1 \xC6\xD0\xB9\xE8\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.."), EMPIRE_NAME(GET_SIEGE_EMPIRE()));
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s lost the war as they have not been able to defend the castle."), EMPIRE_NAME(GET_SIEGE_EMPIRE()));
|
||||
BroadcastNotice(buf);
|
||||
}
|
||||
else
|
||||
{
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s\xC0\xCC \xB8\xF0\xB5\xE7 \xBA\xC0\xC8\xAD\xB8\xA6 \xC6\xC4\xB1\xAB\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), EMPIRE_NAME(GET_SIEGE_EMPIRE()));
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s has destroyed all the bonfires."), EMPIRE_NAME(GET_SIEGE_EMPIRE()));
|
||||
BroadcastNotice(buf);
|
||||
}
|
||||
castle_end_siege();
|
||||
|
|
|
@ -533,7 +533,7 @@ bool CHARACTER::AddAffect(DWORD dwType, BYTE bApplyOn, int lApplyValue, DWORD dw
|
|||
// CHAT_BLOCK
|
||||
if (dwType == AFFECT_BLOCK_CHAT && lDuration > 1)
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xEE\xBF\xB5\xC0\xDA \xC1\xA6\xC1\xA6\xB7\xCE \xC3\xA4\xC6\xC3\xC0\xCC \xB1\xDD\xC1\xF6 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your chat has been blocked by a GM."));
|
||||
}
|
||||
// END_OF_CHAT_BLOCK
|
||||
|
||||
|
@ -713,7 +713,7 @@ bool CHARACTER::RemoveAffect(DWORD dwType)
|
|||
// CHAT_BLOCK
|
||||
if (dwType == AFFECT_BLOCK_CHAT)
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xA4\xC6\xC3 \xB1\xDD\xC1\xF6\xB0\xA1 \xC7\xAE\xB7\xC8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your chat block has been lifted."));
|
||||
}
|
||||
// END_OF_CHAT_BLOCK
|
||||
|
||||
|
|
|
@ -286,14 +286,14 @@ void CHARACTER::DeathPenalty(BYTE bTown)
|
|||
if (GetLevel() < 10)
|
||||
{
|
||||
SPDLOG_DEBUG("NO_DEATH_PENALTY_LESS_LV10({})", GetName());
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xEB\xBD\xC5\xC0\xC7 \xB0\xA1\xC8\xA3\xB7\xCE \xB0\xE6\xC7\xE8\xC4\xA1\xB0\xA1 \xB6\xB3\xBE\xEE\xC1\xF6\xC1\xF6 \xBE\xCA\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You did not lose any Experience because of the Blessing of the Dragon God."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (Random::get(0, 2))
|
||||
{
|
||||
SPDLOG_DEBUG("NO_DEATH_PENALTY_LUCK({})", GetName());
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xEB\xBD\xC5\xC0\xC7 \xB0\xA1\xC8\xA3\xB7\xCE \xB0\xE6\xC7\xE8\xC4\xA1\xB0\xA1 \xB6\xB3\xBE\xEE\xC1\xF6\xC1\xF6 \xBE\xCA\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You did not lose any Experience because of the Blessing of the Dragon God."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -307,7 +307,7 @@ void CHARACTER::DeathPenalty(BYTE bTown)
|
|||
if (FindAffect(AFFECT_NO_DEATH_PENALTY))
|
||||
{
|
||||
SPDLOG_DEBUG("NO_DEATH_PENALTY_AFFECT({})", GetName());
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xEB\xBD\xC5\xC0\xC7 \xB0\xA1\xC8\xA3\xB7\xCE \xB0\xE6\xC7\xE8\xC4\xA1\xB0\xA1 \xB6\xB3\xBE\xEE\xC1\xF6\xC1\xF6 \xBE\xCA\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You did not lose any Experience because of the Blessing of the Dragon God."));
|
||||
RemoveAffect(AFFECT_NO_DEATH_PENALTY);
|
||||
return;
|
||||
}
|
||||
|
@ -317,7 +317,7 @@ void CHARACTER::DeathPenalty(BYTE bTown)
|
|||
if (FindAffect(AFFECT_NO_DEATH_PENALTY))
|
||||
{
|
||||
SPDLOG_DEBUG("NO_DEATH_PENALTY_AFFECT({})", GetName());
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xEB\xBD\xC5\xC0\xC7 \xB0\xA1\xC8\xA3\xB7\xCE \xB0\xE6\xC7\xE8\xC4\xA1\xB0\xA1 \xB6\xB3\xBE\xEE\xC1\xF6\xC1\xF6 \xBE\xCA\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You did not lose any Experience because of the Blessing of the Dragon God."));
|
||||
RemoveAffect(AFFECT_NO_DEATH_PENALTY);
|
||||
return;
|
||||
}
|
||||
|
@ -1330,7 +1330,7 @@ void CHARACTER::Dead(LPCHARACTER pkKiller, bool bImmediateDead)
|
|||
}
|
||||
|
||||
if (Random::get(1, 100) < iNoPenaltyProb)
|
||||
pkKiller->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xEB\xBD\xC5\xC0\xC7 \xBA\xB8\xC8\xA3\xB7\xCE \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xCC \xB6\xB3\xBE\xEE\xC1\xF6\xC1\xF6 \xBE\xCA\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
pkKiller->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You did not drop any Item(s) as you are protected by the Dragon God."));
|
||||
else
|
||||
{
|
||||
if (g_iUseLocale && pkKiller->GetParty())
|
||||
|
@ -1413,7 +1413,7 @@ void CHARACTER::Dead(LPCHARACTER pkKiller, bool bImmediateDead)
|
|||
if (pkKiller->m_dwUnderGuildWarInfoMessageTime < get_dword_time())
|
||||
{
|
||||
pkKiller->m_dwUnderGuildWarInfoMessageTime = get_dword_time() + 60000;
|
||||
pkKiller->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xC0\xFC\xC1\xDF\xBF\xA1\xB4\xC2 \xBB\xE7\xB3\xC9\xBF\xA1 \xB5\xFB\xB8\xA5 \xC0\xCC\xC0\xCD\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
pkKiller->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] There are no experience points for hunting during a guild war."));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1768,7 +1768,7 @@ bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) // retu
|
|||
IsPenetrate = true;
|
||||
|
||||
if (test_server)
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xFC\xC5\xEB \xC3\xDF\xB0\xA1 \xB5\xA5\xB9\xCC\xC1\xF6 %d"), GetPoint(POINT_DEF_GRADE) * (100 + GetPoint(POINT_DEF_BONUS)) / 100);
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Additional Stabbing Weapon Damage %d"), GetPoint(POINT_DEF_GRADE) * (100 + GetPoint(POINT_DEF_BONUS)) / 100);
|
||||
|
||||
dam += GetPoint(POINT_DEF_GRADE) * (100 + GetPoint(POINT_DEF_BONUS)) / 100;
|
||||
|
||||
|
@ -1894,7 +1894,7 @@ bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type) // retu
|
|||
IsPenetrate = true;
|
||||
|
||||
if (test_server)
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xFC\xC5\xEB \xC3\xDF\xB0\xA1 \xB5\xA5\xB9\xCC\xC1\xF6 %d"), GetPoint(POINT_DEF_GRADE) * (100 + GetPoint(POINT_DEF_BONUS)) / 100);
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Additional Stabbing Weapon Damage %d"), GetPoint(POINT_DEF_GRADE) * (100 + GetPoint(POINT_DEF_BONUS)) / 100);
|
||||
dam += GetPoint(POINT_DEF_GRADE) * (100 + GetPoint(POINT_DEF_BONUS)) / 100;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ bool CHARACTER::StartRiding()
|
|||
|
||||
if (IsPolymorphed())
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBA\xAF\xBD\xC5 \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD\xB4\xC2 \xB8\xBB\xBF\xA1 \xC5\xBB \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot ride a Horse while you are transformed."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ bool CHARACTER::StartRiding()
|
|||
|
||||
if (armor && (armor->GetVnum() >= 11901 && armor->GetVnum() <= 11904))
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xB9\xBA\xB9\xC0\xBB \xC0\xD4\xC0\xBA \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD \xB8\xBB\xC0\xBB \xC5\xBB \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot ride while you are wearing a Wedding Dress or a Tuxedo."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -48,11 +48,11 @@ bool CHARACTER::StartRiding()
|
|||
if (false == CHorseRider::StartRiding())
|
||||
{
|
||||
if (GetHorseLevel() <= 0)
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xC0\xBB \xBC\xD2\xC0\xAF\xC7\xCF\xB0\xED \xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You do not have a Horse."));
|
||||
else if (GetHorseHealth() <= 0)
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xC0\xCC \xC1\xD7\xBE\xEE\xC0\xD6\xB4\xC2 \xBB\xF3\xC5\xC2 \xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your Horse is dead."));
|
||||
else if (GetHorseStamina() <= 0)
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xC0\xC7 \xBD\xBA\xC5\xD7\xB9\xCC\xB3\xCA\xB0\xA1 \xBA\xCE\xC1\xB7\xC7\xCF\xBF\xA9 \xB8\xBB\xC0\xBB \xC5\xBB \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your Horse's endurance is too low."));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
@ -177,7 +177,7 @@ void CHARACTER::HorseSummon(bool bSummon, bool bFromFar, DWORD dwVnum, const cha
|
|||
|
||||
if (!m_chHorse)
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB \xBC\xD2\xC8\xAF\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Calling the Horse has failed."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -203,7 +203,7 @@ void CHARACTER::HorseSummon(bool bSummon, bool bFromFar, DWORD dwVnum, const cha
|
|||
else
|
||||
{
|
||||
m_chHorse->m_stName = GetName();
|
||||
m_chHorse->m_stName += LC_TEXT("\xB4\xD4\xC0\xC7 \xB8\xBB");
|
||||
m_chHorse->m_stName += LC_TEXT("'s Horse");
|
||||
}
|
||||
|
||||
if (!m_chHorse->Show(GetMapIndex(), x, y, GetZ()))
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -267,7 +267,7 @@ bool CHARACTER::LearnGrandMasterSkill(DWORD dwSkillVnum)
|
|||
|
||||
if (!IsLearnableSkill(dwSkillVnum))
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xF6\xB7\xC3\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBD\xBA\xC5\xB3\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot train this skill."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -282,7 +282,7 @@ bool CHARACTER::LearnGrandMasterSkill(DWORD dwSkillVnum)
|
|||
{
|
||||
// 주안술서 사용중에는 시간 제한 무시
|
||||
RemoveAffect(AFFECT_SKILL_NO_BOOK_DELAY);
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xD6\xBE\xC8\xBC\xFA\xBC\xAD\xB8\xA6 \xC5\xEB\xC7\xD8 \xC1\xD6\xC8\xAD\xC0\xD4\xB8\xB6\xBF\xA1\xBC\xAD \xBA\xFC\xC1\xAE\xB3\xAA\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have escaped the evil ghost curse with the help of an Exorcism Scroll."));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -296,16 +296,16 @@ bool CHARACTER::LearnGrandMasterSkill(DWORD dwSkillVnum)
|
|||
// bType이 0이면 처음부터 책으로 수련 가능
|
||||
if (pkSk->dwType == 0)
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xD7\xB7\xA3\xB5\xE5 \xB8\xB6\xBD\xBA\xC5\xCD \xBC\xF6\xB7\xC3\xC0\xBB \xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBD\xBA\xC5\xB3\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot train this skill up to Grand Master level."));
|
||||
return false;
|
||||
}
|
||||
|
||||
if (GetSkillMasterType(dwSkillVnum) != SKILL_GRAND_MASTER)
|
||||
{
|
||||
if (GetSkillMasterType(dwSkillVnum) > SKILL_GRAND_MASTER)
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC6\xDB\xC6\xE5\xC6\xAE \xB8\xB6\xBD\xBA\xC5\xCD\xB5\xC8 \xBD\xBA\xC5\xB3\xC0\xD4\xB4\xCF\xB4\xD9. \xB4\xF5 \xC0\xCC\xBB\xF3 \xBC\xF6\xB7\xC3 \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You already are a Master of this skill. You cannot train this skill any further."));
|
||||
else
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBD\xBA\xC5\xB3\xC0\xBA \xBE\xC6\xC1\xF7 \xB1\xD7\xB7\xA3\xB5\xE5 \xB8\xB6\xBD\xBA\xC5\xCD \xBC\xF6\xB7\xC3\xC0\xBB \xC7\xD2 \xB0\xE6\xC1\xF6\xBF\xA1 \xC0\xCC\xB8\xA3\xC1\xF6 \xBE\xCA\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your Skill is not high enough to become a Grand Master."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -386,15 +386,15 @@ bool CHARACTER::LearnGrandMasterSkill(DWORD dwSkillVnum)
|
|||
|
||||
if (bLastLevel == GetSkillLevel(dwSkillVnum))
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xC5\xA9\xC0\xB9, \xB1\xE2\xB0\xA1 \xBF\xAA\xB7\xF9\xC7\xCF\xB0\xED \xC0\xD6\xBE\xEE! \xC0\xCC\xB0\xC5 \xBC\xB3\xB8\xB6 \xC1\xD6\xC8\xAD\xC0\xD4\xB8\xB6\xC0\xCE\xB0\xA1!? \xC1\xA8\xC0\xE5!"));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xF6\xB7\xC3\xC0\xCC \xBD\xC7\xC6\xD0\xB7\xCE \xB3\xA1\xB3\xB5\xBD\xC0\xB4\xCF\xB4\xD9. \xB4\xD9\xBD\xC3 \xB5\xB5\xC0\xFC\xC7\xD8\xC1\xD6\xBD\xC3\xB1\xE2 \xB9\xD9\xB6\xF8\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("That did not work. Damn!"));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Training has failed. Please try again later."));
|
||||
LogManager::instance().CharLog(this, dwSkillVnum, "GM_READ_FAIL", "");
|
||||
return false;
|
||||
}
|
||||
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xB8\xF6\xBF\xA1\xBC\xAD \xB9\xBA\xB0\xA1 \xC8\xFB\xC0\xCC \xC5\xCD\xC1\xAE \xB3\xAA\xBF\xC0\xB4\xC2 \xB1\xE2\xBA\xD0\xC0\xCC\xBE\xDF!"));
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xB6\xDF\xB0\xC5\xBF\xEE \xB9\xAB\xBE\xF9\xC0\xCC \xB0\xE8\xBC\xD3 \xBF\xEB\xBC\xDA\xC0\xBD\xC4\xA1\xB0\xED \xC0\xD6\xBE\xEE! \xC0\xCC\xB0\xC7, \xC0\xCC\xB0\xCD\xC0\xBA!"));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xF5 \xB3\xF4\xC0\xBA \xB0\xE6\xC1\xF6\xC0\xC7 \xBC\xF6\xB7\xC3\xC0\xBB \xBC\xBA\xB0\xF8\xC0\xFB\xC0\xB8\xB7\xCE \xB3\xA1\xB3\xBB\xBC\xCC\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("My body is full of energy!"));
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("The training seems to be working already..."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You successfully finished your training with the book."));
|
||||
LogManager::instance().CharLog(this, dwSkillVnum, "GM_READ_SUCCESS", "");
|
||||
return true;
|
||||
}
|
||||
|
@ -421,7 +421,7 @@ bool CHARACTER::LearnSkillByBook(DWORD dwSkillVnum, BYTE bProb)
|
|||
|
||||
if (!IsLearnableSkill(dwSkillVnum))
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xF6\xB7\xC3\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBD\xBA\xC5\xB3\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot train this skill."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -433,7 +433,7 @@ bool CHARACTER::LearnSkillByBook(DWORD dwSkillVnum, BYTE bProb)
|
|||
|
||||
if ( GetExp() < need_exp )
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xE6\xC7\xE8\xC4\xA1\xB0\xA1 \xBA\xCE\xC1\xB7\xC7\xCF\xBF\xA9 \xC3\xA5\xC0\xBB \xC0\xD0\xC0\xBB \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot read this due to your lack of experience."));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -444,9 +444,9 @@ bool CHARACTER::LearnSkillByBook(DWORD dwSkillVnum, BYTE bProb)
|
|||
if (GetSkillMasterType(dwSkillVnum) != SKILL_MASTER)
|
||||
{
|
||||
if (GetSkillMasterType(dwSkillVnum) > SKILL_MASTER)
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBD\xBA\xC5\xB3\xC0\xBA \xC3\xA5\xC0\xB8\xB7\xCE \xB4\xF5\xC0\xCC\xBB\xF3 \xBC\xF6\xB7\xC3\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot train this skill with a Book."));
|
||||
else
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBD\xBA\xC5\xB3\xC0\xBA \xBE\xC6\xC1\xF7 \xC3\xA5\xC0\xB8\xB7\xCE \xBC\xF6\xB7\xC3\xC7\xD2 \xB0\xE6\xC1\xF6\xBF\xA1 \xC0\xCC\xB8\xA3\xC1\xF6 \xBE\xCA\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This skill's level is not high enough to be trained with a Book."));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -459,7 +459,7 @@ bool CHARACTER::LearnSkillByBook(DWORD dwSkillVnum, BYTE bProb)
|
|||
{
|
||||
// 주안술서 사용중에는 시간 제한 무시
|
||||
RemoveAffect(AFFECT_SKILL_NO_BOOK_DELAY);
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xD6\xBE\xC8\xBC\xFA\xBC\xAD\xB8\xA6 \xC5\xEB\xC7\xD8 \xC1\xD6\xC8\xAD\xC0\xD4\xB8\xB6\xBF\xA1\xBC\xAD \xBA\xFC\xC1\xAE\xB3\xAA\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have escaped the evil ghost curse with the help of an Exorcism Scroll."));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -533,7 +533,7 @@ bool CHARACTER::LearnSkillByBook(DWORD dwSkillVnum, BYTE bProb)
|
|||
SkillLevelUp(dwSkillVnum, SKILL_UP_BY_BOOK);
|
||||
pPC->SetFlag(flag, 0);
|
||||
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xA5\xC0\xB8\xB7\xCE \xB4\xF5 \xB3\xF4\xC0\xBA \xB0\xE6\xC1\xF6\xC0\xC7 \xBC\xF6\xB7\xC3\xC0\xBB \xBC\xBA\xB0\xF8\xC0\xFB\xC0\xB8\xB7\xCE \xB3\xA1\xB3\xBB\xBC\xCC\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have successfully finished your training with the Book."));
|
||||
LogManager::instance().CharLog(this, dwSkillVnum, "READ_SUCCESS", "");
|
||||
return true;
|
||||
}
|
||||
|
@ -544,20 +544,20 @@ bool CHARACTER::LearnSkillByBook(DWORD dwSkillVnum, BYTE bProb)
|
|||
switch (Random::get(1, 3))
|
||||
{
|
||||
case 1:
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xBE\xEE\xB4\xC0\xC1\xA4\xB5\xB5 \xC0\xCC \xB1\xE2\xBC\xFA\xBF\xA1 \xB4\xEB\xC7\xD8 \xC0\xCC\xC7\xD8\xB0\xA1 \xB5\xC7\xBE\xFA\xC1\xF6\xB8\xB8 \xC1\xB6\xB1\xDD \xBA\xCE\xC1\xB7\xC7\xD1\xB5\xED \xC7\xD1\xB5\xA5.."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("I'm making progress, but I still haven't understood everything."));
|
||||
break;
|
||||
|
||||
case 2:
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xB5\xE5\xB5\xF0\xBE\xEE \xB3\xA1\xC0\xCC \xBA\xB8\xC0\xCC\xB4\xC2 \xB0\xC7\xB0\xA1... \xC0\xCC \xB1\xE2\xBC\xFA\xC0\xBA \xC0\xCC\xC7\xD8\xC7\xCF\xB1\xE2\xB0\xA1 \xB3\xCA\xB9\xAB \xC8\xFB\xB5\xE9\xBE\xEE.."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("These instructions are difficult to understand. I have to carry on studying."));
|
||||
break;
|
||||
|
||||
case 3:
|
||||
default:
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xBF\xAD\xBD\xC9\xC8\xF7 \xC7\xCF\xB4\xC2 \xB9\xE8\xBF\xF2\xC0\xBB \xB0\xA1\xC1\xF6\xB4\xC2 \xB0\xCD\xB8\xB8\xC0\xCC \xB1\xE2\xBC\xFA\xC0\xBB \xB9\xE8\xBF\xEF\xBC\xF6 \xC0\xD6\xB4\xC2 \xC0\xAF\xC0\xCF\xC7\xD1 \xB1\xE6\xC0\xCC\xB4\xD9.."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("I understand this chapter. But I've got to carry on working hard."));
|
||||
break;
|
||||
}
|
||||
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d \xB1\xC7\xC0\xBB \xB4\xF5 \xC0\xD0\xBE\xEE\xBE\xDF \xBC\xF6\xB7\xC3\xC0\xBB \xBF\xCF\xB7\xE1 \xC7\xD2 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."), need_bookcount - read_count);
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have to read %d more skill books to improve this skill."), need_bookcount - read_count);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -602,15 +602,15 @@ bool CHARACTER::LearnSkillByBook(DWORD dwSkillVnum, BYTE bProb)
|
|||
|
||||
if (bLastLevel != GetSkillLevel(dwSkillVnum))
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xB8\xF6\xBF\xA1\xBC\xAD \xB9\xBA\xB0\xA1 \xC8\xFB\xC0\xCC \xC5\xCD\xC1\xAE \xB3\xAA\xBF\xC0\xB4\xC2 \xB1\xE2\xBA\xD0\xC0\xCC\xBE\xDF!"));
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xB6\xDF\xB0\xC5\xBF\xEE \xB9\xAB\xBE\xF9\xC0\xCC \xB0\xE8\xBC\xD3 \xBF\xEB\xBC\xDA\xC0\xBD\xC4\xA1\xB0\xED \xC0\xD6\xBE\xEE! \xC0\xCC\xB0\xC7, \xC0\xCC\xB0\xCD\xC0\xBA!"));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xA5\xC0\xB8\xB7\xCE \xB4\xF5 \xB3\xF4\xC0\xBA \xB0\xE6\xC1\xF6\xC0\xC7 \xBC\xF6\xB7\xC3\xC0\xBB \xBC\xBA\xB0\xF8\xC0\xFB\xC0\xB8\xB7\xCE \xB3\xA1\xB3\xBB\xBC\xCC\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("My body is full of energy!"));
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("The training seems to be working already..."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have successfully finished your training with the Book."));
|
||||
LogManager::instance().CharLog(this, dwSkillVnum, "READ_SUCCESS", "");
|
||||
}
|
||||
else
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xC5\xA9\xC0\xB9, \xB1\xE2\xB0\xA1 \xBF\xAA\xB7\xF9\xC7\xCF\xB0\xED \xC0\xD6\xBE\xEE! \xC0\xCC\xB0\xC5 \xBC\xB3\xB8\xB6 \xC1\xD6\xC8\xAD\xC0\xD4\xB8\xB6\xC0\xCE\xB0\xA1!? \xC1\xA8\xC0\xE5!"));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xF6\xB7\xC3\xC0\xCC \xBD\xC7\xC6\xD0\xB7\xCE \xB3\xA1\xB3\xB5\xBD\xC0\xB4\xCF\xB4\xD9. \xB4\xD9\xBD\xC3 \xB5\xB5\xC0\xFC\xC7\xD8\xC1\xD6\xBD\xC3\xB1\xE2 \xB9\xD9\xB6\xF8\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("That did not work. Damn!"));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Training has failed. Please try again later."));
|
||||
LogManager::instance().CharLog(this, dwSkillVnum, "READ_FAIL", "");
|
||||
}
|
||||
|
||||
|
@ -694,7 +694,7 @@ void CHARACTER::SkillLevelUp(DWORD dwVnum, BYTE bMethod)
|
|||
|
||||
if (IsPolymorphed())
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xD0\xB0\xA9 \xC1\xDF\xBF\xA1\xB4\xC2 \xB4\xC9\xB7\xC2\xC0\xBB \xBF\xC3\xB8\xB1 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot change your status while you are transformed."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1642,7 +1642,7 @@ EVENTFUNC(skill_gwihwan_event)
|
|||
else
|
||||
{
|
||||
//실패
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xCD\xC8\xAF\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Teleportation has failed."));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -2421,9 +2421,9 @@ bool CHARACTER::UseSkill(DWORD dwVnum, LPCHARACTER pkVictim, bool bUseGrandMaste
|
|||
return false;
|
||||
|
||||
if (GetHorseLevel() <= 0)
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9. \xB8\xB6\xB1\xC2\xB0\xA3 \xB0\xE6\xBA\xF1\xBA\xB4\xC0\xBB \xC3\xA3\xBE\xC6\xB0\xA1\xBC\xBC\xBF\xE4."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("No Horse here. Ask the Stable Boy."));
|
||||
else
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB \xBC\xD2\xC8\xAF \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBB \xBB\xE7\xBF\xEB\xC7\xCF\xBC\xBC\xBF\xE4."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Please use an item to call a Horse."));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -2560,7 +2560,7 @@ bool CHARACTER::UseSkill(DWORD dwVnum, LPCHARACTER pkVictim, bool bUseGrandMaste
|
|||
return false;
|
||||
|
||||
if (test_server)
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s SP\xBC\xD2\xB8\xF0: %d"), pkSk->szName, iNeededSP);
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s FP-Consumption: %d"), pkSk->szName, iNeededSP);
|
||||
|
||||
PointChange(POINT_SP, -iNeededSP);
|
||||
}
|
||||
|
@ -2745,41 +2745,41 @@ void CHARACTER::SkillLearnWaitMoreTimeMessage(DWORD ms)
|
|||
//const char* str = "";
|
||||
//
|
||||
if (ms < 3 * 60)
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xB8\xF6 \xBC\xD3\xC0\xCC \xB6\xDF\xB0\xCC\xB1\xBA. \xC7\xCF\xC1\xF6\xB8\xB8 \xBE\xC6\xC1\xD6 \xC6\xED\xBE\xC8\xC7\xD8. \xC0\xCC\xB4\xEB\xB7\xCE \xB1\xE2\xB8\xA6 \xBE\xC8\xC1\xA4\xBD\xC3\xC5\xB0\xC0\xDA."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("I am burning inside, but it is calming down my body. My Chi has to stabilise."));
|
||||
else if (ms < 5 * 60)
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xB1\xD7\xB7\xA1, \xC3\xB5\xC3\xB5\xC8\xF7. \xC1\xBB\xB4\xF5 \xC3\xB5\xC3\xB5\xC8\xF7, \xB1\xD7\xB7\xAF\xB3\xAA \xB8\xB7\xC8\xFB \xBE\xF8\xC0\xCC \xBA\xFC\xB8\xA3\xB0\xD4!"));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("A little slow, but steady... Without stopping!"));
|
||||
else if (ms < 10 * 60) // 10분
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xB1\xD7\xB7\xA1, \xC0\xCC \xB4\xC0\xB3\xA6\xC0\xCC\xBE\xDF. \xC3\xBC\xB3\xBB\xBF\xA1 \xB1\xE2\xB0\xA1 \xBE\xC6\xC1\xD6 \xC3\xE6\xB8\xB8\xC7\xD8."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("Yes, that feels great. My body is full of Chi."));
|
||||
else if (ms < 30 * 60) // 30분
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xB4\xD9 \xC0\xD0\xBE\xFA\xB4\xD9! \xC0\xCC\xC1\xA6 \xBA\xF1\xB1\xDE\xBF\xA1 \xC0\xFB\xC7\xF4\xC0\xD6\xB4\xC2 \xB4\xEB\xB7\xCE \xC0\xFC\xBD\xC5\xBF\xA1 \xB1\xE2\xB8\xA6 \xB5\xB9\xB8\xAE\xB1\xE2\xB8\xB8 \xC7\xCF\xB8\xE9,"));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xB1\xD7\xB0\xCD\xC0\xB8\xB7\xCE \xBC\xF6\xB7\xC3\xC0\xBA \xB3\xA1\xB3\xAD \xB0\xC5\xBE\xDF!"));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("I have read it! Now the Chi will spread through my body."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("The training is completed."));
|
||||
}
|
||||
else if (ms < 1 * 3600) // 1시간
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xC0\xCC\xC1\xA6 \xC3\xA5\xC0\xC7 \xB8\xB6\xC1\xF6\xB8\xB7 \xC0\xE5\xC0\xCC\xBE\xDF! \xBC\xF6\xB7\xC3\xC0\xC7 \xB3\xA1\xC0\xCC \xB4\xAB\xBF\xA1 \xBA\xB8\xC0\xCC\xB0\xED \xC0\xD6\xBE\xEE!"));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("I am on the last page of the book. The training is nearly finished!"));
|
||||
else if (ms < 2 * 3600) // 2시간
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xBE\xF3\xB8\xB6 \xBE\xC8 \xB3\xB2\xBE\xD2\xBE\xEE! \xC1\xB6\xB1\xDD\xB8\xB8 \xB4\xF5!"));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("Nearly finished! Just a little bit more to go!"));
|
||||
else if (ms < 3 * 3600)
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xC1\xC1\xBE\xD2\xBE\xEE! \xC1\xB6\xB1\xDD\xB8\xB8 \xB4\xF5 \xC0\xD0\xC0\xB8\xB8\xE9 \xB3\xA1\xC0\xCC\xB4\xD9!"));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("Eureka! I have nearly finished reading it!"));
|
||||
else if (ms < 6 * 3600)
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xC3\xA5\xC0\xE5\xB5\xB5 \xC0\xCC\xC1\xA6 \xBE\xF3\xB8\xB6 \xB3\xB2\xC1\xF6 \xBE\xCA\xBE\xD2\xB1\xBA."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xB9\xBA\xB0\xA1 \xB8\xF6 \xBE\xC8\xBF\xA1 \xC8\xFB\xC0\xCC \xBB\xFD\xB1\xE2\xB4\xC2 \xB1\xE2\xBA\xD0\xC0\xCE \xB0\xC9."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("Only a few more pages and then I'll have read everything."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("I feel refreshed."));
|
||||
}
|
||||
else if (ms < 12 * 3600)
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xC0\xCC\xC1\xA6 \xC1\xBB \xBD\xBD\xBD\xBD \xB0\xA1\xB4\xDA\xC0\xCC \xC0\xE2\xC8\xF7\xB4\xC2 \xB0\xCD \xB0\xB0\xC0\xBA\xB5\xA5."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xC1\xC1\xBE\xC6, \xC0\xCC \xB1\xE2\xBC\xBC\xB7\xCE \xB0\xE8\xBC\xD3 \xB3\xAA\xB0\xA3\xB4\xD9!"));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("Now I understand it!"));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("Okay I have to stay concentrated!"));
|
||||
}
|
||||
else if (ms < 18 * 3600)
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xBE\xC6\xB4\xCF \xBE\xEE\xB6\xBB\xB0\xD4 \xB5\xC8 \xB0\xD4 \xC1\xBE\xC0\xCF \xC0\xD0\xBE\xEE\xB5\xB5 \xB8\xD3\xB8\xAE\xBF\xA1 \xBE\xC8 \xB5\xE9\xBE\xEE\xBF\xC0\xB3\xC4."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xB0\xF8\xBA\xCE\xC7\xCF\xB1\xE2 \xBD\xC8\xBE\xEE\xC1\xF6\xB3\xD7."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("I keep reading the same line over and over again."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("I do not want to learn any more."));
|
||||
}
|
||||
else //if (ms < 2 * 86400)
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xBB\xFD\xB0\xA2\xB8\xB8\xC5\xAD \xC0\xD0\xB1\xE2\xB0\xA1 \xBD\xB1\xC1\xF6\xB0\xA1 \xBE\xCA\xB1\xBA. \xC0\xCC\xC7\xD8\xB5\xB5 \xBE\xEE\xB7\xC6\xB0\xED \xB3\xBB\xBF\xEB\xB5\xB5 \xB3\xAD\xC7\xD8\xC7\xD8."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("\xC0\xCC\xB7\xA1\xBC\xAD\xBE\xDF \xB0\xF8\xBA\xCE\xB0\xA1 \xBE\xC8\xB5\xC8\xB4\xD9\xB1\xB8."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("It is a lot more complicated and more difficult to understand than I thought."));
|
||||
ChatPacket(CHAT_TYPE_TALKING, "%s", LC_TEXT("It's hard for me to concentrate. I should take a break."));
|
||||
}
|
||||
/*
|
||||
str = "30%";
|
||||
|
|
|
@ -155,7 +155,7 @@ namespace
|
|||
//pkChr->RemoveAffect(AFFECT_WAR_FLAG);
|
||||
|
||||
char buf[256];
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s \xB1\xE6\xB5\xE5\xB0\xA1 %s \xB1\xE6\xB5\xE5\xC0\xC7 \xB1\xEA\xB9\xDF\xC0\xBB \xBB\xA9\xBE\xD1\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9!"), pMap->GetGuild(idx)->GetName(), pMap->GetGuild(idx_opp)->GetName());
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("The guild %s's flag has been stolen by player %s."), pMap->GetGuild(idx)->GetName(), pMap->GetGuild(idx_opp)->GetName());
|
||||
pMap->Notice(buf);
|
||||
}
|
||||
}
|
||||
|
@ -1152,7 +1152,7 @@ void CHARACTER::StateFlag()
|
|||
|
||||
pMap->RemoveFlag(idx);
|
||||
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s \xB1\xE6\xB5\xE5\xC0\xC7 \xB1\xEA\xB9\xDF\xC0\xBB %s \xB4\xD4\xC0\xCC \xC8\xB9\xB5\xE6\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), pMap->GetGuild(idx)->GetName(), f.m_pkChrFind->GetName());
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s has captured the flag of %s!"), pMap->GetGuild(idx)->GetName(), f.m_pkChrFind->GetName());
|
||||
pMap->Notice(buf);
|
||||
}
|
||||
|
||||
|
|
|
@ -162,7 +162,7 @@ ACMD(do_add_socket);
|
|||
|
||||
ACMD(do_inputall)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xED\xB7\xC9\xBE\xEE\xB8\xA6 \xB8\xF0\xB5\xCE \xC0\xD4\xB7\xC2\xC7\xCF\xBC\xBC\xBF\xE4."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Please enter the Order in full length."));
|
||||
}
|
||||
|
||||
ACMD(do_show_arena_list);
|
||||
|
@ -665,20 +665,20 @@ void interpret_command(LPCHARACTER ch, const char * argument, size_t len)
|
|||
switch (ch->GetPosition())
|
||||
{
|
||||
case POS_MOUNTING:
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC5\xBA \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD\xB4\xC2 \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot do this whilst sitting on a Horse."));
|
||||
break;
|
||||
|
||||
case POS_DEAD:
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xB2\xB7\xAF\xC1\xF8 \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD\xB4\xC2 \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot do that while you are lying on the ground."));
|
||||
break;
|
||||
|
||||
case POS_SLEEPING:
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB2\xDE\xBC\xD3\xBF\xA1\xBC\xAD \xBE\xEE\xB6\xBB\xB0\xD4\xBF\xE4?"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("In my Dreams? What?"));
|
||||
break;
|
||||
|
||||
case POS_RESTING:
|
||||
case POS_SITTING:
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xD5\xC0\xFA \xC0\xCF\xBE\xEE \xB3\xAA\xBC\xBC\xBF\xE4."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Get up first."));
|
||||
break;
|
||||
/*
|
||||
case POS_FIGHTING:
|
||||
|
@ -695,13 +695,13 @@ void interpret_command(LPCHARACTER ch, const char * argument, size_t len)
|
|||
|
||||
if (*cmd_info[icmd].command == '\n')
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xD7\xB7\xB1 \xB8\xED\xB7\xC9\xBE\xEE\xB4\xC2 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This command does not exist."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (cmd_info[icmd].gm_level && cmd_info[icmd].gm_level > ch->GetGMLevel())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xD7\xB7\xB1 \xB8\xED\xB7\xC9\xBE\xEE\xB4\xC2 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This command does not exist."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ ACMD(do_emotion_allow)
|
|||
{
|
||||
if ( ch->GetArena() )
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xE5\xBF\xA1\xBC\xAD \xBB\xE7\xBF\xEB\xC7\xCF\xBD\xC7 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this in the duel arena."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -128,7 +128,7 @@ ACMD(do_emotion)
|
|||
{
|
||||
if (ch->IsRiding())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xC0\xBB \xC5\xBA \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD \xB0\xA8\xC1\xA4\xC7\xA5\xC7\xF6\xC0\xBB \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot express emotions whilst riding a horse."));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -150,13 +150,13 @@ ACMD(do_emotion)
|
|||
|
||||
if (!CHARACTER_CanEmotion(*ch))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xAD\xC1\xA4\xC0\xC7 \xB0\xA1\xB8\xE9\xC0\xBB \xC2\xF8\xBF\xEB\xBD\xC3\xBF\xA1\xB8\xB8 \xC7\xD2 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can do this when you wear an Emotion Mask."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (IS_SET(emotion_types[i].flag, WOMAN_ONLY) && SEX_MALE==GET_SEX(ch))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xA9\xC0\xDA\xB8\xB8 \xC7\xD2 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Only women can do this."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -172,7 +172,7 @@ ACMD(do_emotion)
|
|||
{
|
||||
if (!victim)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xD7\xB7\xB1 \xBB\xE7\xB6\xF7\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This person does not exist."));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -184,7 +184,7 @@ ACMD(do_emotion)
|
|||
|
||||
if (victim->IsRiding())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xC0\xBB \xC5\xBA \xBB\xF3\xB4\xEB\xBF\xCD \xB0\xA8\xC1\xA4\xC7\xA5\xC7\xF6\xC0\xBB \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use emotions with a player who is riding on a Horse."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -192,13 +192,13 @@ ACMD(do_emotion)
|
|||
|
||||
if (distance < 10)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xCA\xB9\xAB \xB0\xA1\xB1\xEE\xC0\xCC \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are too near."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (distance > 500)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xCA\xB9\xAB \xB8\xD6\xB8\xAE \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are too far away."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -206,7 +206,7 @@ ACMD(do_emotion)
|
|||
{
|
||||
if (GET_SEX(ch)==GET_SEX(victim))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xBC\xBA\xB0\xA3\xBF\xA1\xB8\xB8 \xC7\xD2 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This action can only be done with another gender."));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -223,13 +223,13 @@ ACMD(do_emotion)
|
|||
|
||||
if (0 == other || other != victim->GetPlayerID())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xC7\xE0\xB5\xBF\xC0\xBA \xBB\xF3\xC8\xA3\xB5\xBF\xC0\xC7 \xC7\xCF\xBF\xA1 \xB0\xA1\xB4\xC9 \xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You need your fellow player's approval for this."));
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xC7\xE0\xB5\xBF\xC0\xBA \xBB\xF3\xC8\xA3\xB5\xBF\xC0\xC7 \xC7\xCF\xBF\xA1 \xB0\xA1\xB4\xC9 \xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You need your fellow player's approval for this."));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,13 +49,13 @@ ACMD(do_user_horse_ride)
|
|||
// 말이 아닌 다른탈것을 타고있다.
|
||||
if (ch->GetMountVnum())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xC5\xBB\xB0\xCD\xC0\xBB \xC0\xCC\xBF\xEB\xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You're already riding. Get off first."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (ch->GetHorse() == NULL)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xC0\xBB \xB8\xD5\xC0\xFA \xBC\xD2\xC8\xAF\xC7\xD8\xC1\xD6\xBC\xBC\xBF\xE4."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Please call your Horse first."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -72,15 +72,15 @@ ACMD(do_user_horse_back)
|
|||
if (ch->GetHorse() != NULL)
|
||||
{
|
||||
ch->HorseSummon(false);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xC0\xBB \xB5\xB9\xB7\xC1\xBA\xB8\xB3\xC2\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have sent your horse away."));
|
||||
}
|
||||
else if (ch->IsHorseRiding() == true)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xBF\xA1\xBC\xAD \xB8\xD5\xC0\xFA \xB3\xBB\xB7\xC1\xBE\xDF \xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have to get off your Horse."));
|
||||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xC0\xBB \xB8\xD5\xC0\xFA \xBC\xD2\xC8\xAF\xC7\xD8\xC1\xD6\xBC\xBC\xBF\xE4."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Please call your Horse first."));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -93,9 +93,9 @@ ACMD(do_user_horse_feed)
|
|||
if (ch->GetHorse() == NULL)
|
||||
{
|
||||
if (ch->IsHorseRiding() == false)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xC0\xBB \xB8\xD5\xC0\xFA \xBC\xD2\xC8\xAF\xC7\xD8\xC1\xD6\xBC\xBC\xBF\xE4."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Please call your Horse first."));
|
||||
else
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xC0\xBB \xC5\xBA \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD\xB4\xC2 \xB8\xD4\xC0\xCC\xB8\xA6 \xC1\xD9 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot feed your Horse whilst sitting on it."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -105,12 +105,12 @@ ACMD(do_user_horse_feed)
|
|||
{
|
||||
ch->RemoveSpecifyItem(dwFood, 1);
|
||||
ch->FeedHorse();
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xBF\xA1\xB0\xD4 %s%s \xC1\xD6\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."),
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have fed the Horse with %s%s."),
|
||||
ITEM_MANAGER::instance().GetTable(dwFood)->szLocaleName, "");
|
||||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xCC \xC7\xCA\xBF\xE4\xC7\xD5\xB4\xCF\xB4\xD9"), ITEM_MANAGER::instance().GetTable(dwFood)->szLocaleName);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You need %s."), ITEM_MANAGER::instance().GetTable(dwFood)->szLocaleName);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -209,7 +209,7 @@ EVENTFUNC(shutdown_event)
|
|||
else
|
||||
{
|
||||
char buf[64];
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("\xBC\xCB\xB4\xD9\xBF\xEE\xC0\xCC %d\xC3\xCA \xB3\xB2\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9."), *pSec);
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%d seconds until Exit."), *pSec);
|
||||
SendNotice(buf);
|
||||
|
||||
--*pSec;
|
||||
|
@ -228,7 +228,7 @@ void Shutdown(int iSec)
|
|||
CWarMapManager::instance().OnShutdown();
|
||||
|
||||
char buf[64];
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%d\xC3\xCA \xC8\xC4 \xB0\xD4\xC0\xD3\xC0\xCC \xBC\xCB\xB4\xD9\xBF\xEE \xB5\xCB\xB4\xCF\xB4\xD9."), iSec);
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("The game will be closed in %d seconds."), iSec);
|
||||
|
||||
SendNotice(buf);
|
||||
|
||||
|
@ -317,7 +317,7 @@ EVENTFUNC(timed_event)
|
|||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d\xC3\xCA \xB3\xB2\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9."), info->left_second);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d seconds until Exit."), info->left_second);
|
||||
--info->left_second;
|
||||
}
|
||||
|
||||
|
@ -329,7 +329,7 @@ ACMD(do_cmd)
|
|||
/* RECALL_DELAY
|
||||
if (ch->m_pkRecallEvent != NULL)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xEB\xBC\xD2 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your logout has been cancelled."));
|
||||
event_cancel(&ch->m_pkRecallEvent);
|
||||
return;
|
||||
}
|
||||
|
@ -337,7 +337,7 @@ ACMD(do_cmd)
|
|||
|
||||
if (ch->m_pkTimedEvent)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xEB\xBC\xD2 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your logout has been cancelled."));
|
||||
event_cancel(&ch->m_pkTimedEvent);
|
||||
return;
|
||||
}
|
||||
|
@ -345,15 +345,15 @@ ACMD(do_cmd)
|
|||
switch (subcmd)
|
||||
{
|
||||
case SCMD_LOGOUT:
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB7\xCE\xB1\xD7\xC0\xCE \xC8\xAD\xB8\xE9\xC0\xB8\xB7\xCE \xB5\xB9\xBE\xC6 \xB0\xA9\xB4\xCF\xB4\xD9. \xC0\xE1\xBD\xC3\xB8\xB8 \xB1\xE2\xB4\xD9\xB8\xAE\xBC\xBC\xBF\xE4."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Back to login window. Please wait."));
|
||||
break;
|
||||
|
||||
case SCMD_QUIT:
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xD4\xC0\xD3\xC0\xBB \xC1\xBE\xB7\xE1 \xC7\xD5\xB4\xCF\xB4\xD9. \xC0\xE1\xBD\xC3\xB8\xB8 \xB1\xE2\xB4\xD9\xB8\xAE\xBC\xBC\xBF\xE4."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have been disconnected from the server. Please wait."));
|
||||
break;
|
||||
|
||||
case SCMD_PHASE_SELECT:
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC4\xB3\xB8\xAF\xC5\xCD\xB8\xA6 \xC0\xFC\xC8\xAF \xC7\xD5\xB4\xCF\xB4\xD9. \xC0\xE1\xBD\xC3\xB8\xB8 \xB1\xE2\xB4\xD9\xB8\xAE\xBC\xBC\xBF\xE4."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are changing character. Please wait."));
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -491,14 +491,14 @@ ACMD(do_restart)
|
|||
//성지 맵일경우에는 체크 하지 않는다.
|
||||
if (false == CThreeWayWar::instance().IsSungZiMapIndex(ch->GetMapIndex()))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC1\xF7 \xC0\xE7\xBD\xC3\xC0\xDB \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9. (%d\xC3\xCA \xB3\xB2\xC0\xBD)"), iTimeToDead - (180 - g_nPortalLimitTime));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("A new start is not possible at the moment. Please wait %d seconds."), iTimeToDead - (180 - g_nPortalLimitTime));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (iTimeToDead > 170)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC1\xF7 \xC0\xE7\xBD\xC3\xC0\xDB \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9. (%d\xC3\xCA \xB3\xB2\xC0\xBD)"), iTimeToDead - 170);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("A new start is not possible at the moment. Please wait %d seconds."), iTimeToDead - 170);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -515,14 +515,14 @@ ACMD(do_restart)
|
|||
if ((!ch->GetWarMap() || ch->GetWarMap()->GetType() == GUILD_WAR_TYPE_FLAG) ||
|
||||
false == CThreeWayWar::instance().IsSungZiMapIndex(ch->GetMapIndex()))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC1\xF7 \xC0\xE7\xBD\xC3\xC0\xDB \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9. (%d\xC3\xCA \xB3\xB2\xC0\xBD)"), iTimeToDead - (180 - g_nPortalLimitTime));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("A new start is not possible at the moment. Please wait %d seconds."), iTimeToDead - (180 - g_nPortalLimitTime));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (iTimeToDead > 173)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC1\xF7 \xB8\xB6\xC0\xBB\xBF\xA1\xBC\xAD \xC0\xE7\xBD\xC3\xC0\xDB \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9. (%d \xC3\xCA \xB3\xB2\xC0\xBD)"), iTimeToDead - 173);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot restart in the city yet. Wait another %d seconds."), iTimeToDead - 173);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -557,7 +557,7 @@ ACMD(do_restart)
|
|||
{
|
||||
if (CThreeWayWar::instance().GetReviveTokenForPlayer(ch->GetPlayerID()) <= 0)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xBA\xC1\xF6\xBF\xA1\xBC\xAD \xBA\xCE\xC8\xB0 \xB1\xE2\xC8\xB8\xB8\xA6 \xB8\xF0\xB5\xCE \xC0\xD2\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9! \xB8\xB6\xC0\xBB\xB7\xCE \xC0\xCC\xB5\xBF\xC7\xD5\xB4\xCF\xB4\xD9!"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The waiting time has expired. You will be revived in the city."));
|
||||
ch->WarpSet(EMPIRE_START_X(ch->GetEmpire()), EMPIRE_START_Y(ch->GetEmpire()));
|
||||
}
|
||||
else
|
||||
|
@ -658,7 +658,7 @@ ACMD(do_stat_minus)
|
|||
|
||||
if (ch->IsPolymorphed())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xD0\xB0\xA9 \xC1\xDF\xBF\xA1\xB4\xC2 \xB4\xC9\xB7\xC2\xC0\xBB \xBF\xC3\xB8\xB1 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot change your status while you are transformed."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -725,7 +725,7 @@ ACMD(do_stat)
|
|||
|
||||
if (ch->IsPolymorphed())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xD0\xB0\xA9 \xC1\xDF\xBF\xA1\xB4\xC2 \xB4\xC9\xB7\xC2\xC0\xBB \xBF\xC3\xB8\xB1 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot change your status while you are transformed."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -770,7 +770,7 @@ ACMD(do_pvp)
|
|||
{
|
||||
if (ch->GetArena() != NULL || CArenaManager::instance().IsArenaMap(ch->GetMapIndex()) == true)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xE5\xBF\xA1\xBC\xAD \xBB\xE7\xBF\xEB\xC7\xCF\xBD\xC7 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this in the duel arena."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -789,7 +789,7 @@ ACMD(do_pvp)
|
|||
|
||||
if (pkVictim->GetArena() != NULL)
|
||||
{
|
||||
pkVictim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xB4\xEB\xB9\xE6\xC0\xCC \xB4\xEB\xB7\xC3\xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
pkVictim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This player is currently fighting."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -806,7 +806,7 @@ ACMD(do_guildskillup)
|
|||
|
||||
if (!ch->GetGuild())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xBF\xA1 \xBC\xD3\xC7\xD8\xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] It does not belong to the guild."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -820,7 +820,7 @@ ACMD(do_guildskillup)
|
|||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5 \xBD\xBA\xC5\xB3 \xB7\xB9\xBA\xA7\xC0\xBB \xBA\xAF\xB0\xE6\xC7\xD2 \xB1\xC7\xC7\xD1\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You do not have the authority to change the level of the guild skills."));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -893,13 +893,13 @@ ACMD(do_safebox_change_password)
|
|||
|
||||
if (!*arg1 || strlen(arg1)>6)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC3\xA2\xB0\xED> \xC0\xDF\xB8\xF8\xB5\xC8 \xBE\xCF\xC8\xA3\xB8\xA6 \xC0\xD4\xB7\xC2\xC7\xCF\xBC\xCC\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Storeroom] You have entered an incorrect password."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (!*arg2 || strlen(arg2)>6)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC3\xA2\xB0\xED> \xC0\xDF\xB8\xF8\xB5\xC8 \xBE\xCF\xC8\xA3\xB8\xA6 \xC0\xD4\xB7\xC2\xC7\xCF\xBC\xCC\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Storeroom] You have entered an incorrect password."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -934,7 +934,7 @@ ACMD(do_mall_password)
|
|||
|
||||
if (!*arg1 || strlen(arg1) > 6)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC3\xA2\xB0\xED> \xC0\xDF\xB8\xF8\xB5\xC8 \xBE\xCF\xC8\xA3\xB8\xA6 \xC0\xD4\xB7\xC2\xC7\xCF\xBC\xCC\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Storeroom] You have entered an incorrect password."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -942,13 +942,13 @@ ACMD(do_mall_password)
|
|||
|
||||
if (ch->GetMall())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC3\xA2\xB0\xED> \xC3\xA2\xB0\xED\xB0\xA1 \xC0\xCC\xB9\xCC \xBF\xAD\xB7\xC1\xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Storeroom] The Storeroom is already open."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (iPulse - ch->GetMallLoadTime() < passes_per_sec * 10) // 10초에 한번만 요청 가능
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC3\xA2\xB0\xED> \xC3\xA2\xB0\xED\xB8\xA6 \xB4\xDD\xC0\xBA\xC1\xF6 10\xC3\xCA \xBE\xC8\xBF\xA1\xB4\xC2 \xBF\xAD \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Storeroom] You have to wait 10 seconds before you can open the Storeroom again."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -979,13 +979,13 @@ ACMD(do_ungroup)
|
|||
|
||||
if (!CPartyManager::instance().IsEnablePCParty())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xBC\xAD\xB9\xF6 \xB9\xAE\xC1\xA6\xB7\xCE \xC6\xC4\xC6\xBC \xB0\xFC\xB7\xC3 \xC3\xB3\xB8\xAE\xB8\xA6 \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] The server cannot execute this group request."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (ch->GetDungeon())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xB4\xF8\xC0\xFC \xBE\xC8\xBF\xA1\xBC\xAD\xB4\xC2 \xC6\xC4\xC6\xBC\xBF\xA1\xBC\xAD \xB3\xAA\xB0\xA5 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] You cannot leave a group while you are in a dungeon."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -998,7 +998,7 @@ ACMD(do_ungroup)
|
|||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xC6\xC4\xC6\xBC\xBF\xA1\xBC\xAD \xB3\xAA\xB0\xA1\xBC\xCC\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] You have left the group."));
|
||||
//pParty->SendPartyRemoveOneToAll(ch);
|
||||
pParty->Quit(ch->GetPlayerID());
|
||||
//pParty->SendPartyRemoveAllToOne(ch);
|
||||
|
@ -1037,7 +1037,7 @@ ACMD(do_war)
|
|||
//전쟁중인지 체크한번!
|
||||
if (g->UnderAnyWar())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC0\xCC\xB9\xCC \xB4\xD9\xB8\xA5 \xC0\xFC\xC0\xEF\xBF\xA1 \xC2\xFC\xC0\xFC \xC1\xDF \xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] Your guild is already participating in another war."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1063,7 +1063,7 @@ ACMD(do_war)
|
|||
//마스터인지 체크(길전은 길드장만이 가능)
|
||||
if (gm_pid != ch->GetPlayerID())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xC0\xFC\xBF\xA1 \xB4\xEB\xC7\xD1 \xB1\xC7\xC7\xD1\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] No one is entitled to a guild war."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1072,7 +1072,7 @@ ACMD(do_war)
|
|||
|
||||
if (!opp_g)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xD7\xB7\xB1 \xB1\xE6\xB5\xE5\xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] No guild with this name exists."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1083,7 +1083,7 @@ ACMD(do_war)
|
|||
{
|
||||
if (opp_g->UnderAnyWar())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBB\xF3\xB4\xEB\xB9\xE6 \xB1\xE6\xB5\xE5\xB0\xA1 \xC0\xCC\xB9\xCC \xC0\xFC\xC0\xEF \xC1\xDF \xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This guild is already participating in another war."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1091,13 +1091,13 @@ ACMD(do_war)
|
|||
|
||||
if (g->GetGuildMoney() < iWarPrice)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC0\xFC\xBA\xF1\xB0\xA1 \xBA\xCE\xC1\xB7\xC7\xCF\xBF\xA9 \xB1\xE6\xB5\xE5\xC0\xFC\xC0\xBB \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] Not enough Yang to participate in a guild war."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (opp_g->GetGuildMoney() < iWarPrice)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBB\xF3\xB4\xEB\xB9\xE6 \xB1\xE6\xB5\xE5\xC0\xC7 \xC0\xFC\xBA\xF1\xB0\xA1 \xBA\xCE\xC1\xB7\xC7\xCF\xBF\xA9 \xB1\xE6\xB5\xE5\xC0\xFC\xC0\xBB \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The guild does not have enough Yang to participate in a guild war."));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -1105,7 +1105,7 @@ ACMD(do_war)
|
|||
|
||||
case GUILD_WAR_SEND_DECLARE:
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xBC\xB1\xC0\xFC\xC6\xF7\xB0\xED \xC1\xDF\xC0\xCE \xB1\xE6\xB5\xE5\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This guild is already participating in a war."));
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
@ -1114,7 +1114,7 @@ ACMD(do_war)
|
|||
{
|
||||
if (opp_g->UnderAnyWar())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBB\xF3\xB4\xEB\xB9\xE6 \xB1\xE6\xB5\xE5\xB0\xA1 \xC0\xCC\xB9\xCC \xC0\xFC\xC0\xEF \xC1\xDF \xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This guild is already participating in another war."));
|
||||
g->RequestRefuseWar(opp_g->GetID());
|
||||
return;
|
||||
}
|
||||
|
@ -1123,7 +1123,7 @@ ACMD(do_war)
|
|||
|
||||
case GUILD_WAR_RESERVE:
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC0\xCC\xB9\xCC \xC0\xFC\xC0\xEF\xC0\xCC \xBF\xB9\xBE\xE0\xB5\xC8 \xB1\xE6\xB5\xE5 \xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This Guild is already scheduled for another war."));
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
@ -1132,7 +1132,7 @@ ACMD(do_war)
|
|||
return;
|
||||
|
||||
default:
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC0\xCC\xB9\xCC \xC0\xFC\xC0\xEF \xC1\xDF\xC0\xCE \xB1\xE6\xB5\xE5\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This guild is taking part in a battle at the moment."));
|
||||
g->RequestRefuseWar(opp_g->GetID());
|
||||
return;
|
||||
}
|
||||
|
@ -1142,12 +1142,12 @@ ACMD(do_war)
|
|||
// 길드전을 할 수 있는 조건을 만족하지않는다.
|
||||
if (g->GetLadderPoint() == 0)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB7\xB9\xB4\xF5 \xC1\xA1\xBC\xF6\xB0\xA1 \xB8\xF0\xC0\xDA\xB6\xF3\xBC\xAD \xB1\xE6\xB5\xE5\xC0\xFC\xC0\xBB \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The guild level is too low."));
|
||||
SPDLOG_DEBUG("GuildWar.StartError.NEED_LADDER_POINT");
|
||||
}
|
||||
else if (g->GetMemberCount() < GUILD_WAR_MIN_MEMBER_COUNT)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xC0\xFC\xC0\xBB \xC7\xCF\xB1\xE2 \xC0\xA7\xC7\xD8\xBC\xB1 \xC3\xD6\xBC\xD2\xC7\xD1 %d\xB8\xED\xC0\xCC \xC0\xD6\xBE\xEE\xBE\xDF \xC7\xD5\xB4\xCF\xB4\xD9."), GUILD_WAR_MIN_MEMBER_COUNT);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] A minimum of %d players are needed to participate in a guild war."), GUILD_WAR_MIN_MEMBER_COUNT);
|
||||
SPDLOG_DEBUG("GuildWar.StartError.NEED_MINIMUM_MEMBER[{}]", (int) GUILD_WAR_MIN_MEMBER_COUNT);
|
||||
}
|
||||
else
|
||||
|
@ -1161,9 +1161,9 @@ ACMD(do_war)
|
|||
if (!opp_g->CanStartWar(GUILD_WAR_TYPE_FIELD))
|
||||
{
|
||||
if (opp_g->GetLadderPoint() == 0)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBB\xF3\xB4\xEB\xB9\xE6 \xB1\xE6\xB5\xE5\xC0\xC7 \xB7\xB9\xB4\xF5 \xC1\xA1\xBC\xF6\xB0\xA1 \xB8\xF0\xC0\xDA\xB6\xF3\xBC\xAD \xB1\xE6\xB5\xE5\xC0\xFC\xC0\xBB \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The guild does not have enough points to participate in a guild war."));
|
||||
else if (opp_g->GetMemberCount() < GUILD_WAR_MIN_MEMBER_COUNT)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBB\xF3\xB4\xEB\xB9\xE6 \xB1\xE6\xB5\xE5\xC0\xC7 \xB1\xE6\xB5\xE5\xBF\xF8 \xBC\xF6\xB0\xA1 \xBA\xCE\xC1\xB7\xC7\xCF\xBF\xA9 \xB1\xE6\xB5\xE5\xC0\xFC\xC0\xBB \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The guild does not have enough members to participate in a guild war."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1177,7 +1177,7 @@ ACMD(do_war)
|
|||
if (pCCI != NULL)
|
||||
break;
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBB\xF3\xB4\xEB\xB9\xE6 \xB1\xE6\xB5\xE5\xC0\xC7 \xB1\xE6\xB5\xE5\xC0\xE5\xC0\xCC \xC1\xA2\xBC\xD3\xC1\xDF\xC0\xCC \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The enemy's guild leader is offline."));
|
||||
g->RequestRefuseWar(opp_g->GetID());
|
||||
return;
|
||||
|
||||
|
@ -1193,7 +1193,7 @@ ACMD(do_war)
|
|||
if (pCCI != NULL)
|
||||
break;
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBB\xF3\xB4\xEB\xB9\xE6 \xB1\xE6\xB5\xE5\xC0\xC7 \xB1\xE6\xB5\xE5\xC0\xE5\xC0\xCC \xC1\xA2\xBC\xD3\xC1\xDF\xC0\xCC \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The enemy's guild leader is offline."));
|
||||
g->RequestRefuseWar(opp_g->GetID());
|
||||
return;
|
||||
|
||||
|
@ -1218,7 +1218,7 @@ ACMD(do_nowar)
|
|||
|
||||
if (gm_pid != ch->GetPlayerID())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xC0\xFC\xBF\xA1 \xB4\xEB\xC7\xD1 \xB1\xC7\xC7\xD1\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] No one is entitled to a guild war."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1226,7 +1226,7 @@ ACMD(do_nowar)
|
|||
|
||||
if (!opp_g)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xD7\xB7\xB1 \xB1\xE6\xB5\xE5\xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] No guild with this name exists."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1267,7 +1267,7 @@ ACMD(do_messenger_auth)
|
|||
{
|
||||
if (ch->GetArena())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xE5\xBF\xA1\xBC\xAD \xBB\xE7\xBF\xEB\xC7\xCF\xBD\xC7 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this in the duel arena."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1284,7 +1284,7 @@ ACMD(do_messenger_auth)
|
|||
LPCHARACTER tch = CHARACTER_MANAGER::instance().FindPC(arg2);
|
||||
|
||||
if (tch)
|
||||
tch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xB4\xD4\xC0\xB8\xB7\xCE \xBA\xCE\xC5\xCD \xC4\xA3\xB1\xB8 \xB5\xEE\xB7\xCF\xC0\xBB \xB0\xC5\xBA\xCE \xB4\xE7\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."), ch->GetName());
|
||||
tch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s declined the invitation."), ch->GetName());
|
||||
}
|
||||
|
||||
MessengerManager::instance().AuthToAdd(ch->GetName(), arg2, answer == 'y' ? false : true); // DENY
|
||||
|
@ -1384,13 +1384,13 @@ ACMD(do_party_request)
|
|||
{
|
||||
if (ch->GetArena())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xE5\xBF\xA1\xBC\xAD \xBB\xE7\xBF\xEB\xC7\xCF\xBD\xC7 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this in the duel arena."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (ch->GetParty())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xC6\xC4\xC6\xBC\xBF\xA1 \xBC\xD3\xC7\xD8 \xC0\xD6\xC0\xB8\xB9\xC7\xB7\xCE \xB0\xA1\xC0\xD4\xBD\xC5\xC3\xBB\xC0\xBB \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot accept the invitation because you are already in the group."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1448,14 +1448,14 @@ ACMD(do_monarch_warpto)
|
|||
|
||||
if (!CMonarch::instance().IsMonarch(ch->GetPlayerID(), ch->GetEmpire()))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xBA\xC1\xD6\xB8\xB8\xC0\xCC \xBB\xE7\xBF\xEB \xB0\xA1\xB4\xC9\xC7\xD1 \xB1\xE2\xB4\xC9\xC0\xD4\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This function can only be used by the emperor."));
|
||||
return;
|
||||
}
|
||||
|
||||
//군주 쿨타임 검사
|
||||
if (!ch->IsMCOK(CHARACTER::MI_WARP))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d \xC3\xCA\xB0\xA3 \xC4\xF0\xC5\xB8\xC0\xD3\xC0\xCC \xC0\xFB\xBF\xEB\xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9."), ch->GetMCLTime(CHARACTER::MI_WARP));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Cooldown time for approximately %d seconds"), ch->GetMCLTime(CHARACTER::MI_WARP));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1477,7 +1477,7 @@ ACMD(do_monarch_warpto)
|
|||
|
||||
if (!*arg1)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xE7\xBF\xEB\xB9\xFD: warpto <character name>"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Command: warpto <character name>"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1491,13 +1491,13 @@ ACMD(do_monarch_warpto)
|
|||
{
|
||||
if (pkCCI->bEmpire != ch->GetEmpire())
|
||||
{
|
||||
ch->ChatPacket (CHAT_TYPE_INFO, LC_TEXT("\xC5\xB8\xC1\xA6\xB1\xB9 \xC0\xAF\xC0\xFA\xBF\xA1\xB0\xD4\xB4\xC2 \xC0\xCC\xB5\xBF\xC7\xD2\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket (CHAT_TYPE_INFO, LC_TEXT("You cannot be warped to an unknown player."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (pkCCI->bChannel != g_bChannel)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC7\xD8\xB4\xE7 \xC0\xAF\xC0\xFA\xB4\xC2 %d \xC3\xA4\xB3\xCE\xBF\xA1 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9. (\xC7\xF6\xC0\xE7 \xC3\xA4\xB3\xCE %d)"), pkCCI->bChannel, g_bChannel);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Adding player %d into the channel. (Present channel %d)"), pkCCI->bChannel, g_bChannel);
|
||||
return;
|
||||
}
|
||||
if (!IsMonarchWarpZone(pkCCI->lMapIndex))
|
||||
|
@ -1513,7 +1513,7 @@ ACMD(do_monarch_warpto)
|
|||
else
|
||||
{
|
||||
//ch->ChatPacket(CHAT_TYPE_INFO, "You warp to (%d, %d)", pos.x, pos.y);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xBF\xA1\xB0\xD4\xB7\xCE \xC0\xCC\xB5\xBF\xC7\xD5\xB4\xCF\xB4\xD9"), arg1);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Warp to player %s."), arg1);
|
||||
ch->WarpSet(pos.x, pos.y);
|
||||
|
||||
//군주 돈 삭감
|
||||
|
@ -1534,7 +1534,7 @@ ACMD(do_monarch_warpto)
|
|||
{
|
||||
if (tch->GetEmpire() != ch->GetEmpire())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC5\xB8\xC1\xA6\xB1\xB9 \xC0\xAF\xC0\xFA\xBF\xA1\xB0\xD4\xB4\xC2 \xC0\xCC\xB5\xBF\xC7\xD2\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot be warped to an unknown player."));
|
||||
return;
|
||||
}
|
||||
if (!IsMonarchWarpZone(tch->GetMapIndex()))
|
||||
|
@ -1546,7 +1546,7 @@ ACMD(do_monarch_warpto)
|
|||
y = tch->GetY();
|
||||
}
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xBF\xA1\xB0\xD4\xB7\xCE \xC0\xCC\xB5\xBF\xC7\xD5\xB4\xCF\xB4\xD9"), arg1);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Warp to player %s."), arg1);
|
||||
ch->WarpSet(x, y);
|
||||
ch->Stop();
|
||||
|
||||
|
@ -1567,20 +1567,20 @@ ACMD(do_monarch_transfer)
|
|||
|
||||
if (!*arg1)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xE7\xBF\xEB\xB9\xFD: transfer <name>"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Use: transfer <name>"));
|
||||
return;
|
||||
}
|
||||
|
||||
if (!CMonarch::instance().IsMonarch(ch->GetPlayerID(), ch->GetEmpire()))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xBA\xC1\xD6\xB8\xB8\xC0\xCC \xBB\xE7\xBF\xEB \xB0\xA1\xB4\xC9\xC7\xD1 \xB1\xE2\xB4\xC9\xC0\xD4\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This function can only be used by the emperor."));
|
||||
return;
|
||||
}
|
||||
|
||||
//군주 쿨타임 검사
|
||||
if (!ch->IsMCOK(CHARACTER::MI_TRANSFER))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d \xC3\xCA\xB0\xA3 \xC4\xF0\xC5\xB8\xC0\xD3\xC0\xCC \xC0\xFB\xBF\xEB\xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9."), ch->GetMCLTime(CHARACTER::MI_TRANSFER));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Cooldown time for approximately %d seconds"), ch->GetMCLTime(CHARACTER::MI_TRANSFER));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1606,12 +1606,12 @@ ACMD(do_monarch_transfer)
|
|||
{
|
||||
if (pkCCI->bEmpire != ch->GetEmpire())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xB8\xA5 \xC1\xA6\xB1\xB9 \xC0\xAF\xC0\xFA\xB4\xC2 \xBC\xD2\xC8\xAF\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot recruit players from another kingdom."));
|
||||
return;
|
||||
}
|
||||
if (pkCCI->bChannel != g_bChannel)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xB4\xD4\xC0\xBA %d \xC3\xA4\xB3\xCE\xBF\xA1 \xC1\xA2\xBC\xD3 \xC1\xDF \xC0\xD4\xB4\xCF\xB4\xD9. (\xC7\xF6\xC0\xE7 \xC3\xA4\xB3\xCE: %d)"), arg1, pkCCI->bChannel, g_bChannel);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The player %s is on channel %d at the moment. (Your channel: %d)"), arg1, pkCCI->bChannel, g_bChannel);
|
||||
return;
|
||||
}
|
||||
if (!IsMonarchWarpZone(pkCCI->lMapIndex))
|
||||
|
@ -1633,7 +1633,7 @@ ACMD(do_monarch_transfer)
|
|||
pgg.lY = ch->GetY();
|
||||
|
||||
P2P_MANAGER::instance().Send(&pgg, sizeof(TPacketGGTransfer));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xB4\xD4\xC0\xBB \xBC\xD2\xC8\xAF\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), arg1);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have recruited %s players."), arg1);
|
||||
|
||||
//군주 돈 삭감
|
||||
CMonarch::instance().SendtoDBDecMoney(WarpPrice, ch->GetEmpire(), ch);
|
||||
|
@ -1642,7 +1642,7 @@ ACMD(do_monarch_transfer)
|
|||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xD4\xB7\xC2\xC7\xCF\xBD\xC5 \xC0\xCC\xB8\xA7\xC0\xBB \xB0\xA1\xC1\xF8 \xBB\xE7\xBF\xEB\xC0\xDA\xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There is no user with this name."));
|
||||
}
|
||||
|
||||
return;
|
||||
|
@ -1651,13 +1651,13 @@ ACMD(do_monarch_transfer)
|
|||
|
||||
if (ch == tch)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xDA\xBD\xC5\xC0\xBB \xBC\xD2\xC8\xAF\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot recruit yourself."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (tch->GetEmpire() != ch->GetEmpire())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xB8\xA5 \xC1\xA6\xB1\xB9 \xC0\xAF\xC0\xFA\xB4\xC2 \xBC\xD2\xC8\xAF\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot recruit players from another kingdom."));
|
||||
return;
|
||||
}
|
||||
if (!IsMonarchWarpZone(tch->GetMapIndex()))
|
||||
|
@ -1684,24 +1684,24 @@ ACMD(do_monarch_info)
|
|||
{
|
||||
if (CMonarch::instance().IsMonarch(ch->GetPlayerID(), ch->GetEmpire()))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xAA\xC0\xC7 \xB1\xBA\xC1\xD6 \xC1\xA4\xBA\xB8"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("My information about the emperor"));
|
||||
TMonarchInfo * p = CMonarch::instance().GetMonarch();
|
||||
for (int n = 1; n < 4; ++n)
|
||||
{
|
||||
if (n == ch->GetEmpire())
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[%s\xB1\xBA\xC1\xD6] : %s \xBA\xB8\xC0\xAF\xB1\xDD\xBE\xD7 %lld "), EMPIRE_NAME(n), p->name[n], p->money[n]);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[%sMonarch] : %s Yang owned %lld"), EMPIRE_NAME(n), p->name[n], p->money[n]);
|
||||
else
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[%s\xB1\xBA\xC1\xD6] : %s "), EMPIRE_NAME(n), p->name[n]);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[%sMonarch] : %s"), EMPIRE_NAME(n), p->name[n]);
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xBA\xC1\xD6 \xC1\xA4\xBA\xB8"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Information about the emperor"));
|
||||
TMonarchInfo * p = CMonarch::instance().GetMonarch();
|
||||
for (int n = 1; n < 4; ++n)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[%s\xB1\xBA\xC1\xD6] : %s "), EMPIRE_NAME(n), p->name[n]);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[%sMonarch] : %s"), EMPIRE_NAME(n), p->name[n]);
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1769,7 +1769,7 @@ ACMD(do_monarch_tax)
|
|||
// 군주 검사
|
||||
if (!ch->IsMonarch())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xBA\xC1\xD6\xB8\xB8\xC0\xCC \xBB\xE7\xBF\xEB\xC7\xD2\xBC\xF6 \xC0\xD6\xB4\xC2 \xB1\xE2\xB4\xC9\xC0\xD4\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Only an emperor can use this."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1778,12 +1778,12 @@ ACMD(do_monarch_tax)
|
|||
str_to_number(tax, arg1);
|
||||
|
||||
if (tax < 1 || tax > 50)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("1-50 \xBB\xE7\xC0\xCC\xC0\xC7 \xBC\xF6\xC4\xA1\xB8\xA6 \xBC\xB1\xC5\xC3\xC7\xD8\xC1\xD6\xBC\xBC\xBF\xE4"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Choose a number between 1 and 50."));
|
||||
|
||||
quest::CQuestManager::instance().SetEventFlag("trade_tax", tax);
|
||||
|
||||
// 군주에게 메세지 하나
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xBC\xB1\xDD\xC0\xCC %d %\xB7\xCE \xBC\xB3\xC1\xA4\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Taxes are set to %d%%."));
|
||||
|
||||
// 공지
|
||||
char szMsg[1024];
|
||||
|
@ -1832,7 +1832,7 @@ ACMD(do_monarch_mob)
|
|||
|
||||
if (!ch->IsMonarch())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xBA\xC1\xD6\xB8\xB8\xC0\xCC \xBB\xE7\xBF\xEB\xC7\xD2\xBC\xF6 \xC0\xD6\xB4\xC2 \xB1\xE2\xB4\xC9\xC0\xD4\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Only an emperor can use this."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1860,7 +1860,7 @@ ACMD(do_monarch_mob)
|
|||
// 군주 쿨타임 검사
|
||||
if (!ch->IsMCOK(CHARACTER::MI_SUMMON))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d \xC3\xCA\xB0\xA3 \xC4\xF0\xC5\xB8\xC0\xD3\xC0\xCC \xC0\xFB\xBF\xEB\xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9."), ch->GetMCLTime(CHARACTER::MI_SUMMON));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Cooldown time for approximately %d seconds"), ch->GetMCLTime(CHARACTER::MI_SUMMON));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1899,7 +1899,7 @@ ACMD(do_monarch_mob)
|
|||
|
||||
if (0 == cs_dwMonarchMobVnums[count])
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD2\xC8\xAF\xC7\xD2\xBC\xF6 \xBE\xF8\xB4\xC2 \xB8\xF3\xBD\xBA\xC5\xCD \xC0\xD4\xB4\xCF\xB4\xD9. \xBC\xD2\xC8\xAF\xB0\xA1\xB4\xC9\xC7\xD1 \xB8\xF3\xBD\xBA\xC5\xCD\xB4\xC2 \xC8\xA8\xC6\xE4\xC0\xCC\xC1\xF6\xB8\xA6 \xC2\xFC\xC1\xB6\xC7\xCF\xBC\xBC\xBF\xE4"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The Monster cannot be called. Check the Mob Number."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1927,90 +1927,90 @@ static const char* FN_point_string(int apply_number)
|
|||
{
|
||||
switch (apply_number)
|
||||
{
|
||||
case POINT_MAX_HP: return LC_TEXT("\xC3\xD6\xB4\xEB \xBB\xFD\xB8\xED\xB7\xC2 +%d");
|
||||
case POINT_MAX_SP: return LC_TEXT("\xC3\xD6\xB4\xEB \xC1\xA4\xBD\xC5\xB7\xC2 +%d");
|
||||
case POINT_HT: return LC_TEXT("\xC3\xBC\xB7\xC2 +%d");
|
||||
case POINT_IQ: return LC_TEXT("\xC1\xF6\xB4\xC9 +%d");
|
||||
case POINT_ST: return LC_TEXT("\xB1\xD9\xB7\xC2 +%d");
|
||||
case POINT_DX: return LC_TEXT("\xB9\xCE\xC3\xB8 +%d");
|
||||
case POINT_ATT_SPEED: return LC_TEXT("\xB0\xF8\xB0\xDD\xBC\xD3\xB5\xB5 +%d");
|
||||
case POINT_MOV_SPEED: return LC_TEXT("\xC0\xCC\xB5\xBF\xBC\xD3\xB5\xB5 %d");
|
||||
case POINT_CASTING_SPEED: return LC_TEXT("\xC4\xF0\xC5\xB8\xC0\xD3 -%d");
|
||||
case POINT_HP_REGEN: return LC_TEXT("\xBB\xFD\xB8\xED\xB7\xC2 \xC8\xB8\xBA\xB9 +%d");
|
||||
case POINT_SP_REGEN: return LC_TEXT("\xC1\xA4\xBD\xC5\xB7\xC2 \xC8\xB8\xBA\xB9 +%d");
|
||||
case POINT_POISON_PCT: return LC_TEXT("\xB5\xB6\xB0\xF8\xB0\xDD %d");
|
||||
case POINT_STUN_PCT: return LC_TEXT("\xBD\xBA\xC5\xCF +%d");
|
||||
case POINT_SLOW_PCT: return LC_TEXT("\xBD\xBD\xB7\xCE\xBF\xEC +%d");
|
||||
case POINT_CRITICAL_PCT: return LC_TEXT("%d%% \xC8\xAE\xB7\xFC\xB7\xCE \xC4\xA1\xB8\xED\xC5\xB8 \xB0\xF8\xB0\xDD");
|
||||
case POINT_MAX_HP: return LC_TEXT("Hit Points +%d");
|
||||
case POINT_MAX_SP: return LC_TEXT("Spell Points +%d");
|
||||
case POINT_HT: return LC_TEXT("Endurance +%d");
|
||||
case POINT_IQ: return LC_TEXT("Intelligence +%d");
|
||||
case POINT_ST: return LC_TEXT("Strength +%d");
|
||||
case POINT_DX: return LC_TEXT("Dexterity +%d");
|
||||
case POINT_ATT_SPEED: return LC_TEXT("Attack Speed +%d");
|
||||
case POINT_MOV_SPEED: return LC_TEXT("Movement Speed %d");
|
||||
case POINT_CASTING_SPEED: return LC_TEXT("Cooldown Time -%d");
|
||||
case POINT_HP_REGEN: return LC_TEXT("Energy Recovery +%d");
|
||||
case POINT_SP_REGEN: return LC_TEXT("Spell Point Recovery +%d");
|
||||
case POINT_POISON_PCT: return LC_TEXT("Poison Attack %d");
|
||||
case POINT_STUN_PCT: return LC_TEXT("Star +%d");
|
||||
case POINT_SLOW_PCT: return LC_TEXT("Speed Reduction +%d");
|
||||
case POINT_CRITICAL_PCT: return LC_TEXT("Critical Attack with a chance of %d%%");
|
||||
case POINT_RESIST_CRITICAL: return LC_TEXT("\xBB\xF3\xB4\xEB\xC0\xC7 \xC4\xA1\xB8\xED\xC5\xB8 \xC8\xAE\xB7\xFC %d%% \xB0\xA8\xBC\xD2");
|
||||
case POINT_PENETRATE_PCT: return LC_TEXT("%d%% \xC8\xAE\xB7\xFC\xB7\xCE \xB0\xFC\xC5\xEB \xB0\xF8\xB0\xDD");
|
||||
case POINT_PENETRATE_PCT: return LC_TEXT("Chance of a Speared Attack of %d%%");
|
||||
case POINT_RESIST_PENETRATE: return LC_TEXT("\xBB\xF3\xB4\xEB\xC0\xC7 \xB0\xFC\xC5\xEB \xB0\xF8\xB0\xDD \xC8\xAE\xB7\xFC %d%% \xB0\xA8\xBC\xD2");
|
||||
case POINT_ATTBONUS_HUMAN: return LC_TEXT("\xC0\xCE\xB0\xA3\xB7\xF9 \xB8\xF3\xBD\xBA\xC5\xCD \xC5\xB8\xB0\xDD\xC4\xA1 +%d%%");
|
||||
case POINT_ATTBONUS_ANIMAL: return LC_TEXT("\xB5\xBF\xB9\xB0\xB7\xF9 \xB8\xF3\xBD\xBA\xC5\xCD \xC5\xB8\xB0\xDD\xC4\xA1 +%d%%");
|
||||
case POINT_ATTBONUS_ORC: return LC_TEXT("\xBF\xF5\xB1\xCD\xC1\xB7 \xC5\xB8\xB0\xDD\xC4\xA1 +%d%%");
|
||||
case POINT_ATTBONUS_MILGYO: return LC_TEXT("\xB9\xD0\xB1\xB3\xB7\xF9 \xC5\xB8\xB0\xDD\xC4\xA1 +%d%%");
|
||||
case POINT_ATTBONUS_UNDEAD: return LC_TEXT("\xBD\xC3\xC3\xBC\xB7\xF9 \xC5\xB8\xB0\xDD\xC4\xA1 +%d%%");
|
||||
case POINT_ATTBONUS_DEVIL: return LC_TEXT("\xBE\xC7\xB8\xB6\xB7\xF9 \xC5\xB8\xB0\xDD\xC4\xA1 +%d%%");
|
||||
case POINT_STEAL_HP: return LC_TEXT("\xC5\xB8\xB0\xDD\xC4\xA1 %d%% \xB8\xA6 \xBB\xFD\xB8\xED\xB7\xC2\xC0\xB8\xB7\xCE \xC8\xED\xBC\xF6");
|
||||
case POINT_STEAL_SP: return LC_TEXT("\xC5\xB8\xB7\xC2\xC4\xA1 %d%% \xB8\xA6 \xC1\xA4\xBD\xC5\xB7\xC2\xC0\xB8\xB7\xCE \xC8\xED\xBC\xF6");
|
||||
case POINT_MANA_BURN_PCT: return LC_TEXT("%d%% \xC8\xAE\xB7\xFC\xB7\xCE \xC5\xB8\xB0\xDD\xBD\xC3 \xBB\xF3\xB4\xEB \xC0\xFC\xBD\xC5\xB7\xC2 \xBC\xD2\xB8\xF0");
|
||||
case POINT_DAMAGE_SP_RECOVER: return LC_TEXT("%d%% \xC8\xAE\xB7\xFC\xB7\xCE \xC7\xC7\xC7\xD8\xBD\xC3 \xC1\xA4\xBD\xC5\xB7\xC2 \xC8\xB8\xBA\xB9");
|
||||
case POINT_BLOCK: return LC_TEXT("\xB9\xB0\xB8\xAE\xC5\xB8\xB0\xDD\xBD\xC3 \xBA\xED\xB7\xB0 \xC8\xAE\xB7\xFC %d%%");
|
||||
case POINT_DODGE: return LC_TEXT("\xC8\xB0 \xB0\xF8\xB0\xDD \xC8\xB8\xC7\xC7 \xC8\xAE\xB7\xFC %d%%");
|
||||
case POINT_RESIST_SWORD: return LC_TEXT("\xC7\xD1\xBC\xD5\xB0\xCB \xB9\xE6\xBE\xEE %d%%");
|
||||
case POINT_RESIST_TWOHAND: return LC_TEXT("\xBE\xE7\xBC\xD5\xB0\xCB \xB9\xE6\xBE\xEE %d%%");
|
||||
case POINT_RESIST_DAGGER: return LC_TEXT("\xB5\xCE\xBC\xD5\xB0\xCB \xB9\xE6\xBE\xEE %d%%");
|
||||
case POINT_RESIST_BELL: return LC_TEXT("\xB9\xE6\xBF\xEF \xB9\xE6\xBE\xEE %d%%");
|
||||
case POINT_RESIST_FAN: return LC_TEXT("\xBA\xCE\xC3\xA4 \xB9\xE6\xBE\xEE %d%%");
|
||||
case POINT_RESIST_BOW: return LC_TEXT("\xC8\xB0\xB0\xF8\xB0\xDD \xC0\xFA\xC7\xD7 %d%%");
|
||||
case POINT_RESIST_FIRE: return LC_TEXT("\xC8\xAD\xBF\xB0 \xC0\xFA\xC7\xD7 %d%%");
|
||||
case POINT_RESIST_ELEC: return LC_TEXT("\xC0\xFC\xB1\xE2 \xC0\xFA\xC7\xD7 %d%%");
|
||||
case POINT_RESIST_MAGIC: return LC_TEXT("\xB8\xB6\xB9\xFD \xC0\xFA\xC7\xD7 %d%%");
|
||||
case POINT_RESIST_WIND: return LC_TEXT("\xB9\xD9\xB6\xF7 \xC0\xFA\xC7\xD7 %d%%");
|
||||
case POINT_ATTBONUS_HUMAN: return LC_TEXT("Player's Attack Power against Monsters +%d%%");
|
||||
case POINT_ATTBONUS_ANIMAL: return LC_TEXT("Horse's Attack Power against Monsters +%d%%");
|
||||
case POINT_ATTBONUS_ORC: return LC_TEXT("Attack Boost against Wonggui + %d%%");
|
||||
case POINT_ATTBONUS_MILGYO: return LC_TEXT("Attack Boost against Milgyo + %d%%");
|
||||
case POINT_ATTBONUS_UNDEAD: return LC_TEXT("Attack boost against zombies + %d%%");
|
||||
case POINT_ATTBONUS_DEVIL: return LC_TEXT("Attack boost against devils + %d%%");
|
||||
case POINT_STEAL_HP: return LC_TEXT("Absorbing of Energy %d%% while attacking.");
|
||||
case POINT_STEAL_SP: return LC_TEXT("Absorption of Spell Points (SP) %d%% while attacking.");
|
||||
case POINT_MANA_BURN_PCT: return LC_TEXT("With a chance of %d%% Spell Points (SP) will be taken from the enemy.");
|
||||
case POINT_DAMAGE_SP_RECOVER: return LC_TEXT("Absorbing of Spell Points (SP) with a chance of %d%%");
|
||||
case POINT_BLOCK: return LC_TEXT("%d%% Chance of blocking a close-combat attack");
|
||||
case POINT_DODGE: return LC_TEXT("%d%% Chance of blocking a long range attack");
|
||||
case POINT_RESIST_SWORD: return LC_TEXT("One-Handed Sword defence %d%%");
|
||||
case POINT_RESIST_TWOHAND: return LC_TEXT("Two-Handed Sword Defence %d%%");
|
||||
case POINT_RESIST_DAGGER: return LC_TEXT("Two-Handed Sword Defence %d%%");
|
||||
case POINT_RESIST_BELL: return LC_TEXT("Bell Defence %d%%");
|
||||
case POINT_RESIST_FAN: return LC_TEXT("Fan Defence %d%%");
|
||||
case POINT_RESIST_BOW: return LC_TEXT("Distant Attack Resistance %d%%");
|
||||
case POINT_RESIST_FIRE: return LC_TEXT("Fire Resistance %d%%");
|
||||
case POINT_RESIST_ELEC: return LC_TEXT("Lightning Resistance %d%%");
|
||||
case POINT_RESIST_MAGIC: return LC_TEXT("Magic Resistance %d%%");
|
||||
case POINT_RESIST_WIND: return LC_TEXT("Wind Resistance %d%%");
|
||||
case POINT_RESIST_ICE: return LC_TEXT("\xB3\xC3\xB1\xE2 \xC0\xFA\xC7\xD7 %d%%");
|
||||
case POINT_RESIST_EARTH: return LC_TEXT("\xB4\xEB\xC1\xF6 \xC0\xFA\xC7\xD7 %d%%");
|
||||
case POINT_RESIST_DARK: return LC_TEXT("\xBE\xEE\xB5\xD2 \xC0\xFA\xC7\xD7 %d%%");
|
||||
case POINT_REFLECT_MELEE: return LC_TEXT("\xC1\xF7\xC1\xA2 \xC5\xB8\xB0\xDD\xC4\xA1 \xB9\xDD\xBB\xE7 \xC8\xAE\xB7\xFC : %d%%");
|
||||
case POINT_REFLECT_CURSE: return LC_TEXT("\xC0\xFA\xC1\xD6 \xB5\xC7\xB5\xB9\xB8\xAE\xB1\xE2 \xC8\xAE\xB7\xFC %d%%");
|
||||
case POINT_POISON_REDUCE: return LC_TEXT("\xB5\xB6 \xC0\xFA\xC7\xD7 %d%%");
|
||||
case POINT_KILL_SP_RECOVER: return LC_TEXT("%d%% \xC8\xAE\xB7\xFC\xB7\xCE \xC0\xFB\xC5\xF0\xC4\xA1\xBD\xC3 \xC1\xA4\xBD\xC5\xB7\xC2 \xC8\xB8\xBA\xB9");
|
||||
case POINT_EXP_DOUBLE_BONUS: return LC_TEXT("%d%% \xC8\xAE\xB7\xFC\xB7\xCE \xC0\xFB\xC5\xF0\xC4\xA1\xBD\xC3 \xB0\xE6\xC7\xE8\xC4\xA1 \xC3\xDF\xB0\xA1 \xBB\xF3\xBD\xC2");
|
||||
case POINT_GOLD_DOUBLE_BONUS: return LC_TEXT("%d%% \xC8\xAE\xB7\xFC\xB7\xCE \xC0\xFB\xC5\xF0\xC4\xA1\xBD\xC3 \xB5\xB7 2\xB9\xE8 \xB5\xE5\xB7\xD3");
|
||||
case POINT_ITEM_DROP_BONUS: return LC_TEXT("%d%% \xC8\xAE\xB7\xFC\xB7\xCE \xC0\xFB\xC5\xF0\xC4\xA1\xBD\xC3 \xBE\xC6\xC0\xCC\xC5\xDB 2\xB9\xE8 \xB5\xE5\xB7\xD3");
|
||||
case POINT_POTION_BONUS: return LC_TEXT("\xB9\xB0\xBE\xE0 \xBB\xE7\xBF\xEB\xBD\xC3 %d%% \xBC\xBA\xB4\xC9 \xC1\xF5\xB0\xA1");
|
||||
case POINT_KILL_HP_RECOVERY: return LC_TEXT("%d%% \xC8\xAE\xB7\xFC\xB7\xCE \xC0\xFB\xC5\xF0\xC4\xA1\xBD\xC3 \xBB\xFD\xB8\xED\xB7\xC2 \xC8\xB8\xBA\xB9");
|
||||
// case POINT_IMMUNE_STUN: return LC_TEXT("\xB1\xE2\xC0\xFD\xC7\xCF\xC1\xF6 \xBE\xCA\xC0\xBD %d%%");
|
||||
// case POINT_IMMUNE_SLOW: return LC_TEXT("\xB4\xC0\xB7\xC1\xC1\xF6\xC1\xF6 \xBE\xCA\xC0\xBD %d%%");
|
||||
// case POINT_IMMUNE_FALL: return LC_TEXT("\xB3\xD1\xBE\xEE\xC1\xF6\xC1\xF6 \xBE\xCA\xC0\xBD %d%%");
|
||||
case POINT_REFLECT_MELEE: return LC_TEXT("Reflect Direct Hit: %d%%");
|
||||
case POINT_REFLECT_CURSE: return LC_TEXT("Reflect Curse: %d%%");
|
||||
case POINT_POISON_REDUCE: return LC_TEXT("Poison Resistance %d%%");
|
||||
case POINT_KILL_SP_RECOVER: return LC_TEXT("Spell Points (SP) will be increased by %d%% if you win.");
|
||||
case POINT_EXP_DOUBLE_BONUS: return LC_TEXT("Experience increases by %d%% if you win against an opponent.");
|
||||
case POINT_GOLD_DOUBLE_BONUS: return LC_TEXT("Increase of Yang up to %d%% if you win.");
|
||||
case POINT_ITEM_DROP_BONUS: return LC_TEXT("Increase of captured Items up to %d%% if you win.");
|
||||
case POINT_POTION_BONUS: return LC_TEXT("Power increase of up to %d%% after taking the potion.");
|
||||
case POINT_KILL_HP_RECOVERY: return LC_TEXT("%d%% Chance of filling up Hit Points after a victory.");
|
||||
// case POINT_IMMUNE_STUN: return LC_TEXT("No Dizziness %d%%");
|
||||
// case POINT_IMMUNE_SLOW: return LC_TEXT("No Slowing Down %d%%");
|
||||
// case POINT_IMMUNE_FALL: return LC_TEXT("No falling down %d%%");
|
||||
// case POINT_SKILL: return LC_TEXT("");
|
||||
// case POINT_BOW_DISTANCE: return LC_TEXT("");
|
||||
case POINT_ATT_GRADE_BONUS: return LC_TEXT("\xB0\xF8\xB0\xDD\xB7\xC2 +%d");
|
||||
case POINT_DEF_GRADE_BONUS: return LC_TEXT("\xB9\xE6\xBE\xEE\xB7\xC2 +%d");
|
||||
case POINT_MAGIC_ATT_GRADE: return LC_TEXT("\xB8\xB6\xB9\xFD \xB0\xF8\xB0\xDD\xB7\xC2 +%d");
|
||||
case POINT_MAGIC_DEF_GRADE: return LC_TEXT("\xB8\xB6\xB9\xFD \xB9\xE6\xBE\xEE\xB7\xC2 +%d");
|
||||
case POINT_ATT_GRADE_BONUS: return LC_TEXT("Attack Power + %d");
|
||||
case POINT_DEF_GRADE_BONUS: return LC_TEXT("Armour + %d");
|
||||
case POINT_MAGIC_ATT_GRADE: return LC_TEXT("Magical Attack + %d");
|
||||
case POINT_MAGIC_DEF_GRADE: return LC_TEXT("Magical Defence + %d");
|
||||
// case POINT_CURSE_PCT: return LC_TEXT("");
|
||||
case POINT_MAX_STAMINA: return LC_TEXT("\xC3\xD6\xB4\xEB \xC1\xF6\xB1\xB8\xB7\xC2 +%d");
|
||||
case POINT_ATTBONUS_WARRIOR: return LC_TEXT("\xB9\xAB\xBB\xE7\xBF\xA1\xB0\xD4 \xB0\xAD\xC7\xD4 +%d%%");
|
||||
case POINT_ATTBONUS_ASSASSIN: return LC_TEXT("\xC0\xDA\xB0\xB4\xBF\xA1\xB0\xD4 \xB0\xAD\xC7\xD4 +%d%%");
|
||||
case POINT_ATTBONUS_SURA: return LC_TEXT("\xBC\xF6\xB6\xF3\xBF\xA1\xB0\xD4 \xB0\xAD\xC7\xD4 +%d%%");
|
||||
case POINT_ATTBONUS_SHAMAN: return LC_TEXT("\xB9\xAB\xB4\xE7\xBF\xA1\xB0\xD4 \xB0\xAD\xC7\xD4 +%d%%");
|
||||
case POINT_ATTBONUS_MONSTER: return LC_TEXT("\xB8\xF3\xBD\xBA\xC5\xCD\xBF\xA1\xB0\xD4 \xB0\xAD\xC7\xD4 +%d%%");
|
||||
case POINT_MALL_ATTBONUS: return LC_TEXT("\xB0\xF8\xB0\xDD\xB7\xC2 +%d%%");
|
||||
case POINT_MALL_DEFBONUS: return LC_TEXT("\xB9\xE6\xBE\xEE\xB7\xC2 +%d%%");
|
||||
case POINT_MALL_EXPBONUS: return LC_TEXT("\xB0\xE6\xC7\xE8\xC4\xA1 %d%%");
|
||||
case POINT_MALL_ITEMBONUS: return LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB \xB5\xE5\xB7\xD3\xC0\xB2 %.1f\xB9\xE8");
|
||||
case POINT_MALL_GOLDBONUS: return LC_TEXT("\xB5\xB7 \xB5\xE5\xB7\xD3\xC0\xB2 %.1f\xB9\xE8");
|
||||
case POINT_MAX_HP_PCT: return LC_TEXT("\xC3\xD6\xB4\xEB \xBB\xFD\xB8\xED\xB7\xC2 +%d%%");
|
||||
case POINT_MAX_SP_PCT: return LC_TEXT("\xC3\xD6\xB4\xEB \xC1\xA4\xBD\xC5\xB7\xC2 +%d%%");
|
||||
case POINT_SKILL_DAMAGE_BONUS: return LC_TEXT("\xBD\xBA\xC5\xB3 \xB5\xA5\xB9\xCC\xC1\xF6 %d%%");
|
||||
case POINT_NORMAL_HIT_DAMAGE_BONUS: return LC_TEXT("\xC6\xF2\xC5\xB8 \xB5\xA5\xB9\xCC\xC1\xF6 %d%%");
|
||||
case POINT_SKILL_DEFEND_BONUS: return LC_TEXT("\xBD\xBA\xC5\xB3 \xB5\xA5\xB9\xCC\xC1\xF6 \xC0\xFA\xC7\xD7 %d%%");
|
||||
case POINT_NORMAL_HIT_DEFEND_BONUS: return LC_TEXT("\xC6\xF2\xC5\xB8 \xB5\xA5\xB9\xCC\xC1\xF6 \xC0\xFA\xC7\xD7 %d%%");
|
||||
case POINT_MAX_STAMINA: return LC_TEXT("Maximum Endurance + %d");
|
||||
case POINT_ATTBONUS_WARRIOR: return LC_TEXT("Strong against Warriors + %d%%");
|
||||
case POINT_ATTBONUS_ASSASSIN: return LC_TEXT("Strong against Ninjas + %d%%");
|
||||
case POINT_ATTBONUS_SURA: return LC_TEXT("Strong against Sura + %d%%");
|
||||
case POINT_ATTBONUS_SHAMAN: return LC_TEXT("Strong against Shamans + %d%%");
|
||||
case POINT_ATTBONUS_MONSTER: return LC_TEXT("Strength against monsters + %d%%");
|
||||
case POINT_MALL_ATTBONUS: return LC_TEXT("Attack + %d%%");
|
||||
case POINT_MALL_DEFBONUS: return LC_TEXT("Defence + %d%%");
|
||||
case POINT_MALL_EXPBONUS: return LC_TEXT("Experience %d%%");
|
||||
case POINT_MALL_ITEMBONUS: return LC_TEXT("Chance to find an Item %. 1f");
|
||||
case POINT_MALL_GOLDBONUS: return LC_TEXT("Chance to find Yang %. 1f");
|
||||
case POINT_MAX_HP_PCT: return LC_TEXT("Maximum Energy +%d%%");
|
||||
case POINT_MAX_SP_PCT: return LC_TEXT("Maximum Energy +%d%%");
|
||||
case POINT_SKILL_DAMAGE_BONUS: return LC_TEXT("Skill Damage %d%%");
|
||||
case POINT_NORMAL_HIT_DAMAGE_BONUS: return LC_TEXT("Hit Damage %d%%");
|
||||
case POINT_SKILL_DEFEND_BONUS: return LC_TEXT("Resistance against Skill Damage %d%%");
|
||||
case POINT_NORMAL_HIT_DEFEND_BONUS: return LC_TEXT("Resistance against Hits %d%%");
|
||||
// case POINT_EXTRACT_HP_PCT: return LC_TEXT("");
|
||||
case POINT_RESIST_WARRIOR: return LC_TEXT("\xB9\xAB\xBB\xE7\xB0\xF8\xB0\xDD\xBF\xA1 %d%% \xC0\xFA\xC7\xD7");
|
||||
case POINT_RESIST_ASSASSIN: return LC_TEXT("\xC0\xDA\xB0\xB4\xB0\xF8\xB0\xDD\xBF\xA1 %d%% \xC0\xFA\xC7\xD7");
|
||||
case POINT_RESIST_SURA: return LC_TEXT("\xBC\xF6\xB6\xF3\xB0\xF8\xB0\xDD\xBF\xA1 %d%% \xC0\xFA\xC7\xD7");
|
||||
case POINT_RESIST_SHAMAN: return LC_TEXT("\xB9\xAB\xB4\xE7\xB0\xF8\xB0\xDD\xBF\xA1 %d%% \xC0\xFA\xC7\xD7");
|
||||
case POINT_RESIST_WARRIOR: return LC_TEXT("%d%% Resistance against Warrior Attacks");
|
||||
case POINT_RESIST_ASSASSIN: return LC_TEXT("%d%% Resistance against Ninja Attacks");
|
||||
case POINT_RESIST_SURA: return LC_TEXT("%d%% Resistance against Sura Attacks");
|
||||
case POINT_RESIST_SHAMAN: return LC_TEXT("%d%% Resistance against Shaman Attacks");
|
||||
default: return NULL;
|
||||
}
|
||||
}
|
||||
|
@ -2048,7 +2048,7 @@ static bool FN_hair_affect_string(LPCHARACTER ch, char *buf, size_t bufsiz)
|
|||
mon = ltm.tm_mon + 1;
|
||||
day = ltm.tm_mday;
|
||||
|
||||
snprintf(buf + offset, bufsiz - offset, LC_TEXT(" (\xB8\xB8\xB7\xE1\xC0\xCF : %d\xB3\xE2 %d\xBF\xF9 %d\xC0\xCF)"), year, mon, day);
|
||||
snprintf(buf + offset, bufsiz - offset, LC_TEXT("(Procedure: %d y- %d m - %d d)"), year, mon, day);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -2461,7 +2461,7 @@ ACMD(do_ride)
|
|||
|
||||
|
||||
// 타거나 내릴 수 없을때
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xC0\xBB \xB8\xD5\xC0\xFA \xBC\xD2\xC8\xAF\xC7\xD8\xC1\xD6\xBC\xBC\xBF\xE4."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Please call your Horse first."));
|
||||
}
|
||||
|
||||
#ifdef __AUCTION__
|
||||
|
|
|
@ -500,7 +500,7 @@ ACMD(do_item)
|
|||
M2_DESTROY_ITEM(item);
|
||||
if (!ch->DragonSoul_IsQualified())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, "\xC0\xCE\xBA\xA5\xC0\xCC \xC8\xB0\xBC\xBA\xC8\xAD \xB5\xC7\xC1\xF6 \xBE\xCA\xC0\xBD.");
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, "Before you open the Cor Draconis, you have to complete the Dragon Stone quest and activate the Dragon Stone Alchemy.");
|
||||
}
|
||||
else
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, "Not enough inventory space.");
|
||||
|
@ -1215,7 +1215,7 @@ ACMD(do_monarch_notice)
|
|||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xBA\xC1\xD6\xB8\xB8\xC0\xCC \xBB\xE7\xBF\xEB \xB0\xA1\xB4\xC9\xC7\xD1 \xB1\xE2\xB4\xC9\xC0\xD4\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This function can only be used by the emperor."));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1555,12 +1555,12 @@ ACMD(do_makeguild)
|
|||
|
||||
if (!check_name(cp.name))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xFB\xC7\xD5\xC7\xCF\xC1\xF6 \xBE\xCA\xC0\xBA \xB1\xE6\xB5\xE5 \xC0\xCC\xB8\xA7 \xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This guild name is invalid."));
|
||||
return;
|
||||
}
|
||||
|
||||
gm.CreateGuild(cp);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("(%s) \xB1\xE6\xB5\xE5\xB0\xA1 \xBB\xFD\xBC\xBA\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9. [\xC0\xD3\xBD\xC3]"), cp.name);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("(%s) guild has been created. [Temporary]"), cp.name);
|
||||
}
|
||||
|
||||
ACMD(do_deleteguild)
|
||||
|
@ -2110,7 +2110,7 @@ ACMD(do_level)
|
|||
|
||||
ACMD(do_gwlist)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("\xC7\xF6\xC0\xE7 \xC0\xFC\xC0\xEF\xC1\xDF\xC0\xCE \xB1\xE6\xB5\xE5 \xC0\xD4\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("This guild is at war."));
|
||||
CGuildManager::instance().ShowGuildWarList(ch);
|
||||
}
|
||||
|
||||
|
@ -2168,7 +2168,7 @@ ACMD(do_guild_state)
|
|||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s: \xC1\xB8\xC0\xE7\xC7\xCF\xC1\xF6 \xBE\xCA\xB4\xC2 \xB1\xE6\xB5\xE5 \xC0\xD4\xB4\xCF\xB4\xD9."), arg1);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s: This guild does not exist."), arg1);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2579,7 +2579,7 @@ ACMD(do_block_chat_list)
|
|||
// GM이 아니거나 block_chat_privilege가 없는 사람은 명령어 사용 불가
|
||||
if (!ch || (ch->GetGMLevel() < GM_HIGH_WIZARD && ch->GetQuestFlag("chat_privilege.block") <= 0))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xD7\xB7\xB1 \xB8\xED\xB7\xC9\xBE\xEE\xB4\xC2 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This command does not exist."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2645,7 +2645,7 @@ ACMD(do_block_chat)
|
|||
// GM이 아니거나 block_chat_privilege가 없는 사람은 명령어 사용 불가
|
||||
if (ch && (ch->GetGMLevel() < GM_HIGH_WIZARD && ch->GetQuestFlag("chat_privilege.block") <= 0))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xD7\xB7\xB1 \xB8\xED\xB7\xC9\xBE\xEE\xB4\xC2 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This command does not exist."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2776,7 +2776,7 @@ ACMD(do_build)
|
|||
const TObjectProto * t = CManager::instance().GetObjectProto(dwVnum);
|
||||
if (!t)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xB8\xC0\xE7\xC7\xCF\xC1\xF6 \xBE\xCA\xB4\xC2 \xB0\xC7\xB9\xB0\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The building does not exist."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2786,7 +2786,7 @@ ACMD(do_build)
|
|||
{
|
||||
if (pkLand->FindObjectByGroup(t->dwGroupVnum))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xB0\xC0\xCC \xC1\xF6\xC0\xBB \xBC\xF6 \xBE\xF8\xB4\xC2 \xC1\xBE\xB7\xF9\xC0\xC7 \xB0\xC7\xB9\xB0\xC0\xCC \xC1\xF6\xBE\xEE\xC1\xAE \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This type of building can only be erected once."));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -2800,7 +2800,7 @@ ACMD(do_build)
|
|||
// 지어져있는가?
|
||||
if (!pkLand->FindObjectByGroup(t->dwDependOnGroupVnum))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xC7\xBC\xB3\xBF\xA1 \xC7\xCA\xBF\xE4\xC7\xD1 \xB0\xC7\xB9\xB0\xC0\xCC \xC1\xF6\xBE\xEE\xC1\xAE \xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The Main Building has to be erected first."));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -2812,13 +2812,13 @@ ACMD(do_build)
|
|||
// 건설 비용 체크
|
||||
if (t->dwPrice > BUILDING_MAX_PRICE)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xC7\xB9\xB0 \xBA\xF1\xBF\xEB \xC1\xA4\xBA\xB8 \xC0\xCC\xBB\xF3\xC0\xB8\xB7\xCE \xB0\xC7\xBC\xB3 \xC0\xDB\xBE\xF7\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Building failed because of incorrect pricing."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (ch->GetGold() < (int)t->dwPrice)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xC7\xBC\xB3 \xBA\xF1\xBF\xEB\xC0\xCC \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your guild does not have enough Yang to erect this building."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2835,7 +2835,7 @@ ACMD(do_build)
|
|||
|
||||
if ((int) dwItemCount > ch->CountSpecifyItem(dwItemVnum))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xDA\xC0\xE7\xB0\xA1 \xBA\xCE\xC1\xB7\xC7\xCF\xBF\xA9 \xB0\xC7\xBC\xB3\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You do not have enough resources to build a building."));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -2869,7 +2869,7 @@ ACMD(do_build)
|
|||
if (!isSuccess)
|
||||
{
|
||||
if (test_server)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xC7\xB9\xB0\xC0\xBB \xC1\xF6\xC0\xBB \xBC\xF6 \xBE\xF8\xB4\xC2 \xC0\xA7\xC4\xA1\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot erect a building at this place."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -3051,7 +3051,7 @@ ACMD(do_horse_level)
|
|||
|
||||
if (NULL == victim)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xB8\xC0\xE7\xC7\xCF\xC1\xF6 \xBE\xCA\xB4\xC2 \xC4\xB3\xB8\xAF\xC5\xCD \xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This character does not exist."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -3235,17 +3235,17 @@ ACMD(do_end_duel)
|
|||
LPCHARACTER pChar = CHARACTER_MANAGER::instance().FindPC(szName);
|
||||
if (pChar == NULL)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xB8\xC0\xE7\xC7\xCF\xC1\xF6 \xBE\xCA\xB4\xC2 \xC4\xB3\xB8\xAF\xC5\xCD \xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This character does not exist."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (CArenaManager::instance().EndDuel(pChar->GetPlayerID()) == false)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xB0\xAD\xC1\xA6 \xC1\xBE\xB7\xE1 \xBD\xC7\xC6\xD0"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Duel has not been successfully cancelled."));
|
||||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xB0\xAD\xC1\xA6 \xC1\xBE\xB7\xE1 \xBC\xBA\xB0\xF8"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Duel cancelled successfully."));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3301,7 +3301,7 @@ ACMD(do_duel)
|
|||
}
|
||||
else
|
||||
{
|
||||
pChar1->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xC6\xC4\xC6\xBC\xBF\xA1\xBC\xAD \xB3\xAA\xB0\xA1\xBC\xCC\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
pChar1->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] You have left the group."));
|
||||
pParty->Quit(pChar1->GetPlayerID());
|
||||
}
|
||||
}
|
||||
|
@ -3315,23 +3315,23 @@ ACMD(do_duel)
|
|||
}
|
||||
else
|
||||
{
|
||||
pChar2->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xC6\xC4\xC6\xBC\xBF\xA1\xBC\xAD \xB3\xAA\xB0\xA1\xBC\xCC\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
pChar2->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] You have left the group."));
|
||||
pParty->Quit(pChar2->GetPlayerID());
|
||||
}
|
||||
}
|
||||
|
||||
if (CArenaManager::instance().StartDuel(pChar1, pChar2, set, minute) == true)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xCC \xBC\xBA\xB0\xF8\xC0\xFB\xC0\xB8\xB7\xCE \xBD\xC3\xC0\xDB \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The duel has been successfully started."));
|
||||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xBD\xC3\xC0\xDB\xBF\xA1 \xB9\xAE\xC1\xA6\xB0\xA1 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There is a problem with initiating the duel."));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xDA\xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There are no combatants."));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3346,7 +3346,7 @@ ACMD(do_stat_plus_amount)
|
|||
|
||||
if (ch->IsPolymorphed())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xD0\xB0\xA9 \xC1\xDF\xBF\xA1\xB4\xC2 \xB4\xC9\xB7\xC2\xC0\xBB \xBF\xC3\xB8\xB1 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot change your status while you are transformed."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -3354,7 +3354,7 @@ ACMD(do_stat_plus_amount)
|
|||
|
||||
if (nRemainPoint <= 0)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xB2\xC0\xBA \xBD\xBA\xC5\xC8 \xC6\xF7\xC0\xCE\xC6\xAE\xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("No status points left."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -3363,13 +3363,13 @@ ACMD(do_stat_plus_amount)
|
|||
|
||||
if (nRemainPoint < nPoint)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xB2\xC0\xBA \xBD\xBA\xC5\xC8 \xC6\xF7\xC0\xCE\xC6\xAE\xB0\xA1 \xC0\xFB\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Remaining status points are too low."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (nPoint < 0)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xAA\xC0\xBB \xC0\xDF\xB8\xF8 \xC0\xD4\xB7\xC2\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You entered an incorrect value."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -3404,7 +3404,7 @@ ACMD(do_stat_plus_amount)
|
|||
break;
|
||||
|
||||
default :
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xED\xB7\xC9\xBE\xEE\xC0\xC7 \xBC\xAD\xBA\xEA \xC4\xBF\xB8\xC7\xB5\xE5\xB0\xA1 \xC0\xDF\xB8\xF8 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Suborder or the Order is incorrect."));
|
||||
return;
|
||||
break;
|
||||
}
|
||||
|
@ -3437,7 +3437,7 @@ ACMD(do_break_marriage)
|
|||
str_to_number(pids.pid1, arg1);
|
||||
str_to_number(pids.pid2, arg2);
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC7\xC3\xB7\xB9\xC0\xCC\xBE\xEE %d \xBF\xCD \xC7\xC3\xB7\xB9\xC0\xCC\xBE\xEE %d\xB8\xA6 \xC6\xC4\xC8\xA5\xBD\xC3\xC5\xB5\xB4\xCF\xB4\xD9.."), pids.pid1, pids.pid2);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Broken contract between player %d and player %d."), pids.pid1, pids.pid2);
|
||||
db_clientdesc->DBPacket(HEADER_GD_BREAK_MARRIAGE, 0, &pids, sizeof(pids));
|
||||
}
|
||||
|
||||
|
@ -3471,8 +3471,8 @@ struct FCountInMap
|
|||
|
||||
ACMD(do_threeway_war_info)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xA2\xC1\xA6\xB1\xB9 \xC1\xF8\xC7\xE0 \xC1\xA4\xBA\xB8"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xB1\xC5\xC3 \xB8\xCA \xC1\xA4\xBA\xB8 \xBC\xBA\xC1\xF6 %d \xC5\xEB\xB7\xCE %d %d %d"), GetSungziMapIndex(), GetPassMapIndex(1), GetPassMapIndex(2), GetPassMapIndex(3));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Information for the Kingdoms"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Choose the Map Information of the Holy Land %d Entrance %d %d %d"), GetSungziMapIndex(), GetPassMapIndex(1), GetPassMapIndex(2), GetPassMapIndex(3));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, "ThreewayPhase %d", CThreeWayWar::instance().GetRegenFlag());
|
||||
|
||||
for (int n = 1; n < 4; ++n)
|
||||
|
@ -3495,7 +3495,7 @@ ACMD(do_threeway_war_info)
|
|||
|
||||
ACMD(do_threeway_war_myinfo)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xAA\xC0\xC7 \xBB\xEF\xB0\xC5\xB8\xAE \xC1\xF8\xC7\xE0\xC1\xA4\xBA\xB8"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Information about the status of the kingdom battle"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, "Deadcount %d",
|
||||
CThreeWayWar::instance().GetReviveTokenForPlayer(ch->GetPlayerID()));
|
||||
}
|
||||
|
@ -3856,13 +3856,13 @@ ACMD(do_set_stat)
|
|||
{
|
||||
if (tch->IsPolymorphed())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xD0\xB0\xA9 \xC1\xDF\xBF\xA1\xB4\xC2 \xB4\xC9\xB7\xC2\xC0\xBB \xBF\xC3\xB8\xB1 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot change your status while you are transformed."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (subcmd != POINT_HT && subcmd != POINT_IQ && subcmd != POINT_ST && subcmd != POINT_DX)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xED\xB7\xC9\xBE\xEE\xC0\xC7 \xBC\xAD\xBA\xEA \xC4\xBF\xB8\xC7\xB5\xE5\xB0\xA1 \xC0\xDF\xB8\xF8 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Suborder or the Order is incorrect."));
|
||||
return;
|
||||
}
|
||||
int nRemainPoint = tch->GetPoint(POINT_STAT);
|
||||
|
@ -3916,7 +3916,7 @@ ACMD(do_set_stat)
|
|||
|
||||
if (nRemainPoint < nChangeAmount)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xB2\xC0\xBA \xBD\xBA\xC5\xC8 \xC6\xF7\xC0\xCE\xC6\xAE\xB0\xA1 \xC0\xFB\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Remaining status points are too low."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -19,16 +19,16 @@ ACMD(do_oxevent_log)
|
|||
{
|
||||
if ( COXEventManager::instance().LogWinner() == false )
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("OX\xC0\xCC\xBA\xA5\xC6\xAE\xC0\xC7 \xB3\xAA\xB8\xD3\xC1\xF6 \xC0\xCE\xBF\xF8\xC0\xBB \xB1\xE2\xB7\xCF\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("OX The other event participants are being noted down."));
|
||||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("OX\xC0\xCC\xBA\xA5\xC6\xAE\xC0\xC7 \xB3\xAA\xB8\xD3\xC1\xF6 \xC0\xCE\xBF\xF8 \xB1\xE2\xB7\xCF\xC0\xBB \xBD\xC7\xC6\xD0\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("OX The other event participants have not been noted down."));
|
||||
}
|
||||
}
|
||||
|
||||
ACMD(do_oxevent_get_attender)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC7\xF6\xC0\xE7 \xB3\xB2\xC0\xBA \xC2\xFC\xB0\xA1\xC0\xDA\xBC\xF6 : %d"), COXEventManager::instance().GetAttenderCount());
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Number of other participants : %d"), COXEventManager::instance().GetAttenderCount());
|
||||
}
|
||||
|
||||
|
|
|
@ -1205,7 +1205,7 @@ void CheckClientVersion()
|
|||
//if (0 != g_stClientVersion.compare(d->GetClientVersion()) )
|
||||
if (version > date)
|
||||
{
|
||||
d->GetCharacter()->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("\xC5\xAC\xB6\xF3\xC0\xCC\xBE\xF0\xC6\xAE \xB9\xF6\xC0\xFC\xC0\xCC \xC6\xB2\xB7\xC1 \xB7\xCE\xB1\xD7\xBE\xC6\xBF\xF4 \xB5\xCB\xB4\xCF\xB4\xD9. \xC1\xA4\xBB\xF3\xC0\xFB\xC0\xB8\xB7\xCE \xC6\xD0\xC4\xA1 \xC8\xC4 \xC1\xA2\xBC\xD3\xC7\xCF\xBC\xBC\xBF\xE4."));
|
||||
d->GetCharacter()->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("You do not have the correct client version. Please install the normal patch."));
|
||||
d->DelayedDisconnect(10);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1077,19 +1077,19 @@ const SStoneDropInfo aStoneDrop[STONE_INFO_MAX_NUM] =
|
|||
|
||||
const char * c_apszEmpireNames[EMPIRE_MAX_NUM] =
|
||||
{
|
||||
"\xC0\xFC\xC1\xA6\xB1\xB9",
|
||||
"\xBD\xC5\xBC\xF6\xB1\xB9",
|
||||
"\xC3\xB5\xC1\xB6\xB1\xB9",
|
||||
"\xC1\xF8\xB3\xEB\xB1\xB9"
|
||||
"All kingdoms",
|
||||
"Shinsoo Kingdom",
|
||||
"Chunjo Kingdom",
|
||||
"Jinno Kingdom"
|
||||
};
|
||||
|
||||
const char * c_apszPrivNames[MAX_PRIV_NUM] =
|
||||
{
|
||||
"",
|
||||
"\xBE\xC6\xC0\xCC\xC5\xDB\xC0\xCC \xB3\xAA\xBF\xC3 \xC8\xAE\xB7\xFC",
|
||||
"\xB5\xB7\xC0\xCC \xB3\xAA\xBF\xC3 \xC8\xAE\xB7\xFC",
|
||||
"\xB5\xB7 \xB4\xEB\xB9\xDA\xC0\xCC \xB3\xAA\xBF\xC3 \xC8\xAE\xB7\xFC",
|
||||
"\xB0\xE6\xC7\xE8\xC4\xA1 \xB9\xE8\xC0\xB2",
|
||||
"Item drop rate in percent",
|
||||
"Yang drop rate in percent",
|
||||
"Yang rain drop rate",
|
||||
"Experience percentage",
|
||||
};
|
||||
|
||||
const int aiPolymorphPowerByLevel[SKILL_MAX_LEVEL + 1] =
|
||||
|
|
|
@ -308,12 +308,12 @@ void Cube_open (LPCHARACTER ch)
|
|||
|
||||
if (ch->IsCubeOpen())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xC1\xA6\xC1\xB6\xC3\xA2\xC0\xCC \xBF\xAD\xB7\xC1\xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The Build window is already open."));
|
||||
return;
|
||||
}
|
||||
if ( ch->GetExchange() || ch->GetMyShop() || ch->GetShopOwner() || ch->IsOpenSafebox() || ch->IsCubeOpen() )
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xB8\xA5 \xB0\xC5\xB7\xA1\xC1\xDF(\xC3\xA2\xB0\xED,\xB1\xB3\xC8\xAF,\xBB\xF3\xC1\xA1)\xBF\xA1\xB4\xC2 \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot build something while another trade/storeroom window is open."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -517,7 +517,7 @@ bool Cube_make (LPCHARACTER ch)
|
|||
|
||||
if (!(ch)->IsCubeOpen())
|
||||
{
|
||||
(ch)->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xA6\xC1\xB6\xC3\xA2\xC0\xCC \xBF\xAD\xB7\xC1\xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
(ch)->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The build window is not open."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -532,13 +532,13 @@ bool Cube_make (LPCHARACTER ch)
|
|||
|
||||
if (NULL == cube_proto)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xA6\xC1\xB6 \xC0\xE7\xB7\xE1\xB0\xA1 \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You do not have the right material."));
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ch->GetGold() < cube_proto->gold)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xB7\xC0\xCC \xBA\xCE\xC1\xB7\xC7\xCF\xB0\xC5\xB3\xAA \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xCC \xC1\xA6\xC0\xDA\xB8\xAE\xBF\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); // 이 텍스트는 이미 널리 쓰이는거라 추가번역 필요 없음
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Not enough Yang or not enough space in the inventory.")); // 이 텍스트는 이미 널리 쓰이는거라 추가번역 필요 없음
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -493,7 +493,7 @@ void DBManager::AnalyzeReturnQuery(SQLMsg * pMsg)
|
|||
if (pkItem)
|
||||
{
|
||||
SPDLOG_DEBUG("GIVE LOTTO SUCCESS TO {} (pid {})", ch->GetName(), qi->dwIdent);
|
||||
//ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB \xC8\xB9\xB5\xE6: %s"), pkItem->GetName());
|
||||
//ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s received"), pkItem->GetName());
|
||||
|
||||
pkItem->SetSocket(0, pMsg->Get()->uiInsertID);
|
||||
pkItem->SetSocket(1, pdw[2]);
|
||||
|
|
|
@ -550,7 +550,7 @@ void DESC::DisconnectOfSameLogin()
|
|||
if (m_pkDisconnectEvent)
|
||||
return;
|
||||
|
||||
GetCharacter()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xB8\xA5 \xC4\xC4\xC7\xBB\xC5\xCD\xBF\xA1\xBC\xAD \xB7\xCE\xB1\xD7\xC0\xCE \xC7\xCF\xBF\xA9 \xC1\xA2\xBC\xD3\xC0\xBB \xC1\xBE\xB7\xE1 \xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
GetCharacter()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Someone has logged into your account. You will be disconnected from the server."));
|
||||
DelayedDisconnect(5);
|
||||
}
|
||||
else
|
||||
|
|
|
@ -53,7 +53,7 @@ bool CHARACTER::ExchangeStart(LPCHARACTER victim)
|
|||
|
||||
if (IsObserverMode())
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xFC\xC0\xFC \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD\xB4\xC2 \xB1\xB3\xC8\xAF\xC0\xBB \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot trade while observing."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -63,13 +63,13 @@ bool CHARACTER::ExchangeStart(LPCHARACTER victim)
|
|||
//PREVENT_TRADE_WINDOW
|
||||
if ( IsOpenSafebox() || GetShopOwner() || GetMyShop() || IsCubeOpen())
|
||||
{
|
||||
ChatPacket( CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xB8\xA5 \xB0\xC5\xB7\xA1\xC3\xA2\xC0\xCC \xBF\xAD\xB7\xC1\xC0\xD6\xC0\xBB\xB0\xE6\xBF\xEC \xB0\xC5\xB7\xA1\xB8\xA6 \xC7\xD2\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9." ) );
|
||||
ChatPacket( CHAT_TYPE_INFO, LC_TEXT("If the window is open, you cannot trade with others." ) );
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( victim->IsOpenSafebox() || victim->GetShopOwner() || victim->GetMyShop() || victim->IsCubeOpen() )
|
||||
{
|
||||
ChatPacket( CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xB4\xEB\xB9\xE6\xC0\xCC \xB4\xD9\xB8\xA5 \xB0\xC5\xB7\xA1\xC1\xDF\xC0\xCC\xB6\xF3 \xB0\xC5\xB7\xA1\xB8\xA6 \xC7\xD2\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9." ) );
|
||||
ChatPacket( CHAT_TYPE_INFO, LC_TEXT("The other person is currently busy so you cannot trade right now." ) );
|
||||
return false;
|
||||
}
|
||||
//END_PREVENT_TRADE_WINDOW
|
||||
|
@ -90,7 +90,7 @@ bool CHARACTER::ExchangeStart(LPCHARACTER victim)
|
|||
|
||||
if (victim->IsBlockMode(BLOCK_EXCHANGE))
|
||||
{
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xB4\xEB\xB9\xE6\xC0\xCC \xB1\xB3\xC8\xAF \xB0\xC5\xBA\xCE \xBB\xF3\xC5\xC2\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The other person has cancelled the trade."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -154,7 +154,7 @@ bool CExchange::AddItem(TItemPos item_pos, BYTE display_pos)
|
|||
|
||||
if (IS_SET(item->GetAntiFlag(), ITEM_ANTIFLAG_GIVE))
|
||||
{
|
||||
m_pOwner->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBB \xB0\xC7\xB3\xD7\xC1\xD9 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
m_pOwner->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot trade this item."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -512,31 +512,31 @@ bool CExchange::Accept(bool bAccept)
|
|||
// 를 리턴한다.
|
||||
if (!Check(&iItemCount))
|
||||
{
|
||||
GetOwner()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xB7\xC0\xCC \xBA\xCE\xC1\xB7\xC7\xCF\xB0\xC5\xB3\xAA \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xCC \xC1\xA6\xC0\xDA\xB8\xAE\xBF\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
victim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xB4\xEB\xB9\xE6\xC0\xC7 \xB5\xB7\xC0\xCC \xBA\xCE\xC1\xB7\xC7\xCF\xB0\xC5\xB3\xAA \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xCC \xC1\xA6\xC0\xDA\xB8\xAE\xBF\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
GetOwner()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Not enough Yang or not enough space in the inventory."));
|
||||
victim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The other person does not have enough Yang or does not have any space left in their inventory."));
|
||||
goto EXCHANGE_END;
|
||||
}
|
||||
|
||||
// 리턴 받은 아이템 개수로 상대방의 소지품에 남은 자리가 있나 확인한다.
|
||||
if (!CheckSpace())
|
||||
{
|
||||
GetOwner()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xB4\xEB\xB9\xE6\xC0\xC7 \xBC\xD2\xC1\xF6\xC7\xB0\xBF\xA1 \xBA\xF3 \xB0\xF8\xB0\xA3\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
victim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD2\xC1\xF6\xC7\xB0\xBF\xA1 \xBA\xF3 \xB0\xF8\xB0\xA3\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
GetOwner()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The other person has no space left in their inventory."));
|
||||
victim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There isn't enough space in your inventory."));
|
||||
goto EXCHANGE_END;
|
||||
}
|
||||
|
||||
// 상대방도 마찬가지로..
|
||||
if (!GetCompany()->Check(&iItemCount))
|
||||
{
|
||||
victim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xB7\xC0\xCC \xBA\xCE\xC1\xB7\xC7\xCF\xB0\xC5\xB3\xAA \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xCC \xC1\xA6\xC0\xDA\xB8\xAE\xBF\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
GetOwner()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xB4\xEB\xB9\xE6\xC0\xC7 \xB5\xB7\xC0\xCC \xBA\xCE\xC1\xB7\xC7\xCF\xB0\xC5\xB3\xAA \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xCC \xC1\xA6\xC0\xDA\xB8\xAE\xBF\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
victim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Not enough Yang or not enough space in the inventory."));
|
||||
GetOwner()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The other person does not have enough Yang or does not have any space left in their inventory."));
|
||||
goto EXCHANGE_END;
|
||||
}
|
||||
|
||||
if (!GetCompany()->CheckSpace())
|
||||
{
|
||||
victim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xB4\xEB\xB9\xE6\xC0\xC7 \xBC\xD2\xC1\xF6\xC7\xB0\xBF\xA1 \xBA\xF3 \xB0\xF8\xB0\xA3\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
GetOwner()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD2\xC1\xF6\xC7\xB0\xBF\xA1 \xBA\xF3 \xB0\xF8\xB0\xA3\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
victim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The other person has no space left in their inventory."));
|
||||
GetOwner()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There isn't enough space in your inventory."));
|
||||
goto EXCHANGE_END;
|
||||
}
|
||||
|
||||
|
@ -559,8 +559,8 @@ bool CExchange::Accept(bool bAccept)
|
|||
victim->Save();
|
||||
|
||||
// INTERNATIONAL_VERSION
|
||||
GetOwner()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xB4\xD4\xB0\xFA\xC0\xC7 \xB1\xB3\xC8\xAF\xC0\xCC \xBC\xBA\xBB\xE7 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."), victim->GetName());
|
||||
victim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xB4\xD4\xB0\xFA\xC0\xC7 \xB1\xB3\xC8\xAF\xC0\xCC \xBC\xBA\xBB\xE7 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."), GetOwner()->GetName());
|
||||
GetOwner()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The trade with %s has been successful."), victim->GetName());
|
||||
victim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The trade with %s has been successful."), GetOwner()->GetName());
|
||||
// END_OF_INTERNATIONAL_VERSION
|
||||
}
|
||||
}
|
||||
|
|
|
@ -441,11 +441,11 @@ void FishingPractice(LPCHARACTER ch)
|
|||
if ( rod->GetRefinedVnum()>0 && rod->GetSocket(0) < rod->GetValue(2) && Random::get(1,rod->GetValue(1))==1 )
|
||||
{
|
||||
rod->SetSocket(0, rod->GetSocket(0) + 1);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xAC\xBD\xC3\xB4\xEB\xC0\xC7 \xBC\xF6\xB7\xC3\xB5\xB5\xB0\xA1 \xC1\xF5\xB0\xA1\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9! (%d/%d)"),rod->GetSocket(0), rod->GetValue(2));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your fishing points have increased! (%d/%d)"),rod->GetSocket(0), rod->GetValue(2));
|
||||
if (rod->GetSocket(0) == rod->GetValue(2))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xAC\xBD\xC3\xB4\xEB\xB0\xA1 \xC3\xD6\xB4\xEB \xBC\xF6\xB7\xC3\xB5\xB5\xBF\xA1 \xB5\xB5\xB4\xDE\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xEE\xBA\xCE\xB8\xA6 \xC5\xEB\xC7\xD8 \xB4\xD9\xC0\xBD \xB7\xB9\xBA\xA7\xC0\xC7 \xB3\xAC\xBD\xC3\xB4\xEB\xB7\xCE \xBE\xF7\xB1\xD7\xB7\xB9\xC0\xCC\xB5\xE5 \xC7\xD2 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have reached the maximum number of fishing points."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Go to the Fisherman and get your Fishing Pole upgraded!"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -614,7 +614,7 @@ void Take(fishing_event_info* info, LPCHARACTER ch)
|
|||
case -2: // 잡히지 않은 경우
|
||||
case -3: // 난이도 때문에 실패
|
||||
case -1: // 시간 확률 때문에 실패
|
||||
//ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xED\xB1\xE2\xB0\xA1 \xB9\xCC\xB3\xA2\xB8\xB8 \xBB\xA9\xB8\xD4\xB0\xED \xC0\xEC\xBD\xCE\xB0\xD4 \xB5\xB5\xB8\xC1\xC4\xA8\xB4\xCF\xB4\xD9."));
|
||||
//ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You lost your bait to the fish."));
|
||||
{
|
||||
int map_idx = ch->GetMapIndex();
|
||||
int prob_idx = GetProbIndexByMapIndex(map_idx);
|
||||
|
@ -630,7 +630,7 @@ void Take(fishing_event_info* info, LPCHARACTER ch)
|
|||
break;
|
||||
|
||||
case 0:
|
||||
//ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xED\xB1\xE2\xB0\xA1 \xC0\xE2\xC7\xFB\xBD\xC0\xB4\xCF\xB4\xD9! (%s)"), fish_info[info->fish_id].name);
|
||||
//ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have caught a fish! (%s)"), fish_info[info->fish_id].name);
|
||||
if (item_vnum)
|
||||
{
|
||||
FishingSuccess(ch);
|
||||
|
@ -647,7 +647,7 @@ void Take(fishing_event_info* info, LPCHARACTER ch)
|
|||
item->SetSocket(0,GetFishLength(info->fish_id));
|
||||
if (test_server)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xF8\xBF\xA1 \xC0\xE2\xC0\xBA \xB9\xB0\xB0\xED\xB1\xE2\xC0\xC7 \xB1\xE6\xC0\xCC\xB4\xC2 %.2fcm"), item->GetSocket(0)/100.f);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The length of the captured fish is %.2fcm."), item->GetSocket(0)/100.f);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -691,7 +691,7 @@ void Take(fishing_event_info* info, LPCHARACTER ch)
|
|||
info->fish_id,
|
||||
GetFishingLevel(ch),
|
||||
7000);
|
||||
//ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xED\xB1\xE2\xB0\xA1 \xB9\xCC\xB3\xA2\xB8\xB8 \xBB\xA9\xB8\xD4\xB0\xED \xC0\xEC\xBD\xCE\xB0\xD4 \xB5\xB5\xB8\xC1\xC4\xA8\xB4\xCF\xB4\xD9."));
|
||||
//ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You lost your bait to the fish."));
|
||||
FishingFail(ch);
|
||||
}
|
||||
else
|
||||
|
@ -729,9 +729,9 @@ void Simulation(int level, int count, int prob_idx, LPCHARACTER ch)
|
|||
}
|
||||
|
||||
for (std::map<std::string,int>::iterator it = fished.begin(); it != fished.end(); ++it)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s : %d \xB8\xB6\xB8\xAE"), it->first.c_str(), it->second);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s: %d"), it->first.c_str(), it->second);
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d \xC1\xBE\xB7\xF9 %d \xB8\xB6\xB8\xAE \xB3\xAC\xC0\xBD"), fished.size(), total_count);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have caught %d of %d ."), fished.size(), total_count);
|
||||
}
|
||||
|
||||
void UseFish(LPCHARACTER ch, LPITEM item)
|
||||
|
@ -768,7 +768,7 @@ void UseFish(LPCHARACTER ch, LPITEM item)
|
|||
case USED_TREASURE_MAP: // 3
|
||||
case USED_NONE: // 0
|
||||
case USED_WATER_STONE: // 2
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xED\xB1\xE2\xB0\xA1 \xC8\xE7\xC0\xFB\xB5\xB5 \xBE\xF8\xC0\xCC \xBB\xE7\xB6\xF3\xC1\xFD\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The fish vanished in the depths of the water."));
|
||||
break;
|
||||
|
||||
case USED_SHELLFISH: // 1
|
||||
|
@ -777,12 +777,12 @@ void UseFish(LPCHARACTER ch, LPITEM item)
|
|||
if ( Random::get(0, 2) != 2 ) return;
|
||||
}
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB9\xE8 \xBC\xD3\xBF\xA1\xBC\xAD \xC1\xB6\xB0\xB3\xB0\xA1 \xB3\xAA\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There is a Clam inside the Fish."));
|
||||
ch->AutoGiveItem(SHELLFISH_VNUM);
|
||||
break;
|
||||
|
||||
case USED_EARTHWARM: // 4
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB9\xE8 \xBC\xD3\xBF\xA1\xBC\xAD \xC1\xF6\xB7\xB7\xC0\xCC\xB0\xA1 \xB3\xAA\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There is a Worm inside the Fish."));
|
||||
ch->AutoGiveItem(EARTHWORM_VNUM);
|
||||
break;
|
||||
|
||||
|
@ -813,7 +813,7 @@ void Grill(LPCHARACTER ch, LPITEM item)
|
|||
|
||||
int count = item->GetCount();
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s\xB8\xA6 \xB1\xB8\xBF\xFC\xBD\xC0\xB4\xCF\xB4\xD9."), item->GetName());
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are roasting %s over the fire."), item->GetName());
|
||||
item->SetCount(0);
|
||||
ch->AutoGiveItem(fish_info[idx].grill_vnum, count);
|
||||
}
|
||||
|
|
|
@ -63,12 +63,12 @@ CGuild::CGuild(TGuildCreateParameter & cp)
|
|||
|
||||
strlcpy(m_data.name, cp.name, sizeof(m_data.name));
|
||||
m_data.master_pid = cp.master->GetPlayerID();
|
||||
strlcpy(m_data.grade_array[0].grade_name, LC_TEXT("\xB1\xE6\xB5\xE5\xC0\xE5"), sizeof(m_data.grade_array[0].grade_name));
|
||||
strlcpy(m_data.grade_array[0].grade_name, LC_TEXT("Leader"), sizeof(m_data.grade_array[0].grade_name));
|
||||
m_data.grade_array[0].auth_flag = GUILD_AUTH_ADD_MEMBER | GUILD_AUTH_REMOVE_MEMBER | GUILD_AUTH_NOTICE | GUILD_AUTH_USE_SKILL;
|
||||
|
||||
for (int i = 1; i < GUILD_GRADE_COUNT; ++i)
|
||||
{
|
||||
strlcpy(m_data.grade_array[i].grade_name, LC_TEXT("\xB1\xE6\xB5\xE5\xBF\xF8"), sizeof(m_data.grade_array[i].grade_name));
|
||||
strlcpy(m_data.grade_array[i].grade_name, LC_TEXT("Member"), sizeof(m_data.grade_array[i].grade_name));
|
||||
m_data.grade_array[i].auth_flag = 0;
|
||||
}
|
||||
|
||||
|
@ -920,7 +920,7 @@ bool CGuild::OfferExp(LPCHARACTER ch, int amount)
|
|||
|
||||
if (ch->GetExp() < (DWORD) amount)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC1\xA6\xB0\xF8\xC7\xCF\xB0\xED\xC0\xDA \xC7\xCF\xB4\xC2 \xB0\xE6\xC7\xE8\xC4\xA1\xB0\xA1 \xB3\xB2\xC0\xBA \xB0\xE6\xC7\xE8\xC4\xA1\xBA\xB8\xB4\xD9 \xB8\xB9\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] Provided Experience is larger then left Experience."));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -1031,7 +1031,7 @@ void CGuild::DeleteComment(LPCHARACTER ch, DWORD comment_id)
|
|||
pmsg = DBManager::instance().DirectQuery("DELETE FROM guild_comment%s WHERE id = %u AND guild_id = %u AND name = '%s'",get_table_postfix(), comment_id, m_data.guild_id, ch->GetName());
|
||||
|
||||
if (pmsg->Get()->uiAffectedRows == 0 || pmsg->Get()->uiAffectedRows == (uint32_t)-1)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBB\xE8\xC1\xA6\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xB1\xDB\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This message cannot be deleted."));
|
||||
else
|
||||
RefreshCommentForce(ch->GetPlayerID());
|
||||
|
||||
|
@ -1282,7 +1282,7 @@ void CGuild::UseSkill(DWORD dwVnum, LPCHARACTER ch, DWORD pid)
|
|||
|
||||
if (GetSP() < iNeededSP)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBF\xEB\xBD\xC5\xB7\xC2\xC0\xCC \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9. (%d, %d)"), GetSP(), iNeededSP);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] Not enough Dragon Ghost. (%d, %d)"), GetSP(), iNeededSP);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1291,7 +1291,7 @@ void CGuild::UseSkill(DWORD dwVnum, LPCHARACTER ch, DWORD pid)
|
|||
|
||||
if (!abSkillUsable[dwRealVnum])
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC4\xF0\xC5\xB8\xC0\xD3\xC0\xCC \xB3\xA1\xB3\xAA\xC1\xF6 \xBE\xCA\xBE\xC6 \xB1\xE6\xB5\xE5 \xBD\xBA\xC5\xB3\xC0\xBB \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You cannot use the guild skills yet."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1331,7 +1331,7 @@ void CGuild::UseSkill(DWORD dwVnum, LPCHARACTER ch, DWORD pid)
|
|||
|
||||
if (pcci->bChannel != g_bChannel)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBB\xF3\xB4\xEB\xB0\xA1 %d \xC3\xA4\xB3\xCE\xBF\xA1 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9. (\xC7\xF6\xC0\xE7 \xC3\xA4\xB3\xCE %d)"), pcci->bChannel, g_bChannel);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This player is on channel %d. (Current channel: %d)"), pcci->bChannel, g_bChannel);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1344,7 +1344,7 @@ void CGuild::UseSkill(DWORD dwVnum, LPCHARACTER ch, DWORD pid)
|
|||
}
|
||||
}
|
||||
else
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBB\xF3\xB4\xEB\xB0\xA1 \xBF\xC2\xB6\xF3\xC0\xCE \xBB\xF3\xC5\xC2\xB0\xA1 \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This player is not online."));
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -1364,7 +1364,7 @@ void CGuild::UseSkill(DWORD dwVnum, LPCHARACTER ch, DWORD pid)
|
|||
|
||||
if (!UnderAnyWar())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5 \xBD\xBA\xC5\xB3\xC0\xBA \xB1\xE6\xB5\xE5\xC0\xFC \xC1\xDF\xBF\xA1\xB8\xB8 \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This guild skill can only be used during war."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1805,7 +1805,7 @@ void CGuild::RequestDepositMoney(LPCHARACTER ch, int iGold)
|
|||
{
|
||||
if (false==ch->CanDeposit())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC0\xE1\xBD\xC3\xC8\xC4\xBF\xA1 \xC0\xCC\xBF\xEB\xC7\xD8\xC1\xD6\xBD\xCA\xBD\xC3\xBF\xC0"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] Please try again later."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1832,19 +1832,19 @@ void CGuild::RequestWithdrawMoney(LPCHARACTER ch, int iGold)
|
|||
{
|
||||
if (false==ch->CanDeposit())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC0\xE1\xBD\xC3\xC8\xC4\xBF\xA1 \xC0\xCC\xBF\xEB\xC7\xD8\xC1\xD6\xBD\xCA\xBD\xC3\xBF\xC0"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] Please try again later."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (ch->GetPlayerID() != GetMasterPID())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5 \xB1\xDD\xB0\xED\xBF\xA1\xBC\xB1 \xB1\xE6\xB5\xE5\xC0\xE5\xB8\xB8 \xC3\xE2\xB1\xDD\xC7\xD2 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] Only the guild leader can withdraw Yang."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_data.gold < iGold)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB0\xA1\xC1\xF6\xB0\xED \xC0\xD6\xB4\xC2 \xB5\xB7\xC0\xCC \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You do not have enough Yang."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1949,17 +1949,17 @@ void CGuild::Invite( LPCHARACTER pchInviter, LPCHARACTER pchInvitee )
|
|||
|
||||
if ( pchInvitee->IsBlockMode( BLOCK_GUILD_INVITE ) )
|
||||
{
|
||||
pchInviter->ChatPacket( CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBB\xF3\xB4\xEB\xB9\xE6\xC0\xCC \xB1\xE6\xB5\xE5 \xC3\xCA\xB4\xEB \xB0\xC5\xBA\xCE \xBB\xF3\xC5\xC2\xC0\xD4\xB4\xCF\xB4\xD9.") );
|
||||
pchInviter->ChatPacket( CHAT_TYPE_INFO, LC_TEXT("[Guild] The player has declined the guild invitation.") );
|
||||
return;
|
||||
}
|
||||
else if ( !HasGradeAuth( GetMember( pchInviter->GetPlayerID() )->grade, GUILD_AUTH_ADD_MEMBER ) )
|
||||
{
|
||||
pchInviter->ChatPacket( CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xBF\xF8\xC0\xBB \xC3\xCA\xB4\xEB\xC7\xD2 \xB1\xC7\xC7\xD1\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.") );
|
||||
pchInviter->ChatPacket( CHAT_TYPE_INFO, LC_TEXT("[Guild] You do not have the authority to invite someone to join the guild.") );
|
||||
return;
|
||||
}
|
||||
else if ( pchInvitee->GetEmpire() != pchInviter->GetEmpire() )
|
||||
{
|
||||
pchInviter->ChatPacket( CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB4\xD9\xB8\xA5 \xC1\xA6\xB1\xB9 \xBB\xE7\xB6\xF7\xC0\xBB \xB1\xE6\xB5\xE5\xBF\xA1 \xC3\xCA\xB4\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.") );
|
||||
pchInviter->ChatPacket( CHAT_TYPE_INFO, LC_TEXT("[Guild] You cannot invite players from another kingdom into the guild.") );
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1969,16 +1969,16 @@ void CGuild::Invite( LPCHARACTER pchInviter, LPCHARACTER pchInvitee )
|
|||
case GERR_NONE: break;
|
||||
case GERR_WITHDRAWPENALTY:
|
||||
pchInviter->ChatPacket( CHAT_TYPE_INFO,
|
||||
LC_TEXT("<\xB1\xE6\xB5\xE5> \xC5\xBB\xC5\xF0\xC7\xD1 \xC8\xC4 %d\xC0\xCF\xC0\xCC \xC1\xF6\xB3\xAA\xC1\xF6 \xBE\xCA\xC0\xBA \xBB\xE7\xB6\xF7\xC0\xBA \xB1\xE6\xB5\xE5\xBF\xA1 \xC3\xCA\xB4\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."),
|
||||
LC_TEXT("[Guild] This player can be invited again after %d day(s)."),
|
||||
quest::CQuestManager::instance().GetEventFlag( "guild_withdraw_delay" ) );
|
||||
return;
|
||||
case GERR_COMMISSIONPENALTY:
|
||||
pchInviter->ChatPacket( CHAT_TYPE_INFO,
|
||||
LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xB8\xA6 \xC7\xD8\xBB\xEA\xC7\xD1 \xC1\xF6 %d\xC0\xCF\xC0\xCC \xC1\xF6\xB3\xAA\xC1\xF6 \xBE\xCA\xC0\xBA \xBB\xE7\xB6\xF7\xC0\xBA \xB1\xE6\xB5\xE5\xBF\xA1 \xC3\xCA\xB4\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."),
|
||||
LC_TEXT("[Guild] After the rearrangement you can invite members again after %d days."),
|
||||
quest::CQuestManager::instance().GetEventFlag( "guild_disband_delay") );
|
||||
return;
|
||||
case GERR_ALREADYJOIN: pchInviter->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBB\xF3\xB4\xEB\xB9\xE6\xC0\xCC \xC0\xCC\xB9\xCC \xB4\xD9\xB8\xA5 \xB1\xE6\xB5\xE5\xBF\xA1 \xBC\xD3\xC7\xD8\xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.")); return;
|
||||
case GERR_GUILDISFULL: pchInviter->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC3\xD6\xB4\xEB \xB1\xE6\xB5\xE5\xBF\xF8 \xBC\xF6\xB8\xA6 \xC3\xCA\xB0\xFA\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9.")); return;
|
||||
case GERR_ALREADYJOIN: pchInviter->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This person is already a member of another Guild.")); return;
|
||||
case GERR_GUILDISFULL: pchInviter->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The maximum guild capacity has been reached.")); return;
|
||||
case GERR_GUILD_IS_IN_WAR : pchInviter->ChatPacket( CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC7\xF6\xC0\xE7 \xB1\xE6\xB5\xE5\xB0\xA1 \xC0\xFC\xC0\xEF \xC1\xDF \xC0\xD4\xB4\xCF\xB4\xD9.") ); return;
|
||||
case GERR_INVITE_LIMIT : pchInviter->ChatPacket( CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC7\xF6\xC0\xE7 \xBD\xC5\xB1\xD4 \xB0\xA1\xC0\xD4 \xC1\xA6\xC7\xD1 \xBB\xF3\xC5\xC2 \xC0\xD4\xB4\xCF\xB4\xD9.") ); return;
|
||||
|
||||
|
@ -2034,16 +2034,16 @@ void CGuild::InviteAccept( LPCHARACTER pchInvitee )
|
|||
case GERR_NONE: break;
|
||||
case GERR_WITHDRAWPENALTY:
|
||||
pchInvitee->ChatPacket( CHAT_TYPE_INFO,
|
||||
LC_TEXT("<\xB1\xE6\xB5\xE5> \xC5\xBB\xC5\xF0\xC7\xD1 \xC8\xC4 %d\xC0\xCF\xC0\xCC \xC1\xF6\xB3\xAA\xC1\xF6 \xBE\xCA\xC0\xBA \xBB\xE7\xB6\xF7\xC0\xBA \xB1\xE6\xB5\xE5\xBF\xA1 \xC3\xCA\xB4\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."),
|
||||
LC_TEXT("[Guild] This player can be invited again after %d day(s)."),
|
||||
quest::CQuestManager::instance().GetEventFlag( "guild_withdraw_delay" ) );
|
||||
return;
|
||||
case GERR_COMMISSIONPENALTY:
|
||||
pchInvitee->ChatPacket( CHAT_TYPE_INFO,
|
||||
LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xB8\xA6 \xC7\xD8\xBB\xEA\xC7\xD1 \xC1\xF6 %d\xC0\xCF\xC0\xCC \xC1\xF6\xB3\xAA\xC1\xF6 \xBE\xCA\xC0\xBA \xBB\xE7\xB6\xF7\xC0\xBA \xB1\xE6\xB5\xE5\xBF\xA1 \xC3\xCA\xB4\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."),
|
||||
LC_TEXT("[Guild] After the rearrangement you can invite members again after %d days."),
|
||||
quest::CQuestManager::instance().GetEventFlag( "guild_disband_delay") );
|
||||
return;
|
||||
case GERR_ALREADYJOIN: pchInvitee->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBB\xF3\xB4\xEB\xB9\xE6\xC0\xCC \xC0\xCC\xB9\xCC \xB4\xD9\xB8\xA5 \xB1\xE6\xB5\xE5\xBF\xA1 \xBC\xD3\xC7\xD8\xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.")); return;
|
||||
case GERR_GUILDISFULL: pchInvitee->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC3\xD6\xB4\xEB \xB1\xE6\xB5\xE5\xBF\xF8 \xBC\xF6\xB8\xA6 \xC3\xCA\xB0\xFA\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9.")); return;
|
||||
case GERR_ALREADYJOIN: pchInvitee->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This person is already a member of another Guild.")); return;
|
||||
case GERR_GUILDISFULL: pchInvitee->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The maximum guild capacity has been reached.")); return;
|
||||
case GERR_GUILD_IS_IN_WAR : pchInvitee->ChatPacket( CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC7\xF6\xC0\xE7 \xB1\xE6\xB5\xE5\xB0\xA1 \xC0\xFC\xC0\xEF \xC1\xDF \xC0\xD4\xB4\xCF\xB4\xD9.") ); return;
|
||||
case GERR_INVITE_LIMIT : pchInvitee->ChatPacket( CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC7\xF6\xC0\xE7 \xBD\xC5\xB1\xD4 \xB0\xA1\xC0\xD4 \xC1\xA6\xC7\xD1 \xBB\xF3\xC5\xC2 \xC0\xD4\xB4\xCF\xB4\xD9.") ); return;
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ DWORD CGuildManager::CreateGuild(TGuildCreateParameter& gcp)
|
|||
|
||||
if (!check_name(gcp.name))
|
||||
{
|
||||
gcp.master->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5 \xC0\xCC\xB8\xA7\xC0\xCC \xC0\xFB\xC7\xD5\xC7\xCF\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
gcp.master->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This guild name is invalid."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -90,13 +90,13 @@ DWORD CGuildManager::CreateGuild(TGuildCreateParameter& gcp)
|
|||
|
||||
if (!(row[0] && row[0][0] == '0'))
|
||||
{
|
||||
gcp.master->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC0\xCC\xB9\xCC \xB0\xB0\xC0\xBA \xC0\xCC\xB8\xA7\xC0\xC7 \xB1\xE6\xB5\xE5\xB0\xA1 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
gcp.master->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This guild name is already taken."));
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
gcp.master->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xB8\xA6 \xBB\xFD\xBC\xBA\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
gcp.master->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You cannot found a guild."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -541,7 +541,7 @@ void CGuildManager::DeclareWar(DWORD guild_id1, DWORD guild_id2, BYTE bType)
|
|||
if (false == LC_IsGermany())
|
||||
{
|
||||
char buf[256];
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s \xB1\xE6\xB5\xE5\xB0\xA1 %s \xB1\xE6\xB5\xE5\xBF\xA1 \xBC\xB1\xC0\xFC\xC6\xF7\xB0\xED\xB8\xA6 \xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9!"), TouchGuild(guild_id1)->GetName(), TouchGuild(guild_id2)->GetName());
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("The guild %s has declared war on %s!"), TouchGuild(guild_id1)->GetName(), TouchGuild(guild_id2)->GetName());
|
||||
SendNotice(buf);
|
||||
}
|
||||
}
|
||||
|
@ -555,7 +555,7 @@ void CGuildManager::RefuseWar(DWORD guild_id1, DWORD guild_id2)
|
|||
if (g1 && g2)
|
||||
{
|
||||
if (g2->GetMasterCharacter())
|
||||
g2->GetMasterCharacter()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> %s \xB1\xE6\xB5\xE5\xB0\xA1 \xB1\xE6\xB5\xE5\xC0\xFC\xC0\xBB \xB0\xC5\xBA\xCE\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), g1->GetName());
|
||||
g2->GetMasterCharacter()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] %s has refused the Guild war."), g1->GetName());
|
||||
}
|
||||
|
||||
if ( g1 != NULL )
|
||||
|
@ -579,7 +579,7 @@ void CGuildManager::WaitStartWar(DWORD guild_id1, DWORD guild_id2)
|
|||
if (g1->WaitStartWar(guild_id2) || g2->WaitStartWar(guild_id1) )
|
||||
{
|
||||
char buf[256];
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s \xB1\xE6\xB5\xE5\xBF\xCD %s \xB1\xE6\xB5\xE5\xB0\xA1 \xC0\xE1\xBD\xC3 \xC8\xC4 \xC0\xFC\xC0\xEF\xC0\xBB \xBD\xC3\xC0\xDB\xC7\xD5\xB4\xCF\xB4\xD9!"), g1->GetName(), g2->GetName());
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("The guild war between %s and %s will start in a few seconds!"), g1->GetName(), g2->GetName());
|
||||
SendNotice(buf);
|
||||
}
|
||||
}
|
||||
|
@ -627,7 +627,7 @@ void CGuildManager::StartWar(DWORD guild_id1, DWORD guild_id2)
|
|||
g2->StartWar(guild_id1);
|
||||
|
||||
char buf[256];
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s \xB1\xE6\xB5\xE5\xBF\xCD %s \xB1\xE6\xB5\xE5\xB0\xA1 \xC0\xFC\xC0\xEF\xC0\xBB \xBD\xC3\xC0\xDB\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9!"), g1->GetName(), g2->GetName());
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("The guild war between %s and %s has begun!"), g1->GetName(), g2->GetName());
|
||||
SendNotice(buf);
|
||||
|
||||
if (guild_id1 > guild_id2)
|
||||
|
@ -645,17 +645,17 @@ void SendGuildWarOverNotice(CGuild* g1, CGuild* g2, bool bDraw)
|
|||
|
||||
if (bDraw)
|
||||
{
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s \xB1\xE6\xB5\xE5\xBF\xCD %s \xB1\xE6\xB5\xE5 \xBB\xE7\xC0\xCC\xC0\xC7 \xC0\xFC\xC0\xEF\xC0\xCC \xB9\xAB\xBD\xC2\xBA\xCE\xB7\xCE \xB3\xA1\xB3\xB5\xBD\xC0\xB4\xCF\xB4\xD9."), g1->GetName(), g2->GetName());
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("The guild war between %s and %s has ended in a draw."), g1->GetName(), g2->GetName());
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( g1->GetWarScoreAgainstTo( g2->GetID() ) > g2->GetWarScoreAgainstTo( g1->GetID() ) )
|
||||
{
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s \xB1\xE6\xB5\xE5\xB0\xA1 %s \xB1\xE6\xB5\xE5\xBF\xCD\xC0\xC7 \xC0\xFC\xC0\xEF\xBF\xA1\xBC\xAD \xBD\xC2\xB8\xAE \xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."), g1->GetName(), g2->GetName());
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s has won the guild war against %s."), g1->GetName(), g2->GetName());
|
||||
}
|
||||
else
|
||||
{
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s \xB1\xE6\xB5\xE5\xB0\xA1 %s \xB1\xE6\xB5\xE5\xBF\xCD\xC0\xC7 \xC0\xFC\xC0\xEF\xBF\xA1\xBC\xAD \xBD\xC2\xB8\xAE \xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."), g2->GetName(), g1->GetName());
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s has won the guild war against %s."), g2->GetName(), g1->GetName());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -739,7 +739,7 @@ void CGuildManager::CancelWar(DWORD guild_id1, DWORD guild_id2)
|
|||
LPCHARACTER master1 = g1->GetMasterCharacter();
|
||||
|
||||
if (master1)
|
||||
master1->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xC0\xFC\xC0\xCC \xC3\xEB\xBC\xD2 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
master1->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The guild war has been cancelled."));
|
||||
}
|
||||
|
||||
if (g2)
|
||||
|
@ -747,13 +747,13 @@ void CGuildManager::CancelWar(DWORD guild_id1, DWORD guild_id2)
|
|||
LPCHARACTER master2 = g2->GetMasterCharacter();
|
||||
|
||||
if (master2)
|
||||
master2->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xC0\xFC\xC0\xCC \xC3\xEB\xBC\xD2 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
master2->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The guild war has been cancelled."));
|
||||
}
|
||||
|
||||
if (g1 && g2)
|
||||
{
|
||||
char buf[256+1];
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s \xB1\xE6\xB5\xE5\xBF\xCD %s \xB1\xE6\xB5\xE5 \xBB\xE7\xC0\xCC\xC0\xC7 \xC0\xFC\xC0\xEF\xC0\xCC \xC3\xEB\xBC\xD2\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."), g1->GetName(), g2->GetName());
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("The guild war between %s and %s has been cancelled."), g1->GetName(), g2->GetName());
|
||||
SendNotice(buf);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ void CGuild::GuildWarPacket(DWORD dwOppGID, BYTE bWarType, BYTE bWarState)
|
|||
LPCHARACTER ch = *it;
|
||||
|
||||
if (bWarState == GUILD_WAR_ON_WAR)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xC0\xFC\xC1\xDF\xBF\xA1\xB4\xC2 \xBB\xE7\xB3\xC9\xBF\xA1 \xB5\xFB\xB8\xA5 \xC0\xCC\xC0\xCD\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] There are no experience points for hunting during a guild war."));
|
||||
|
||||
LPDESC d = ch->GetDesc();
|
||||
|
||||
|
@ -313,7 +313,7 @@ void CGuild::RequestDeclareWar(DWORD dwOppGID, BYTE type)
|
|||
GetID(), dwOppGID, type, GuildWar_GetTypeMapIndex(type));
|
||||
|
||||
map_allow_log();
|
||||
NotifyGuildMaster(LC_TEXT("\xC0\xFC\xC0\xEF \xBC\xAD\xB9\xF6\xB0\xA1 \xBF\xAD\xB7\xC1\xC0\xD6\xC1\xF6 \xBE\xCA\xBE\xC6 \xB1\xE6\xB5\xE5\xC0\xFC\xC0\xBB \xBD\xC3\xC0\xDB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
NotifyGuildMaster(LC_TEXT("[Guild] The enemy's guild leader is offline."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -353,7 +353,7 @@ void CGuild::RequestDeclareWar(DWORD dwOppGID, BYTE type)
|
|||
GetID(), dwOppGID, type, GuildWar_GetTypeMapIndex(type));
|
||||
|
||||
map_allow_log();
|
||||
NotifyGuildMaster(LC_TEXT("\xC0\xFC\xC0\xEF \xBC\xAD\xB9\xF6\xB0\xA1 \xBF\xAD\xB7\xC1\xC0\xD6\xC1\xF6 \xBE\xCA\xBE\xC6 \xB1\xE6\xB5\xE5\xC0\xFC\xC0\xBB \xBD\xC3\xC0\xDB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
NotifyGuildMaster(LC_TEXT("[Guild] The enemy's guild leader is offline."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -379,7 +379,7 @@ void CGuild::RequestDeclareWar(DWORD dwOppGID, BYTE type)
|
|||
break;
|
||||
case GUILD_WAR_SEND_DECLARE:
|
||||
{
|
||||
NotifyGuildMaster(LC_TEXT("\xC0\xCC\xB9\xCC \xBC\xB1\xC0\xFC\xC6\xF7\xB0\xED \xC1\xDF\xC0\xCE \xB1\xE6\xB5\xE5\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
NotifyGuildMaster(LC_TEXT("[Guild] This guild is already participating in a war."));
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
@ -651,7 +651,7 @@ void CGuild::GuildWarEntryAccept(DWORD dwOppGID, LPCHARACTER ch)
|
|||
|
||||
if (gw.state != GUILD_WAR_ON_WAR)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xC0\xFC\xC0\xEF\xC0\xCC \xB3\xA1\xB3\xB5\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The war is already over."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -727,7 +727,7 @@ void CGuild::SetLadderPoint(int point)
|
|||
if (m_data.ladder_point != point)
|
||||
{
|
||||
char buf[256];
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("<\xB1\xE6\xB5\xE5> \xB7\xA1\xB4\xF5 \xC1\xA1\xBC\xF6\xB0\xA1 %d \xC1\xA1\xC0\xCC \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9"), point);
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("[Guild] The guild has reached %d points."), point);
|
||||
for (itertype(m_memberOnline) it = m_memberOnline.begin(); it!=m_memberOnline.end();++it)
|
||||
{
|
||||
LPCHARACTER ch = (*it);
|
||||
|
|
|
@ -1142,7 +1142,7 @@ void CInputDB::SafeboxLoad(LPDESC d, const char * c_pData)
|
|||
//PREVENT_TRADE_WINDOW
|
||||
if (ch->GetShopOwner() || ch->GetExchange() || ch->GetMyShop() || ch->IsCubeOpen() )
|
||||
{
|
||||
d->GetCharacter()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xB8\xA5\xB0\xC5\xB7\xA1\xC3\xA2\xC0\xCC \xBF\xAD\xB8\xB0\xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD\xB4\xC2 \xC3\xA2\xB0\xED\xB8\xA6 \xBF\xAD\xBC\xF6\xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9." ) );
|
||||
d->GetCharacter()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot open a Storeroom while another window is open." ) );
|
||||
d->GetCharacter()->CancelSafeboxLoad();
|
||||
return;
|
||||
}
|
||||
|
@ -1203,11 +1203,11 @@ void CInputDB::SafeboxChangePasswordAnswer(LPDESC d, const char* c_pData)
|
|||
TSafeboxChangePasswordPacketAnswer* p = (TSafeboxChangePasswordPacketAnswer*) c_pData;
|
||||
if (p->flag)
|
||||
{
|
||||
d->GetCharacter()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC3\xA2\xB0\xED> \xC3\xA2\xB0\xED \xBA\xF1\xB9\xD0\xB9\xF8\xC8\xA3\xB0\xA1 \xBA\xAF\xB0\xE6\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
d->GetCharacter()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Storeroom] Storeroom password has been changed."));
|
||||
}
|
||||
else
|
||||
{
|
||||
d->GetCharacter()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC3\xA2\xB0\xED> \xB1\xE2\xC1\xB8 \xBA\xF1\xB9\xD0\xB9\xF8\xC8\xA3\xB0\xA1 \xC6\xB2\xB7\xC8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
d->GetCharacter()->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Storeroom] You have entered the wrong password."));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2369,7 +2369,7 @@ void CInputDB::DecMonarchMoney(LPDESC d, const char * data)
|
|||
|
||||
if (ch)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC7\xF6\xC0\xE7 %s \xB1\xB9\xB0\xED\xBF\xA1\xB4\xC2 %d \xC0\xC7 \xB5\xB7\xC0\xCC \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9"), EMPIRE_NAME(Empire), CMonarch::instance().GetMoney(Empire));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s still has %d Yang available."), EMPIRE_NAME(Empire), CMonarch::instance().GetMoney(Empire));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2390,14 +2390,14 @@ void CInputDB::TakeMonarchMoney(LPDESC d, const char * data)
|
|||
return;
|
||||
|
||||
LPCHARACTER ch = d->GetCharacter();
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xB9\xB0\xED\xBF\xA1 \xB5\xB7\xC0\xCC \xBA\xCE\xC1\xB7\xC7\xCF\xB0\xC5\xB3\xAA \xB5\xB7\xC0\xBB \xB0\xA1\xC1\xAE\xBF\xC3\xBC\xF6 \xBE\xF8\xB4\xC2 \xBB\xF3\xC8\xB2\xC0\xD4\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You do not have enough Yang."));
|
||||
}
|
||||
}
|
||||
|
||||
void CInputDB::ChangeMonarchLord(TPacketChangeMonarchLordACK* info)
|
||||
{
|
||||
char notice[256];
|
||||
snprintf(notice, sizeof(notice), LC_TEXT("%s\xC0\xC7 \xB1\xBA\xC1\xD6\xB0\xA1 %s \xB4\xD4\xC0\xB8\xB7\xCE \xB1\xB3\xC3\xBC\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."), EMPIRE_NAME(info->bEmpire), info->szName);
|
||||
snprintf(notice, sizeof(notice), LC_TEXT("The emperor of %s has changed to %s."), EMPIRE_NAME(info->bEmpire), info->szName);
|
||||
SendNotice(notice);
|
||||
}
|
||||
|
||||
|
|
|
@ -44,22 +44,22 @@ static void _send_bonus_info(LPCHARACTER ch)
|
|||
if (item_drop_bonus)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_NOTICE,
|
||||
LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB \xB5\xE5\xB7\xD3\xB7\xFC %d%% \xC3\xDF\xB0\xA1 \xC0\xCC\xBA\xA5\xC6\xAE \xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9."), item_drop_bonus);
|
||||
LC_TEXT("The quota of the Item Drop is at the moment plus %d%%"), item_drop_bonus);
|
||||
}
|
||||
if (gold_drop_bonus)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_NOTICE,
|
||||
LC_TEXT("\xB0\xF1\xB5\xE5 \xB5\xE5\xB7\xD3\xB7\xFC %d%% \xC3\xDF\xB0\xA1 \xC0\xCC\xBA\xA5\xC6\xAE \xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9."), gold_drop_bonus);
|
||||
LC_TEXT("The quota of the Yang Drop is at the moment plus %d%%"), gold_drop_bonus);
|
||||
}
|
||||
if (gold10_drop_bonus)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_NOTICE,
|
||||
LC_TEXT("\xB4\xEB\xB9\xDA\xB0\xF1\xB5\xE5 \xB5\xE5\xB7\xD3\xB7\xFC %d%% \xC3\xDF\xB0\xA1 \xC0\xCC\xBA\xA5\xC6\xAE \xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9."), gold10_drop_bonus);
|
||||
LC_TEXT("The drop rate for Yang rain is currently %d%% higher."), gold10_drop_bonus);
|
||||
}
|
||||
if (exp_bonus)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_NOTICE,
|
||||
LC_TEXT("\xB0\xE6\xC7\xE8\xC4\xA1 %d%% \xC3\xDF\xB0\xA1 \xC8\xB9\xB5\xE6 \xC0\xCC\xBA\xA5\xC6\xAE \xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9."), exp_bonus);
|
||||
LC_TEXT("The experience bonus is currently an additional %d%%."), exp_bonus);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -638,7 +638,7 @@ void CInputLogin::Entergame(LPDESC d, const char * data)
|
|||
//if (0 != g_stClientVersion.compare(d->GetClientVersion()))
|
||||
if (version > date)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("\xC5\xAC\xB6\xF3\xC0\xCC\xBE\xF0\xC6\xAE \xB9\xF6\xC0\xFC\xC0\xCC \xC6\xB2\xB7\xC1 \xB7\xCE\xB1\xD7\xBE\xC6\xBF\xF4 \xB5\xCB\xB4\xCF\xB4\xD9. \xC1\xA4\xBB\xF3\xC0\xFB\xC0\xB8\xB7\xCE \xC6\xD0\xC4\xA1 \xC8\xC4 \xC1\xA2\xBC\xD3\xC7\xCF\xBC\xBC\xBF\xE4."));
|
||||
ch->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("You do not have the correct client version. Please install the normal patch."));
|
||||
d->DelayedDisconnect(10);
|
||||
LogManager::instance().HackLog("VERSION_CONFLICT", ch);
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ void SendBlockChatInfo(LPCHARACTER ch, int sec)
|
|||
{
|
||||
if (sec <= 0)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xA4\xC6\xC3 \xB1\xDD\xC1\xF6 \xBB\xF3\xC5\xC2\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your chat is blocked."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -65,13 +65,13 @@ void SendBlockChatInfo(LPCHARACTER ch, int sec)
|
|||
char buf[128+1];
|
||||
|
||||
if (hour > 0 && min > 0)
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%d \xBD\xC3\xB0\xA3 %d \xBA\xD0 %d \xC3\xCA \xB5\xBF\xBE\xC8 \xC3\xA4\xC6\xC3\xB1\xDD\xC1\xF6 \xBB\xF3\xC5\xC2\xC0\xD4\xB4\xCF\xB4\xD9"), hour, min, sec);
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%d hours %d minutes %d seconds left on your chat block"), hour, min, sec);
|
||||
else if (hour > 0 && min == 0)
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%d \xBD\xC3\xB0\xA3 %d \xC3\xCA \xB5\xBF\xBE\xC8 \xC3\xA4\xC6\xC3\xB1\xDD\xC1\xF6 \xBB\xF3\xC5\xC2\xC0\xD4\xB4\xCF\xB4\xD9"), hour, sec);
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%d hours %d seconds left on your chat block"), hour, sec);
|
||||
else if (hour == 0 && min > 0)
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%d \xBA\xD0 %d \xC3\xCA \xB5\xBF\xBE\xC8 \xC3\xA4\xC6\xC3\xB1\xDD\xC1\xF6 \xBB\xF3\xC5\xC2\xC0\xD4\xB4\xCF\xB4\xD9"), min, sec);
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%d minutes %d seconds left on your chat block"), min, sec);
|
||||
else
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%d \xC3\xCA \xB5\xBF\xBE\xC8 \xC3\xA4\xC6\xC3\xB1\xDD\xC1\xF6 \xBB\xF3\xC5\xC2\xC0\xD4\xB4\xCF\xB4\xD9"), sec);
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%d seconds left on your chat block"), sec);
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, buf);
|
||||
}
|
||||
|
@ -295,7 +295,7 @@ int CInputMain::Whisper(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
|
||||
if (ch->FindAffect(AFFECT_BLOCK_CHAT))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xA4\xC6\xC3 \xB1\xDD\xC1\xF6 \xBB\xF3\xC5\xC2\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your chat is blocked."));
|
||||
return (iExtraLen);
|
||||
}
|
||||
|
||||
|
@ -446,9 +446,9 @@ int CInputMain::Whisper(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
char buf[128];
|
||||
int len;
|
||||
if (3==processReturn) //교환중
|
||||
len = snprintf(buf, sizeof(buf), LC_TEXT("\xB4\xD9\xB8\xA5 \xB0\xC5\xB7\xA1\xC1\xDF(\xC3\xA2\xB0\xED,\xB1\xB3\xC8\xAF,\xBB\xF3\xC1\xA1)\xBF\xA1\xB4\xC2 \xB0\xB3\xC0\xCE\xBB\xF3\xC1\xA1\xC0\xBB \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."), pTable->szLocaleName);
|
||||
len = snprintf(buf, sizeof(buf), LC_TEXT("You can't use a private shop now."), pTable->szLocaleName);
|
||||
else
|
||||
len = snprintf(buf, sizeof(buf), LC_TEXT("%s\xC0\xCC \xC7\xCA\xBF\xE4\xC7\xD5\xB4\xCF\xB4\xD9."), pTable->szLocaleName);
|
||||
len = snprintf(buf, sizeof(buf), LC_TEXT("%s needed."), pTable->szLocaleName);
|
||||
|
||||
|
||||
if (len < 0 || len >= (int) sizeof(buf))
|
||||
|
@ -711,9 +711,9 @@ int CInputMain::Chat(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
if (NULL != pTable)
|
||||
{
|
||||
if (3==processReturn) //교환중
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xB8\xA5 \xB0\xC5\xB7\xA1\xC1\xDF(\xC3\xA2\xB0\xED,\xB1\xB3\xC8\xAF,\xBB\xF3\xC1\xA1)\xBF\xA1\xB4\xC2 \xB0\xB3\xC0\xCE\xBB\xF3\xC1\xA1\xC0\xBB \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."), pTable->szLocaleName);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can't use a private shop now."), pTable->szLocaleName);
|
||||
else
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s\xC0\xCC \xC7\xCA\xBF\xE4\xC7\xD5\xB4\xCF\xB4\xD9."), pTable->szLocaleName);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s needed."), pTable->szLocaleName);
|
||||
|
||||
}
|
||||
|
||||
|
@ -726,7 +726,7 @@ int CInputMain::Chat(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
|
||||
if (ch->GetLevel() < SHOUT_LIMIT_LEVEL)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xDC\xC4\xA1\xB1\xE2\xB4\xC2 \xB7\xB9\xBA\xA7 %d \xC0\xCC\xBB\xF3\xB8\xB8 \xBB\xE7\xBF\xEB \xB0\xA1\xB4\xC9 \xC7\xD5\xB4\xCF\xB4\xD9."), SHOUT_LIMIT_LEVEL);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You need a minimum level of %d to be able to call."), SHOUT_LIMIT_LEVEL);
|
||||
return (iExtraLen);
|
||||
}
|
||||
|
||||
|
@ -789,7 +789,7 @@ int CInputMain::Chat(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
case CHAT_TYPE_PARTY:
|
||||
{
|
||||
if (!ch->GetParty())
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC6\xC4\xC6\xBC \xC1\xDF\xC0\xCC \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are not in this Group."));
|
||||
else
|
||||
{
|
||||
TEMP_BUFFER tbuf;
|
||||
|
@ -806,7 +806,7 @@ int CInputMain::Chat(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
case CHAT_TYPE_GUILD:
|
||||
{
|
||||
if (!ch->GetGuild())
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xE6\xB5\xE5\xBF\xA1 \xB0\xA1\xC0\xD4\xC7\xCF\xC1\xF6 \xBE\xCA\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You did not join this Guild."));
|
||||
else
|
||||
ch->GetGuild()->Chat(chatbuf);
|
||||
}
|
||||
|
@ -930,7 +930,7 @@ int CInputMain::Messenger(LPCHARACTER ch, const char* c_pData, size_t uiBytes)
|
|||
|
||||
if (ch_companion->IsBlockMode(BLOCK_MESSENGER_INVITE))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xB4\xEB\xB9\xE6\xC0\xCC \xB8\xDE\xBD\xC5\xC1\xAE \xC3\xDF\xB0\xA1 \xB0\xC5\xBA\xCE \xBB\xF3\xC5\xC2\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The player has rejected your request to add him to your friend list."));
|
||||
return sizeof(TPacketCGMessengerAddByVID);
|
||||
}
|
||||
|
||||
|
@ -941,7 +941,7 @@ int CInputMain::Messenger(LPCHARACTER ch, const char* c_pData, size_t uiBytes)
|
|||
|
||||
if (ch->GetGMLevel() == GM_PLAYER && ch_companion->GetGMLevel() != GM_PLAYER)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB8\xDE\xBD\xC5\xC1\xAE> \xBF\xEE\xBF\xB5\xC0\xDA\xB4\xC2 \xB8\xDE\xBD\xC5\xC1\xAE\xBF\xA1 \xC3\xDF\xB0\xA1\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Friends] You cannot add a GM to your list."));
|
||||
return sizeof(TPacketCGMessengerAddByVID);
|
||||
}
|
||||
|
||||
|
@ -963,14 +963,14 @@ int CInputMain::Messenger(LPCHARACTER ch, const char* c_pData, size_t uiBytes)
|
|||
|
||||
if (ch->GetGMLevel() == GM_PLAYER && gm_get_level(name) != GM_PLAYER)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB8\xDE\xBD\xC5\xC1\xAE> \xBF\xEE\xBF\xB5\xC0\xDA\xB4\xC2 \xB8\xDE\xBD\xC5\xC1\xAE\xBF\xA1 \xC3\xDF\xB0\xA1\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Friends] You cannot add a GM to your list."));
|
||||
return CHARACTER_NAME_MAX_LEN;
|
||||
}
|
||||
|
||||
LPCHARACTER tch = CHARACTER_MANAGER::instance().FindPC(name);
|
||||
|
||||
if (!tch)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xB4\xD4\xC0\xBA \xC1\xA2\xBC\xD3\xB5\xC7 \xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9."), name);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s is not online."), name);
|
||||
else
|
||||
{
|
||||
if (tch == ch) // 자신은 추가할 수 없다.
|
||||
|
@ -978,7 +978,7 @@ int CInputMain::Messenger(LPCHARACTER ch, const char* c_pData, size_t uiBytes)
|
|||
|
||||
if (tch->IsBlockMode(BLOCK_MESSENGER_INVITE) == true)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xB4\xEB\xB9\xE6\xC0\xCC \xB8\xDE\xBD\xC5\xC1\xAE \xC3\xDF\xB0\xA1 \xB0\xC5\xBA\xCE \xBB\xF3\xC5\xC2\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The player has rejected your request to add him to your friend list."));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1097,7 +1097,7 @@ void CInputMain::Exchange(LPCHARACTER ch, const char * data)
|
|||
{
|
||||
if (iPulse - to_ch->GetSafeboxLoadTime() < PASSES_PER_SEC(g_nPortalLimitTime))
|
||||
{
|
||||
to_ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xC5\xB7\xA1 \xC8\xC4 %d\xC3\xCA \xC0\xCC\xB3\xBB\xBF\xA1 \xC3\xA2\xB0\xED\xB8\xA6 \xBF\xAD\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."), g_nPortalLimitTime);
|
||||
to_ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("After a trade, you have to wait %d seconds before you can open a shop."), g_nPortalLimitTime);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1111,7 +1111,7 @@ void CInputMain::Exchange(LPCHARACTER ch, const char * data)
|
|||
|
||||
if (iPulse - ch->GetSafeboxLoadTime() < PASSES_PER_SEC(g_nPortalLimitTime))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xC5\xB7\xA1 \xC8\xC4 %d\xC3\xCA \xC0\xCC\xB3\xBB\xBF\xA1 \xC3\xA2\xB0\xED\xB8\xA6 \xBF\xAD\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."), g_nPortalLimitTime);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("After a trade, you have to wait %d seconds before you can open a shop."), g_nPortalLimitTime);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1134,7 +1134,7 @@ void CInputMain::Exchange(LPCHARACTER ch, const char * data)
|
|||
*/
|
||||
if (iPulse - ch->GetSafeboxLoadTime() < PASSES_PER_SEC(g_nPortalLimitTime))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xA2\xB0\xED\xB8\xA6 \xBF\xAC\xC8\xC4 %d\xC3\xCA \xC0\xCC\xB3\xBB\xBF\xA1\xB4\xC2 \xB0\xC5\xB7\xA1\xB8\xA6 \xC7\xD2\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."), g_nPortalLimitTime);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can trade again in %d seconds."), g_nPortalLimitTime);
|
||||
|
||||
if (test_server)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, "[TestOnly][Safebox]Pulse %d LoadTime %d PASS %d", iPulse, ch->GetSafeboxLoadTime(), PASSES_PER_SEC(g_nPortalLimitTime));
|
||||
|
@ -1143,7 +1143,7 @@ void CInputMain::Exchange(LPCHARACTER ch, const char * data)
|
|||
|
||||
if (iPulse - to_ch->GetSafeboxLoadTime() < PASSES_PER_SEC(g_nPortalLimitTime))
|
||||
{
|
||||
to_ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xA2\xB0\xED\xB8\xA6 \xBF\xAC\xC8\xC4 %d\xC3\xCA \xC0\xCC\xB3\xBB\xBF\xA1\xB4\xC2 \xB0\xC5\xB7\xA1\xB8\xA6 \xC7\xD2\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."), g_nPortalLimitTime);
|
||||
to_ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can trade again in %d seconds."), g_nPortalLimitTime);
|
||||
|
||||
|
||||
if (test_server)
|
||||
|
@ -1153,7 +1153,7 @@ void CInputMain::Exchange(LPCHARACTER ch, const char * data)
|
|||
|
||||
if (ch->GetGold() >= GOLD_MAX)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xD7\xBC\xF6\xB0\xA1 20\xBE\xEF \xB3\xC9\xC0\xBB \xC3\xCA\xB0\xFA\xC7\xCF\xBF\xA9 \xB0\xC5\xB7\xA1\xB8\xA6 \xC7\xD2\xBC\xF6\xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have more than 2 Billion Yang. You cannot trade."));
|
||||
|
||||
SPDLOG_ERROR("[OVERFLOG_GOLD] START ({}) id {} name {} ", ch->GetGold(), ch->GetPlayerID(), ch->GetName());
|
||||
return;
|
||||
|
@ -1171,7 +1171,7 @@ void CInputMain::Exchange(LPCHARACTER ch, const char * data)
|
|||
|
||||
if (ch->GetMyShop() || ch->IsOpenSafebox() || ch->GetShopOwner() || ch->IsCubeOpen())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xB8\xA5 \xB0\xC5\xB7\xA1\xC1\xDF\xC0\xCF\xB0\xE6\xBF\xEC \xB0\xB3\xC0\xCE\xBB\xF3\xC1\xA1\xC0\xBB \xBF\xAD\xBC\xF6\xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot open a private shop while another window is open."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1203,7 +1203,7 @@ void CInputMain::Exchange(LPCHARACTER ch, const char * data)
|
|||
|
||||
if (GOLD_MAX <= nTotalGold)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xB4\xEB\xB9\xE6\xC0\xC7 \xC3\xD1\xB1\xDD\xBE\xD7\xC0\xCC 20\xBE\xEF \xB3\xC9\xC0\xBB \xC3\xCA\xB0\xFA\xC7\xCF\xBF\xA9 \xB0\xC5\xB7\xA1\xB8\xA6 \xC7\xD2\xBC\xF6\xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The player has more than 2 Billion Yang. You cannot trade with him."));
|
||||
|
||||
SPDLOG_ERROR("[OVERFLOW_GOLD] ELK_ADD ({}) id {} name {} ",
|
||||
ch->GetExchange()->GetCompany()->GetOwner()->GetGold(),
|
||||
|
@ -2058,25 +2058,25 @@ void CInputMain::SafeboxCheckin(LPCHARACTER ch, const char * c_pData)
|
|||
|
||||
if (!pkSafebox->IsEmpty(p->bSafePos, pkItem->GetSize()))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC3\xA2\xB0\xED> \xBF\xC5\xB1\xE6 \xBC\xF6 \xBE\xF8\xB4\xC2 \xC0\xA7\xC4\xA1\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Storeroom] No movement possible."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (pkItem->GetVnum() == UNIQUE_ITEM_SAFEBOX_EXPAND)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC3\xA2\xB0\xED> \xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBA \xB3\xD6\xC0\xBB \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Storeroom] The item cannot be stored."));
|
||||
return;
|
||||
}
|
||||
|
||||
if( IS_SET(pkItem->GetAntiFlag(), ITEM_ANTIFLAG_SAFEBOX) )
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC3\xA2\xB0\xED> \xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBA \xB3\xD6\xC0\xBB \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Storeroom] The item cannot be stored."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (true == pkItem->isLocked())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC3\xA2\xB0\xED> \xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBA \xB3\xD6\xC0\xBB \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Storeroom] The item cannot be stored."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2127,7 +2127,7 @@ void CInputMain::SafeboxCheckout(LPCHARACTER ch, const char * c_pData, bool bMal
|
|||
|
||||
if (DRAGON_SOUL_INVENTORY != p->ItemPos.window_type)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC3\xA2\xB0\xED> \xBF\xC5\xB1\xE6 \xBC\xF6 \xBE\xF8\xB4\xC2 \xC0\xA7\xC4\xA1\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Storeroom] No movement possible."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2137,7 +2137,7 @@ void CInputMain::SafeboxCheckout(LPCHARACTER ch, const char * c_pData, bool bMal
|
|||
int iCell = ch->GetEmptyDragonSoulInventory(pkItem);
|
||||
if (iCell < 0)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC3\xA2\xB0\xED> \xBF\xC5\xB1\xE6 \xBC\xF6 \xBE\xF8\xB4\xC2 \xC0\xA7\xC4\xA1\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Storeroom] No movement possible."));
|
||||
return ;
|
||||
}
|
||||
DestPos = TItemPos (DRAGON_SOUL_INVENTORY, iCell);
|
||||
|
@ -2151,7 +2151,7 @@ void CInputMain::SafeboxCheckout(LPCHARACTER ch, const char * c_pData, bool bMal
|
|||
{
|
||||
if (DRAGON_SOUL_INVENTORY == p->ItemPos.window_type)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC3\xA2\xB0\xED> \xBF\xC5\xB1\xE6 \xBC\xF6 \xBE\xF8\xB4\xC2 \xC0\xA7\xC4\xA1\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Storeroom] No movement possible."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2203,7 +2203,7 @@ void CInputMain::PartyInvite(LPCHARACTER ch, const char * c_pData)
|
|||
{
|
||||
if (ch->GetArena())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xE5\xBF\xA1\xBC\xAD \xBB\xE7\xBF\xEB\xC7\xCF\xBD\xC7 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this in the duel arena."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2224,7 +2224,7 @@ void CInputMain::PartyInviteAnswer(LPCHARACTER ch, const char * c_pData)
|
|||
{
|
||||
if (ch->GetArena())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xE5\xBF\xA1\xBC\xAD \xBB\xE7\xBF\xEB\xC7\xCF\xBD\xC7 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this in the duel arena."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2235,7 +2235,7 @@ void CInputMain::PartyInviteAnswer(LPCHARACTER ch, const char * c_pData)
|
|||
// pInviter 가 ch 에게 파티 요청을 했었다.
|
||||
|
||||
if (!pInviter)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xC6\xC4\xC6\xBC\xBF\xE4\xC3\xBB\xC0\xBB \xC7\xD1 \xC4\xB3\xB8\xAF\xC5\xCD\xB8\xA6 \xC3\xA3\xC0\xBB\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] The player who invited you is not online."));
|
||||
else if (!p->accept)
|
||||
pInviter->PartyInviteDeny(ch->GetPlayerID());
|
||||
else
|
||||
|
@ -2247,7 +2247,7 @@ void CInputMain::PartySetState(LPCHARACTER ch, const char* c_pData)
|
|||
{
|
||||
if (!CPartyManager::instance().IsEnablePCParty())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xBC\xAD\xB9\xF6 \xB9\xAE\xC1\xA6\xB7\xCE \xC6\xC4\xC6\xBC \xB0\xFC\xB7\xC3 \xC3\xB3\xB8\xAE\xB8\xA6 \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] The server cannot execute this group request."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2258,13 +2258,13 @@ void CInputMain::PartySetState(LPCHARACTER ch, const char* c_pData)
|
|||
|
||||
if (ch->GetParty()->GetLeaderPID() != ch->GetPlayerID())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xB8\xAE\xB4\xF5\xB8\xB8 \xBA\xAF\xB0\xE6\xC7\xD2 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] Only the group leader can change this."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (!ch->GetParty()->IsMember(p->pid))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xBB\xF3\xC5\xC2\xB8\xA6 \xBA\xAF\xB0\xE6\xC7\xCF\xB7\xC1\xB4\xC2 \xBB\xE7\xB6\xF7\xC0\xCC \xC6\xC4\xC6\xBC\xBF\xF8\xC0\xCC \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] The target is not a member of your group."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2305,19 +2305,19 @@ void CInputMain::PartyRemove(LPCHARACTER ch, const char* c_pData)
|
|||
{
|
||||
if (ch->GetArena())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3\xC0\xE5\xBF\xA1\xBC\xAD \xBB\xE7\xBF\xEB\xC7\xCF\xBD\xC7 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this in the duel arena."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (!CPartyManager::instance().IsEnablePCParty())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xBC\xAD\xB9\xF6 \xB9\xAE\xC1\xA6\xB7\xCE \xC6\xC4\xC6\xBC \xB0\xFC\xB7\xC3 \xC3\xB3\xB8\xAE\xB8\xA6 \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] The server cannot execute this group request."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (ch->GetDungeon())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xB4\xF8\xC0\xFC \xBE\xC8\xBF\xA1\xBC\xAD\xB4\xC2 \xC6\xC4\xC6\xBC\xBF\xA1\xBC\xAD \xC3\xDF\xB9\xE6\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] You cannot kick out a player while you are in a dungeon."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2331,7 +2331,7 @@ void CInputMain::PartyRemove(LPCHARACTER ch, const char* c_pData)
|
|||
{
|
||||
if (ch->GetDungeon())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xB4\xF8\xC1\xAF\xB3\xBB\xBF\xA1\xBC\xAD\xB4\xC2 \xC6\xC4\xC6\xBC\xBF\xF8\xC0\xBB \xC3\xDF\xB9\xE6\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] You cannot kick out a player while you are in a dungeon."));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2347,7 +2347,7 @@ void CInputMain::PartyRemove(LPCHARACTER ch, const char* c_pData)
|
|||
if (B)
|
||||
{
|
||||
//pParty->SendPartyRemoveOneToAll(B);
|
||||
B->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xC6\xC4\xC6\xBC\xBF\xA1\xBC\xAD \xC3\xDF\xB9\xE6\xB4\xE7\xC7\xCF\xBC\xCC\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
B->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] You have been out kicked of the group."));
|
||||
//pParty->Unlink(B);
|
||||
//CPartyManager::instance().SetPartyMember(B->GetPlayerID(), NULL);
|
||||
}
|
||||
|
@ -2362,7 +2362,7 @@ void CInputMain::PartyRemove(LPCHARACTER ch, const char* c_pData)
|
|||
{
|
||||
if (ch->GetDungeon())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xB4\xF8\xC1\xAF\xB3\xBB\xBF\xA1\xBC\xAD\xB4\xC2 \xC6\xC4\xC6\xBC\xB8\xA6 \xB3\xAA\xB0\xA5 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] You cannot leave a group while you are in a dungeon."));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2373,7 +2373,7 @@ void CInputMain::PartyRemove(LPCHARACTER ch, const char* c_pData)
|
|||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xC6\xC4\xC6\xBC\xBF\xA1\xBC\xAD \xB3\xAA\xB0\xA1\xBC\xCC\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] You have left the group."));
|
||||
//pParty->SendPartyRemoveOneToAll(ch);
|
||||
pParty->Quit(ch->GetPlayerID());
|
||||
//pParty->SendPartyRemoveAllToOne(ch);
|
||||
|
@ -2383,7 +2383,7 @@ void CInputMain::PartyRemove(LPCHARACTER ch, const char* c_pData)
|
|||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xB4\xD9\xB8\xA5 \xC6\xC4\xC6\xBC\xBF\xF8\xC0\xBB \xC5\xBB\xC5\xF0\xBD\xC3\xC5\xB3 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] You cannot kick out group members."));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2398,7 +2398,7 @@ void CInputMain::AnswerMakeGuild(LPCHARACTER ch, const char* c_pData)
|
|||
if (get_global_time() - ch->GetQuestFlag("guild_manage.new_disband_time") <
|
||||
CGuildManager::instance().GetDisbandDelay())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC7\xD8\xBB\xEA\xC7\xD1 \xC8\xC4 %d\xC0\xCF \xC0\xCC\xB3\xBB\xBF\xA1\xB4\xC2 \xB1\xE6\xB5\xE5\xB8\xA6 \xB8\xB8\xB5\xE9 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."),
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] After disbanding a guild, you cannot create a new one for %d days."),
|
||||
quest::CQuestManager::instance().GetEventFlag("guild_disband_delay"));
|
||||
return;
|
||||
}
|
||||
|
@ -2406,7 +2406,7 @@ void CInputMain::AnswerMakeGuild(LPCHARACTER ch, const char* c_pData)
|
|||
if (get_global_time() - ch->GetQuestFlag("guild_manage.new_withdraw_time") <
|
||||
CGuildManager::instance().GetWithdrawDelay())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC5\xBB\xC5\xF0\xC7\xD1 \xC8\xC4 %d\xC0\xCF \xC0\xCC\xB3\xBB\xBF\xA1\xB4\xC2 \xB1\xE6\xB5\xE5\xB8\xA6 \xB8\xB8\xB5\xE9 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."),
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] After leaving a guild, you cannot create a new one for %d days."),
|
||||
quest::CQuestManager::instance().GetEventFlag("guild_withdraw_delay"));
|
||||
return;
|
||||
}
|
||||
|
@ -2424,7 +2424,7 @@ void CInputMain::AnswerMakeGuild(LPCHARACTER ch, const char* c_pData)
|
|||
|
||||
if (cp.name[0] == 0 || !check_name(cp.name))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xFB\xC7\xD5\xC7\xCF\xC1\xF6 \xBE\xCA\xC0\xBA \xB1\xE6\xB5\xE5 \xC0\xCC\xB8\xA7 \xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This guild name is invalid."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2432,7 +2432,7 @@ void CInputMain::AnswerMakeGuild(LPCHARACTER ch, const char* c_pData)
|
|||
|
||||
if (dwGuildID)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> [%s] \xB1\xE6\xB5\xE5\xB0\xA1 \xBB\xFD\xBC\xBA\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."), cp.name);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] [%s] guild has been created."), cp.name);
|
||||
|
||||
int GuildCreateFee;
|
||||
|
||||
|
@ -2457,7 +2457,7 @@ void CInputMain::AnswerMakeGuild(LPCHARACTER ch, const char* c_pData)
|
|||
//ch->SendGuildName(dwGuildID);
|
||||
}
|
||||
else
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5 \xBB\xFD\xBC\xBA\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] Creation of the guild has failed."));
|
||||
}
|
||||
|
||||
void CInputMain::PartyUseSkill(LPCHARACTER ch, const char* c_pData)
|
||||
|
@ -2468,7 +2468,7 @@ void CInputMain::PartyUseSkill(LPCHARACTER ch, const char* c_pData)
|
|||
|
||||
if (ch->GetPlayerID() != ch->GetParty()->GetLeaderPID())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xC6\xC4\xC6\xBC \xB1\xE2\xBC\xFA\xC0\xBA \xC6\xC4\xC6\xBC\xC0\xE5\xB8\xB8 \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] Only the group leader can use group skills."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2483,7 +2483,7 @@ void CInputMain::PartyUseSkill(LPCHARACTER ch, const char* c_pData)
|
|||
if (pch)
|
||||
ch->GetParty()->SummonToLeader(pch->GetPlayerID());
|
||||
else
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xBC\xD2\xC8\xAF\xC7\xCF\xB7\xC1\xB4\xC2 \xB4\xEB\xBB\xF3\xC0\xBB \xC3\xA3\xC0\xBB \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] The target has not been found."));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -2545,7 +2545,7 @@ int CInputMain::Guild(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
{
|
||||
if (SubHeader != GUILD_SUBHEADER_CG_GUILD_INVITE_ANSWER)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xBF\xA1 \xBC\xD3\xC7\xD8\xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] It does not belong to the guild."));
|
||||
return SubPacketLen;
|
||||
}
|
||||
}
|
||||
|
@ -2561,13 +2561,13 @@ int CInputMain::Guild(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
|
||||
if (gold < 0)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC0\xDF\xB8\xF8\xB5\xC8 \xB1\xDD\xBE\xD7\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] That is not the correct amount of Yang."));
|
||||
return SubPacketLen;
|
||||
}
|
||||
|
||||
if (ch->GetGold() < gold)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB0\xA1\xC1\xF6\xB0\xED \xC0\xD6\xB4\xC2 \xB5\xB7\xC0\xCC \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You do not have enough Yang."));
|
||||
return SubPacketLen;
|
||||
}
|
||||
|
||||
|
@ -2584,7 +2584,7 @@ int CInputMain::Guild(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
|
||||
if (gold < 0)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC0\xDF\xB8\xF8\xB5\xC8 \xB1\xDD\xBE\xD7\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] That is not the correct amount of Yang."));
|
||||
return SubPacketLen;
|
||||
}
|
||||
|
||||
|
@ -2599,7 +2599,7 @@ int CInputMain::Guild(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
|
||||
if (!newmember)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xD7\xB7\xAF\xC7\xD1 \xBB\xE7\xB6\xF7\xC0\xBB \xC3\xA3\xC0\xBB \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The person you were searching for cannot be found."));
|
||||
return SubPacketLen;
|
||||
}
|
||||
|
||||
|
@ -2639,13 +2639,13 @@ int CInputMain::Guild(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
{
|
||||
if (member->GetGuild() != pGuild)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBB\xF3\xB4\xEB\xB9\xE6\xC0\xCC \xB0\xB0\xC0\xBA \xB1\xE6\xB5\xE5\xB0\xA1 \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This person is not in the same guild."));
|
||||
return SubPacketLen;
|
||||
}
|
||||
|
||||
if (!pGuild->HasGradeAuth(m->grade, GUILD_AUTH_REMOVE_MEMBER))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xBF\xF8\xC0\xBB \xB0\xAD\xC1\xA6 \xC5\xBB\xC5\xF0 \xBD\xC3\xC5\xB3 \xB1\xC7\xC7\xD1\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You do not have the authority to kick out guild members."));
|
||||
return SubPacketLen;
|
||||
}
|
||||
|
||||
|
@ -2661,14 +2661,14 @@ int CInputMain::Guild(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
{
|
||||
if (!pGuild->HasGradeAuth(m->grade, GUILD_AUTH_REMOVE_MEMBER))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xBF\xF8\xC0\xBB \xB0\xAD\xC1\xA6 \xC5\xBB\xC5\xF0 \xBD\xC3\xC5\xB3 \xB1\xC7\xC7\xD1\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You do not have the authority to kick out guild members."));
|
||||
return SubPacketLen;
|
||||
}
|
||||
|
||||
if (pGuild->RequestRemoveMember(pid))
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xBF\xF8\xC0\xBB \xB0\xAD\xC1\xA6 \xC5\xBB\xC5\xF0 \xBD\xC3\xC4\xD7\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You have kicked a guild member out."));
|
||||
else
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xD7\xB7\xAF\xC7\xD1 \xBB\xE7\xB6\xF7\xC0\xBB \xC3\xA3\xC0\xBB \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The person you were searching for cannot be found."));
|
||||
}
|
||||
}
|
||||
return SubPacketLen;
|
||||
|
@ -2685,15 +2685,15 @@ int CInputMain::Guild(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
|
||||
if (m->grade != GUILD_LEADER_GRADE)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC1\xF7\xC0\xA7 \xC0\xCC\xB8\xA7\xC0\xBB \xBA\xAF\xB0\xE6\xC7\xD2 \xB1\xC7\xC7\xD1\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You do not have the authority to change your rank name."));
|
||||
}
|
||||
else if (*c_pData == GUILD_LEADER_GRADE)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xC0\xE5\xC0\xC7 \xC1\xF7\xC0\xA7 \xC0\xCC\xB8\xA7\xC0\xBA \xBA\xAF\xB0\xE6\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The guild leader's rights cannot be changed."));
|
||||
}
|
||||
else if (!check_name(gradename))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC0\xFB\xC7\xD5\xC7\xCF\xC1\xF6 \xBE\xCA\xC0\xBA \xC1\xF7\xC0\xA7 \xC0\xCC\xB8\xA7 \xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] This rank name is invalid."));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2711,11 +2711,11 @@ int CInputMain::Guild(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
|
||||
if (m->grade != GUILD_LEADER_GRADE)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC1\xF7\xC0\xA7 \xB1\xC7\xC7\xD1\xC0\xBB \xBA\xAF\xB0\xE6\xC7\xD2 \xB1\xC7\xC7\xD1\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You do not have the authority to change your position."));
|
||||
}
|
||||
else if (*c_pData == GUILD_LEADER_GRADE)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xC0\xE5\xC0\xC7 \xB1\xC7\xC7\xD1\xC0\xBA \xBA\xAF\xB0\xE6\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The rights of the guild leader cannot be changed."));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2739,11 +2739,11 @@ int CInputMain::Guild(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
|
||||
if (pGuild->OfferExp(ch, offer))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> %u\xC0\xC7 \xB0\xE6\xC7\xE8\xC4\xA1\xB8\xA6 \xC5\xF5\xC0\xDA\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), offer);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] %u experience points used."), offer);
|
||||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB0\xE6\xC7\xE8\xC4\xA1 \xC5\xF5\xC0\xDA\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] Experience usage has failed."));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2756,13 +2756,13 @@ int CInputMain::Guild(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
|
||||
if (offer < 0 || gold < offer || gold < 0 || ch->GetGold() < gold)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB5\xB7\xC0\xCC \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] Insufficient Yang in the guild treasury."));
|
||||
return SubPacketLen;
|
||||
}
|
||||
|
||||
if (!pGuild->ChargeSP(ch, offer))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xBF\xEB\xBD\xC5\xB7\xC2 \xC8\xB8\xBA\xB9\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] Dragon ghost was not restored."));
|
||||
}
|
||||
}
|
||||
return SubPacketLen;
|
||||
|
@ -2789,7 +2789,7 @@ int CInputMain::Guild(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
|
||||
if (length && !pGuild->HasGradeAuth(m->grade, GUILD_AUTH_NOTICE) && *(c_pData + 1) == '!')
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB0\xF8\xC1\xF6\xB1\xDB\xC0\xBB \xC0\xDB\xBC\xBA\xC7\xD2 \xB1\xC7\xC7\xD1\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You do not have the authority to make an announcement."));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2822,11 +2822,11 @@ int CInputMain::Guild(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
return -1;
|
||||
|
||||
if (m->grade != GUILD_LEADER_GRADE)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC1\xF7\xC0\xA7\xB8\xA6 \xBA\xAF\xB0\xE6\xC7\xD2 \xB1\xC7\xC7\xD1\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You do not have the authority to change the position."));
|
||||
else if (ch->GetPlayerID() == pid)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xC0\xE5\xC0\xC7 \xC1\xF7\xC0\xA7\xB4\xC2 \xBA\xAF\xB0\xE6\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] The guild leader's position cannot be changed."));
|
||||
else if (grade == 1)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB1\xE6\xB5\xE5\xC0\xE5\xC0\xB8\xB7\xCE \xC1\xF7\xC0\xA7\xB8\xA6 \xBA\xAF\xB0\xE6\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You cannot make yourself guild leader."));
|
||||
else
|
||||
pGuild->ChangeMemberGrade(pid, grade);
|
||||
}
|
||||
|
@ -2851,13 +2851,13 @@ int CInputMain::Guild(LPCHARACTER ch, const char * data, size_t uiBytes)
|
|||
|
||||
if (m->grade != GUILD_LEADER_GRADE)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xC0\xE5\xB1\xBA\xC0\xBB \xC1\xF6\xC1\xA4\xC7\xD2 \xB1\xC7\xC7\xD1\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You do not have the authority to choose the guild leader."));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!pGuild->ChangeMemberGeneral(pid, is_general))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB1\xE6\xB5\xE5> \xB4\xF5\xC0\xCC\xBB\xF3 \xC0\xE5\xBC\xF6\xB8\xA6 \xC1\xF6\xC1\xA4\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Guild] You cannot choose any more guild leaders."));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2901,7 +2901,7 @@ void CInputMain::ItemGive(LPCHARACTER ch, const char* c_pData)
|
|||
if (to_ch)
|
||||
ch->GiveItem(to_ch, p->ItemPos);
|
||||
else
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBB \xB0\xC7\xB3\xD7\xC1\xD9 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot trade this item."));
|
||||
}
|
||||
|
||||
int CInputMain::MyShop(LPCHARACTER ch, const char * c_pData, size_t uiBytes)
|
||||
|
@ -2914,7 +2914,7 @@ int CInputMain::MyShop(LPCHARACTER ch, const char * c_pData, size_t uiBytes)
|
|||
|
||||
if (ch->GetGold() >= GOLD_MAX)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD2\xC0\xAF \xB5\xB7\xC0\xCC 20\xBE\xEF\xB3\xC9\xC0\xBB \xB3\xD1\xBE\xEE \xB0\xC5\xB7\xA1\xB8\xA6 \xC7\xDB\xBC\xF6\xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have more than 2 Billion Yang with you. You cannot trade."));
|
||||
SPDLOG_DEBUG("MyShop ==> OverFlow Gold id {} name {} ", ch->GetPlayerID(), ch->GetName());
|
||||
return (iExtraLen);
|
||||
}
|
||||
|
@ -2924,7 +2924,7 @@ int CInputMain::MyShop(LPCHARACTER ch, const char * c_pData, size_t uiBytes)
|
|||
|
||||
if (ch->GetExchange() || ch->IsOpenSafebox() || ch->GetShopOwner() || ch->IsCubeOpen())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xB8\xA5 \xB0\xC5\xB7\xA1\xC1\xDF\xC0\xCF\xB0\xE6\xBF\xEC \xB0\xB3\xC0\xCE\xBB\xF3\xC1\xA1\xC0\xBB \xBF\xAD\xBC\xF6\xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot open a private shop while another window is open."));
|
||||
return (iExtraLen);
|
||||
}
|
||||
|
||||
|
@ -2939,7 +2939,7 @@ void CInputMain::Refine(LPCHARACTER ch, const char* c_pData)
|
|||
|
||||
if (ch->GetExchange() || ch->IsOpenSafebox() || ch->GetShopOwner() || ch->GetMyShop() || ch->IsCubeOpen())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xA2\xB0\xED,\xB0\xC5\xB7\xA1\xC3\xA2\xB5\xEE\xC0\xCC \xBF\xAD\xB8\xB0 \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD\xB4\xC2 \xB0\xB3\xB7\xAE\xC0\xBB \xC7\xD2\xBC\xF6\xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot upgrade anything while another window is open."));
|
||||
ch->ClearRefineMode();
|
||||
return;
|
||||
}
|
||||
|
@ -2996,7 +2996,7 @@ void CInputMain::Refine(LPCHARACTER ch, const char* c_pData)
|
|||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, "\xBB\xE7\xB1\xCD \xC5\xB8\xBF\xF6 \xBF\xCF\xB7\xE1 \xBA\xB8\xBB\xF3\xC0\xBA \xC7\xD1\xB9\xF8\xB1\xEE\xC1\xF6 \xBB\xE7\xBF\xEB\xB0\xA1\xB4\xC9\xC7\xD5\xB4\xCF\xB4\xD9.");
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, "You can only be rewarded once for the Demon Tower Quest.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3060,7 +3060,7 @@ int CInputMain::Analyze(LPDESC d, BYTE bHeader, const char * c_pData)
|
|||
//if (0 != g_stClientVersion.compare(d->GetClientVersion()))
|
||||
if (version > date)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("\xC5\xAC\xB6\xF3\xC0\xCC\xBE\xF0\xC6\xAE \xB9\xF6\xC0\xFC\xC0\xCC \xC6\xB2\xB7\xC1 \xB7\xCE\xB1\xD7\xBE\xC6\xBF\xF4 \xB5\xCB\xB4\xCF\xB4\xD9. \xC1\xA4\xBB\xF3\xC0\xFB\xC0\xB8\xB7\xCE \xC6\xD0\xC4\xA1 \xC8\xC4 \xC1\xA2\xBC\xD3\xC7\xCF\xBC\xBC\xBF\xE4."));
|
||||
ch->ChatPacket(CHAT_TYPE_NOTICE, LC_TEXT("You do not have the correct client version. Please install the normal patch."));
|
||||
d->DelayedDisconnect(10);
|
||||
LogManager::instance().HackLog("VERSION_CONFLICT", d->GetAccountTable().login, ch->GetName(), d->GetHostName());
|
||||
}
|
||||
|
|
|
@ -1692,7 +1692,7 @@ void CItem::AccessorySocketDegrade()
|
|||
|
||||
if (ch)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s\xBF\xA1 \xB9\xDA\xC7\xF4\xC0\xD6\xB4\xF8 \xBA\xB8\xBC\xAE\xC0\xCC \xBB\xE7\xB6\xF3\xC1\xFD\xB4\xCF\xB4\xD9."), GetName());
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("A gem socketed in the %s has vanished."), GetName());
|
||||
}
|
||||
|
||||
ModifyPoints(false);
|
||||
|
|
|
@ -165,11 +165,11 @@ void ShutdownOnFatalError()
|
|||
{
|
||||
char buf[256];
|
||||
|
||||
strlcpy(buf, LC_TEXT("\xBC\xAD\xB9\xF6\xBF\xA1 \xC4\xA1\xB8\xED\xC0\xFB\xC0\xCE \xBF\xC0\xB7\xF9\xB0\xA1 \xB9\xDF\xBB\xFD\xC7\xCF\xBF\xA9 \xC0\xDA\xB5\xBF\xC0\xB8\xB7\xCE \xC0\xE7\xBA\xCE\xC6\xC3\xB5\xCB\xB4\xCF\xB4\xD9."), sizeof(buf));
|
||||
strlcpy(buf, LC_TEXT("A critical server error has occurred. The server will restart automatically."), sizeof(buf));
|
||||
SendNotice(buf);
|
||||
strlcpy(buf, LC_TEXT("10\xC3\xCA\xC8\xC4 \xC0\xDA\xB5\xBF\xC0\xB8\xB7\xCE \xC1\xA2\xBC\xD3\xC0\xCC \xC1\xBE\xB7\xE1\xB5\xC7\xB8\xE7,"), sizeof(buf));
|
||||
strlcpy(buf, LC_TEXT("You will be disconnected automatically in 10 seconds."), sizeof(buf));
|
||||
SendNotice(buf);
|
||||
strlcpy(buf, LC_TEXT("5\xBA\xD0 \xC8\xC4\xBF\xA1 \xC1\xA4\xBB\xF3\xC0\xFB\xC0\xB8\xB7\xCE \xC1\xA2\xBC\xD3\xC7\xCF\xBD\xC7\xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."), sizeof(buf));
|
||||
strlcpy(buf, LC_TEXT("You can connect again after 5 minutes."), sizeof(buf));
|
||||
SendNotice(buf);
|
||||
}
|
||||
|
||||
|
|
|
@ -171,7 +171,7 @@ void MessengerManager::__AddToList(MessengerManager::keyA account, MessengerMana
|
|||
|
||||
if (d)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB8\xDE\xBD\xC5\xC1\xAE> %s \xB4\xD4\xC0\xBB \xC4\xA3\xB1\xB8\xB7\xCE \xC3\xDF\xB0\xA1\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), companion.c_str());
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Friends] You have added %s as a friend."), companion.c_str());
|
||||
}
|
||||
|
||||
LPCHARACTER tch = CHARACTER_MANAGER::instance().FindPC(companion.c_str());
|
||||
|
@ -213,7 +213,7 @@ void MessengerManager::__RemoveFromList(MessengerManager::keyA account, Messenge
|
|||
LPDESC d = ch ? ch->GetDesc() : NULL;
|
||||
|
||||
if (d)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xB8\xDE\xBD\xC5\xC1\xAE> %s \xB4\xD4\xC0\xBB \xB8\xDE\xBD\xC5\xC0\xFA\xBF\xA1\xBC\xAD \xBB\xE8\xC1\xA6\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), companion.c_str());
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Friends] You have deleted %s from the list."), companion.c_str());
|
||||
}
|
||||
|
||||
void MessengerManager::RemoveFromList(MessengerManager::keyA account, MessengerManager::keyA companion)
|
||||
|
|
|
@ -292,7 +292,7 @@ namespace mining
|
|||
CItem& pick = *item;
|
||||
Pick_MaxCurExp(pick);
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xEE\xB1\xAA\xC0\xCC \xBC\xF6\xB7\xC3\xB5\xB5\xB0\xA1 \xC3\xD6\xB4\xEB(%d)\xB0\xA1 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."), Pick_GetCurExp(pick));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your mining points have reached their maximum. (%d)"), Pick_GetCurExp(pick));
|
||||
}
|
||||
|
||||
void PracticePick(LPCHARACTER ch, LPITEM item)
|
||||
|
@ -312,20 +312,20 @@ namespace mining
|
|||
|
||||
if (Pick_Refinable(pick))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xEE\xB1\xAA\xC0\xCC\xB0\xA1 \xC3\xD6\xB4\xEB \xBC\xF6\xB7\xC3\xB5\xB5\xBF\xA1 \xB5\xB5\xB4\xDE\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xAA\xB9\xAB\xB2\xDB\xB8\xA6 \xC5\xEB\xC7\xD8 \xB4\xD9\xC0\xBD \xB7\xB9\xBA\xA7\xC0\xC7 \xB0\xEE\xB1\xAA\xC0\xCC\xB7\xCE \xBE\xF7\xB1\xD7\xB7\xB9\xC0\xCC\xB5\xE5 \xC7\xD2 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your mining points have reached their maximum level."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can get lumberjack Deokbae to upgrade your Pickaxe."));
|
||||
}
|
||||
else
|
||||
{
|
||||
Pick_IncCurExp(pick);
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xEE\xB1\xAA\xC0\xCC\xC0\xC7 \xBC\xF6\xB7\xC3\xB5\xB5\xB0\xA1 \xC1\xF5\xB0\xA1\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9! (%d/%d)"),
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your Mining Points have increased! (%d/%d)"),
|
||||
Pick_GetCurExp(pick), Pick_GetMaxExp(pick));
|
||||
|
||||
if (Pick_Refinable(pick))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xEE\xB1\xAA\xC0\xCC\xB0\xA1 \xC3\xD6\xB4\xEB \xBC\xF6\xB7\xC3\xB5\xB5\xBF\xA1 \xB5\xB5\xB4\xDE\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xAA\xB9\xAB\xB2\xDB\xB8\xA6 \xC5\xEB\xC7\xD8 \xB4\xD9\xC0\xBD \xB7\xB9\xBA\xA7\xC0\xC7 \xB0\xEE\xB1\xAA\xC0\xCC\xB7\xCE \xBE\xF7\xB1\xD7\xB7\xB9\xC0\xCC\xB5\xE5 \xC7\xD2 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your mining points have reached their maximum level."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can get lumberjack Deokbae to upgrade your Pickaxe."));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -355,14 +355,14 @@ namespace mining
|
|||
// REFINE_PICK
|
||||
if (!pick || !Pick_Check(*pick))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xEE\xB1\xAA\xC0\xCC\xB8\xA6 \xB5\xE9\xB0\xED \xC0\xD6\xC1\xF6 \xBE\xCA\xBE\xC6\xBC\xAD \xC4\xB6 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot mine without a Pick."));
|
||||
return 0;
|
||||
}
|
||||
// END_OF_REFINE_PICK
|
||||
|
||||
if (!load)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xF5\xC0\xCC\xBB\xF3 \xC4\xB3\xB3\xBE \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Nothing to mine here."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -371,11 +371,11 @@ namespace mining
|
|||
if (Random::get(1, 100) <= iPct)
|
||||
{
|
||||
OreDrop(ch, load->GetRaceNum());
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xA4\xB1\xA4\xBF\xA1 \xBC\xBA\xB0\xF8\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The mining has been successful."));
|
||||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xA4\xB1\xA4\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The mining has failed."));
|
||||
}
|
||||
|
||||
PracticePick(ch, pick);
|
||||
|
|
|
@ -40,7 +40,7 @@ struct FHealMyEmpire
|
|||
|
||||
if (ch->IsPC() && m_bEmpire == ch->GetEmpire())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xBA\xC1\xD6\xB0\xA1 \xB3\xBB\xB8\xB0 \xC3\xE0\xBA\xB9\xC0\xB8\xB7\xCE \xB8\xF0\xB5\xE7 \xBF\xA1\xB3\xCA\xC1\xF6\xB0\xA1 \xB0\xA1\xB5\xE6 \xC3\xA4\xBF\xF6\xC1\xFD\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The energy is reflected because of the Emperors Blessing."));
|
||||
ch->PointChange(POINT_HP, ch->GetMaxHP() - ch->GetHP());
|
||||
ch->PointChange(POINT_SP, ch->GetMaxSP() - ch->GetSP());
|
||||
ch->EffectPacket(SE_SPUP_BLUE);
|
||||
|
@ -61,7 +61,7 @@ int CMonarch::HealMyEmpire(LPCHARACTER ch ,DWORD price)
|
|||
{
|
||||
if (!ch->IsGM())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("\xB1\xBA\xC1\xD6\xC0\xC7 \xC0\xDA\xB0\xDD\xC0\xBB \xB0\xA1\xC1\xF6\xB0\xED \xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("You do not have the emperor qualification."));
|
||||
SPDLOG_ERROR("No Monarch pid {} ", pid);
|
||||
return 0;
|
||||
}
|
||||
|
@ -69,7 +69,7 @@ int CMonarch::HealMyEmpire(LPCHARACTER ch ,DWORD price)
|
|||
|
||||
if (!ch->IsMCOK(CHARACTER::MI_HEAL))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d \xC3\xCA \xC8\xC4\xBF\xA1 \xB1\xBA\xC1\xD6\xC0\xC7 \xC3\xE0\xBA\xB9\xC0\xBB \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9"), ch->GetMCLTime(CHARACTER::MI_HEAL));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("After %d seconds you can use the Emperors Blessing."), ch->GetMCLTime(CHARACTER::MI_HEAL));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ int CMonarch::HealMyEmpire(LPCHARACTER ch ,DWORD price)
|
|||
ch->SetMC(CHARACTER::MI_HEAL);
|
||||
|
||||
if (test_server)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[TEST_ONLY]\xC7\xF6\xC0\xE7 \xB1\xB9\xB0\xED : %d "), GetMoney(Empire) - price);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[TEST_ONLY]Tax : %d"), GetMoney(Empire) - price);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -323,7 +323,7 @@ void CParty::Destroy()
|
|||
p.header = HEADER_GC_PARTY_REMOVE;
|
||||
p.pid = rMember.pCharacter->GetPlayerID();
|
||||
rMember.pCharacter->GetDesc()->Packet(&p, sizeof(p));
|
||||
rMember.pCharacter->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xC6\xC4\xC6\xBC\xB0\xA1 \xC7\xD8\xBB\xEA \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
rMember.pCharacter->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] This group has been disbanded."));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1121,7 +1121,7 @@ void CParty::SummonToLeader(DWORD pid)
|
|||
|
||||
if (m_memberMap.find(pid) == m_memberMap.end())
|
||||
{
|
||||
l->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xBC\xD2\xC8\xAF\xC7\xCF\xB7\xC1\xB4\xC2 \xB4\xEB\xBB\xF3\xC0\xBB \xC3\xA3\xC0\xBB \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
l->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] The target has not been found."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1129,13 +1129,13 @@ void CParty::SummonToLeader(DWORD pid)
|
|||
|
||||
if (!ch)
|
||||
{
|
||||
l->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xBC\xD2\xC8\xAF\xC7\xCF\xB7\xC1\xB4\xC2 \xB4\xEB\xBB\xF3\xC0\xBB \xC3\xA3\xC0\xBB \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
l->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] The target has not been found."));
|
||||
return;
|
||||
}
|
||||
|
||||
if (!ch->CanSummon(m_iLeadership))
|
||||
{
|
||||
l->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xB4\xEB\xBB\xF3\xC0\xBB \xBC\xD2\xC8\xAF\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
l->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] You cannot call the target."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1152,7 +1152,7 @@ void CParty::SummonToLeader(DWORD pid)
|
|||
}
|
||||
|
||||
if (n == 0)
|
||||
l->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC6\xC4\xC6\xBC> \xC6\xC4\xC6\xBC\xBF\xF8\xC0\xBB \xC7\xF6\xC0\xE7 \xC0\xA7\xC4\xA1\xB7\xCE \xBC\xD2\xC8\xAF\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
l->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Group] You cannot call group members over to your current position."));
|
||||
else
|
||||
{
|
||||
int i = Random::get(0, n - 1);
|
||||
|
@ -1371,7 +1371,7 @@ void CParty::Update()
|
|||
continue;
|
||||
|
||||
if (bLongTimeExpBonusChanged && ch->GetDesc())
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC6\xC4\xC6\xBC\xC0\xC7 \xC7\xF9\xB5\xBF\xB7\xC2\xC0\xCC \xB3\xF4\xBE\xC6\xC1\xAE \xC1\xF6\xB1\xDD\xBA\xCE\xC5\xCD \xC3\xDF\xB0\xA1 \xB0\xE6\xC7\xE8\xC4\xA1 \xBA\xB8\xB3\xCA\xBD\xBA\xB8\xA6 \xB9\xDE\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your group works well together, and group members near the group leader will receive an experience bonus."));
|
||||
|
||||
bool bNear = it->second.bNear;
|
||||
|
||||
|
|
|
@ -69,14 +69,14 @@ bool CPolymorphUtils::PolymorphCharacter(LPCHARACTER pChar, LPITEM pItem, const
|
|||
|
||||
if (iPolyPercent <= 0)
|
||||
{
|
||||
pChar->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xD0\xB0\xA9\xBF\xA1 \xBD\xC7\xC6\xD0 \xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
pChar->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Transformation error."));
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Random::get(1, 100) > iPolyPercent)
|
||||
{
|
||||
pChar->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xD0\xB0\xA9\xBF\xA1 \xBD\xC7\xC6\xD0 \xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
pChar->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Transformation error."));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -116,7 +116,7 @@ bool CPolymorphUtils::UpdateBookPracticeGrade(LPCHARACTER pChar, LPITEM pItem)
|
|||
if (pItem->GetSocket(1) > 0)
|
||||
pItem->SetSocket(1, pItem->GetSocket(1) - 1);
|
||||
else
|
||||
pChar->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xD0\xB0\xA9\xBC\xAD \xBC\xF6\xB7\xC3\xC0\xBB \xB8\xB6\xC3\xBA\xBD\xC0\xB4\xCF\xB4\xD9. \xBD\xC5\xBC\xB1\xBF\xA1\xB0\xD4 \xC3\xA3\xBE\xC6\xB0\xA1\xBC\xBC\xBF\xE4."));
|
||||
pChar->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You learned the transmutation completely."));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -105,13 +105,13 @@ void CPrivManager::GiveGuildPriv(DWORD guild_id, BYTE type, int value, BYTE bLog
|
|||
if (value)
|
||||
{
|
||||
char buf[100];
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s \xB1\xE6\xB5\xE5\xC0\xC7 %s\xC0\xCC %d%% \xC1\xF5\xB0\xA1\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9!"), g->GetName(), GetPrivName(type), value);
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s of the Guild %s raised up to %d%% !"), g->GetName(), GetPrivName(type), value);
|
||||
SendNotice(buf);
|
||||
}
|
||||
else
|
||||
{
|
||||
char buf[100];
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s \xB1\xE6\xB5\xE5\xC0\xC7 %s\xC0\xCC \xC1\xA4\xBB\xF3\xC0\xB8\xB7\xCE \xB5\xB9\xBE\xC6\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9."), g->GetName(), GetPrivName(type));
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s of the Guild %s normal again."), g->GetName(), GetPrivName(type));
|
||||
SendNotice(buf);
|
||||
}
|
||||
|
||||
|
@ -160,7 +160,7 @@ void CPrivManager::GiveEmpirePriv(BYTE empire, BYTE type, int value, BYTE bLog,
|
|||
if (value)
|
||||
{
|
||||
char buf[100];
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s\xC0\xC7 %s\xC0\xCC %d%% \xC1\xF5\xB0\xA1\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9!"), GetEmpireName(empire), GetPrivName(type), value);
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s: %s has increased by %d%%!"), GetEmpireName(empire), GetPrivName(type), value);
|
||||
|
||||
if (empire)
|
||||
SendNotice(buf);
|
||||
|
@ -170,7 +170,7 @@ void CPrivManager::GiveEmpirePriv(BYTE empire, BYTE type, int value, BYTE bLog,
|
|||
else
|
||||
{
|
||||
char buf[100];
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s\xC0\xC7 %s\xC0\xCC \xC1\xA4\xBB\xF3\xC0\xB8\xB7\xCE \xB5\xB9\xBE\xC6\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9."), GetEmpireName(empire), GetPrivName(type));
|
||||
snprintf(buf, sizeof(buf), LC_TEXT("%s 's %s normal again."), GetEmpireName(empire), GetPrivName(type));
|
||||
|
||||
if (empire)
|
||||
SendNotice(buf);
|
||||
|
|
|
@ -183,8 +183,8 @@ void CPVPManager::Insert(LPCHARACTER pkChr, LPCHARACTER pkVictim)
|
|||
// 복수할 수 있으면 바로 싸움!
|
||||
if (pkPVP->Agree(pkChr->GetPlayerID()))
|
||||
{
|
||||
pkVictim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s\xB4\xD4\xB0\xFA\xC0\xC7 \xB4\xEB\xB0\xE1 \xBD\xC3\xC0\xDB!"), pkChr->GetName());
|
||||
pkChr->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s\xB4\xD4\xB0\xFA\xC0\xC7 \xB4\xEB\xB0\xE1 \xBD\xC3\xC0\xDB!"), pkVictim->GetName());
|
||||
pkVictim->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The battle with %s has begun!"), pkChr->GetName());
|
||||
pkChr->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The battle with %s has begun!"), pkVictim->GetName());
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -202,10 +202,10 @@ void CPVPManager::Insert(LPCHARACTER pkChr, LPCHARACTER pkVictim)
|
|||
pkPVP->Packet();
|
||||
|
||||
char msg[CHAT_MAX_LEN + 1];
|
||||
snprintf(msg, sizeof(msg), LC_TEXT("%s\xB4\xD4\xC0\xCC \xB4\xEB\xB0\xE1\xBD\xC5\xC3\xBB\xC0\xBB \xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9. \xBD\xC2\xB3\xAB\xC7\xCF\xB7\xC1\xB8\xE9 \xB4\xEB\xB0\xE1\xB5\xBF\xC0\xC7\xB8\xA6 \xC7\xCF\xBC\xBC\xBF\xE4."), pkChr->GetName());
|
||||
snprintf(msg, sizeof(msg), LC_TEXT("%s challenged you to a battle!"), pkChr->GetName());
|
||||
|
||||
pkVictim->ChatPacket(CHAT_TYPE_INFO, msg);
|
||||
pkChr->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s\xBF\xA1\xB0\xD4 \xB4\xEB\xB0\xE1\xBD\xC5\xC3\xBB\xC0\xBB \xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."), pkVictim->GetName());
|
||||
pkChr->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have challenged %s to a battle."), pkVictim->GetName());
|
||||
|
||||
// NOTIFY_PVP_MESSAGE
|
||||
LPDESC pkVictimDesc = pkVictim->GetDesc();
|
||||
|
|
|
@ -938,7 +938,7 @@ namespace quest
|
|||
|
||||
event_create(warp_all_to_village_event, info, PASSES_PER_SEC(iSec));
|
||||
|
||||
SendNoticeMap(LC_TEXT("\xC0\xE1\xBD\xC3\xC8\xC4 \xB8\xF0\xB5\xCE \xB8\xB6\xC0\xBB\xB7\xCE \xC0\xCC\xB5\xBF\xB5\xCB\xB4\xCF\xB4\xD9."), iMapIndex, false);
|
||||
SendNoticeMap(LC_TEXT("Everyone will be teleported into the city shortly."), iMapIndex, false);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -137,7 +137,7 @@ namespace quest
|
|||
{
|
||||
if (!ch->IsGM())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("\xB1\xBA\xC1\xD6\xC0\xC7 \xC0\xDA\xB0\xDD\xC0\xBB \xB0\xA1\xC1\xF6\xB0\xED \xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("You do not have the emperor qualification."));
|
||||
quest_err("No Monarch pid %d ", ch->GetPlayerID());
|
||||
return 0;
|
||||
}
|
||||
|
@ -151,10 +151,10 @@ namespace quest
|
|||
{
|
||||
char szNotice[256];
|
||||
snprintf(szNotice, sizeof(szNotice),
|
||||
LC_TEXT("\xB1\xBA\xC1\xD6\xC0\xC7 \xC3\xE0\xBA\xB9\xC0\xB8\xB7\xCE \xC0\xCC\xC1\xF6\xBF\xAA %s \xC0\xAF\xC0\xFA\xB4\xC2 HP,SP\xB0\xA1 \xB8\xF0\xB5\xCE \xC3\xA4\xBF\xF6\xC1\xFD\xB4\xCF\xB4\xD9."), EMPIRE_NAME(ch->GetEmpire()));
|
||||
LC_TEXT("When the Blessing of the Emperor is used %s the HP and SP are restored again."), EMPIRE_NAME(ch->GetEmpire()));
|
||||
SendNoticeMap(szNotice, ch->GetMapIndex(), false);
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("\xB1\xBA\xC1\xD6\xC0\xC7 \xC3\xE0\xBA\xB9\xC0\xBB \xBB\xE7\xBF\xEB\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("The Emperor Blessing is activated."));
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
@ -173,7 +173,7 @@ namespace quest
|
|||
{
|
||||
if (!ch->IsGM())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("\xB1\xBA\xC1\xD6\xC0\xC7 \xC0\xDA\xB0\xDD\xC0\xBB \xB0\xA1\xC1\xF6\xB0\xED \xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("You do not have the emperor qualification."));
|
||||
quest_err("No Monarch pid %d ", ch->GetPlayerID());
|
||||
return 0;
|
||||
}
|
||||
|
@ -191,7 +191,7 @@ namespace quest
|
|||
if (!CMonarch::instance().CheckPowerUpCT(ch->GetEmpire()))
|
||||
{
|
||||
int next_sec = CMonarch::instance().GetPowerUpCT(ch->GetEmpire()) / passes_per_sec;
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC4\xF0\xC5\xB8\xC0\xD3 \xC0\xFB\xBF\xEB\xC1\xDF %d \xC8\xC4 \xBB\xE7\xBF\xEB\xB0\xA1\xB4\xC9"), next_sec);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("After %d seconds you can use the Emperors Blessing."), next_sec);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -210,7 +210,7 @@ namespace quest
|
|||
CMonarch::instance().SendtoDBDecMoney(5000000, ch->GetEmpire(), ch);
|
||||
|
||||
char szNotice[256];
|
||||
snprintf(szNotice, sizeof(szNotice), LC_TEXT("\xB1\xBA\xC1\xD6\xC0\xC7 \xBB\xE7\xC0\xDA\xC8\xC4 \xBF\xB5\xC7\xE2\xC0\xB8\xB7\xCE \xC0\xCC\xC1\xF6\xBF\xAA %s \xC0\xAF\xC0\xFA\xB4\xC2 3\xBA\xD0\xB0\xA3 10 %% \xC0\xC7 \xB0\xF8\xB0\xDD\xB7\xC2\xC0\xCC \xC1\xF5\xB0\xA1\xB5\xCB\xB4\xCF\xB4\xD9"), EMPIRE_NAME(ch->GetEmpire()));
|
||||
snprintf(szNotice, sizeof(szNotice), LC_TEXT("Due to Emperor Sa-Za-Hu, the player %s will receive an attack power increase of 10 %% for 3 minutes in this area."), EMPIRE_NAME(ch->GetEmpire()));
|
||||
|
||||
SendNoticeMap(szNotice, ch->GetMapIndex(), false);
|
||||
|
||||
|
@ -231,7 +231,7 @@ namespace quest
|
|||
{
|
||||
if (!ch->IsGM())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("\xB1\xBA\xC1\xD6\xC0\xC7 \xC0\xDA\xB0\xDD\xC0\xBB \xB0\xA1\xC1\xF6\xB0\xED \xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("You do not have the emperor qualification."));
|
||||
quest_err("No Monarch pid %d ", ch->GetPlayerID());
|
||||
return 0;
|
||||
}
|
||||
|
@ -248,7 +248,7 @@ namespace quest
|
|||
if (!CMonarch::instance().CheckDefenseUpCT(ch->GetEmpire()))
|
||||
{
|
||||
int next_sec = CMonarch::instance().GetDefenseUpCT(ch->GetEmpire()) / passes_per_sec;
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC4\xF0\xC5\xB8\xC0\xD3 \xC0\xFB\xBF\xEB\xC1\xDF %d \xC8\xC4 \xBB\xE7\xBF\xEB\xB0\xA1\xB4\xC9"), next_sec);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("After %d seconds you can use the Emperors Blessing."), next_sec);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -267,7 +267,7 @@ namespace quest
|
|||
CMonarch::instance().SendtoDBDecMoney(5000000, ch->GetEmpire(), ch);
|
||||
|
||||
char szNotice[256];
|
||||
snprintf(szNotice, sizeof(szNotice), LC_TEXT("\xB1\xBA\xC1\xD6\xC0\xC7 \xB1\xDD\xB0\xAD\xB1\xC7 \xBF\xB5\xC7\xE2\xC0\xB8\xB7\xCE \xC0\xCC\xC1\xF6\xBF\xAA %s \xC0\xAF\xC0\xFA\xB4\xC2 3\xBA\xD0\xB0\xA3 10 %% \xC0\xC7 \xB9\xE6\xBE\xEE\xB7\xC2\xC0\xCC \xC1\xF5\xB0\xA1\xB5\xCB\xB4\xCF\xB4\xD9"), EMPIRE_NAME(ch->GetEmpire()));
|
||||
snprintf(szNotice, sizeof(szNotice), LC_TEXT("By the Emperor Geum-Gang-Gwon the player %s gets 10 %% more armour for 3 minutes."), EMPIRE_NAME(ch->GetEmpire()));
|
||||
|
||||
SendNoticeMap(szNotice, ch->GetMapIndex(), false);
|
||||
|
||||
|
@ -311,7 +311,7 @@ namespace quest
|
|||
{
|
||||
if (!ch->IsGM())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("\xB1\xBA\xC1\xD6\xC0\xC7 \xC0\xDA\xB0\xDD\xC0\xBB \xB0\xA1\xC1\xF6\xB0\xED \xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("You do not have the emperor qualification."));
|
||||
quest_err("No Monarch pid %d ", ch->GetPlayerID());
|
||||
return 0;
|
||||
}
|
||||
|
@ -399,7 +399,7 @@ namespace quest
|
|||
{
|
||||
if (!ch->IsGM())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("\xB1\xBA\xC1\xD6\xC0\xC7 \xC0\xDA\xB0\xDD\xC0\xBB \xB0\xA1\xC1\xF6\xB0\xED \xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("You do not have the emperor qualification."));
|
||||
quest_err("No Monarch pid %d ", ch->GetPlayerID());
|
||||
return 0;
|
||||
}
|
||||
|
@ -407,7 +407,7 @@ namespace quest
|
|||
|
||||
if (false==castle_is_my_castle(ch->GetEmpire(), ch->GetMapIndex()))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xBA\xBF\xA1\xBC\xAD\xB8\xB8 \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xC0\xD6\xB4\xC2 \xB1\xE2\xB4\xC9\xC0\xD4\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are only able to use this function while you are at the castle."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -448,7 +448,7 @@ namespace quest
|
|||
{
|
||||
if (!ch->IsGM())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("\xB1\xBA\xC1\xD6\xC0\xC7 \xC0\xDA\xB0\xDD\xC0\xBB \xB0\xA1\xC1\xF6\xB0\xED \xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO ,LC_TEXT("You do not have the emperor qualification."));
|
||||
quest_err("No Monarch pid %d ", ch->GetPlayerID());
|
||||
return 0;
|
||||
}
|
||||
|
@ -457,14 +457,14 @@ namespace quest
|
|||
if (castle_frog_to_empire_money(ch))
|
||||
{
|
||||
int empire_money = CMonarch::instance().GetMoney(ch->GetEmpire());
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("TEST : \xC8\xB2\xB1\xDD\xB5\xCE\xB2\xA8\xBA\xF1\xB0\xA1 \xB1\xB9\xB0\xED\xB7\xCE \xC8\xAF\xBF\xF8\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("TEST : \xC7\xF6\xC0\xE7 \xB1\xB9\xB0\xED : %d"), empire_money);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("TEST: The Gold Bar has been paid back to your kingdom's safe."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("TEST: In your kingdom's safe there are: %d"), empire_money);
|
||||
castle_save();
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("TEST : \xC8\xB2\xB1\xDD\xB5\xCE\xB2\xA8\xBA\xF1\xB8\xA6 \xB1\xB9\xB0\xED\xB7\xCE \xC8\xAF\xBF\xF8\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("TEST: You cannot pay the Gold Bar back into your kingdom's safe."));
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@ -487,14 +487,14 @@ namespace quest
|
|||
|
||||
if (!CMonarch::instance().IsMonarch(ch->GetPlayerID(), ch->GetEmpire()))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xBA\xC1\xD6\xB8\xB8\xC0\xCC \xBB\xE7\xBF\xEB \xB0\xA1\xB4\xC9\xC7\xD1 \xB1\xE2\xB4\xC9\xC0\xD4\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This function can only be used by the emperor."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
//군주 쿨타임 검사
|
||||
if (!ch->IsMCOK(CHARACTER::MI_WARP))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d \xC3\xCA\xB0\xA3 \xC4\xF0\xC5\xB8\xC0\xD3\xC0\xCC \xC0\xFB\xBF\xEB\xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9."), ch->GetMCLTime(CHARACTER::MI_WARP));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Cooldown time for approximately %d seconds"), ch->GetMCLTime(CHARACTER::MI_WARP));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -522,12 +522,12 @@ namespace quest
|
|||
{
|
||||
if (pkCCI->bEmpire != ch->GetEmpire())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC5\xB8\xC1\xA6\xB1\xB9 \xC0\xAF\xC0\xFA\xBF\xA1\xB0\xD4\xB4\xC2 \xC0\xCC\xB5\xBF\xC7\xD2\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot be warped to an unknown player."));
|
||||
return 0;
|
||||
}
|
||||
if (pkCCI->bChannel != g_bChannel)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC7\xD8\xB4\xE7 \xC0\xAF\xC0\xFA\xB4\xC2 %d \xC3\xA4\xB3\xCE\xBF\xA1 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9. (\xC7\xF6\xC0\xE7 \xC3\xA4\xB3\xCE %d)"), pkCCI->bChannel, g_bChannel);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Adding player %d into the channel. (Present channel %d)"), pkCCI->bChannel, g_bChannel);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -544,7 +544,7 @@ namespace quest
|
|||
else
|
||||
{
|
||||
//ch->ChatPacket(CHAT_TYPE_INFO, "You warp to (%d, %d)", pos.x, pos.y);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xBF\xA1\xB0\xD4\xB7\xCE \xC0\xCC\xB5\xBF\xC7\xD5\xB4\xCF\xB4\xD9"), name.c_str());
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Warp to player %s."), name.c_str());
|
||||
ch->WarpSet(pos.x, pos.y);
|
||||
|
||||
//군주 돈 삭감
|
||||
|
@ -566,7 +566,7 @@ namespace quest
|
|||
{
|
||||
if (tch->GetEmpire() != ch->GetEmpire())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC5\xB8\xC1\xA6\xB1\xB9 \xC0\xAF\xC0\xFA\xBF\xA1\xB0\xD4\xB4\xC2 \xC0\xCC\xB5\xBF\xC7\xD2\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot be warped to an unknown player."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -580,7 +580,7 @@ namespace quest
|
|||
y = tch->GetY();
|
||||
}
|
||||
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xBF\xA1\xB0\xD4\xB7\xCE \xC0\xCC\xB5\xBF\xC7\xD5\xB4\xCF\xB4\xD9"), name.c_str());
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Warp to player %s."), name.c_str());
|
||||
ch->WarpSet(x,y);
|
||||
ch->Stop();
|
||||
|
||||
|
@ -604,22 +604,22 @@ namespace quest
|
|||
|
||||
if (CMonarch::instance().IsMonarch(ch->GetPlayerID(), ch->GetEmpire()))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO,LC_TEXT("\xB3\xAA\xC0\xC7 \xB1\xBA\xC1\xD6 \xC1\xA4\xBA\xB8"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO,LC_TEXT("My information about the emperor"));
|
||||
|
||||
for (int n = 1; n < 4; ++n)
|
||||
{
|
||||
if (n == ch->GetEmpire())
|
||||
ch->ChatPacket(CHAT_TYPE_INFO,LC_TEXT("[%s\xB1\xBA\xC1\xD6] : %s \xBA\xB8\xC0\xAF\xB1\xDD\xBE\xD7 %lld "), EMPIRE_NAME(n), p->name[n], p->money[n]);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO,LC_TEXT("[%sMonarch] : %s Yang owned %lld"), EMPIRE_NAME(n), p->name[n], p->money[n]);
|
||||
else
|
||||
ch->ChatPacket(CHAT_TYPE_INFO,LC_TEXT("[%s\xB1\xBA\xC1\xD6] : %s "), EMPIRE_NAME(n), p->name[n]);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO,LC_TEXT("[%sMonarch] : %s"), EMPIRE_NAME(n), p->name[n]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO,LC_TEXT("\xB1\xBA\xC1\xD6 \xC1\xA4\xBA\xB8"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO,LC_TEXT("Information about the emperor"));
|
||||
|
||||
for (int n = 1; n < 4; ++n)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO,LC_TEXT("[%s\xB1\xBA\xC1\xD6] : %s "), EMPIRE_NAME(n), p->name[n]);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO,LC_TEXT("[%sMonarch] : %s"), EMPIRE_NAME(n), p->name[n]);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -642,14 +642,14 @@ namespace quest
|
|||
|
||||
if (!CMonarch::instance().IsMonarch(ch->GetPlayerID(), ch->GetEmpire()))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xBA\xC1\xD6\xB8\xB8\xC0\xCC \xBB\xE7\xBF\xEB \xB0\xA1\xB4\xC9\xC7\xD1 \xB1\xE2\xB4\xC9\xC0\xD4\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This function can only be used by the emperor."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
// 군주 쿨타임 검사
|
||||
if (!ch->IsMCOK(CHARACTER::MI_TRANSFER))
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d \xC3\xCA\xB0\xA3 \xC4\xF0\xC5\xB8\xC0\xD3\xC0\xCC \xC0\xFB\xBF\xEB\xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9."), ch->GetMCLTime(CHARACTER::MI_TRANSFER));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Cooldown time for approximately %d seconds"), ch->GetMCLTime(CHARACTER::MI_TRANSFER));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -674,13 +674,13 @@ namespace quest
|
|||
{
|
||||
if (pkCCI->bEmpire != ch->GetEmpire())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xB8\xA5 \xC1\xA6\xB1\xB9 \xC0\xAF\xC0\xFA\xB4\xC2 \xBC\xD2\xC8\xAF\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot recruit players from another kingdom."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (pkCCI->bChannel != g_bChannel)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xB4\xD4\xC0\xBA %d \xC3\xA4\xB3\xCE\xBF\xA1 \xC1\xA2\xBC\xD3 \xC1\xDF \xC0\xD4\xB4\xCF\xB4\xD9. (\xC7\xF6\xC0\xE7 \xC3\xA4\xB3\xCE: %d)"), name.c_str(), pkCCI->bChannel, g_bChannel);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The player %s is on channel %d at the moment. (Your channel: %d)"), name.c_str(), pkCCI->bChannel, g_bChannel);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -703,7 +703,7 @@ namespace quest
|
|||
pgg.lY = ch->GetY();
|
||||
|
||||
P2P_MANAGER::instance().Send(&pgg, sizeof(TPacketGGTransfer));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s \xB4\xD4\xC0\xBB \xBC\xD2\xC8\xAF\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), name.c_str());
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have recruited %s players."), name.c_str());
|
||||
|
||||
// 군주 돈 삭감
|
||||
CMonarch::instance().SendtoDBDecMoney(WarpPrice, ch->GetEmpire(), ch);
|
||||
|
@ -713,7 +713,7 @@ namespace quest
|
|||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xD4\xB7\xC2\xC7\xCF\xBD\xC5 \xC0\xCC\xB8\xA7\xC0\xBB \xB0\xA1\xC1\xF8 \xBB\xE7\xBF\xEB\xC0\xDA\xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There is no user with this name."));
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -721,13 +721,13 @@ namespace quest
|
|||
|
||||
if (ch == tch)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xDA\xBD\xC5\xC0\xBB \xBC\xD2\xC8\xAF\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot recruit yourself."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (tch->GetEmpire() != ch->GetEmpire())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xB8\xA5 \xC1\xA6\xB1\xB9 \xC0\xAF\xC0\xFA\xB4\xC2 \xBC\xD2\xC8\xAF\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot recruit players from another kingdom."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -762,7 +762,7 @@ namespace quest
|
|||
|
||||
if (ch->IsMonarch() == false)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xBA\xC1\xD6\xB8\xB8\xC0\xCC \xBB\xE7\xBF\xEB \xB0\xA1\xB4\xC9\xC7\xD1 \xB1\xE2\xB4\xC9\xC0\xD4\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This function can only be used by the emperor."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -826,13 +826,13 @@ namespace quest
|
|||
|
||||
if (CMonarch::instance().IsMonarch(ch->GetPlayerID(), ch->GetEmpire()) == false)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xBA\xC1\xD6\xB8\xB8\xC0\xCC \xBB\xE7\xBF\xEB \xB0\xA1\xB4\xC9\xC7\xD1 \xB1\xE2\xB4\xC9\xC0\xD4\xB4\xCF\xB4\xD9"));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This function can only be used by the emperor."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (ch->IsMCOK(CHARACTER::MI_TRANSFER) == false)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d \xC3\xCA\xB0\xA3 \xC4\xF0\xC5\xB8\xC0\xD3\xC0\xCC \xC0\xFB\xBF\xEB\xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9."), ch->GetMCLTime(CHARACTER::MI_TRANSFER));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Cooldown time for approximately %d seconds"), ch->GetMCLTime(CHARACTER::MI_TRANSFER));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -857,7 +857,7 @@ namespace quest
|
|||
{
|
||||
if (pCCI->bEmpire != ch->GetEmpire())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xB8\xA5 \xC1\xA6\xB1\xB9 \xC0\xAF\xC0\xFA\xB4\xC2 \xBC\xD2\xC8\xAF\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot recruit players from another kingdom."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -893,7 +893,7 @@ namespace quest
|
|||
}
|
||||
else
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xD4\xB7\xC2\xC7\xCF\xBD\xC5 \xC0\xCC\xB8\xA7\xC0\xBB \xB0\xA1\xC1\xF8 \xBB\xE7\xBF\xEB\xC0\xDA\xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There is no user with this name."));
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@ -901,13 +901,13 @@ namespace quest
|
|||
{
|
||||
if (pTargetChar == ch)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xDA\xBD\xC5\xC0\xBB \xBC\xD2\xC8\xAF\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot recruit yourself."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (pTargetChar->GetEmpire() != ch->GetEmpire())
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xB8\xA5 \xC1\xA6\xB1\xB9 \xC0\xAF\xC0\xFA\xB4\xC2 \xBC\xD2\xC8\xAF\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot recruit players from another kingdom."));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -400,12 +400,12 @@ namespace quest
|
|||
{
|
||||
if (dwVnums[i] == 1)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xB7 %d \xB3\xC9\xC0\xBB \xC8\xB9\xB5\xE6\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."), dwCounts[i]);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have received %d Yang."), dwCounts[i]);
|
||||
}
|
||||
else if (dwVnums[i] == 2)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xAA\xB9\xAB\xBF\xA1\xBC\xAD \xBA\xCE\xC5\xCD \xBD\xC5\xBA\xF1\xC7\xD1 \xBA\xFB\xC0\xCC \xB3\xAA\xBF\xC9\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d\xC0\xC7 \xB0\xE6\xC7\xE8\xC4\xA1\xB8\xA6 \xC8\xB9\xB5\xE6\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9."), dwCounts[i]);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("A mysterious light appears from the tree."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have received %d experience points."), dwCounts[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -577,7 +577,7 @@ namespace quest
|
|||
LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(pc);
|
||||
|
||||
if (ch)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC4\xF9\xBD\xBA\xC6\xAE\xB8\xA6 \xB7\xCE\xB5\xE5\xC7\xCF\xB4\xC2 \xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9. \xC0\xE1\xBD\xC3\xB8\xB8 \xB1\xE2\xB4\xD9\xB7\xC1 \xC1\xD6\xBD\xCA\xBD\xC3\xBF\xC0."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your request is loading. Please wait."));
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -602,7 +602,7 @@ namespace quest
|
|||
LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(pc);
|
||||
if (ch)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC4\xF9\xBD\xBA\xC6\xAE\xB8\xA6 \xB7\xCE\xB5\xE5\xC7\xCF\xB4\xC2 \xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9. \xC0\xE1\xBD\xC3\xB8\xB8 \xB1\xE2\xB4\xD9\xB7\xC1 \xC1\xD6\xBD\xCA\xBD\xC3\xBF\xC0."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your request is loading. Please wait."));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -627,7 +627,7 @@ namespace quest
|
|||
LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(pc);
|
||||
if (ch)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC4\xF9\xBD\xBA\xC6\xAE\xB8\xA6 \xB7\xCE\xB5\xE5\xC7\xCF\xB4\xC2 \xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9. \xC0\xE1\xBD\xC3\xB8\xB8 \xB1\xE2\xB4\xD9\xB7\xC1 \xC1\xD6\xBD\xCA\xBD\xC3\xBF\xC0."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your request is loading. Please wait."));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -654,7 +654,7 @@ namespace quest
|
|||
LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(pc);
|
||||
if (ch)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC4\xF9\xBD\xBA\xC6\xAE\xB8\xA6 \xB7\xCE\xB5\xE5\xC7\xCF\xB4\xC2 \xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9. \xC0\xE1\xBD\xC3\xB8\xB8 \xB1\xE2\xB4\xD9\xB7\xC1 \xC1\xD6\xBD\xCA\xBD\xC3\xBF\xC0."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your request is loading. Please wait."));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -696,7 +696,7 @@ namespace quest
|
|||
LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(pc);
|
||||
if (ch)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC4\xF9\xBD\xBA\xC6\xAE\xB8\xA6 \xB7\xCE\xB5\xE5\xC7\xCF\xB4\xC2 \xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9. \xC0\xE1\xBD\xC3\xB8\xB8 \xB1\xE2\xB4\xD9\xB7\xC1 \xC1\xD6\xBD\xCA\xBD\xC3\xBF\xC0."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your request is loading. Please wait."));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -750,7 +750,7 @@ namespace quest
|
|||
LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(pc);
|
||||
|
||||
if (ch)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC4\xF9\xBD\xBA\xC6\xAE\xB8\xA6 \xB7\xCE\xB5\xE5\xC7\xCF\xB4\xC2 \xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9. \xC0\xE1\xBD\xC3\xB8\xB8 \xB1\xE2\xB4\xD9\xB7\xC1 \xC1\xD6\xBD\xCA\xBD\xC3\xBF\xC0."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your request is loading. Please wait."));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
@ -1753,7 +1753,7 @@ namespace quest
|
|||
LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(pc);
|
||||
if (ch)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC4\xF9\xBD\xBA\xC6\xAE\xB8\xA6 \xB7\xCE\xB5\xE5\xC7\xCF\xB4\xC2 \xC1\xDF\xC0\xD4\xB4\xCF\xB4\xD9. \xC0\xE1\xBD\xC3\xB8\xB8 \xB1\xE2\xB4\xD9\xB7\xC1 \xC1\xD6\xBD\xCA\xBD\xC3\xBF\xC0."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your request is loading. Please wait."));
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -917,7 +917,7 @@ namespace quest
|
|||
{
|
||||
os << ",\"" << ScriptToString(AvailScript[i]->arg.c_str()) << '"';
|
||||
}
|
||||
os << ", '"<<LC_TEXT("\xB4\xDD\xB1\xE2")<<"'";
|
||||
os << ", '"<<LC_TEXT("Close")<<"'";
|
||||
os << ")";
|
||||
|
||||
CQuestManager::ExecuteQuestScript(pc, "QUEST_CHAT_TEMP_QUEST", 0, os.str().c_str(), os.str().size(), &AvailScript, false);
|
||||
|
|
|
@ -623,7 +623,7 @@ namespace quest
|
|||
{
|
||||
if (m_bIsGivenReward)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<\xC4\xF9\xBD\xBA\xC6\xAE> \xC0\xCC\xC0\xFC\xBF\xA1 \xB0\xB0\xC0\xBA \xBA\xB8\xBB\xF3\xC0\xBB \xB9\xDE\xC0\xBA \xC0\xFB\xC0\xCC \xC0\xD6\xBE\xEE \xB4\xD9\xBD\xC3 \xB9\xDE\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[Quest] You have already received your reward."));
|
||||
m_bIsGivenReward = false;
|
||||
}
|
||||
|
||||
|
|
|
@ -370,7 +370,7 @@ int CShop::Buy(LPCHARACTER ch, BYTE pos)
|
|||
m_pkPC->PointChange(POINT_GOLD, dwPrice, false);
|
||||
|
||||
if (iVal > 0)
|
||||
m_pkPC->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC6\xC7\xB8\xC5\xB1\xDD\xBE\xD7\xC0\xC7 %d %% \xB0\xA1 \xBC\xBC\xB1\xDD\xC0\xB8\xB7\xCE \xB3\xAA\xB0\xA1\xB0\xD4\xB5\xCB\xB4\xCF\xB4\xD9"), iVal);
|
||||
m_pkPC->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This sale will be taxed %d%%."), iVal);
|
||||
|
||||
CMonarch::instance().SendtoDBAddMoney(dwTax, m_pkPC->GetEmpire(), m_pkPC);
|
||||
}
|
||||
|
|
|
@ -112,7 +112,7 @@ bool CShopManager::StartShopping(LPCHARACTER pkChr, LPCHARACTER pkChrShopKeeper,
|
|||
//PREVENT_TRADE_WINDOW
|
||||
if (pkChr->IsOpenSafebox() || pkChr->GetExchange() || pkChr->GetMyShop() || pkChr->IsCubeOpen())
|
||||
{
|
||||
pkChr->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xB8\xA5 \xB0\xC5\xB7\xA1\xC3\xA2\xC0\xCC \xBF\xAD\xB8\xB0\xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD\xB4\xC2 \xBB\xF3\xC1\xA1\xB0\xC5\xB7\xA1\xB8\xA6 \xC7\xD2\xBC\xF6 \xB0\xA1 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
pkChr->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot trade in the shop while another window is open."));
|
||||
return false;
|
||||
}
|
||||
//END_PREVENT_TRADE_WINDOW
|
||||
|
@ -214,7 +214,7 @@ void CShopManager::Buy(LPCHARACTER ch, BYTE pos)
|
|||
|
||||
if (DISTANCE_APPROX(ch->GetX() - ch->GetShopOwner()->GetX(), ch->GetY() - ch->GetShopOwner()->GetY()) > 2000)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC1\xA1\xB0\xFA\xC0\xC7 \xB0\xC5\xB8\xAE\xB0\xA1 \xB3\xCA\xB9\xAB \xB8\xD6\xBE\xEE \xB9\xB0\xB0\xC7\xC0\xBB \xBB\xEC \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are too far away from the shop to buy something."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -271,7 +271,7 @@ void CShopManager::Sell(LPCHARACTER ch, BYTE bCell, BYTE bCount)
|
|||
|
||||
if (DISTANCE_APPROX(ch->GetX()-ch->GetShopOwner()->GetX(), ch->GetY()-ch->GetShopOwner()->GetY())>2000)
|
||||
{
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC1\xA1\xB0\xFA\xC0\xC7 \xB0\xC5\xB8\xAE\xB0\xA1 \xB3\xCA\xB9\xAB \xB8\xD6\xBE\xEE \xB9\xB0\xB0\xC7\xC0\xBB \xC6\xC8 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are too far away from the shop to sell something."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -335,7 +335,7 @@ void CShopManager::Sell(LPCHARACTER ch, BYTE bCell, BYTE bCount)
|
|||
if (GOLD_MAX <= nTotalMoney)
|
||||
{
|
||||
SPDLOG_ERROR("[OVERFLOW_GOLD] id {} name {} gold {}", ch->GetPlayerID(), ch->GetName(), ch->GetGold());
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("20\xBE\xEF\xB3\xC9\xC0\xCC \xC3\xCA\xB0\xFA\xC7\xCF\xBF\xA9 \xB9\xB0\xC7\xB0\xC0\xBB \xC6\xC8\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot trade because you are carrying more than 2 billion Yang."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -343,7 +343,7 @@ void CShopManager::Sell(LPCHARACTER ch, BYTE bCell, BYTE bCount)
|
|||
SPDLOG_DEBUG("SHOP: SELL: {} item name: {}(x{}):{} price: {}", ch->GetName(), item->GetName(), bCount, item->GetID(), dwPrice);
|
||||
|
||||
if (iVal > 0)
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC6\xC7\xB8\xC5\xB1\xDD\xBE\xD7\xC0\xC7 %d %% \xB0\xA1 \xBC\xBC\xB1\xDD\xC0\xB8\xB7\xCE \xB3\xAA\xB0\xA1\xB0\xD4\xB5\xCB\xB4\xCF\xB4\xD9"), iVal);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This sale will be taxed %d%%."), iVal);
|
||||
|
||||
DBManager::instance().SendMoneyLog(MONEY_LOG_SHOP, item->GetVnum(), dwPrice);
|
||||
|
||||
|
|
|
@ -5,14 +5,14 @@
|
|||
char g_nation_name[4][32] =
|
||||
{
|
||||
"",
|
||||
"\xBD\xC5\xBC\xF6\xB1\xB9",
|
||||
"\xC3\xB5\xC1\xB6\xB1\xB9",
|
||||
"\xC1\xF8\xB3\xEB\xB1\xB9",
|
||||
"Shinsoo Kingdom",
|
||||
"Chunjo Kingdom",
|
||||
"Jinno Kingdom",
|
||||
};
|
||||
|
||||
// LC_TEXT("\xBD\xC5\xBC\xF6\xB1\xB9")
|
||||
// LC_TEXT("\xC3\xB5\xC1\xB6\xB1\xB9")
|
||||
// LC_TEXT("\xC1\xF8\xB3\xEB\xB1\xB9")
|
||||
// LC_TEXT("Shinsoo Kingdom")
|
||||
// LC_TEXT("Chunjo Kingdom")
|
||||
// LC_TEXT("Jinno Kingdom")
|
||||
|
||||
int g_start_map[4] =
|
||||
{
|
||||
|
|
|
@ -340,7 +340,7 @@ void CThreeWayWar::onDead(LPCHARACTER pChar, LPCHARACTER pkKiller)
|
|||
{
|
||||
char szBuf[64 + 1];
|
||||
|
||||
snprintf(szBuf, sizeof(szBuf), LC_TEXT("\xC7\xF6\xC0\xE7 \xBD\xBA\xC4\xDA\xBE\xEE \xBD\xC5\xBC\xF6\xB1\xB9:%d \xC3\xB5\xC1\xB6\xB1\xB9:%d \xC1\xF8\xB3\xEB\xB1\xB9:%d"),
|
||||
snprintf(szBuf, sizeof(szBuf), LC_TEXT("Current score: Shinsoo %d, Chunjo %d, Jinno %d"),
|
||||
GetKillScore(1), GetKillScore(2), GetKillScore(3));
|
||||
|
||||
SendNoticeMap(szBuf, GetSungziMapIndex(), false);
|
||||
|
@ -406,9 +406,9 @@ void CThreeWayWar::onDead(LPCHARACTER pChar, LPCHARACTER pkKiller)
|
|||
//----------------------
|
||||
const std::string Nation(EMPIRE_NAME(bLoseEmpire));
|
||||
const std::string Script(
|
||||
LC_TEXT("\xBC\xBA\xC1\xF6\xC0\xC7 \xB8\xB6\xBF\xD5: \xB3\xCA\xC8\xF1 ") +
|
||||
LC_TEXT("The devil of the hallowed place: [ENTER][ENTER]") +
|
||||
Nation +
|
||||
LC_TEXT("\xB3\xE0\xBC\xAE\xB5\xE9\xC0\xBA \xC0\xCC\xB0\xF7 \xBC\xBA\xC1\xF6\xBF\xA1 \xC0\xD6\xC0\xBB \xC0\xDA\xB0\xDD\xC0\xBB \xC0\xD2\xBE\xFA\xB4\xD9. \xB8\xF0\xB5\xCE \xBC\xBA\xC1\xF6\xBF\xA1\xBC\xAD \xB9\xB0\xB7\xAF\xB3\xAA\xB0\xC5\xB6\xF3~~[ENTER][ENTER] 10\xC3\xCA \xC8\xC4\xBF\xA1 \xB8\xF0\xB5\xCE \xB8\xB6\xC0\xBB\xB7\xCE \xC0\xCC\xB5\xBF\xC7\xCF\xB0\xD4 \xB5\xCB\xB4\xCF\xB4\xD9. ") +
|
||||
LC_TEXT(", you don't have any right to be here! The members of your kingdom will leave this hallowed ground in 10 seconds.") +
|
||||
"[ENTER][DONE]"
|
||||
);
|
||||
|
||||
|
@ -418,7 +418,7 @@ void CThreeWayWar::onDead(LPCHARACTER pChar, LPCHARACTER pkKiller)
|
|||
// 공지 한방 날려줌.
|
||||
//----------------------
|
||||
char szNotice[512+1];
|
||||
snprintf(szNotice, sizeof(szNotice), LC_TEXT("\xBB\xEF\xB0\xC5\xB8\xAE \xC0\xFC\xC5\xF5\xBF\xA1\xBC\xAD %s \xB1\xB9\xB0\xA1\xB0\xA1 \xB0\xA1\xC0\xE5\xB8\xD5\xC0\xFA \xC5\xBB\xB6\xF4\xC0\xBB \xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9"), Nation.c_str());
|
||||
snprintf(szNotice, sizeof(szNotice), LC_TEXT("%s has been defeated and drops out of the Kingdom Battle."), Nation.c_str());
|
||||
BroadcastNotice(szNotice);
|
||||
|
||||
snprintf(szNotice, sizeof(szNotice), "First Step: %s exclusion", Nation.c_str());
|
||||
|
@ -496,7 +496,7 @@ void CThreeWayWar::onDead(LPCHARACTER pChar, LPCHARACTER pkKiller)
|
|||
//------------------------------
|
||||
{
|
||||
char szBuf[64 + 1];
|
||||
snprintf(szBuf, sizeof(szBuf), LC_TEXT("\xC7\xF6\xC0\xE7 \xBD\xBA\xC4\xDA\xBE\xEE \xBD\xC5\xBC\xF6\xB1\xB9:%d \xC3\xB5\xC1\xB6\xB1\xB9:%d \xC1\xF8\xB3\xEB\xB1\xB9:%d"),
|
||||
snprintf(szBuf, sizeof(szBuf), LC_TEXT("Current score: Shinsoo %d, Chunjo %d, Jinno %d"),
|
||||
GetKillScore(1), GetKillScore(2), GetKillScore(3));
|
||||
|
||||
SendNoticeMap(szBuf, GetSungziMapIndex(), false);
|
||||
|
@ -510,7 +510,7 @@ void CThreeWayWar::onDead(LPCHARACTER pChar, LPCHARACTER pkKiller)
|
|||
const std::string EmpireName(EMPIRE_NAME(nVictoryEmpireIndex));
|
||||
const std::string Script(
|
||||
EmpireName +
|
||||
LC_TEXT(". \xB3\xCA\xC8\xF1\xB0\xA1 \xBC\xBA\xC1\xF6\xC0\xC7 \xBC\xF6\xC8\xA3\xC0\xDA\xB8\xA6 \xC0\xE2\xB0\xD4 \xB5\xC8\xB4\xD9\xB8\xE9 \xB3\xCA\xC8\xF1\xB4\xC2 \xBC\xBA\xC1\xF6\xC0\xC7 \xC1\xD6\xC0\xCE\xC0\xCC \xB5\xC8\xB4\xD9.[ENTER][ENTER] ") +
|
||||
LC_TEXT("If you defeat the Guard of the Holy Place, you will become the owner of it.") +
|
||||
"[ENTER][DONE]");
|
||||
|
||||
struct packet_script pack_script;
|
||||
|
|
|
@ -382,8 +382,8 @@ void CWarMap::IncMember(LPCHARACTER ch)
|
|||
++m_iObserverCount;
|
||||
SPDLOG_DEBUG("WarMap +o {}", m_iObserverCount);
|
||||
ch->SetObserverMode(true);
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xFC\xC0\xFC \xB8\xF0\xB5\xE5\xB7\xCE \xB1\xE6\xB5\xE5\xC0\xFC\xBF\xA1 \xC2\xFC\xB0\xA1\xC7\xCF\xBC\xCC\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xDA\xBD\xC5\xC0\xBB \xBC\xB1\xC5\xC3\xC7\xCF\xBD\xC3\xB8\xE9 \xB9\xDB\xC0\xB8\xB7\xCE \xB3\xAA\xB0\xA5 \xBC\xF6 \xC0\xD6\xB4\xC2 <\xB0\xFC\xB6\xF7 \xC1\xBE\xB7\xE1> \xB9\xF6\xC6\xB0\xC0\xCC \xB3\xAA\xBF\xC9\xB4\xCF\xB4\xD9."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can participate in the guild battle in viewer mode."));
|
||||
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("While choosing a character, an icon appears."));
|
||||
}
|
||||
|
||||
UpdateUserCount();
|
||||
|
@ -480,8 +480,8 @@ void CWarMap::CheckWarEnd()
|
|||
if (m_pkTimeoutEvent)
|
||||
return;
|
||||
|
||||
Notice(LC_TEXT("\xB1\xE6\xB5\xE5\xC0\xFC\xBF\xA1 \xC2\xFC\xB0\xA1\xC7\xD1 \xBB\xF3\xB4\xEB\xB9\xE6 \xB1\xE6\xB5\xE5\xBF\xF8\xC0\xCC \xBE\xC6\xB9\xAB\xB5\xB5 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."));
|
||||
Notice(LC_TEXT("1\xBA\xD0 \xC0\xCC\xB3\xBB\xBF\xA1 \xBE\xC6\xB9\xAB\xB5\xB5 \xC1\xA2\xBC\xD3\xC7\xCF\xC1\xF6 \xBE\xCA\xC0\xB8\xB8\xE9 \xB1\xE6\xB5\xE5\xC0\xFC\xC0\xCC \xC0\xDA\xB5\xBF \xC1\xBE\xB7\xE1\xB5\xCB\xB4\xCF\xB4\xD9."));
|
||||
Notice(LC_TEXT("There are no opponents."));
|
||||
Notice(LC_TEXT("If no enemy can be found, the guild war will be ended automatically."));
|
||||
|
||||
SPDLOG_DEBUG("CheckWarEnd: Timeout begin {} vs {}", m_TeamData[0].dwID, m_TeamData[1].dwID);
|
||||
|
||||
|
@ -523,7 +523,7 @@ void CWarMap::Timeout()
|
|||
|
||||
if (get_dword_time() - m_dwStartTime < 60000 * 5)
|
||||
{
|
||||
Notice(LC_TEXT("\xB1\xE6\xB5\xE5\xC0\xFC\xC0\xCC \xC0\xCF\xC2\xEF \xC1\xBE\xB7\xE1\xB5\xC7\xBE\xEE \xB9\xAB\xBD\xC2\xBA\xCE\xB7\xCE \xC6\xC7\xC1\xA4 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9. (5\xBA\xD0\xC0\xCC \xC1\xF6\xB3\xAA\xC1\xF6 \xBE\xCA\xC0\xBD)"));
|
||||
Notice(LC_TEXT("Because the guild war finished early, the result will judged as a draw."));
|
||||
dwWinner = 0;
|
||||
dwLoser = 0;
|
||||
}
|
||||
|
|
|
@ -78,8 +78,8 @@ namespace marriage
|
|||
|
||||
m_pEndEvent = event_create(wedding_end_event, info, PASSES_PER_SEC(5));
|
||||
|
||||
Notice(LC_TEXT("\xB0\xE1\xC8\xA5\xBD\xC4\xC0\xCC \xC1\xBE\xB7\xE1\xB5\xCB\xB4\xCF\xB4\xD9."));
|
||||
Notice(LC_TEXT("\xC0\xDA\xB5\xBF\xC0\xB8\xB7\xCE \xB3\xAA\xB0\xA1\xB0\xD4\xB5\xCB\xB4\xCF\xB4\xD9."));
|
||||
Notice(LC_TEXT("The wedding is finishing soon."));
|
||||
Notice(LC_TEXT("Will be left automatically."));
|
||||
|
||||
for (itertype(m_set_pkChr) it = m_set_pkChr.begin(); it != m_set_pkChr.end(); ++it)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue