From 9b7536ee9a9441fc894fa702bb09c6a9e260cf8a Mon Sep 17 00:00:00 2001 From: Tr0n Date: Sat, 6 Apr 2024 10:31:54 +0200 Subject: [PATCH] Initial pass of converting string literals to english --- src/game/src/DragonSoul.cpp | 54 ++-- src/game/src/OXEvent.cpp | 22 +- src/game/src/arena.cpp | 102 +++--- src/game/src/battle.cpp | 4 +- src/game/src/castle.cpp | 16 +- src/game/src/char_affect.cpp | 4 +- src/game/src/char_battle.cpp | 16 +- src/game/src/char_horse.cpp | 14 +- src/game/src/char_item.cpp | 498 ++++++++++++++--------------- src/game/src/char_skill.cpp | 92 +++--- src/game/src/char_state.cpp | 4 +- src/game/src/cmd.cpp | 14 +- src/game/src/cmd_emotion.cpp | 22 +- src/game/src/cmd_general.cpp | 326 +++++++++---------- src/game/src/cmd_gm.cpp | 72 ++--- src/game/src/cmd_oxevent.cpp | 6 +- src/game/src/config.cpp | 2 +- src/game/src/constants.cpp | 16 +- src/game/src/cube.cpp | 10 +- src/game/src/db.cpp | 2 +- src/game/src/desc.cpp | 2 +- src/game/src/exchange.cpp | 30 +- src/game/src/fishing.cpp | 26 +- src/game/src/guild.cpp | 48 +-- src/game/src/guild_manager.cpp | 26 +- src/game/src/guild_war.cpp | 12 +- src/game/src/input_db.cpp | 12 +- src/game/src/input_login.cpp | 10 +- src/game/src/input_main.cpp | 168 +++++----- src/game/src/item.cpp | 2 +- src/game/src/main.cpp | 6 +- src/game/src/messenger_manager.cpp | 4 +- src/game/src/mining.cpp | 20 +- src/game/src/monarch.cpp | 8 +- src/game/src/party.cpp | 12 +- src/game/src/polymorph.cpp | 6 +- src/game/src/priv_manager.cpp | 8 +- src/game/src/pvp.cpp | 8 +- src/game/src/questlua_global.cpp | 2 +- src/game/src/questlua_monarch.cpp | 86 ++--- src/game/src/questlua_pc.cpp | 6 +- src/game/src/questmanager.cpp | 14 +- src/game/src/questnpc.cpp | 2 +- src/game/src/questpc.cpp | 2 +- src/game/src/shop.cpp | 2 +- src/game/src/shop_manager.cpp | 10 +- src/game/src/start_position.cpp | 12 +- src/game/src/threeway_war.cpp | 12 +- src/game/src/war_map.cpp | 10 +- src/game/src/wedding.cpp | 4 +- 50 files changed, 933 insertions(+), 933 deletions(-) diff --git a/src/game/src/DragonSoul.cpp b/src/game/src/DragonSoul.cpp index 104fd43..6d3a249 100644 --- a/src/game/src/DragonSoul.cpp +++ b/src/game/src/DragonSoul.cpp @@ -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 (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) diff --git a/src/game/src/OXEvent.cpp b/src/game/src/OXEvent.cpp index 7a45639..4153eac 100644 --- a/src/game/src/OXEvent.cpp +++ b/src/game/src/OXEvent.cpp @@ -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(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), diff --git a/src/game/src/arena.cpp b/src/game/src/arena.cpp index ce3e994..60f7e9a 100644 --- a/src/game/src/arena.cpp +++ b/src/game/src/arena.cpp @@ -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(); diff --git a/src/game/src/battle.cpp b/src/game/src/battle.cpp index b689003..5430d96 100644 --- a/src/game/src/battle.cpp +++ b/src/game/src/battle.cpp @@ -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); diff --git a/src/game/src/castle.cpp b/src/game/src/castle.cpp index bd673e2..73fcfba 100644 --- a/src/game/src/castle.cpp +++ b/src/game/src/castle.cpp @@ -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(); diff --git a/src/game/src/char_affect.cpp b/src/game/src/char_affect.cpp index a82c41c..ec775cc 100644 --- a/src/game/src/char_affect.cpp +++ b/src/game/src/char_affect.cpp @@ -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 diff --git a/src/game/src/char_battle.cpp b/src/game/src/char_battle.cpp index 994d7ad..b1339e8 100644 --- a/src/game/src/char_battle.cpp +++ b/src/game/src/char_battle.cpp @@ -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; } } diff --git a/src/game/src/char_horse.cpp b/src/game/src/char_horse.cpp index e652621..bf39b18 100644 --- a/src/game/src/char_horse.cpp +++ b/src/game/src/char_horse.cpp @@ -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())) diff --git a/src/game/src/char_item.cpp b/src/game/src/char_item.cpp index c86f0bf..2fbf426 100644 --- a/src/game/src/char_item.cpp +++ b/src/game/src/char_item.cpp @@ -834,7 +834,7 @@ bool CHARACTER::DoRefine(LPITEM item, bool bMoneyOnly) { if (!item->CheckItemUseLevel(20) || item->GetType() != ITEM_WEAPON) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB9\xAB\xB7\xE1 \xB0\xB3\xB7\xAE \xB1\xE2\xC8\xB8\xB4\xC2 20 \xC0\xCC\xC7\xCF\xC0\xC7 \xB9\xAB\xB1\xE2\xB8\xB8 \xB0\xA1\xB4\xC9\xC7\xD5\xB4\xCF\xB4\xD9")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The free weapon improvements can only be used on weapons up to level 20.")); return false; } @@ -845,7 +845,7 @@ bool CHARACTER::DoRefine(LPITEM item, bool bMoneyOnly) if (result_vnum == 0) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xF5 \xC0\xCC\xBB\xF3 \xB0\xB3\xB7\xAE\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("No further improvements possible.")); return false; } @@ -857,7 +857,7 @@ bool CHARACTER::DoRefine(LPITEM item, bool bMoneyOnly) if (!pProto) { SPDLOG_ERROR("DoRefine NOT GET ITEM PROTO {}", item->GetRefinedVnum()); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBA \xB0\xB3\xB7\xAE\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item cannot be improved.")); return false; } @@ -873,7 +873,7 @@ bool CHARACTER::DoRefine(LPITEM item, bool bMoneyOnly) case LIMIT_LEVEL: if (GetLevel() < limit) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xB3\xB7\xAE\xB5\xC8 \xC8\xC4 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xC7 \xB7\xB9\xBA\xA7 \xC1\xA6\xC7\xD1\xBA\xB8\xB4\xD9 \xB7\xB9\xBA\xA7\xC0\xCC \xB3\xB7\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your level is too low to use this item.")); return false; } break; @@ -884,7 +884,7 @@ bool CHARACTER::DoRefine(LPITEM item, bool bMoneyOnly) // REFINE_COST if (GetGold() < cost) { - 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.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You do not have enough Yang to use this item.")); return false; } @@ -898,7 +898,7 @@ bool CHARACTER::DoRefine(LPITEM item, bool bMoneyOnly) { ChatPacket(CHAT_TYPE_INFO, "Find %d, count %d, require %d", prt->materials[i].vnum, CountSpecifyItem(prt->materials[i].vnum), prt->materials[i].count); } - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xB3\xB7\xAE\xC0\xBB \xC7\xCF\xB1\xE2 \xC0\xA7\xC7\xD1 \xC0\xE7\xB7\xE1\xB0\xA1 \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Not the right material for an upgrade.")); return false; } } @@ -1025,7 +1025,7 @@ bool CHARACTER::DoRefineWithScroll(LPITEM item) if (result_vnum == 0) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xF5 \xC0\xCC\xBB\xF3 \xB0\xB3\xB7\xAE\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("No further improvements possible.")); return false; } @@ -1034,7 +1034,7 @@ bool CHARACTER::DoRefineWithScroll(LPITEM item) { if (item->GetRefineLevel() >= 4) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xB0\xB3\xB7\xAE\xBC\xAD\xB7\xCE \xB4\xF5 \xC0\xCC\xBB\xF3 \xB0\xB3\xB7\xAE\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot upgrade items with this Scroll.")); return false; } } @@ -1044,7 +1044,7 @@ bool CHARACTER::DoRefineWithScroll(LPITEM item) { if (item->GetRefineLevel() != pkItemScroll->GetValue(1)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xB0\xB3\xB7\xAE\xBC\xAD\xB7\xCE \xB0\xB3\xB7\xAE\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item cannot be absorbed.")); return false; } } @@ -1062,7 +1062,7 @@ bool CHARACTER::DoRefineWithScroll(LPITEM item) if (!pProto) { SPDLOG_ERROR("DoRefineWithScroll NOT GET ITEM PROTO {}", item->GetRefinedVnum()); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBA \xB0\xB3\xB7\xAE\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item cannot be improved.")); return false; } @@ -1078,7 +1078,7 @@ bool CHARACTER::DoRefineWithScroll(LPITEM item) case LIMIT_LEVEL: if (GetLevel() < limit) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xB3\xB7\xAE\xB5\xC8 \xC8\xC4 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xC7 \xB7\xB9\xBA\xA7 \xC1\xA6\xC7\xD1\xBA\xB8\xB4\xD9 \xB7\xB9\xBA\xA7\xC0\xCC \xB3\xB7\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your level is too low to use this item.")); return false; } break; @@ -1088,7 +1088,7 @@ bool CHARACTER::DoRefineWithScroll(LPITEM item) if (GetGold() < prt->cost) { - 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.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You do not have enough Yang to use this item.")); return false; } @@ -1100,7 +1100,7 @@ bool CHARACTER::DoRefineWithScroll(LPITEM item) { ChatPacket(CHAT_TYPE_INFO, "Find %d, count %d, require %d", prt->materials[i].vnum, CountSpecifyItem(prt->materials[i].vnum), prt->materials[i].count); } - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xB3\xB7\xAE\xC0\xBB \xC7\xCF\xB1\xE2 \xC0\xA7\xC7\xD1 \xC0\xE7\xB7\xE1\xB0\xA1 \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Not the right material for an upgrade.")); return false; } } @@ -1270,7 +1270,7 @@ bool CHARACTER::RefineInformation(BYTE bCell, BYTE bType, int iAdditionalCell) // REFINE_COST if (bType == REFINE_TYPE_MONEY_ONLY && !GetQuestFlag("deviltower_zone.can_refine")) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\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.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can only be rewarded once for the Demon Tower Quest.")); return false; } // END_OF_REFINE_COST @@ -1286,7 +1286,7 @@ bool CHARACTER::RefineInformation(BYTE bCell, BYTE bType, int iAdditionalCell) if (p.result_vnum == 0) { SPDLOG_ERROR("RefineInformation p.result_vnum == 0"); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBA \xB0\xB3\xB7\xAE\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item cannot be improved.")); return false; } @@ -1294,7 +1294,7 @@ bool CHARACTER::RefineInformation(BYTE bCell, BYTE bType, int iAdditionalCell) { if (bType == 0) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBA \xC0\xCC \xB9\xE6\xBD\xC4\xC0\xB8\xB7\xCE\xB4\xC2 \xB0\xB3\xB7\xAE\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item cannot be advanced this way.")); return false; } else @@ -1302,8 +1302,8 @@ bool CHARACTER::RefineInformation(BYTE bCell, BYTE bType, int iAdditionalCell) LPITEM itemScroll = GetInventoryItem(iAdditionalCell); if (!itemScroll || item->GetVnum() == itemScroll->GetVnum()) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xB0\xC0\xBA \xB0\xB3\xB7\xAE\xBC\xAD\xB8\xA6 \xC7\xD5\xC4\xA5 \xBC\xF6\xB4\xC2 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xE0\xBA\xB9\xC0\xC7 \xBC\xAD\xBF\xCD \xC7\xF6\xC3\xB6\xC0\xBB \xC7\xD5\xC4\xA5 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("[1106-??]No puedes unir esto.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can combine the Blessing Scroll with the Magic Iron Ore.")); return false; } } @@ -1316,7 +1316,7 @@ bool CHARACTER::RefineInformation(BYTE bCell, BYTE bType, int iAdditionalCell) if (!prt) { SPDLOG_ERROR("RefineInformation NOT GET REFINE SET {}", item->GetRefineSet()); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBA \xB0\xB3\xB7\xAE\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item cannot be improved.")); return false; } @@ -1328,7 +1328,7 @@ bool CHARACTER::RefineInformation(BYTE bCell, BYTE bType, int iAdditionalCell) // 일본은 제외 if (!item->CheckItemUseLevel(20) || item->GetType() != ITEM_WEAPON) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB9\xAB\xB7\xE1 \xB0\xB3\xB7\xAE \xB1\xE2\xC8\xB8\xB4\xC2 20 \xC0\xCC\xC7\xCF\xC0\xC7 \xB9\xAB\xB1\xE2\xB8\xB8 \xB0\xA1\xB4\xC9\xC7\xD5\xB4\xCF\xB4\xD9")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The free weapon improvements can only be used on weapons up to level 20.")); return false; } p.cost = 0; @@ -1417,7 +1417,7 @@ bool CHARACTER::RefineItem(LPITEM pkItem, LPITEM pkTarget) } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xA9\xB3\xBE \xBC\xF6 \xC0\xD6\xB4\xC2 \xB8\xDE\xC6\xBE\xBC\xAE\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There is no Stone available to take out.")); return false; } } @@ -1469,7 +1469,7 @@ bool CHARACTER::GiveRecallItem(LPITEM item) if (iEmpireByMapIndex && GetEmpire() != iEmpireByMapIndex) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xE2\xBE\xEF\xC7\xD8 \xB5\xD1 \xBC\xF6 \xBE\xF8\xB4\xC2 \xC0\xA7\xC4\xA1 \xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot store this location.")); return false; } @@ -1495,7 +1495,7 @@ bool CHARACTER::GiveRecallItem(LPITEM item) } else { - 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.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There isn't enough space in your inventory.")); return false; } @@ -1533,7 +1533,7 @@ void CHARACTER::ProcessRecallItem(LPITEM item) case 304: if( GetLevel() < 90 ) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB\xC0\xC7 \xB7\xB9\xBA\xA7 \xC1\xA6\xC7\xD1\xBA\xB8\xB4\xD9 \xB7\xB9\xBA\xA7\xC0\xCC \xB3\xB7\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your level is too low to use this item.")); return; } else @@ -1542,7 +1542,7 @@ void CHARACTER::ProcessRecallItem(LPITEM item) if (iEmpireByMapIndex && GetEmpire() != iEmpireByMapIndex) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xE2\xBE\xEF\xB5\xC8 \xC0\xA7\xC4\xA1\xB0\xA1 \xC5\xB8\xC1\xA6\xB1\xB9\xBF\xA1 \xBC\xD3\xC7\xD8 \xC0\xD6\xBE\xEE\xBC\xAD \xB1\xCD\xC8\xAF\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot teleport to a safe position in a foreign Kingdom.")); item->SetSocket(0, 0); item->SetSocket(1, 0); } @@ -1565,7 +1565,7 @@ void CHARACTER::__OpenPrivateShop() ChatPacket(CHAT_TYPE_COMMAND, "OpenPrivateShop"); break; default: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xA9\xBF\xCA\xC0\xBB \xB9\xFE\xBE\xEE\xBE\xDF \xB0\xB3\xC0\xCE \xBB\xF3\xC1\xA1\xC0\xBB \xBF\xAD \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can only open the shop if you take off your armour.")); break; } } @@ -1627,7 +1627,7 @@ int CalculateConsume(LPCHARACTER ch) const int needLife = ch->GetMaxHP() * needPercent / 100; if (curLife < needLife) { - ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xB2\xC0\xBA \xBB\xFD\xB8\xED\xB7\xC2 \xBE\xE7\xC0\xCC \xB8\xF0\xC0\xDA\xB6\xF3 \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You don't have enough HP.")); return -1; } @@ -1656,7 +1656,7 @@ int CalculateConsumeSP(LPCHARACTER lpChar) if (curSP < needSP) { - lpChar->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xB2\xC0\xBA \xC1\xA4\xBD\xC5\xB7\xC2 \xBE\xE7\xC0\xCC \xB8\xF0\xC0\xDA\xB6\xF3 \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + lpChar->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You don't have enough Spell Points (SP) to use this.")); return -1; } @@ -1679,7 +1679,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) case LIMIT_LEVEL: if (GetLevel() < limitValue) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB\xC0\xC7 \xB7\xB9\xBA\xA7 \xC1\xA6\xC7\xD1\xBA\xB8\xB4\xD9 \xB7\xB9\xBA\xA7\xC0\xCC \xB3\xB7\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your level is too low to use this item.")); return false; } break; @@ -1698,7 +1698,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if ( CArenaManager::instance().IsLimitedItem( GetMapIndex(), item->GetVnum() ) == true ) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xC1\xDF\xBF\xA1\xB4\xC2 \xC0\xCC\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xB9\xB0\xC7\xB0\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this item in a duel.")); return false; } @@ -1735,7 +1735,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (item->GetVnum() == 50051 || item->GetVnum() == 50052 || item->GetVnum() == 50053) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xC1\xDF\xBF\xA1\xB4\xC2 \xC0\xCC\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xB9\xB0\xC7\xB0\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this item in a duel.")); return false; } } @@ -1762,13 +1762,13 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (!tree) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xF0\xB4\xDA\xBA\xD2\xC0\xBB \xC7\xC7\xBF\xEF \xBC\xF6 \xBE\xF8\xB4\xC2 \xC1\xF6\xC1\xA1\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot build a campfire here.")); return false; } if (tree->IsAttr((int)(GetX()+fx), (int)(GetY()+fy), ATTR_WATER)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB9\xB0 \xBC\xD3\xBF\xA1 \xB8\xF0\xB4\xDA\xBA\xD2\xC0\xBB \xC7\xC7\xBF\xEF \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot build a campfire under water.")); return false; } @@ -1921,7 +1921,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (CArenaManager::instance().IsArenaMap(GetMapIndex()) == true) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xC1\xDF\xBF\xA1\xB4\xC2 \xC0\xCC\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xB9\xB0\xC7\xB0\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this item in a duel.")); return false; } @@ -1933,7 +1933,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) case ITEM_TREASURE_BOX: { return false; - //ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xBF\xAD\xBC\xE8\xB7\xCE \xC0\xE1\xB0\xDC \xC0\xD6\xBE\xEE\xBC\xAD \xBF\xAD\xB8\xAE\xC1\xF6 \xBE\xCA\xB4\xC2\xB0\xCD \xB0\xB0\xB4\xD9. \xBF\xAD\xBC\xE8\xB8\xA6 \xB1\xB8\xC7\xD8\xBA\xB8\xC0\xDA.")); + //ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("Closed. You should look for the key.")); } break; @@ -1949,13 +1949,13 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (item2->GetType() != ITEM_TREASURE_BOX) { - ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xBF\xAD\xBC\xE8\xB7\xCE \xBF\xA9\xB4\xC2 \xB9\xB0\xB0\xC7\xC0\xCC \xBE\xC6\xB4\xD1\xB0\xCD \xB0\xB0\xB4\xD9.")); + ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("This item cannot be opened with a key.")); return false; } if (item->GetValue(0) == item2->GetValue(0)) { - //ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xBF\xAD\xBC\xE8\xB4\xC2 \xB8\xC2\xC0\xB8\xB3\xAA \xBE\xC6\xC0\xCC\xC5\xDB \xC1\xD6\xB4\xC2 \xBA\xCE\xBA\xD0 \xB1\xB8\xC7\xF6\xC0\xCC \xBE\xC8\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9.")); + //ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("That's the right key.")); DWORD dwBoxVnum = item2->GetVnum(); std::vector dwVnums; std::vector dwCounts; @@ -1971,34 +1971,34 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) switch (dwVnums[i]) { case CSpecialItemGroup::GOLD: - 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]); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have received %d Yang."), dwCounts[i]); break; case CSpecialItemGroup::EXP: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\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.")); - 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]); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("A mysterious light comes out of the box.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have received %d experience points."), dwCounts[i]); break; case CSpecialItemGroup::MOB: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD \xB8\xF3\xBD\xBA\xC5\xCD\xB0\xA1 \xB3\xAA\xC5\xB8\xB3\xB5\xBD\xC0\xB4\xCF\xB4\xD9!")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Look what came out of the box!")); break; case CSpecialItemGroup::SLOW: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD \xB3\xAA\xBF\xC2 \xBB\xA1\xB0\xA3 \xBF\xAC\xB1\xE2\xB8\xA6 \xB5\xE9\xC0\xCC\xB8\xB6\xBD\xC3\xC0\xDA \xBF\xF2\xC1\xF7\xC0\xCC\xB4\xC2 \xBC\xD3\xB5\xB5\xB0\xA1 \xB4\xC0\xB7\xC1\xC1\xB3\xBD\xC0\xB4\xCF\xB4\xD9!")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("If you inhale the red smoke coming out of the box, your speed will increase!")); break; case CSpecialItemGroup::DRAIN_HP: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xB0\xA1 \xB0\xA9\xC0\xDA\xB1\xE2 \xC6\xF8\xB9\xDF\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9! \xBB\xFD\xB8\xED\xB7\xC2\xC0\xCC \xB0\xA8\xBC\xD2\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The box suddenly exploded! You have lost Hit Points (HP).")); break; case CSpecialItemGroup::POISON: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD \xB3\xAA\xBF\xC2 \xB3\xEC\xBB\xF6 \xBF\xAC\xB1\xE2\xB8\xA6 \xB5\xE9\xC0\xCC\xB8\xB6\xBD\xC3\xC0\xDA \xB5\xB6\xC0\xCC \xBF\xC2\xB8\xF6\xC0\xB8\xB7\xCE \xC6\xDB\xC1\xFD\xB4\xCF\xB4\xD9!")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("If you inhale the green smoke that is coming out of the box, the poison will spread through your body!")); break; case CSpecialItemGroup::MOB_GROUP: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD \xB8\xF3\xBD\xBA\xC5\xCD\xB0\xA1 \xB3\xAA\xC5\xB8\xB3\xB5\xBD\xC0\xB4\xCF\xB4\xD9!")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Look what came out of the box!")); break; default: if (item_gets[i]) { if (dwCounts[i] > 1) - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD %s \xB0\xA1 %d \xB0\xB3 \xB3\xAA\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9."), item_gets[i]->GetName(), dwCounts[i]); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Receive: %s - %d"), item_gets[i]->GetName(), dwCounts[i]); else - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD %s \xB0\xA1 \xB3\xAA\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9."), item_gets[i]->GetName()); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The box contains %s."), item_gets[i]->GetName()); } } @@ -2006,13 +2006,13 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) } else { - ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xBF\xAD\xBC\xE8\xB0\xA1 \xB8\xC2\xC1\xF6 \xBE\xCA\xB4\xC2 \xB0\xCD \xB0\xB0\xB4\xD9.")); + ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("This key does not seem to fit the lock.")); return false; } } else { - ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xBF\xAD\xBC\xE8\xB0\xA1 \xB8\xC2\xC1\xF6 \xBE\xCA\xB4\xC2 \xB0\xCD \xB0\xB0\xB4\xD9.")); + ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("This key does not seem to fit the lock.")); return false; } } @@ -2039,7 +2039,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if( !(this->DragonSoul_IsQualified()) ) { - ChatPacket(CHAT_TYPE_INFO,LC_TEXT("\xB8\xD5\xC0\xFA \xBF\xEB\xC8\xA5\xBC\xAE \xC4\xF9\xBD\xBA\xC6\xAE\xB8\xA6 \xBF\xCF\xB7\xE1\xC7\xCF\xBC\xC5\xBE\xDF \xC7\xD5\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO,LC_TEXT("Before you open the Cor Draconis, you have to complete the Dragon Stone quest and activate the Dragon Stone Alchemy.")); return false; } } @@ -2052,41 +2052,41 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) switch (dwVnums[i]) { case CSpecialItemGroup::GOLD: - 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]); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have received %d Yang."), dwCounts[i]); break; case CSpecialItemGroup::EXP: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\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.")); - 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]); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("A mysterious light comes out of the box.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have received %d experience points."), dwCounts[i]); break; case CSpecialItemGroup::MOB: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD \xB8\xF3\xBD\xBA\xC5\xCD\xB0\xA1 \xB3\xAA\xC5\xB8\xB3\xB5\xBD\xC0\xB4\xCF\xB4\xD9!")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Look what came out of the box!")); break; case CSpecialItemGroup::SLOW: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD \xB3\xAA\xBF\xC2 \xBB\xA1\xB0\xA3 \xBF\xAC\xB1\xE2\xB8\xA6 \xB5\xE9\xC0\xCC\xB8\xB6\xBD\xC3\xC0\xDA \xBF\xF2\xC1\xF7\xC0\xCC\xB4\xC2 \xBC\xD3\xB5\xB5\xB0\xA1 \xB4\xC0\xB7\xC1\xC1\xB3\xBD\xC0\xB4\xCF\xB4\xD9!")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("If you inhale the red smoke coming out of the box, your speed will increase!")); break; case CSpecialItemGroup::DRAIN_HP: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xB0\xA1 \xB0\xA9\xC0\xDA\xB1\xE2 \xC6\xF8\xB9\xDF\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9! \xBB\xFD\xB8\xED\xB7\xC2\xC0\xCC \xB0\xA8\xBC\xD2\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The box suddenly exploded! You have lost Hit Points (HP).")); break; case CSpecialItemGroup::POISON: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD \xB3\xAA\xBF\xC2 \xB3\xEC\xBB\xF6 \xBF\xAC\xB1\xE2\xB8\xA6 \xB5\xE9\xC0\xCC\xB8\xB6\xBD\xC3\xC0\xDA \xB5\xB6\xC0\xCC \xBF\xC2\xB8\xF6\xC0\xB8\xB7\xCE \xC6\xDB\xC1\xFD\xB4\xCF\xB4\xD9!")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("If you inhale the green smoke that is coming out of the box, the poison will spread through your body!")); break; case CSpecialItemGroup::MOB_GROUP: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD \xB8\xF3\xBD\xBA\xC5\xCD\xB0\xA1 \xB3\xAA\xC5\xB8\xB3\xB5\xBD\xC0\xB4\xCF\xB4\xD9!")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Look what came out of the box!")); break; default: if (item_gets[i]) { if (dwCounts[i] > 1) - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD %s \xB0\xA1 %d \xB0\xB3 \xB3\xAA\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9."), item_gets[i]->GetName(), dwCounts[i]); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Receive: %s - %d"), item_gets[i]->GetName(), dwCounts[i]); else - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD %s \xB0\xA1 \xB3\xAA\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9."), item_gets[i]->GetName()); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The box contains %s."), item_gets[i]->GetName()); } } } } else { - ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xBE\xC6\xB9\xAB\xB0\xCD\xB5\xB5 \xBE\xF2\xC0\xBB \xBC\xF6 \xBE\xF8\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("You have not received anything.")); return false; } } @@ -2105,10 +2105,10 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (SkillLevelDown(dwVnum)) { ITEM_MANAGER::instance().RemoveItem(item); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBD\xBA\xC5\xB3 \xB7\xB9\xBA\xA7\xC0\xBB \xB3\xBB\xB8\xAE\xB4\xC2\xB5\xA5 \xBC\xBA\xB0\xF8\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have lowered your Skill Level.")); } else - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBD\xBA\xC5\xB3 \xB7\xB9\xBA\xA7\xC0\xBB \xB3\xBB\xB8\xB1 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot lower your Skill Level.")); } break; @@ -2173,7 +2173,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) case USE_ABILITY_UP: if (FindAffect(affect_type, apply_type)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xC8\xBF\xB0\xFA\xB0\xA1 \xB0\xC9\xB7\xC1 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This effect is already activated.")); return false; } @@ -2214,7 +2214,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (FindAffect(AFFECT_EXP_BONUS_EURO_FREE, aApplyInfo[item->GetValue(1)].bPointType)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xC8\xBF\xB0\xFA\xB0\xA1 \xB0\xC9\xB7\xC1 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This effect is already activated.")); } else { @@ -2230,7 +2230,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (quest::CQuestManager::instance().GetEventFlag("arena_potion_limit") > 0) { - 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.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this in the duel arena.")); return false; } @@ -2244,14 +2244,14 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (m_nPotionLimit <= 0) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xE7\xBF\xEB \xC1\xA6\xC7\xD1\xB7\xAE\xC0\xBB \xC3\xCA\xB0\xFA\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("That is over the limit.")); return false; } } break; default : - 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.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this in the duel arena.")); return false; break; } @@ -2304,7 +2304,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (item->GetVnum() == 50085 || item->GetVnum() == 50086) { if (test_server) - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xF9\xBA\xB4 \xB6\xC7\xB4\xC2 \xC1\xBE\xC0\xDA \xB8\xA6 \xBB\xE7\xBF\xEB\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Used Moon Cake or Seed.")); SetUseSeedOrMoonBottleTime(); } if (GetDungeon()) @@ -2331,7 +2331,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (CArenaManager::instance().IsArenaMap(GetMapIndex()) == true) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xC1\xDF\xBF\xA1\xB4\xC2 \xC0\xCC\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xB9\xB0\xC7\xB0\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this item in a duel.")); return false; } } @@ -2445,7 +2445,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) */ if (FindAffect(AFFECT_NOG_ABILITY)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xC8\xBF\xB0\xFA\xB0\xA1 \xB0\xC9\xB7\xC1 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This effect is already activated.")); return false; } int time = item->GetValue(0); @@ -2489,7 +2489,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (CArenaManager::instance().IsArenaMap(pMarriage->ch1->GetMapIndex()) == true) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xC1\xDF\xBF\xA1\xB4\xC2 \xC0\xCC\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xB9\xB0\xC7\xB0\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this item in a duel.")); break; } } @@ -2498,7 +2498,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (CArenaManager::instance().IsArenaMap(pMarriage->ch2->GetMapIndex()) == true) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xC1\xDF\xBF\xA1\xB4\xC2 \xC0\xCC\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xB9\xB0\xC7\xB0\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this item in a duel.")); break; } } @@ -2513,7 +2513,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) WarpToPID(pMarriage->GetOther(GetPlayerID())); } else - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xE1\xC8\xA5 \xBB\xF3\xC5\xC2\xB0\xA1 \xBE\xC6\xB4\xCF\xB8\xE9 \xB0\xE1\xC8\xA5\xB9\xDD\xC1\xF6\xB8\xA6 \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot wear a Wedding Ring if you are not married.")); } break; @@ -2662,7 +2662,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xB0\xF7\xBF\xA1\xBC\xB1 \xC0\xCC\xBA\xA5\xC6\xAE\xBF\xEB \xB0\xA8\xC1\xF6\xB1\xE2\xB0\xA1 \xB5\xBF\xC0\xDB\xC7\xCF\xC1\xF6 \xBE\xCA\xB4\xC2\xB0\xCD \xB0\xB0\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use the Event Detector from this position.")); return false; } } @@ -2673,7 +2673,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (distance < 1000.0f) { // 발견! - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xBA\xA5\xC6\xAE\xBF\xEB \xB0\xA8\xC1\xF6\xB1\xE2\xB0\xA1 \xBD\xC5\xBA\xF1\xB7\xCE\xBF\xEE \xBA\xFB\xC0\xBB \xB3\xBB\xB8\xE7 \xBB\xE7\xB6\xF3\xC1\xFD\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The Event Detector vanished in a mysterious light.")); // 사용횟수에 따라 주는 아이템을 다르게 한다. struct TEventStoneInfo @@ -2824,7 +2824,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) const int STONE_DETECT_MAX_TRY = 10; if (item->GetSocket(0) >= STONE_DETECT_MAX_TRY) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xBA\xA5\xC6\xAE\xBF\xEB \xB0\xA8\xC1\xF6\xB1\xE2\xB0\xA1 \xC8\xE7\xC0\xFB\xB5\xB5 \xBE\xF8\xC0\xCC \xBB\xE7\xB6\xF3\xC1\xFD\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The Event Detector has vanished.")); ITEM_MANAGER::instance().RemoveItem(item, "REMOVE (DETECT_EVENT_STONE) 0"); AutoGiveItem(27002); return true; @@ -2955,7 +2955,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (r <= 50) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xB6\xB0\xB3\xBF\xA1\xBC\xAD \xB5\xB9\xC1\xB6\xB0\xA2\xC0\xCC \xB3\xAA\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You find a simple Piece of Stone in the Clam.")); AutoGiveItem(27990); } else @@ -2974,21 +2974,21 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (r <= prob_table[0]) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xB6\xB0\xB3\xB0\xA1 \xC8\xE7\xC0\xFB\xB5\xB5 \xBE\xF8\xC0\xCC \xBB\xE7\xB6\xF3\xC1\xFD\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The Clam has vanished.")); } else if (r <= prob_table[1]) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xB6\xB0\xB3\xBF\xA1\xBC\xAD \xB9\xE9\xC1\xF8\xC1\xD6\xB0\xA1 \xB3\xAA\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There is a White Pearl inside the Clam.")); AutoGiveItem(27992); } else if (r <= prob_table[2]) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xB6\xB0\xB3\xBF\xA1\xBC\xAD \xC3\xBB\xC1\xF8\xC1\xD6\xB0\xA1 \xB3\xAA\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There is a Blue Pearl inside the Clam.")); AutoGiveItem(27993); } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xB6\xB0\xB3\xBF\xA1\xBC\xAD \xC7\xC7\xC1\xF8\xC1\xD6\xB0\xA1 \xB3\xAA\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There is a Blood-Red Pearl inside the Clam.")); AutoGiveItem(27994); } } @@ -3040,7 +3040,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (IsPolymorphed() == true) { - 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 false; } @@ -3048,13 +3048,13 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (lv < item->GetValue(0)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xC3\xA5\xC0\xBA \xB3\xCA\xB9\xAB \xBE\xEE\xB7\xC1\xBF\xF6 \xC0\xCC\xC7\xD8\xC7\xCF\xB1\xE2\xB0\xA1 \xC8\xFB\xB5\xEC\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("It isn't easy to understand this book.")); return false; } if (lv >= item->GetValue(1)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xC3\xA5\xC0\xBA \xBE\xC6\xB9\xAB\xB8\xAE \xBA\xC1\xB5\xB5 \xB5\xB5\xBF\xF2\xC0\xCC \xB5\xC9 \xB0\xCD \xB0\xB0\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This book will not help you.")); return false; } @@ -3082,19 +3082,19 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) } if (GetSkillLevel(SKILL_COMBO) == 0 && GetLevel() < 30) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB7\xB9\xBA\xA7 30\xC0\xCC \xB5\xC7\xB1\xE2 \xC0\xFC\xBF\xA1\xB4\xC2 \xBD\xC0\xB5\xE6\xC7\xD2 \xBC\xF6 \xC0\xD6\xC0\xBB \xB0\xCD \xB0\xB0\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You need to have a minimum level of 30 to understand this book.")); return false; } if (GetSkillLevel(SKILL_COMBO) == 1 && GetLevel() < 50) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB7\xB9\xBA\xA7 50\xC0\xCC \xB5\xC7\xB1\xE2 \xC0\xFC\xBF\xA1\xB4\xC2 \xBD\xC0\xB5\xE6\xC7\xD2 \xBC\xF6 \xC0\xD6\xC0\xBB \xB0\xCD \xB0\xB0\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You need a minimum level of 50 to understand this book.")); return false; } if (GetSkillLevel(SKILL_COMBO) >= 2) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xAC\xB0\xE8\xB1\xE2\xB4\xC2 \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 can't train any more Combos.")); return false; } @@ -3125,7 +3125,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) int iPct = std::clamp(item->GetValue(1), 0, 100); if (GetSkillLevel(dwSkillVnum)>=20 || dwSkillVnum-SKILL_LANGUAGE1+1 == GetEmpire()) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xBF\xCF\xBA\xAE\xC7\xCF\xB0\xD4 \xBE\xCB\xBE\xC6\xB5\xE9\xC0\xBB \xBC\xF6 \xC0\xD6\xB4\xC2 \xBE\xF0\xBE\xEE\xC0\xCC\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You already understand this language.")); return false; } @@ -3154,7 +3154,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (GetSkillLevel(dwSkillVnum) >= 10) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\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.")); return false; } @@ -3176,7 +3176,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (IsPolymorphed() == true) { - 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 false; } @@ -3209,25 +3209,25 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (GetLevel() < iLevelLimit) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xC3\xA5\xC0\xBB \xC0\xD0\xC0\xB8\xB7\xC1\xB8\xE9 \xB7\xB9\xBA\xA7\xC0\xBB \xB4\xF5 \xBF\xC3\xB7\xC1\xBE\xDF \xC7\xD5\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have to improve your Level to read this Book.")); return false; } if (GetSkillLevel(dwSkillVnum) >= 40) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\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.")); return false; } if (GetSkillLevel(dwSkillVnum) < iSkillLevelLowLimit) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xC3\xA5\xC0\xBA \xB3\xCA\xB9\xAB \xBE\xEE\xB7\xC1\xBF\xF6 \xC0\xCC\xC7\xD8\xC7\xCF\xB1\xE2\xB0\xA1 \xC8\xFB\xB5\xEC\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("It isn't easy to understand this book.")); return false; } if (GetSkillLevel(dwSkillVnum) >= iSkillLevelHighLimit) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xC3\xA5\xC0\xB8\xB7\xCE\xB4\xC2 \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 with this Book any more.")); return false; } @@ -3258,7 +3258,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (GetSkillLevel(dwSkillVnum)>=40) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\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.")); return false; } @@ -3300,7 +3300,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (GetSkillLevel(dwSkillVnum)>=40) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\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.")); return false; } @@ -3330,7 +3330,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (GetLevel() < 50) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC1\xF7 \xBD\xC2\xB8\xB6 \xBD\xBA\xC5\xB3\xC0\xBB \xBC\xF6\xB7\xC3\xC7\xD2 \xBC\xF6 \xC0\xD6\xB4\xC2 \xB7\xB9\xBA\xA7\xC0\xCC \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You need a minimum level of 50 to get riding training.")); return false; } @@ -3340,7 +3340,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { // 주안술서 사용중에는 시간 제한 무시 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 { @@ -3353,14 +3353,14 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) GetSkillLevel(SKILL_HORSE_WILDATTACK) + GetSkillLevel(SKILL_HORSE_CHARGE) + GetSkillLevel(SKILL_HORSE_ESCAPE) >= 60 || GetSkillLevel(SKILL_HORSE_WILDATTACK_RANGE) + GetSkillLevel(SKILL_HORSE_CHARGE) + GetSkillLevel(SKILL_HORSE_ESCAPE) >= 60) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xF5 \xC0\xCC\xBB\xF3 \xBD\xC2\xB8\xB6 \xBC\xF6\xB7\xC3\xBC\xAD\xB8\xA6 \xC0\xD0\xC0\xBB \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot read any more Riding Guides.")); return false; } if (Random::get(1, 100) <= iPct) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBD\xC2\xB8\xB6 \xBC\xF6\xB7\xC3\xBC\xAD\xB8\xA6 \xC0\xD0\xBE\xEE \xBD\xC2\xB8\xB6 \xBD\xBA\xC5\xB3 \xC6\xF7\xC0\xCE\xC6\xAE\xB8\xA6 \xBE\xF2\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9.")); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xF2\xC0\xBA \xC6\xF7\xC0\xCE\xC6\xAE\xB7\xCE\xB4\xC2 \xBD\xC2\xB8\xB6 \xBD\xBA\xC5\xB3\xC0\xC7 \xB7\xB9\xBA\xA7\xC0\xBB \xBF\xC3\xB8\xB1 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You read the Horse Riding Manual and received a Riding Point.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can use this point to improve your riding skill!")); PointChange(POINT_HORSE_SKILL, 1); int iReadDelay = Random::get(SKILLBOOK_DELAY_MIN, SKILLBOOK_DELAY_MAX); @@ -3371,7 +3371,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBD\xC2\xB8\xB6 \xBC\xF6\xB7\xC3\xBC\xAD \xC0\xCC\xC7\xD8\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You did not understand the riding guide.")); } ITEM_MANAGER::instance().RemoveItem(item); @@ -3393,8 +3393,8 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (delta / 10 > 0) { - ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xB8\xB6\xC0\xBD\xC0\xCC \xB8\xBC\xBE\xC6\xC1\xF6\xB4\xC2\xB1\xBA. \xB0\xA1\xBD\xBF\xC0\xBB \xC1\xFE\xB4\xA9\xB8\xA3\xB4\xF8 \xB9\xAB\xBE\xF0\xB0\xA1\xB0\xA1 \xC1\xBB \xB0\xA1\xBA\xAD\xBF\xF6\xC1\xF8 \xB4\xC0\xB3\xA6\xC0\xCC\xBE\xDF.")); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xB1\xBE\xC7\xC4\xA1\xB0\xA1 %d \xC1\xF5\xB0\xA1\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), delta/10); + ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("Your mind is clear. You can concentrate really well now.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your rank has increased by %d points."), delta/10); } } break; @@ -3437,8 +3437,8 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) item->SetCount(item->GetCount()-1); pPC->SetFlag("mythical_peach.last_use_time", get_global_time()); - ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xB8\xB6\xC0\xBD\xC0\xCC \xB8\xBC\xBE\xC6\xC1\xF6\xB4\xC2\xB1\xBA. \xB0\xA1\xBD\xBF\xC0\xBB \xC1\xFE\xB4\xA9\xB8\xA3\xB4\xF8 \xB9\xAB\xBE\xF0\xB0\xA1\xB0\xA1 \xC1\xBB \xB0\xA1\xBA\xAD\xBF\xF6\xC1\xF8 \xB4\xC0\xB3\xA6\xC0\xCC\xBE\xDF.")); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xB1\xBE\xC7\xC4\xA1\xB0\xA1 %d \xC1\xF5\xB0\xA1\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9."), val); + ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("Your mind is clear. You can concentrate really well now.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your rank has increased by %d points."), val); char buf[256 + 1]; snprintf(buf, sizeof(buf), "%d %d", old_alignment, GetAlignment() / 10); @@ -3527,7 +3527,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) // NEW_HAIR_STYLE_ADD if (GetPart(PART_HAIR) >= 1001) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC7\xF6\xC0\xE7 \xC7\xEC\xBE\xEE\xBD\xBA\xC5\xB8\xC0\xCF\xBF\xA1\xBC\xAD\xB4\xC2 \xBF\xB0\xBB\xF6\xB0\xFA \xC5\xBB\xBB\xF6\xC0\xCC \xBA\xD2\xB0\xA1\xB4\xC9\xC7\xD5\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot dye or bleach your current hairstyle.")); } // END_NEW_HAIR_STYLE_ADD else @@ -3555,7 +3555,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%d \xB7\xB9\xBA\xA7\xC0\xCC \xB5\xC7\xBE\xEE\xBE\xDF \xB4\xD9\xBD\xC3 \xBF\xB0\xBB\xF6\xC7\xCF\xBD\xC7 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."), last_dye_level+3); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You need to have reached level %d to be able to dye your hair again."), last_dye_level+3); } } } @@ -3575,7 +3575,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) for (int i = 0; i < count; i++) { if (dwVnums[i] == CSpecialItemGroup::GOLD) - 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]); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have received %d Yang."), dwCounts[i]); } item->SetCount(item->GetCount() - 1); @@ -3597,7 +3597,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) item->GetVnum() == ITEM_VALENTINE_CHOCOLATE && SEX_FEMALE==GET_SEX(this)) { // 성별이 맞지않아 쓸 수 없다. - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xBA\xBA\xB0\xC0\xCC \xB8\xC2\xC1\xF6\xBE\xCA\xBE\xC6 \xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBB \xBF\xAD \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item can only be opened by the another gender.")); return false; } @@ -3621,7 +3621,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) item->GetVnum() == ITEM_WHITEDAY_ROSE && SEX_FEMALE==GET_SEX(this)) { // 성별이 맞지않아 쓸 수 없다. - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xBA\xBA\xB0\xC0\xCC \xB8\xC2\xC1\xF6\xBE\xCA\xBE\xC6 \xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBB \xBF\xAD \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item can only be opened by the another gender.")); return false; } @@ -3653,41 +3653,41 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) switch (dwVnums[i]) { case CSpecialItemGroup::GOLD: - 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]); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have received %d Yang."), dwCounts[i]); break; case CSpecialItemGroup::EXP: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\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.")); - 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]); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("A mysterious light comes out of the box.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have received %d experience points."), dwCounts[i]); break; case CSpecialItemGroup::MOB: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD \xB8\xF3\xBD\xBA\xC5\xCD\xB0\xA1 \xB3\xAA\xC5\xB8\xB3\xB5\xBD\xC0\xB4\xCF\xB4\xD9!")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Look what came out of the box!")); break; case CSpecialItemGroup::SLOW: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD \xB3\xAA\xBF\xC2 \xBB\xA1\xB0\xA3 \xBF\xAC\xB1\xE2\xB8\xA6 \xB5\xE9\xC0\xCC\xB8\xB6\xBD\xC3\xC0\xDA \xBF\xF2\xC1\xF7\xC0\xCC\xB4\xC2 \xBC\xD3\xB5\xB5\xB0\xA1 \xB4\xC0\xB7\xC1\xC1\xB3\xBD\xC0\xB4\xCF\xB4\xD9!")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("If you inhale the red smoke coming out of the box, your speed will increase!")); break; case CSpecialItemGroup::DRAIN_HP: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xB0\xA1 \xB0\xA9\xC0\xDA\xB1\xE2 \xC6\xF8\xB9\xDF\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9! \xBB\xFD\xB8\xED\xB7\xC2\xC0\xCC \xB0\xA8\xBC\xD2\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The box suddenly exploded! You have lost Hit Points (HP).")); break; case CSpecialItemGroup::POISON: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD \xB3\xAA\xBF\xC2 \xB3\xEC\xBB\xF6 \xBF\xAC\xB1\xE2\xB8\xA6 \xB5\xE9\xC0\xCC\xB8\xB6\xBD\xC3\xC0\xDA \xB5\xB6\xC0\xCC \xBF\xC2\xB8\xF6\xC0\xB8\xB7\xCE \xC6\xDB\xC1\xFD\xB4\xCF\xB4\xD9!")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("If you inhale the green smoke that is coming out of the box, the poison will spread through your body!")); break; case CSpecialItemGroup::MOB_GROUP: - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD \xB8\xF3\xBD\xBA\xC5\xCD\xB0\xA1 \xB3\xAA\xC5\xB8\xB3\xB5\xBD\xC0\xB4\xCF\xB4\xD9!")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Look what came out of the box!")); break; default: if (item_gets[i]) { if (dwCounts[i] > 1) - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD %s \xB0\xA1 %d \xB0\xB3 \xB3\xAA\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9."), item_gets[i]->GetName(), dwCounts[i]); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Receive: %s - %d"), item_gets[i]->GetName(), dwCounts[i]); else - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xF3\xC0\xDA\xBF\xA1\xBC\xAD %s \xB0\xA1 \xB3\xAA\xBF\xD4\xBD\xC0\xB4\xCF\xB4\xD9."), item_gets[i]->GetName()); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The box contains %s."), item_gets[i]->GetName()); } break; } @@ -3695,7 +3695,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) } else { - ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("\xBE\xC6\xB9\xAB\xB0\xCD\xB5\xB5 \xBE\xF2\xC0\xBB \xBC\xF6 \xBE\xF8\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_TALKING, LC_TEXT("You have not received anything.")); return false; } } @@ -3722,7 +3722,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (CArenaManager::instance().IsArenaMap(GetMapIndex()) == true) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xC1\xDF\xBF\xA1\xB4\xC2 \xC0\xCC\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xB9\xB0\xC7\xB0\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this item in a duel.")); return false; } @@ -3752,7 +3752,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { int iGold = item->GetSocket(0); ITEM_MANAGER::instance().RemoveItem(item); - 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."), iGold); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have received %d Yang."), iGold); PointChange(POINT_GOLD, iGold); } break; @@ -3767,10 +3767,10 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (CMonarch::instance().HealMyEmpire(this, HealPrice)) { 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(GetEmpire())); + snprintf(szNotice, sizeof(szNotice), LC_TEXT("When the Blessing of the Emperor is used %s the HP and SP are restored again."), EMPIRE_NAME(GetEmpire())); SendNoticeMap(szNotice, GetMapIndex(), false); - 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.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The Emperor Blessing is activated.")); } } break; @@ -3817,13 +3817,13 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (item2->GetAttributeSetIndex() == -1) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD3\xBC\xBA\xC0\xBB \xBA\xAF\xB0\xE6\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot change the upgrade of this item.")); return false; } if (item2->AddRareAttribute() == true) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xBA\xB0\xF8\xC0\xFB\xC0\xB8\xB7\xCE \xBC\xD3\xBC\xBA\xC0\xCC \xC3\xDF\xB0\xA1 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("New bonus added successfully.")); int iAddedIdx = item2->GetRareAttrCount() + 4; char buf[21]; @@ -3843,7 +3843,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xF5 \xC0\xCC\xBB\xF3 \xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xB8\xB7\xCE \xBC\xD3\xBC\xBA\xC0\xBB \xC3\xDF\xB0\xA1\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot add more bonus.")); } } break; @@ -3864,7 +3864,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (item2->GetAttributeSetIndex() == -1) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD3\xBC\xBA\xC0\xBB \xBA\xAF\xB0\xE6\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot change the upgrade of this item.")); return false; } @@ -3878,7 +3878,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBA\xAF\xB0\xE6 \xBD\xC3\xC5\xB3 \xBC\xD3\xBC\xBA\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot change the bonuses.")); } } break; @@ -3902,7 +3902,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (CArenaManager::instance().IsArenaMap(GetMapIndex()) == true) { - 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.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this in the duel arena.")); return false; } @@ -3945,7 +3945,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (-1 == pos) { - 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.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There isn't enough space in your inventory.")); break; } @@ -4074,7 +4074,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (quest::CQuestManager::instance().GetEventFlag("arena_potion_limit") > 0) { - 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.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this in the duel arena.")); return false; } @@ -4088,14 +4088,14 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (m_nPotionLimit <= 0) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xE7\xBF\xEB \xC1\xA6\xC7\xD1\xB7\xAE\xC0\xBB \xC3\xCA\xB0\xFA\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("That is over the limit.")); return false; } } break; default : - 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.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this in the duel arena.")); return false; } } @@ -4147,7 +4147,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (item->GetVnum() == 50085 || item->GetVnum() == 50086) { if (test_server) - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xF9\xBA\xB4 \xB6\xC7\xB4\xC2 \xC1\xBE\xC0\xDA \xB8\xA6 \xBB\xE7\xBF\xEB\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Used Moon Cake or Seed.")); SetUseSeedOrMoonBottleTime(); } if (GetDungeon()) @@ -4170,7 +4170,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (quest::CQuestManager::instance().GetEventFlag("arena_potion_limit") > 0) { - 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.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this in the duel arena.")); return false; } @@ -4186,14 +4186,14 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (m_nPotionLimit <= 0) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xE7\xBF\xEB \xC1\xA6\xC7\xD1\xB7\xAE\xC0\xBB \xC3\xCA\xB0\xFA\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("That is over the limit.")); return false; } } break; default : - 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.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this in the duel arena.")); return false; } } @@ -4317,19 +4317,19 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) // gm_guild_build, oxevent 맵에서 귀환부 귀환기억부 를 사용못하게 막음 if (GetMapIndex() == 200 || GetMapIndex() == 113) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC7\xF6\xC0\xE7 \xC0\xA7\xC4\xA1\xBF\xA1\xBC\xAD \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this from your current position.")); return false; } if (CArenaManager::instance().IsArenaMap(GetMapIndex()) == true) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xEB\xB7\xC3 \xC1\xDF\xBF\xA1\xB4\xC2 \xC0\xCC\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xB9\xB0\xC7\xB0\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this item in a duel.")); return false; } if (m_pkWarpEvent) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB5\xBF\xC7\xD2 \xC1\xD8\xBA\xF1\xB0\xA1 \xB5\xC7\xBE\xEE\xC0\xD6\xC0\xBD\xC0\xB8\xB7\xCE \xB1\xCD\xC8\xAF\xBA\xCE\xB8\xA6 \xBB\xE7\xBF\xEB\xC7\xD2\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are ready to warp, so you cannot use the Scroll of the Location.")); return false; } @@ -4366,7 +4366,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) else { if (test_server) - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBF\xF8\xB7\xA1 \xC0\xA7\xC4\xA1\xB7\xCE \xBA\xB9\xB1\xCD")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are being brought back to the place of origin.")); ProcessRecallItem(item); } @@ -4377,7 +4377,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (GetDungeon()) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xF8\xC0\xFC \xBE\xC8\xBF\xA1\xBC\xAD\xB4\xC2 %s%s \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."), + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s%s cannot be used in a dungeon."), item->GetName(), ""); return false; } @@ -4457,7 +4457,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) // 그딴거 필요없으니 닥치고 빨리 해달래서 그냥 여기서 막음... -_- if (ITEM_COSTUME == item2->GetType()) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD3\xBC\xBA\xC0\xBB \xBA\xAF\xB0\xE6\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot change the upgrade of this item.")); return false; } @@ -4477,7 +4477,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (i == ITEM_SOCKET_MAX_NUM) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xBB\xBC\xD2\xC7\xD2 \xBC\xAE\xC0\xCC \xB9\xDA\xC7\xF4\xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There aren't any Pieces of Broken Stone available for removal.")); return false; } @@ -4509,13 +4509,13 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) case USE_CHANGE_ATTRIBUTE : if (item2->GetAttributeSetIndex() == -1) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD3\xBC\xBA\xC0\xBB \xBA\xAF\xB0\xE6\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot change the upgrade of this item.")); return false; } if (item2->GetAttributeCount() == 0) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBA\xAF\xB0\xE6\xC7\xD2 \xBC\xD3\xBC\xBA\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There is no upgrade that you can change.")); return false; } @@ -4540,7 +4540,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (dwLastChangeItemAttrMin + dwChangeItemAttrCycle > dwNowMin) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD3\xBC\xBA\xC0\xBB \xB9\xD9\xB2\xDB\xC1\xF6 %d\xBA\xD0 \xC0\xCC\xB3\xBB\xBF\xA1\xB4\xC2 \xB4\xD9\xBD\xC3 \xBA\xAF\xB0\xE6\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.(%d \xBA\xD0 \xB3\xB2\xC0\xBD)"), + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can only do this %d minutes after an upgrade. (%d minutes left)"), dwChangeItemAttrCycle, dwChangeItemAttrCycle - (dwNowMin - dwLastChangeItemAttrMin)); return false; } @@ -4601,7 +4601,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) item2->ChangeAttribute(); } - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD3\xBC\xBA\xC0\xBB \xBA\xAF\xB0\xE6\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have changed the upgrade.")); { char buf[21]; snprintf(buf, sizeof(buf), "%u", item2->GetID()); @@ -4614,7 +4614,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) case USE_ADD_ATTRIBUTE : if (item2->GetAttributeSetIndex() == -1) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD3\xBC\xBA\xC0\xBB \xBA\xAF\xB0\xE6\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot change the upgrade of this item.")); return false; } @@ -4654,7 +4654,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (Random::get(1, 100) <= aiItemAttributeAddPercent[item2->GetAttributeCount()]) { item2->AddAttribute(); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD3\xBC\xBA \xC3\xDF\xB0\xA1\xBF\xA1 \xBC\xBA\xB0\xF8\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Upgrade successfully added.")); int iAddedIdx = item2->GetAttributeCount() - 1; LogManager::instance().ItemLog( @@ -4669,7 +4669,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD3\xBC\xBA \xC3\xDF\xB0\xA1\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("No upgrade added.")); LogManager::instance().ItemLog(this, item, "ADD_ATTRIBUTE_FAIL", buf); } @@ -4677,7 +4677,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xF5\xC0\xCC\xBB\xF3 \xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBB \xC0\xCC\xBF\xEB\xC7\xCF\xBF\xA9 \xBC\xD3\xBC\xBA\xC0\xBB \xC3\xDF\xB0\xA1\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You must use the Blessing Marble in order to add another bonus to this item.")); } break; @@ -4686,7 +4686,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) // 재가비서를 통해 속성을 4개 추가 시킨 아이템에 대해서 하나의 속성을 더 붙여준다. if (item2->GetAttributeSetIndex() == -1) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD3\xBC\xBA\xC0\xBB \xBA\xAF\xB0\xE6\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot change the upgrade of this item.")); return false; } @@ -4699,7 +4699,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (Random::get(1, 100) <= aiItemAttributeAddPercent[item2->GetAttributeCount()]) { item2->AddAttribute(); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD3\xBC\xBA \xC3\xDF\xB0\xA1\xBF\xA1 \xBC\xBA\xB0\xF8\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Upgrade successfully added.")); int iAddedIdx = item2->GetAttributeCount() - 1; LogManager::instance().ItemLog( @@ -4714,7 +4714,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD3\xBC\xBA \xC3\xDF\xB0\xA1\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("No upgrade added.")); LogManager::instance().ItemLog(this, item, "ADD_ATTRIBUTE2_FAIL", buf); } @@ -4722,11 +4722,11 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) } else if (item2->GetAttributeCount() == 5) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xF5 \xC0\xCC\xBB\xF3 \xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBB \xC0\xCC\xBF\xEB\xC7\xCF\xBF\xA9 \xBC\xD3\xBC\xBA\xC0\xBB \xC3\xDF\xB0\xA1\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item can no longer be improved. The maximum number of bonuses has been reached.")); } else if (item2->GetAttributeCount() < 4) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xD5\xC0\xFA \xC0\xE7\xB0\xA1\xBA\xF1\xBC\xAD\xB8\xA6 \xC0\xCC\xBF\xEB\xC7\xCF\xBF\xA9 \xBC\xD3\xBC\xBA\xC0\xBB \xC3\xDF\xB0\xA1\xBD\xC3\xC4\xD1 \xC1\xD6\xBC\xBC\xBF\xE4.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can only use the Blessing Marble with an item which already has 4 bonuses.")); } else { @@ -4747,12 +4747,12 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (Random::get(1, 100) <= 50) { item2->SetAccessorySocketMaxGrade(item2->GetAccessorySocketMaxGrade() + 1); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD2\xC4\xCF\xC0\xCC \xBC\xBA\xB0\xF8\xC0\xFB\xC0\xB8\xB7\xCE \xC3\xDF\xB0\xA1\xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Socket successfully added.")); LogManager::instance().ItemLog(this, item, "ADD_SOCKET_SUCCESS", buf); } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD2\xC4\xCF \xC3\xDF\xB0\xA1\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("No socket added.")); LogManager::instance().ItemLog(this, item, "ADD_SOCKET_FAIL", buf); } @@ -4760,12 +4760,12 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBE\xD7\xBC\xBC\xBC\xAD\xB8\xAE\xBF\xA1\xB4\xC2 \xB4\xF5\xC0\xCC\xBB\xF3 \xBC\xD2\xC4\xCF\xC0\xBB \xC3\xDF\xB0\xA1\xC7\xD2 \xB0\xF8\xB0\xA3\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("No additional sockets could be added to this item.")); } } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xB8\xB7\xCE \xBC\xD2\xC4\xCF\xC0\xBB \xC3\xDF\xB0\xA1\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot add a socket to this item.")); } } break; @@ -4782,12 +4782,12 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (Random::get(1, 100) <= aiAccessorySocketPutPct[item2->GetAccessorySocketGrade()]) { item2->SetAccessorySocketGrade(item2->GetAccessorySocketGrade() + 1); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xE5\xC2\xF8\xBF\xA1 \xBC\xBA\xB0\xF8\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Arming successful.")); LogManager::instance().ItemLog(this, item, "PUT_SOCKET_SUCCESS", buf); } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xE5\xC2\xF8\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Arming has failed.")); LogManager::instance().ItemLog(this, item, "PUT_SOCKET_FAIL", buf); } @@ -4796,19 +4796,19 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) else { if (item2->GetAccessorySocketMaxGrade() == 0) - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xD5\xC0\xFA \xB4\xD9\xC0\xCC\xBE\xC6\xB8\xF3\xB5\xE5\xB7\xCE \xBE\xC7\xBC\xBC\xBC\xAD\xB8\xAE\xBF\xA1 \xBC\xD2\xC4\xCF\xC0\xBB \xC3\xDF\xB0\xA1\xC7\xD8\xBE\xDF\xC7\xD5\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have to add a socket first. Use a diamond in order to do this.")); else if (item2->GetAccessorySocketMaxGrade() < ITEM_ACCESSORY_SOCKET_MAX_NUM) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBE\xD7\xBC\xBC\xBC\xAD\xB8\xAE\xBF\xA1\xB4\xC2 \xB4\xF5\xC0\xCC\xBB\xF3 \xC0\xE5\xC2\xF8\xC7\xD2 \xBC\xD2\xC4\xCF\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB4\xD9\xC0\xCC\xBE\xC6\xB8\xF3\xB5\xE5\xB7\xCE \xBC\xD2\xC4\xCF\xC0\xBB \xC3\xDF\xB0\xA1\xC7\xD8\xBE\xDF\xC7\xD5\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("There are no sockets for gemstones in this item.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have to add a socket if you want to use a Diamond.")); } else - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBE\xD7\xBC\xBC\xBC\xAD\xB8\xAE\xBF\xA1\xB4\xC2 \xB4\xF5\xC0\xCC\xBB\xF3 \xBA\xB8\xBC\xAE\xC0\xBB \xC0\xE5\xC2\xF8\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("No more gems can be added to this item.")); } } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBB \xC0\xE5\xC2\xF8\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("These items cannot be used together.")); } break; } @@ -4825,7 +4825,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (m_pkFishingEvent) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xAC\xBD\xC3 \xC1\xDF\xBF\xA1 \xB9\xCC\xB3\xA2\xB8\xA6 \xB0\xA5\xBE\xC6\xB3\xA2\xBF\xEF \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot change the Bait whilst fishing.")); return false; } @@ -4836,11 +4836,11 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (weapon->GetSocket(2)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xB2\xC8\xC7\xF4\xC0\xD6\xB4\xF8 \xB9\xCC\xB3\xA2\xB8\xA6 \xBB\xA9\xB0\xED %s\xB8\xA6 \xB3\xA2\xBF\xF3\xB4\xCF\xB4\xD9."), item->GetName()); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are exchanging the current Bait for %s."), item->GetName()); } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xAC\xBD\xC3\xB4\xEB\xBF\xA1 %s\xB8\xA6 \xB9\xCC\xB3\xA2\xB7\xCE \xB3\xA2\xBF\xF3\xB4\xCF\xB4\xD9."), item->GetName()); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You attached %s to the hook as bait."), item->GetName()); } weapon->SetSocket(2, item->GetValue(0)); @@ -4857,7 +4857,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (FindAffect(item->GetValue(0), aApplyInfo[item->GetValue(1)].bPointType)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xC8\xBF\xB0\xFA\xB0\xA1 \xB0\xC9\xB7\xC1 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This effect is already activated.")); } else { @@ -4885,7 +4885,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (pSource1 == NULL) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB9\xB0\xBE\xE0 \xC1\xB6\xC7\xD5\xC0\xBB \xC0\xA7\xC7\xD1 \xC0\xE7\xB7\xE1\xB0\xA1 \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are missing some ingredients to make the potion.")); return false; } } @@ -4894,7 +4894,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (pSource2 == NULL) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB9\xB0\xBE\xE0 \xC1\xB6\xC7\xD5\xC0\xBB \xC0\xA7\xC7\xD1 \xC0\xE7\xB7\xE1\xB0\xA1 \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are missing some ingredients to make the potion.")); return false; } } @@ -4903,7 +4903,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (pSource1->GetCount() < dwSourceCount1) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xE7\xB7\xE1(%s)\xB0\xA1 \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9."), pSource1->GetName()); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You do not have enough material (%s)."), pSource1->GetName()); return false; } @@ -4914,7 +4914,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (pSource2->GetCount() < dwSourceCount2) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xE7\xB7\xE1(%s)\xB0\xA1 \xBA\xCE\xC1\xB7\xC7\xD5\xB4\xCF\xB4\xD9."), pSource2->GetName()); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You do not have enough material (%s)."), pSource2->GetName()); return false; } @@ -4925,7 +4925,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (!pBottle || pBottle->GetCount() < 1) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBA\xF3 \xBA\xB4\xC0\xCC \xB8\xF0\xC0\xDA\xB8\xA8\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You do not have enough empty bottles.")); return false; } @@ -4933,7 +4933,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (Random::get(1, 100) > item->GetValue(5)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB9\xB0\xBE\xE0 \xC1\xA6\xC1\xB6\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xDF\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The potion production has failed.")); return false; } @@ -4973,7 +4973,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (item->GetValue(5) == p->alValues[5]) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xB0\xC0\xBA \xC1\xBE\xB7\xF9\xC0\xC7 \xB8\xDE\xC6\xBE\xBC\xAE\xC0\xBA \xBF\xA9\xB7\xAF\xB0\xB3 \xBA\xCE\xC2\xF8\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot attach several stones of the same type.")); return false; } } @@ -4982,7 +4982,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (!IS_SET(item->GetWearFlag(), WEARABLE_BODY) || !IS_SET(item2->GetWearFlag(), WEARABLE_BODY)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xB8\xDE\xC6\xBE\xBC\xAE\xC0\xBA \xC0\xE5\xBA\xF1\xBF\xA1 \xBA\xCE\xC2\xF8\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This Spirit Stone cannot be attached to this type of item.")); return false; } } @@ -4990,13 +4990,13 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (!IS_SET(item->GetWearFlag(), WEARABLE_WEAPON)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xB8\xDE\xC6\xBE\xBC\xAE\xC0\xBA \xB9\xAB\xB1\xE2\xBF\xA1 \xBA\xCE\xC2\xF8\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot attach this Spirit Stone to a weapon.")); return false; } } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBA\xCE\xC2\xF8\xC7\xD2 \xBC\xF6 \xC0\xD6\xB4\xC2 \xBD\xBD\xB7\xD4\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("No slot free.")); return false; } @@ -5006,12 +5006,12 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) // 석 확률 if (Random::get(1, 100) <= 30) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xDE\xC6\xBE\xBC\xAE \xBA\xCE\xC2\xF8\xBF\xA1 \xBC\xBA\xB0\xF8\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have attached the Spirit Stone successfully.")); item2->SetSocket(i, item->GetVnum()); } else { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xDE\xC6\xBE\xBC\xAE \xBA\xCE\xC2\xF8\xBF\xA1 \xBD\xC7\xC6\xD0\xC7\xCF\xBF\xB4\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The Spirit Stone broke while being attached.")); item2->SetSocket(i, ITEM_BROKEN_METIN_VNUM); } @@ -5021,7 +5021,7 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) } if (i == ITEM_SOCKET_MAX_NUM) - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBA\xCE\xC2\xF8\xC7\xD2 \xBC\xF6 \xC0\xD6\xB4\xC2 \xBD\xBD\xB7\xD4\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("No slot free.")); } break; @@ -5056,13 +5056,13 @@ bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) if (FindAffect(affect_type, apply_type)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xC8\xBF\xB0\xFA\xB0\xA1 \xB0\xC9\xB7\xC1 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This effect is already activated.")); } else { if (FindAffect(AFFECT_EXP_BONUS_EURO_FREE, POINT_RESIST_MAGIC)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xC8\xBF\xB0\xFA\xB0\xA1 \xB0\xC9\xB7\xC1 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This effect is already activated.")); } else { @@ -5134,7 +5134,7 @@ bool CHARACTER::UseItem(TItemPos Cell, TItemPos DestCell) if (!item->CanUsedBy(this)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xBA\xC1\xF7\xC0\xCC \xB8\xC2\xC1\xF6\xBE\xCA\xBE\xC6 \xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBB \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this item because you do not fulfil all the requirements.")); return false; } @@ -5143,7 +5143,7 @@ bool CHARACTER::UseItem(TItemPos Cell, TItemPos DestCell) if (false == FN_check_item_sex(this, item)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xBA\xBA\xB0\xC0\xCC \xB8\xC2\xC1\xF6\xBE\xCA\xBE\xC6 \xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBB \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are not able to use that item because you do not have the right gender.")); return false; } @@ -5152,7 +5152,7 @@ bool CHARACTER::UseItem(TItemPos Cell, TItemPos DestCell) { if (false == IS_SUMMONABLE_ZONE(GetMapIndex())) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xE7\xBF\xEB\xC7\xD2\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This function is not available right now.")); return false; } @@ -5161,7 +5161,7 @@ bool CHARACTER::UseItem(TItemPos Cell, TItemPos DestCell) //삼거리 관려 맵에서는 귀환부를 막아버린다. if (CThreeWayWar::instance().IsThreeWayWarMapIndex(GetMapIndex())) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBB\xEF\xB0\xC5\xB8\xAE \xC0\xFC\xC5\xF5 \xC2\xFC\xB0\xA1\xC1\xDF\xBF\xA1\xB4\xC2 \xB1\xCD\xC8\xAF\xBA\xCE,\xB1\xCD\xC8\xAF\xB1\xE2\xBE\xEF\xBA\xCE\xB8\xA6 \xBB\xE7\xBF\xEB\xC7\xD2\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use a Scroll of the Location whilst taking part in a kingdom battle.")); return false; } int iPulse = thecore_pulse(); @@ -5169,7 +5169,7 @@ bool CHARACTER::UseItem(TItemPos Cell, TItemPos DestCell) //창고 연후 체크 if (iPulse - GetSafeboxLoadTime() < PASSES_PER_SEC(g_nPortalLimitTime)) { - 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 \xB1\xCD\xC8\xAF\xBA\xCE,\xB1\xCD\xC8\xAF\xB1\xE2\xBE\xEF\xBA\xCE\xB8\xA6 \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."), g_nPortalLimitTime); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("After opening the Storeroom you cannot use a Scroll of the Location for %d seconds."), g_nPortalLimitTime); if (test_server) ChatPacket(CHAT_TYPE_INFO, "[TestOnly]Pulse %d LoadTime %d PASS %d", iPulse, GetSafeboxLoadTime(), PASSES_PER_SEC(g_nPortalLimitTime)); @@ -5179,7 +5179,7 @@ bool CHARACTER::UseItem(TItemPos Cell, TItemPos DestCell) //거래관련 창 체크 if (GetExchange() || GetMyShop() || GetShopOwner() || IsOpenSafebox() || IsCubeOpen()) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xC5\xB7\xA1\xC3\xA2,\xC3\xA2\xB0\xED \xB5\xEE\xC0\xBB \xBF\xAC \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD\xB4\xC2 \xB1\xCD\xC8\xAF\xBA\xCE,\xB1\xCD\xC8\xAF\xB1\xE2\xBE\xEF\xBA\xCE \xB8\xA6 \xBB\xE7\xBF\xEB\xC7\xD2\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use a Scroll of the Location while another window is open.")); return false; } @@ -5188,7 +5188,7 @@ bool CHARACTER::UseItem(TItemPos Cell, TItemPos DestCell) { if (iPulse - GetRefineTime() < PASSES_PER_SEC(g_nPortalLimitTime)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB \xB0\xB3\xB7\xAE\xC8\xC4 %d\xC3\xCA \xC0\xCC\xB3\xBB\xBF\xA1\xB4\xC2 \xB1\xCD\xC8\xAF\xBA\xCE,\xB1\xCD\xC8\xAF\xB1\xE2\xBE\xEF\xBA\xCE\xB8\xA6 \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."), g_nPortalLimitTime); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("After a trade, you cannot use a scroll for another %d seconds."), g_nPortalLimitTime); return false; } } @@ -5199,7 +5199,7 @@ bool CHARACTER::UseItem(TItemPos Cell, TItemPos DestCell) { if (iPulse - GetMyShopTime() < PASSES_PER_SEC(g_nPortalLimitTime)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xB3\xC0\xCE\xBB\xF3\xC1\xA1 \xBB\xE7\xBF\xEB\xC8\xC4 %d\xC3\xCA \xC0\xCC\xB3\xBB\xBF\xA1\xB4\xC2 \xB1\xCD\xC8\xAF\xBA\xCE,\xB1\xCD\xC8\xAF\xB1\xE2\xBE\xEF\xBA\xCE\xB8\xA6 \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."), g_nPortalLimitTime); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("After opening a storeroom you cannot use a Scroll of the Location for another %d seconds."), g_nPortalLimitTime); return false; } @@ -5244,7 +5244,7 @@ bool CHARACTER::UseItem(TItemPos Cell, TItemPos DestCell) if (nDistant > nDist) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB5\xBF \xB5\xC7\xBE\xEE\xC1\xFA \xC0\xA7\xC4\xA1\xBF\xCD \xB3\xCA\xB9\xAB \xB0\xA1\xB1\xEE\xBF\xF6 \xB1\xCD\xC8\xAF\xBA\xCE\xB8\xA6 \xBB\xE7\xBF\xEB\xC7\xD2\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use the Scroll of the Location because the distance is too small.")); if (test_server) ChatPacket(CHAT_TYPE_INFO, "PossibleDistant %f nNowDist %f", nDistant,nDist); return false; @@ -5255,7 +5255,7 @@ bool CHARACTER::UseItem(TItemPos Cell, TItemPos DestCell) //교환 후 시간체크 if (iPulse - GetExchangeTime() < PASSES_PER_SEC(g_nPortalLimitTime)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xC5\xB7\xA1 \xC8\xC4 %d\xC3\xCA \xC0\xCC\xB3\xBB\xBF\xA1\xB4\xC2 \xB1\xCD\xC8\xAF\xBA\xCE,\xB1\xCD\xC8\xAF\xB1\xE2\xBE\xEF\xBA\xCE\xB5\xEE\xC0\xBB \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."), g_nPortalLimitTime); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("After a trade you cannot use a Scroll of the Location for %d seconds."), g_nPortalLimitTime); return false; } //END_PREVENT_PORTAL_AFTER_EXCHANGE @@ -5267,7 +5267,7 @@ bool CHARACTER::UseItem(TItemPos Cell, TItemPos DestCell) { if (GetExchange() || GetMyShop() || GetShopOwner() || IsOpenSafebox() || IsCubeOpen()) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xC5\xB7\xA1\xC3\xA2,\xC3\xA2\xB0\xED \xB5\xEE\xC0\xBB \xBF\xAC \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD\xB4\xC2 \xBA\xB8\xB5\xFB\xB8\xAE,\xBA\xF1\xB4\xDC\xBA\xB8\xB5\xFB\xB8\xAE\xB8\xA6 \xBB\xE7\xBF\xEB\xC7\xD2\xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot open the Storeroom if another window is already open.")); return false; } @@ -5310,7 +5310,7 @@ bool CHARACTER::DropItem(TItemPos Cell, BYTE bCount) if (!CanHandleItem()) { if (NULL != DragonSoul_RefineWindow_GetOpener()) - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xAD\xC8\xAD\xC3\xA2\xC0\xBB \xBF\xAC \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBB \xBF\xC5\xB1\xE6 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot move the item within the refinement window.")); return false; } @@ -5331,7 +5331,7 @@ bool CHARACTER::DropItem(TItemPos Cell, BYTE bCount) if (IS_SET(item->GetAntiFlag(), ITEM_ANTIFLAG_DROP | ITEM_ANTIFLAG_GIVE)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB9\xF6\xB8\xB1 \xBC\xF6 \xBE\xF8\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot drop this item.")); return false; } @@ -5382,7 +5382,7 @@ bool CHARACTER::DropItem(TItemPos Cell, BYTE bCount) if (LC_IsYMIR()) item->AttrLog(); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB6\xB3\xBE\xEE\xC1\xF8 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBA 3\xBA\xD0 \xC8\xC4 \xBB\xE7\xB6\xF3\xC1\xFD\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("The dropped item will vanish in 5 minutes.")); pkItemToDrop->StartDestroyEvent(); ITEM_MANAGER::instance().FlushDelayedSave(pkItemToDrop); @@ -5491,14 +5491,14 @@ bool CHARACTER::MoveItem(TItemPos Cell, TItemPos DestCell, BYTE count) if (!CanHandleItem()) { if (NULL != DragonSoul_RefineWindow_GetOpener()) - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xAD\xC8\xAD\xC3\xA2\xC0\xBB \xBF\xAC \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBB \xBF\xC5\xB1\xE6 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot move the item within the refinement window.")); return false; } // 기획자의 요청으로 벨트 인벤토리에는 특정 타입의 아이템만 넣을 수 있다. if (DestCell.IsBeltInventoryPosition() && false == CBeltInventoryHelper::CanMoveIntoBeltInventory(item)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBA \xBA\xA7\xC6\xAE \xC0\xCE\xBA\xA5\xC5\xE4\xB8\xAE\xB7\xCE \xBF\xC5\xB1\xE6 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot equip this item in your belt inventory.")); return false; } @@ -5510,7 +5510,7 @@ bool CHARACTER::MoveItem(TItemPos Cell, TItemPos DestCell, BYTE count) { if (GetItem(DestCell)) // 장비일 경우 한 곳만 검사해도 된다. { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xC0\xE5\xBA\xF1\xB8\xA6 \xC2\xF8\xBF\xEB\xC7\xCF\xB0\xED \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have already equipped this kind of Dragon Stone.")); return false; } @@ -5781,7 +5781,7 @@ bool CHARACTER::PickupItem(DWORD dwVID) if (bCount == 0) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB \xC8\xB9\xB5\xE6: %s"), item2->GetName()); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s received"), item2->GetName()); M2_DESTROY_ITEM(item); if (item2->GetType() == ITEM_QUEST) quest::CQuestManager::instance().PickupItem (GetPlayerID(), item2); @@ -5799,7 +5799,7 @@ bool CHARACTER::PickupItem(DWORD dwVID) if ((iEmptyCell = GetEmptyDragonSoulInventory(item)) == -1) { SPDLOG_DEBUG("No empty ds inventory pid {} size {}d itemid {}", GetPlayerID(), item->GetSize(), item->GetID()); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD2\xC1\xF6\xC7\xCF\xB0\xED \xC0\xD6\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xCC \xB3\xCA\xB9\xAB \xB8\xB9\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have too many items in your inventory.")); return false; } } @@ -5808,7 +5808,7 @@ bool CHARACTER::PickupItem(DWORD dwVID) if ((iEmptyCell = GetEmptyInventory(item->GetSize())) == -1) { SPDLOG_DEBUG("No empty inventory pid {} size {}d itemid {}", GetPlayerID(), item->GetSize(), item->GetID()); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD2\xC1\xF6\xC7\xCF\xB0\xED \xC0\xD6\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xCC \xB3\xCA\xB9\xAB \xB8\xB9\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have too many items in your inventory.")); return false; } } @@ -5823,7 +5823,7 @@ bool CHARACTER::PickupItem(DWORD dwVID) char szHint[32+1]; snprintf(szHint, sizeof(szHint), "%s %u %u", item->GetName(), item->GetCount(), item->GetOriginalVnum()); LogManager::instance().ItemLog(this, item, "GET", szHint); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB \xC8\xB9\xB5\xE6: %s"), item->GetName()); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s received"), item->GetName()); if (item->GetType() == ITEM_QUEST) quest::CQuestManager::instance().PickupItem (GetPlayerID(), item); @@ -5851,7 +5851,7 @@ bool CHARACTER::PickupItem(DWORD dwVID) if ((iEmptyCell = GetEmptyDragonSoulInventory(item)) == -1) { - owner->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD2\xC1\xF6\xC7\xCF\xB0\xED \xC0\xD6\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xCC \xB3\xCA\xB9\xAB \xB8\xB9\xBD\xC0\xB4\xCF\xB4\xD9.")); + owner->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have too many items in your inventory.")); return false; } } @@ -5864,7 +5864,7 @@ bool CHARACTER::PickupItem(DWORD dwVID) if ((iEmptyCell = GetEmptyInventory(item->GetSize())) == -1) { - owner->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xD2\xC1\xF6\xC7\xCF\xB0\xED \xC0\xD6\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xCC \xB3\xCA\xB9\xAB \xB8\xB9\xBD\xC0\xB4\xCF\xB4\xD9.")); + owner->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have too many items in your inventory.")); return false; } } @@ -5882,11 +5882,11 @@ bool CHARACTER::PickupItem(DWORD dwVID) LogManager::instance().ItemLog(owner, item, "GET", szHint); if (owner == this) - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB \xC8\xB9\xB5\xE6: %s"), item->GetName()); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s received"), item->GetName()); else { - owner->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB \xC8\xB9\xB5\xE6: %s \xB4\xD4\xC0\xB8\xB7\xCE\xBA\xCE\xC5\xCD %s"), GetName(), item->GetName()); - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB \xC0\xFC\xB4\xDE: %s \xB4\xD4\xBF\xA1\xB0\xD4 %s"), owner->GetName(), item->GetName()); + owner->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s receives %s."), GetName(), item->GetName()); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Item Trade: %s, %s"), owner->GetName(), item->GetName()); } if (item->GetType() == ITEM_QUEST) @@ -6039,20 +6039,20 @@ bool CHARACTER::EquipItem(LPITEM item, int iCandidateCell) if (iWearCell != WEAR_ARROW && IsPolymorphed()) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xD0\xB0\xA9 \xC1\xDF\xBF\xA1\xB4\xC2 \xC2\xF8\xBF\xEB\xC1\xDF\xC0\xCE \xC0\xE5\xBA\xF1\xB8\xA6 \xBA\xAF\xB0\xE6\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot change the equipped item while you are transformed.")); return false; } if (FN_check_item_sex(this, item) == false) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBC\xBA\xBA\xB0\xC0\xCC \xB8\xC2\xC1\xF6\xBE\xCA\xBE\xC6 \xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBB \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are not able to use that item because you do not have the right gender.")); return false; } //신규 탈것 사용시 기존 말 사용여부 체크 if(item->IsRideItem() && IsRiding()) { - 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.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You're already riding. Get off first.")); return false; } @@ -6062,7 +6062,7 @@ bool CHARACTER::EquipItem(LPITEM item, int iCandidateCell) if (iWearCell != WEAR_ARROW && (dwCurTime - GetLastAttackTime() <= 1500 || dwCurTime - m_dwLastSkillTime <= 1500)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xA1\xB8\xB8\xC8\xF7 \xC0\xD6\xC0\xBB \xB6\xA7\xB8\xB8 \xC2\xF8\xBF\xEB\xC7\xD2 \xBC\xF6 \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have to stand still to equip the item.")); return false; } @@ -6073,7 +6073,7 @@ bool CHARACTER::EquipItem(LPITEM item, int iCandidateCell) // 용혼석은 swap을 지원하면 안됨. if(GetInventoryItem(INVENTORY_MAX_NUM + iWearCell)) { - ChatPacket(CHAT_TYPE_INFO, "\xC0\xCC\xB9\xCC \xB0\xB0\xC0\xBA \xC1\xBE\xB7\xF9\xC0\xC7 \xBF\xEB\xC8\xA5\xBC\xAE\xC0\xBB \xC2\xF8\xBF\xEB\xC7\xCF\xB0\xED \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9."); + ChatPacket(CHAT_TYPE_INFO, "You are already carrying a Dragon Stone of this type."); return false; } @@ -6508,7 +6508,7 @@ LPITEM CHARACTER::AutoGiveItem(DWORD dwItemVnum, BYTE bCount, int iRarePct, bool if (bCount == 0) { if (bMsg) - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB \xC8\xB9\xB5\xE6: %s"), item->GetName()); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s received"), item->GetName()); return item; } @@ -6560,7 +6560,7 @@ LPITEM CHARACTER::AutoGiveItem(DWORD dwItemVnum, BYTE bCount, int iRarePct, bool if (iEmptyCell != -1) { if (bMsg) - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC0\xCC\xC5\xDB \xC8\xB9\xB5\xE6: %s"), item->GetName()); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("%s received"), item->GetName()); if (item->IsDragonSoul()) item->AddToCharacter(this, TItemPos(DRAGON_SOUL_INVENTORY, iEmptyCell)); @@ -6704,7 +6704,7 @@ bool CHARACTER::CanReceiveItem(LPCHARACTER from, LPITEM item) const { if (!IsDead()) { - from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xD7\xC1\xF6 \xBE\xCA\xC0\xBA \xB8\xBB\xBF\xA1\xB0\xD4 \xBC\xB1\xC3\xCA\xB8\xA6 \xB8\xD4\xC0\xCF \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Monkey Herbs cannot be fed to living horses. It is used to revive dead horses.")); return false; } return true; @@ -6713,7 +6713,7 @@ bool CHARACTER::CanReceiveItem(LPCHARACTER from, LPITEM item) const { if (IsDead()) { - from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xD7\xC0\xBA \xB8\xBB\xBF\xA1\xB0\xD4 \xBB\xE7\xB7\xE1\xB8\xA6 \xB8\xD4\xC0\xCF \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot feed a dead Horse.")); return false; } return true; @@ -6731,7 +6731,7 @@ bool CHARACTER::CanReceiveItem(LPCHARACTER from, LPITEM item) const { if (!IsDead()) { - from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xD7\xC1\xF6 \xBE\xCA\xC0\xBA \xB8\xBB\xBF\xA1\xB0\xD4 \xBC\xB1\xC3\xCA\xB8\xA6 \xB8\xD4\xC0\xCF \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Monkey Herbs cannot be fed to living horses. It is used to revive dead horses.")); return false; } return true; @@ -6740,7 +6740,7 @@ bool CHARACTER::CanReceiveItem(LPCHARACTER from, LPITEM item) const { if (IsDead()) { - from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xD7\xC0\xBA \xB8\xBB\xBF\xA1\xB0\xD4 \xBB\xE7\xB7\xE1\xB8\xA6 \xB8\xD4\xC0\xCF \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot feed a dead Horse.")); return false; } return true; @@ -6758,7 +6758,7 @@ bool CHARACTER::CanReceiveItem(LPCHARACTER from, LPITEM item) const { if (!IsDead()) { - from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xD7\xC1\xF6 \xBE\xCA\xC0\xBA \xB8\xBB\xBF\xA1\xB0\xD4 \xBC\xB1\xC3\xCA\xB8\xA6 \xB8\xD4\xC0\xCF \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Monkey Herbs cannot be fed to living horses. It is used to revive dead horses.")); return false; } return true; @@ -6767,7 +6767,7 @@ bool CHARACTER::CanReceiveItem(LPCHARACTER from, LPITEM item) const { if (IsDead()) { - from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xD7\xC0\xBA \xB8\xBB\xBF\xA1\xB0\xD4 \xBB\xE7\xB7\xE1\xB8\xA6 \xB8\xD4\xC0\xCF \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot feed a dead Horse.")); return false; } return true; @@ -6817,7 +6817,7 @@ void CHARACTER::ReceiveItem(LPCHARACTER from, LPITEM item) } else { - from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBA \xB0\xB3\xB7\xAE\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item cannot be improved.")); } break; // END_OF_DEVILTOWER_NPC @@ -6834,7 +6834,7 @@ void CHARACTER::ReceiveItem(LPCHARACTER from, LPITEM item) } else { - from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBA \xB0\xB3\xB7\xAE\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("This item cannot be improved.")); } break; @@ -6853,14 +6853,14 @@ void CHARACTER::ReceiveItem(LPCHARACTER from, LPITEM item) { from->ReviveHorse(); item->SetCount(item->GetCount()-1); - from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xBF\xA1\xB0\xD4 \xBC\xB1\xC3\xCA\xB8\xA6 \xC1\xD6\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9.")); + from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You fed the Horse with Herbs.")); } else if (item->GetVnum() == ITEM_HORSE_FOOD_1 || item->GetVnum() == ITEM_HORSE_FOOD_2 || item->GetVnum() == ITEM_HORSE_FOOD_3) { from->FeedHorse(); - from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB8\xBB\xBF\xA1\xB0\xD4 \xBB\xE7\xB7\xE1\xB8\xA6 \xC1\xD6\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9.")); + from->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have fed the Horse.")); item->SetCount(item->GetCount()-1); EffectPacket(SE_HPUP_RED); } @@ -7052,7 +7052,7 @@ bool CHARACTER::ItemProcess_Hair(LPITEM item, int iDestCell) if (item->CheckItemUseLevel(GetLevel()) == false) { // 레벨 제한에 걸림 - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xBE\xC6\xC1\xF7 \xC0\xCC \xB8\xD3\xB8\xAE\xB8\xA6 \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xB4\xC2 \xB7\xB9\xBA\xA7\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your level is too low to wear this Hairstyle.")); return false; } @@ -7083,7 +7083,7 @@ bool CHARACTER::ItemProcess_Hair(LPITEM item, int iDestCell) if (hair == GetPart(PART_HAIR)) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB5\xBF\xC0\xCF\xC7\xD1 \xB8\xD3\xB8\xAE \xBD\xBA\xC5\xB8\xC0\xCF\xB7\xCE\xB4\xC2 \xB1\xB3\xC3\xBC\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You already have this Hairstyle.")); return true; } @@ -7100,7 +7100,7 @@ bool CHARACTER::ItemProcess_Polymorph(LPITEM item) { if (IsPolymorphed()) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xCC\xB9\xCC \xB5\xD0\xB0\xA9\xC1\xDF\xC0\xCE \xBB\xF3\xC5\xC2\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You have already transformed.")); return false; } @@ -7114,7 +7114,7 @@ bool CHARACTER::ItemProcess_Polymorph(LPITEM item) if (dwVnum == 0) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xDF\xB8\xF8\xB5\xC8 \xB5\xD0\xB0\xA9 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("That's the wrong trading item.")); item->SetCount(item->GetCount()-1); return false; } @@ -7123,7 +7123,7 @@ bool CHARACTER::ItemProcess_Polymorph(LPITEM item) if (pMob == NULL) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC0\xDF\xB8\xF8\xB5\xC8 \xB5\xD0\xB0\xA9 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xD4\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("That's the wrong trading item.")); item->SetCount(item->GetCount()-1); return false; } @@ -7143,7 +7143,7 @@ bool CHARACTER::ItemProcess_Polymorph(LPITEM item) int iPolymorphLevelLimit = std::max(0, 20 - GetLevel() * 3 / 10); if (pMob->m_table.bLevel >= GetLevel() + iPolymorphLevelLimit) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB3\xAA\xBA\xB8\xB4\xD9 \xB3\xCA\xB9\xAB \xB3\xF4\xC0\xBA \xB7\xB9\xBA\xA7\xC0\xC7 \xB8\xF3\xBD\xBA\xC5\xCD\xB7\xCE\xB4\xC2 \xBA\xAF\xBD\xC5 \xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot transform into a monster who has a higher level than you.")); return false; } @@ -7411,7 +7411,7 @@ bool CHARACTER::CanEquipNow(const LPITEM item, const TItemPos& srcCell, const TI case LIMIT_LEVEL: if (GetLevel() < limit) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB7\xB9\xBA\xA7\xC0\xCC \xB3\xB7\xBE\xC6 \xC2\xF8\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your level is too low to equip this item.")); return false; } break; @@ -7419,7 +7419,7 @@ bool CHARACTER::CanEquipNow(const LPITEM item, const TItemPos& srcCell, const TI case LIMIT_STR: if (GetPoint(POINT_ST) < limit) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB1\xD9\xB7\xC2\xC0\xCC \xB3\xB7\xBE\xC6 \xC2\xF8\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You are not strong enough to equip yourself with this item.")); return false; } break; @@ -7427,7 +7427,7 @@ bool CHARACTER::CanEquipNow(const LPITEM item, const TItemPos& srcCell, const TI case LIMIT_INT: if (GetPoint(POINT_IQ) < limit) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC1\xF6\xB4\xC9\xC0\xCC \xB3\xB7\xBE\xC6 \xC2\xF8\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your intelligence is too low to equip yourself with this item.")); return false; } break; @@ -7435,7 +7435,7 @@ bool CHARACTER::CanEquipNow(const LPITEM item, const TItemPos& srcCell, const TI case LIMIT_DEX: if (GetPoint(POINT_DX) < limit) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB9\xCE\xC3\xB8\xC0\xCC \xB3\xB7\xBE\xC6 \xC2\xF8\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your dexterity is too low to equip yourself with this item.")); return false; } break; @@ -7443,7 +7443,7 @@ bool CHARACTER::CanEquipNow(const LPITEM item, const TItemPos& srcCell, const TI case LIMIT_CON: if (GetPoint(POINT_HT) < limit) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xC3\xBC\xB7\xC2\xC0\xCC \xB3\xB7\xBE\xC6 \xC2\xF8\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Your vitality is too low to equip yourself with this item.")); return false; } break; @@ -7455,14 +7455,14 @@ bool CHARACTER::CanEquipNow(const LPITEM item, const TItemPos& srcCell, const TI if ((GetWear(WEAR_UNIQUE1) && GetWear(WEAR_UNIQUE1)->IsSameSpecialGroup(item)) || (GetWear(WEAR_UNIQUE2) && GetWear(WEAR_UNIQUE2)->IsSameSpecialGroup(item))) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xB0\xC0\xBA \xC1\xBE\xB7\xF9\xC0\xC7 \xC0\xAF\xB4\xCF\xC5\xA9 \xBE\xC6\xC0\xCC\xC5\xDB \xB5\xCE \xB0\xB3\xB8\xA6 \xB5\xBF\xBD\xC3\xBF\xA1 \xC0\xE5\xC2\xF8\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot equip this item twice.")); return false; } if (marriage::CManager::instance().IsMarriageUniqueItem(item->GetVnum()) && !marriage::CManager::instance().IsMarried(GetPlayerID())) { - ChatPacket(CHAT_TYPE_INFO, LC_TEXT("\xB0\xE1\xC8\xA5\xC7\xCF\xC1\xF6 \xBE\xCA\xC0\xBA \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD \xBF\xB9\xB9\xB0\xC0\xBB \xC2\xF8\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.")); + ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You cannot use this item because you are not married.")); return false; } @@ -7476,7 +7476,7 @@ bool CHARACTER::CanUnequipNow(const LPITEM item, const TItemPos& srcCell, const { if (ITEM_BELT == item->GetType()) - VERIFY_MSG(CBeltInventoryHelper::IsExistItemInBeltInventory(this), "\xBA\xA7\xC6\xAE \xC0\xCE\xBA\xA5\xC5\xE4\xB8\xAE\xBF\xA1 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xCC \xC1\xB8\xC0\xE7\xC7\xCF\xB8\xE9 \xC7\xD8\xC1\xA6\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9."); + VERIFY_MSG(CBeltInventoryHelper::IsExistItemInBeltInventory(this), "You can only discard the belt when there are no longer any items in its inventory."); // 영원히 해제할 수 없는 아이템 if (IS_SET(item->GetFlag(), ITEM_FLAG_IRREMOVABLE)) @@ -7491,7 +7491,7 @@ bool CHARACTER::CanUnequipNow(const LPITEM item, const TItemPos& srcCell, const else pos = GetEmptyInventory(item->GetSize()); - VERIFY_MSG( -1 == pos, "\xBC\xD2\xC1\xF6\xC7\xB0\xBF\xA1 \xBA\xF3 \xB0\xF8\xB0\xA3\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9." ); + VERIFY_MSG( -1 == pos, "There isn't enough space in your inventory." ); } diff --git a/src/game/src/char_skill.cpp b/src/game/src/char_skill.cpp index 83b5bd3..8494a9e 100644 --- a/src/game/src/char_skill.cpp +++ b/src/game/src/char_skill.cpp @@ -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%"; diff --git a/src/game/src/char_state.cpp b/src/game/src/char_state.cpp index ccbffc6..7f38387 100644 --- a/src/game/src/char_state.cpp +++ b/src/game/src/char_state.cpp @@ -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); } diff --git a/src/game/src/cmd.cpp b/src/game/src/cmd.cpp index cc75cd2..e36cb85 100644 --- a/src/game/src/cmd.cpp +++ b/src/game/src/cmd.cpp @@ -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; } diff --git a/src/game/src/cmd_emotion.cpp b/src/game/src/cmd_emotion.cpp index e3d2d5e..1fc9f04 100644 --- a/src/game/src/cmd_emotion.cpp +++ b/src/game/src/cmd_emotion.cpp @@ -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; } } diff --git a/src/game/src/cmd_general.cpp b/src/game/src/cmd_general.cpp index 92adf9e..be8f0aa 100644 --- a/src/game/src/cmd_general.cpp +++ b/src/game/src/cmd_general.cpp @@ -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 ")); + ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Command: warpto ")); 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 ")); + ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Use: transfer ")); 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__ diff --git a/src/game/src/cmd_gm.cpp b/src/game/src/cmd_gm.cpp index e93a634..15783c5 100644 --- a/src/game/src/cmd_gm.cpp +++ b/src/game/src/cmd_gm.cpp @@ -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; } diff --git a/src/game/src/cmd_oxevent.cpp b/src/game/src/cmd_oxevent.cpp index be58381..992f930 100644 --- a/src/game/src/cmd_oxevent.cpp +++ b/src/game/src/cmd_oxevent.cpp @@ -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()); } diff --git a/src/game/src/config.cpp b/src/game/src/config.cpp index f10c68c..4da621c 100644 --- a/src/game/src/config.cpp +++ b/src/game/src/config.cpp @@ -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); } } diff --git a/src/game/src/constants.cpp b/src/game/src/constants.cpp index 060e783..d2c4e96 100644 --- a/src/game/src/constants.cpp +++ b/src/game/src/constants.cpp @@ -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] = diff --git a/src/game/src/cube.cpp b/src/game/src/cube.cpp index adaf3b7..b5cb036 100644 --- a/src/game/src/cube.cpp +++ b/src/game/src/cube.cpp @@ -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; } diff --git a/src/game/src/db.cpp b/src/game/src/db.cpp index b63492d..e039e49 100644 --- a/src/game/src/db.cpp +++ b/src/game/src/db.cpp @@ -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]); diff --git a/src/game/src/desc.cpp b/src/game/src/desc.cpp index f3d0fce..5dabf35 100644 --- a/src/game/src/desc.cpp +++ b/src/game/src/desc.cpp @@ -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 diff --git a/src/game/src/exchange.cpp b/src/game/src/exchange.cpp index 0784d71..9095d41 100644 --- a/src/game/src/exchange.cpp +++ b/src/game/src/exchange.cpp @@ -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 } } diff --git a/src/game/src/fishing.cpp b/src/game/src/fishing.cpp index af4cb40..da7dd92 100644 --- a/src/game/src/fishing.cpp +++ b/src/game/src/fishing.cpp @@ -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::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); } diff --git a/src/game/src/guild.cpp b/src/game/src/guild.cpp index 64d5afc..3411a37 100644 --- a/src/game/src/guild.cpp +++ b/src/game/src/guild.cpp @@ -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; diff --git a/src/game/src/guild_manager.cpp b/src/game/src/guild_manager.cpp index eceb7f2..8145d09 100644 --- a/src/game/src/guild_manager.cpp +++ b/src/game/src/guild_manager.cpp @@ -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); } } diff --git a/src/game/src/guild_war.cpp b/src/game/src/guild_war.cpp index 2a2c33c..a7ffcf3 100644 --- a/src/game/src/guild_war.cpp +++ b/src/game/src/guild_war.cpp @@ -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); diff --git a/src/game/src/input_db.cpp b/src/game/src/input_db.cpp index 6ea37d3..372da34 100644 --- a/src/game/src/input_db.cpp +++ b/src/game/src/input_db.cpp @@ -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); } diff --git a/src/game/src/input_login.cpp b/src/game/src/input_login.cpp index cc1f3ec..28f3122 100644 --- a/src/game/src/input_login.cpp +++ b/src/game/src/input_login.cpp @@ -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); diff --git a/src/game/src/input_main.cpp b/src/game/src/input_main.cpp index 69a72a1..ebe58a4 100644 --- a/src/game/src/input_main.cpp +++ b/src/game/src/input_main.cpp @@ -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()); } diff --git a/src/game/src/item.cpp b/src/game/src/item.cpp index 4da87d1..0fcc07d 100644 --- a/src/game/src/item.cpp +++ b/src/game/src/item.cpp @@ -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); diff --git a/src/game/src/main.cpp b/src/game/src/main.cpp index 094c987..4425765 100644 --- a/src/game/src/main.cpp +++ b/src/game/src/main.cpp @@ -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); } diff --git a/src/game/src/messenger_manager.cpp b/src/game/src/messenger_manager.cpp index e5236d6..8f42d03 100644 --- a/src/game/src/messenger_manager.cpp +++ b/src/game/src/messenger_manager.cpp @@ -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) diff --git a/src/game/src/mining.cpp b/src/game/src/mining.cpp index d035b17..ad34f28 100644 --- a/src/game/src/mining.cpp +++ b/src/game/src/mining.cpp @@ -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); diff --git a/src/game/src/monarch.cpp b/src/game/src/monarch.cpp index 244eabb..b29cded 100644 --- a/src/game/src/monarch.cpp +++ b/src/game/src/monarch.cpp @@ -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; } diff --git a/src/game/src/party.cpp b/src/game/src/party.cpp index b2b2ad0..469b647 100644 --- a/src/game/src/party.cpp +++ b/src/game/src/party.cpp @@ -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; diff --git a/src/game/src/polymorph.cpp b/src/game/src/polymorph.cpp index 7f779b1..4255fb0 100644 --- a/src/game/src/polymorph.cpp +++ b/src/game/src/polymorph.cpp @@ -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; } diff --git a/src/game/src/priv_manager.cpp b/src/game/src/priv_manager.cpp index 3d83034..c3f3a78 100644 --- a/src/game/src/priv_manager.cpp +++ b/src/game/src/priv_manager.cpp @@ -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); diff --git a/src/game/src/pvp.cpp b/src/game/src/pvp.cpp index e50ff1b..e2b83f8 100644 --- a/src/game/src/pvp.cpp +++ b/src/game/src/pvp.cpp @@ -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(); diff --git a/src/game/src/questlua_global.cpp b/src/game/src/questlua_global.cpp index 70da03b..005750d 100644 --- a/src/game/src/questlua_global.cpp +++ b/src/game/src/questlua_global.cpp @@ -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; } diff --git a/src/game/src/questlua_monarch.cpp b/src/game/src/questlua_monarch.cpp index 5cb2736..fae1bf8 100644 --- a/src/game/src/questlua_monarch.cpp +++ b/src/game/src/questlua_monarch.cpp @@ -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; } diff --git a/src/game/src/questlua_pc.cpp b/src/game/src/questlua_pc.cpp index bd9d642..25ee11f 100644 --- a/src/game/src/questlua_pc.cpp +++ b/src/game/src/questlua_pc.cpp @@ -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]); } } } diff --git a/src/game/src/questmanager.cpp b/src/game/src/questmanager.cpp index ec0e0f2..bc2d1dc 100644 --- a/src/game/src/questmanager.cpp +++ b/src/game/src/questmanager.cpp @@ -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; } diff --git a/src/game/src/questnpc.cpp b/src/game/src/questnpc.cpp index 446a7c3..ddaf676 100644 --- a/src/game/src/questnpc.cpp +++ b/src/game/src/questnpc.cpp @@ -917,7 +917,7 @@ namespace quest { os << ",\"" << ScriptToString(AvailScript[i]->arg.c_str()) << '"'; } - os << ", '"<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; } diff --git a/src/game/src/shop.cpp b/src/game/src/shop.cpp index 4163b90..4b55903 100644 --- a/src/game/src/shop.cpp +++ b/src/game/src/shop.cpp @@ -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); } diff --git a/src/game/src/shop_manager.cpp b/src/game/src/shop_manager.cpp index aa04963..8018ddf 100644 --- a/src/game/src/shop_manager.cpp +++ b/src/game/src/shop_manager.cpp @@ -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); diff --git a/src/game/src/start_position.cpp b/src/game/src/start_position.cpp index 4cc5e74..0cb76bb 100644 --- a/src/game/src/start_position.cpp +++ b/src/game/src/start_position.cpp @@ -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] = { diff --git a/src/game/src/threeway_war.cpp b/src/game/src/threeway_war.cpp index fa12cde..d622e23 100644 --- a/src/game/src/threeway_war.cpp +++ b/src/game/src/threeway_war.cpp @@ -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; diff --git a/src/game/src/war_map.cpp b/src/game/src/war_map.cpp index 4989087..257a559 100644 --- a/src/game/src/war_map.cpp +++ b/src/game/src/war_map.cpp @@ -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; } diff --git a/src/game/src/wedding.cpp b/src/game/src/wedding.cpp index 9f28315..9028707 100644 --- a/src/game/src/wedding.cpp +++ b/src/game/src/wedding.cpp @@ -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) {