Convert source files from EUC-KR to UTF8 #13

Open
Tr0n wants to merge 8 commits from Tr0n/client:chore/convert-euckr into master
46 changed files with 120 additions and 120 deletions
Showing only changes of commit 4525e3103d - Show all commits

View File

@ -199,7 +199,7 @@ bool CGrannyMesh::LoadTriGroupNodeList(CGrannyMaterialPalette& rkMtrlPal)
void CGrannyMesh::RebuildTriGroupNodeList() void CGrannyMesh::RebuildTriGroupNodeList()
{ {
assert(!"CGrannyMesh::RebuildTriGroupNodeList() - 왜 리빌드를 하는가- -?"); assert(!"CGrannyMesh::RebuildTriGroupNodeList() - \xBF\xD6 \xB8\xAE\xBA\xF4\xB5\xE5\xB8\xA6 \xC7\xCF\xB4\xC2\xB0\xA1- -?");
Review

Deprecated

Deprecated
/* /*
int mtrlCount = m_pgrnMesh->MaterialBindingCount; int mtrlCount = m_pgrnMesh->MaterialBindingCount;
int GroupNodeCount = GrannyGetMeshTriangleGroupCount(m_pgrnMesh); int GroupNodeCount = GrannyGetMeshTriangleGroupCount(m_pgrnMesh);

View File

@ -281,7 +281,7 @@ const float * CGrannyModelInstance::GetCompositeBoneMatrixPointer(int iBone) con
void CGrannyModelInstance::ReloadTexture() void CGrannyModelInstance::ReloadTexture()
{ {
assert("현재 사용하지 않음 - CGrannyModelInstance::ReloadTexture()"); assert("\xC7\xF6\xC0\xE7 \xBB\xE7\xBF\xEB\xC7\xCF\xC1\xF6 \xBE\xCA\xC0\xBD - CGrannyModelInstance::ReloadTexture()");
Review

Deprecated

Deprecated
/* /*
assert(m_pModel != NULL); assert(m_pModel != NULL);
const CGrannyMaterialPalette & c_rGrannyMaterialPalette = m_pModel->GetMaterialPalette(); const CGrannyMaterialPalette & c_rGrannyMaterialPalette = m_pModel->GetMaterialPalette();

View File

@ -38,9 +38,9 @@ bool CGraphicText::OnLoad(int /*iSize*/, const void* /*c_pvBuf*/)
bool bItalic = false; bool bItalic = false;
// format // format
// 굴림.fnt "굴림" 폰트 기본 사이즈 12 로 로딩 // 굴림.fnt "\xB1\xBC\xB8\xB2" 폰트 기본 사이즈 12 로 로딩
Tr0n marked this conversation as resolved Outdated

I think these got caught up in a regex, but it doesn't really matter

I think these got caught up in a regex, but it doesn't really matter
// 굴림:18.fnt "굴림" 폰트 사이즈 18 로 로딩 // 굴림:18.fnt "\xB1\xBC\xB8\xB2" 폰트 사이즈 18 로 로딩
// 굴림:14i.fnt "굴림" 폰트 사이즈 14 & 이탤릭으로 로딩 // 굴림:14i.fnt "\xB1\xBC\xB8\xB2" 폰트 사이즈 14 & 이탤릭으로 로딩
const char * p = strrchr(GetFileName(), ':'); const char * p = strrchr(GetFileName(), ':');
if (p) if (p)

View File

@ -126,7 +126,7 @@ void CGraphicTextInstance::Update()
if (m_roText.IsNull()) if (m_roText.IsNull())
{ {
Tracef("CGraphicTextInstance::Update - 폰트가 설정되지 않았습니다\n"); Tracef("CGraphicTextInstance::Update - \xC6\xF9\xC6\xAE\xB0\xA1 \xBC\xB3\xC1\xA4\xB5\xC7\xC1\xF6 \xBE\xCA\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9\n");
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
return; return;
} }

View File

@ -74,7 +74,7 @@ class CProfiler : public CSingleton<CProfiler>
{ {
CGraphicTextInstance * pGraphicTextInstance = CGraphicTextInstance::New(); CGraphicTextInstance * pGraphicTextInstance = CGraphicTextInstance::New();
CResource * pResource = CResourceManager::Instance().GetResourcePointer("±¼¸²Ã¼.fnt"); CResource * pResource = CResourceManager::Instance().GetResourcePointer("\xB1\xBC\xB8\xB2\xC3\xBC.fnt");
pGraphicTextInstance->Clear(); pGraphicTextInstance->Clear();
pGraphicTextInstance->SetTextPointer(static_cast<CGraphicText*>(pResource)); pGraphicTextInstance->SetTextPointer(static_cast<CGraphicText*>(pResource));
@ -114,7 +114,7 @@ class CProfiler : public CSingleton<CProfiler>
CGraphicTextInstance * pGraphicTextInstance = m_GraphicTextInstancePool.Alloc(); CGraphicTextInstance * pGraphicTextInstance = m_GraphicTextInstancePool.Alloc();
CResource * pResource = CResourceManager::Instance().GetResourcePointer("±¼¸²Ã¼.fnt"); CResource * pResource = CResourceManager::Instance().GetResourcePointer("\xB1\xBC\xB8\xB2\xC3\xBC.fnt");
pGraphicTextInstance->Clear(); pGraphicTextInstance->Clear();
pGraphicTextInstance->SetTextPointer(static_cast<CGraphicText*>(pResource)); pGraphicTextInstance->SetTextPointer(static_cast<CGraphicText*>(pResource));

View File

@ -214,13 +214,13 @@ const char* GetFontFaceFromCodePage9x(WORD codePage)
switch( codePage ) switch( codePage )
{ {
case CP_932: case CP_932:
return "lr oƒSƒVƒbƒN"; return "\x82l\x82r \x82o\x83S\x83V\x83b\x83N";
case CP_949: case CP_949:
return "±¼¸²Ã¼"; return "\xB1\xBC\xB8\xB2\xC3\xBC";
case CP_936: case CP_936:
return "ËÎÌå"; return "\xCB\xCE\xCC\xE5";
case CP_950: case CP_950:
return "²Ó©úÅé"; return "\xB2\xD3\xA9\xFA\xC5\xE9";
case CP_874: case CP_874:
return "Tahoma"; return "Tahoma";
case CP_1252: case CP_1252:

View File

@ -370,7 +370,7 @@ static bool DecomposeLetter(wchar_t input, char* letter)
case 0x201c: // L'“' case 0x201c: // L'“'
*letter = (char)'"'; *letter = (char)'"';
return true; return true;
case 0x201d: // L'' case 0x201d: // L'\xE2\x80\x9D'
Tr0n marked this conversation as resolved Outdated

Just convert the string

Just convert the string
*letter = (char)'"'; *letter = (char)'"';
return true; return true;
} }

View File

@ -93,7 +93,7 @@ namespace UI
m_bShow = false; m_bShow = false;
} }
// NOTE : IsShow는 "자신이 보이는가?" 이지만, __IsShowing은 "자신이 그려지고 있는가?" 를 체크한다 // NOTE : IsShow는 "\xC0\xDA\xBD\xC5\xC0\xCC \xBA\xB8\xC0\xCC\xB4\xC2\xB0\xA1?" 이지만, __IsShowing은 "\xC0\xDA\xBD\xC5\xC0\xCC \xB1\xD7\xB7\xC1\xC1\xF6\xB0\xED \xC0\xD6\xB4\xC2\xB0\xA1?" 를 체크한다
Tr0n marked this conversation as resolved Outdated

Another mistaken escape sequence

Another mistaken escape sequence
// 자신은 Show 지만 Tree 위쪽의 Parent 중 하나는 Hide 일 수 있으므로.. - [levites] // 자신은 Show 지만 Tree 위쪽의 Parent 중 하나는 Hide 일 수 있으므로.. - [levites]
bool CWindow::IsRendering() bool CWindow::IsRendering()
{ {

View File

@ -1260,7 +1260,7 @@ PyObject * wndMgrSetSlotCoolTime(PyObject * poSelf, PyObject * poArgs)
PyObject * wndMgrSetToggleSlot(PyObject * poSelf, PyObject * poArgs) PyObject * wndMgrSetToggleSlot(PyObject * poSelf, PyObject * poArgs)
{ {
assert(!"wndMgrSetToggleSlot - 사용하지 않는 함수"); assert(!"wndMgrSetToggleSlot - \xBB\xE7\xBF\xEB\xC7\xCF\xC1\xF6 \xBE\xCA\xB4\xC2 \xC7\xD4\xBC\xF6");
Review

Deprecated

Deprecated
return Py_BuildNone(); return Py_BuildNone();
} }

View File

@ -176,7 +176,7 @@ bool CActorInstance::InputComboAttackCommand(float fDirRot)
// 이미 입력 한계 시간이 지났다면.. // 이미 입력 한계 시간이 지났다면..
if (fElapsedTime > m_pkCurRaceMotionData->GetComboInputEndTime()) if (fElapsedTime > m_pkCurRaceMotionData->GetComboInputEndTime())
{ {
Tr0n marked this conversation as resolved
Review

To be translated to English (and those below)

To be translated to English (and those below)
//Tracen("입력 한계 시간 지남"); //Tracen("\xC0\xD4\xB7\xC2 \xC7\xD1\xB0\xE8 \xBD\xC3\xB0\xA3 \xC1\xF6\xB3\xB2");
if (IsBowMode()) if (IsBowMode())
m_isNextPreInput = TRUE; m_isNextPreInput = TRUE;
return false; return false;
@ -184,14 +184,14 @@ bool CActorInstance::InputComboAttackCommand(float fDirRot)
if (fElapsedTime > m_pkCurRaceMotionData->GetNextComboTime()) // 콤보 발동 시간 이 후라면 if (fElapsedTime > m_pkCurRaceMotionData->GetNextComboTime()) // 콤보 발동 시간 이 후라면
{ {
//Tracen("다음 콤보 동작"); //Tracen("\xB4\xD9\xC0\xBD \xC4\xDE\xBA\xB8 \xB5\xBF\xC0\xDB");
// args : BlendingTime // args : BlendingTime
__RunNextCombo(); __RunNextCombo();
return true; return true;
} }
else if (fElapsedTime > m_pkCurRaceMotionData->GetComboInputStartTime()) // 선 입력 시간 범위 라면.. else if (fElapsedTime > m_pkCurRaceMotionData->GetComboInputStartTime()) // 선 입력 시간 범위 라면..
{ {
//Tracen("선 입력 설정"); //Tracen("\xBC\xB1 \xC0\xD4\xB7\xC2 \xBC\xB3\xC1\xA4");
m_isPreInput = TRUE; m_isPreInput = TRUE;
return false; return false;
} }
@ -201,7 +201,7 @@ bool CActorInstance::InputComboAttackCommand(float fDirRot)
float fElapsedTime = GetAttackingElapsedTime(); float fElapsedTime = GetAttackingElapsedTime();
if (fElapsedTime > m_pkCurRaceMotionData->GetMotionDuration()*0.9f) // 콤보 발동 시간 이 후라면 if (fElapsedTime > m_pkCurRaceMotionData->GetMotionDuration()*0.9f) // 콤보 발동 시간 이 후라면
{ {
//Tracen("다음 콤보 동작"); //Tracen("\xB4\xD9\xC0\xBD \xC4\xDE\xBA\xB8 \xB5\xBF\xC0\xDB");
// args : BlendingTime // args : BlendingTime
__RunNextCombo(); __RunNextCombo();
return true; return true;
@ -229,7 +229,7 @@ void CActorInstance::ComboProcess()
// Process PreInput // Process PreInput
if (m_isPreInput) if (m_isPreInput)
{ {
//Tracenf("선입력 %f 다음콤보시간 %f", fElapsedTime, m_pkCurRaceMotionData->GetNextComboTime()); //Tracenf("\xBC\xB1\xC0\xD4\xB7\xC2 %f \xB4\xD9\xC0\xBD\xC4\xDE\xBA\xB8\xBD\xC3\xB0\xA3 %f", fElapsedTime, m_pkCurRaceMotionData->GetNextComboTime());
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
if (fElapsedTime > m_pkCurRaceMotionData->GetNextComboTime()) if (fElapsedTime > m_pkCurRaceMotionData->GetNextComboTime())
{ {
__RunNextCombo(); __RunNextCombo();

View File

@ -65,7 +65,7 @@ void CActorInstance::ReservingMotionProcess()
case CRaceMotionData::NAME_STAND_UP_BACK: case CRaceMotionData::NAME_STAND_UP_BACK:
if (IsFaint()) if (IsFaint())
{ {
//Tracenf("일어서려고 했으나 기절중"); //Tracenf("\xC0\xCF\xBE\xEE\xBC\xAD\xB7\xC1\xB0\xED \xC7\xDF\xC0\xB8\xB3\xAA \xB1\xE2\xC0\xFD\xC1\xDF");
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
SetEndStopMotion(); SetEndStopMotion();
@ -98,7 +98,7 @@ void CActorInstance::ReservingMotionProcess()
case CRaceMotionData::NAME_STAND_UP_BACK: case CRaceMotionData::NAME_STAND_UP_BACK:
if (IsDead()) if (IsDead())
{ {
//Tracenf("일어서려고 했으나 사망"); //Tracenf("\xC0\xCF\xBE\xEE\xBC\xAD\xB7\xC1\xB0\xED \xC7\xDF\xC0\xB8\xB3\xAA \xBB\xE7\xB8\xC1");
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
// 예전 데이터로 복구 // 예전 데이터로 복구
m_kCurMotNode=kPrevMotionNode; m_kCurMotNode=kPrevMotionNode;
__ClearMotion(); __ClearMotion();
@ -668,7 +668,7 @@ DWORD CActorInstance::__SetMotion(const SSetMotionData& c_rkSetMotData, DWORD dw
{ {
if (!m_isMain) if (!m_isMain)
{ {
Logn(0, "주인공이 아니라면 이동중이라 데미지 동작을 취하지 않음"); Logn(0, "\xC1\xD6\xC0\xCE\xB0\xF8\xC0\xCC \xBE\xC6\xB4\xCF\xB6\xF3\xB8\xE9 \xC0\xCC\xB5\xBF\xC1\xDF\xC0\xCC\xB6\xF3 \xB5\xA5\xB9\xCC\xC1\xF6 \xB5\xBF\xC0\xDB\xC0\xBB \xC3\xEB\xC7\xCF\xC1\xF6 \xBE\xCA\xC0\xBD");
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
return false; return false;
} }
} }
@ -757,7 +757,7 @@ DWORD CActorInstance::__SetMotion(const SSetMotionData& c_rkSetMotData, DWORD dw
// NOTE : ClearCombo() 를 수행해서는 안된다. // NOTE : ClearCombo() 를 수행해서는 안된다.
// 콤보 다음에 스킬을 이어서 사용할 경우 m_pkCurRaceMotionData까지 초기화 되어 버린다. // 콤보 다음에 스킬을 이어서 사용할 경우 m_pkCurRaceMotionData까지 초기화 되어 버린다.
//Tracef("MotionData에 콤보 데이타가 들어 있지 않습니다.\n"); //Tracef("MotionData\xBF\xA1 \xC4\xDE\xBA\xB8 \xB5\xA5\xC0\xCC\xC5\xB8\xB0\xA1 \xB5\xE9\xBE\xEE \xC0\xD6\xC1\xF6 \xBE\xCA\xBD\xC0\xB4\xCF\xB4\xD9.\n");
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
} }
} }
} }

View File

@ -62,7 +62,7 @@ void CActorInstance::RotationProcess()
m_fcurRotation = m_rotEnd; m_fcurRotation = m_rotEnd;
} }
// FIXME : "건물일때만 체크"로 바꾼다. - [levites] // FIXME : "\xB0\xC7\xB9\xB0\xC0\xCF\xB6\xA7\xB8\xB8 \xC3\xBC\xC5\xA9"로 바꾼다. - [levites]
Tr0n marked this conversation as resolved Outdated

Another one!

Another one!
if (0.0f != m_rotX || 0.0f != m_rotY) if (0.0f != m_rotX || 0.0f != m_rotY)
{ {
CGraphicObjectInstance::SetRotation(m_rotX, m_rotY, m_fcurRotation); CGraphicObjectInstance::SetRotation(m_rotX, m_rotY, m_fcurRotation);

View File

@ -203,7 +203,7 @@ void CItemData::__SetIconImage(const char * c_szFileName)
{ {
if (!CResourceManager::Instance().IsFileExist(c_szFileName)) if (!CResourceManager::Instance().IsFileExist(c_szFileName))
{ {
TraceError("%s 파일이 없습니다.CItemData::__SetIconImage",c_szFileName); TraceError("%s \xC6\xC4\xC0\xCF\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.CItemData::__SetIconImage",c_szFileName);
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
m_pIconImage = NULL; m_pIconImage = NULL;
} }
else if (m_pIconImage == NULL) else if (m_pIconImage == NULL)

View File

@ -57,7 +57,7 @@ bool CMapBase::LoadProperty()
if (!LoadMultipleTextData(strFileName.c_str(), stTokenVectorMap)) if (!LoadMultipleTextData(strFileName.c_str(), stTokenVectorMap))
{ {
TraceError("CMapBase::LoadProperty(FileName=%s) - LoadMultipleTextData ERROR 파일이 없을 가능성이 많습니다.", strFileName.c_str()); TraceError("CMapBase::LoadProperty(FileName=%s) - LoadMultipleTextData ERROR \xC6\xC4\xC0\xCF\xC0\xCC \xBE\xF8\xC0\xBB \xB0\xA1\xB4\xC9\xBC\xBA\xC0\xCC \xB8\xB9\xBD\xC0\xB4\xCF\xB4\xD9.", strFileName.c_str());
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
return false; return false;
} }

View File

@ -184,7 +184,7 @@ float CMapManager::GetHeight(float fx, float fy)
{ {
if (!m_pkMap) if (!m_pkMap)
{ {
TraceError("CMapManager::GetHeight(%f, %f) - 맵이 생성되지 않은 상태에서 접근", fx, fy); TraceError("CMapManager::GetHeight(%f, %f) - \xB8\xCA\xC0\xCC \xBB\xFD\xBC\xBA\xB5\xC7\xC1\xF6 \xBE\xCA\xC0\xBA \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD \xC1\xA2\xB1\xD9", fx, fy);
Tr0n marked this conversation as resolved Outdated

To be translated (and two more below)

To be translated (and two more below)
return 0.0f; return 0.0f;
} }
CMapOutdoor& rkMap=GetMapOutdoorRef(); CMapOutdoor& rkMap=GetMapOutdoorRef();
@ -195,7 +195,7 @@ float CMapManager::GetTerrainHeight(float fx, float fy)
{ {
if (!m_pkMap) if (!m_pkMap)
{ {
TraceError("CMapManager::GetTerrainHeight(%f, %f) - 맵이 생성되지 않은 상태에서 접근", fx, fy); TraceError("CMapManager::GetTerrainHeight(%f, %f) - \xB8\xCA\xC0\xCC \xBB\xFD\xBC\xBA\xB5\xC7\xC1\xF6 \xBE\xCA\xC0\xBA \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD \xC1\xA2\xB1\xD9", fx, fy);
return 0.0f; return 0.0f;
} }
CMapOutdoor& rkMap=GetMapOutdoorRef(); CMapOutdoor& rkMap=GetMapOutdoorRef();
@ -206,7 +206,7 @@ bool CMapManager::GetWaterHeight(int iX, int iY, long * plWaterHeight)
{ {
if (!m_pkMap) if (!m_pkMap)
{ {
TraceError("CMapManager::GetTerrainHeight(%f, %f) - 맵이 생성되지 않은 상태에서 접근", iX, iY); TraceError("CMapManager::GetTerrainHeight(%f, %f) - \xB8\xCA\xC0\xCC \xBB\xFD\xBC\xBA\xB5\xC7\xC1\xF6 \xBE\xCA\xC0\xBA \xBB\xF3\xC5\xC2\xBF\xA1\xBC\xAD \xC1\xA2\xB1\xD9", iX, iY);
return false; return false;
} }

View File

@ -398,7 +398,7 @@ bool CMapOutdoor::LoadSetting(const char * c_szFileName)
{ {
#ifdef WORLD_EDITOR #ifdef WORLD_EDITOR
// TextureSet 이 적용되어 있지 않아도 진행 // TextureSet 이 적용되어 있지 않아도 진행
LogBox("TextureSet 이 적용되어있지 않은 맵 입니다.\n지형 텍스춰 작업에 주의하시기 바랍니다."); LogBox("TextureSet \xC0\xCC \xC0\xFB\xBF\xEB\xB5\xC7\xBE\xEE\xC0\xD6\xC1\xF6 \xBE\xCA\xC0\xBA \xB8\xCA \xC0\xD4\xB4\xCF\xB4\xD9.\n\xC1\xF6\xC7\xFC \xC5\xD8\xBD\xBA\xC3\xE7 \xC0\xDB\xBE\xF7\xBF\xA1 \xC1\xD6\xC0\xC7\xC7\xCF\xBD\xC3\xB1\xE2 \xB9\xD9\xB6\xF8\xB4\xCF\xB4\xD9.");
Tr0n marked this conversation as resolved Outdated

To be translated (even though we don't plan on using World Editor on this codebase)

To be translated (even though we don't plan on using World Editor on this codebase)
#else #else
TraceError("MapOutdoor::LoadSetting(c_szFileName=%s) - LOAD TEXTURE SET(%s) ERROR", c_szFileName, stTextureSetFileName.c_str()); TraceError("MapOutdoor::LoadSetting(c_szFileName=%s) - LOAD TEXTURE SET(%s) ERROR", c_szFileName, stTextureSetFileName.c_str());
return false; return false;

View File

@ -742,7 +742,7 @@ void CMapOutdoor::UpdateTerrain(float fX, float fY)
ConvertTerrainToTnL(lRealCenterX, lRealCenterY); ConvertTerrainToTnL(lRealCenterX, lRealCenterY);
UpdateAreaList(lRealCenterX, lRealCenterY); UpdateAreaList(lRealCenterX, lRealCenterY);
//Tracef("사용하는 Area, Terrain : (%d, %d), 지울 Area, Terrain : (%d, %d)\n", //Tracef("\xBB\xE7\xBF\xEB\xC7\xCF\xB4\xC2 Area, Terrain : (%d, %d), \xC1\xF6\xBF\xEF Area, Terrain : (%d, %d)\n",
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
// m_AreaVector.size(), m_TerrainVector.size(), m_AreaDeleteVector.size(), m_TerrainDeleteVector.size()); // m_AreaVector.size(), m_TerrainVector.size(), m_AreaDeleteVector.size(), m_TerrainDeleteVector.size());
} }
} }

View File

@ -126,12 +126,12 @@ void CMonsterAreaInfo::RemoveAllMonsters()
SetMonsterGroupID(0); SetMonsterGroupID(0);
m_strGroupName.assign("이름없음"); m_strGroupName.assign("\xC0\xCC\xB8\xA7\xBE\xF8\xC0\xBD");
m_strLeaderName.assign("이름없음"); m_strLeaderName.assign("\xC0\xCC\xB8\xA7\xBE\xF8\xC0\xBD");
SetMonsterGroupFollowerCount(0); SetMonsterGroupFollowerCount(0);
SetMonsterVID(0); SetMonsterVID(0);
m_strMonsterName.assign("이름없음"); m_strMonsterName.assign("\xC0\xCC\xB8\xA7\xBE\xF8\xC0\xBD");
SetMonsterCount(0); SetMonsterCount(0);
SetMonsterDirection(DIR_NORTH); SetMonsterDirection(DIR_NORTH);

View File

@ -225,7 +225,7 @@ bool CPropertyManager::Erase(DWORD dwCRC)
FILE * fp = fopen("property/reserve", "a+"); FILE * fp = fopen("property/reserve", "a+");
if (!fp) if (!fp)
LogBox("예약 CRC 파일을 열 수 없습니다."); LogBox("\xBF\xB9\xBE\xE0 CRC \xC6\xC4\xC0\xCF\xC0\xBB \xBF\xAD \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.");
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
else else
{ {
char szCRC[64 + 1]; char szCRC[64 + 1];

View File

@ -119,7 +119,7 @@ void CSoundInstance3D::SetPosition(float x, float y, float z) const
void CSoundInstance3D::SetOrientation(float x_face, float y_face, float z_face, void CSoundInstance3D::SetOrientation(float x_face, float y_face, float z_face,
float x_normal, float y_normal, float z_normal) const float x_normal, float y_normal, float z_normal) const
{ {
assert(!" CSoundInstance3D::SetOrientation - 사용 하지 않는 함수"); assert(!" CSoundInstance3D::SetOrientation - \xBB\xE7\xBF\xEB \xC7\xCF\xC1\xF6 \xBE\xCA\xB4\xC2 \xC7\xD4\xBC\xF6");
Review

Deprecated?

Deprecated?
// AIL_set_3D_orientation(m_sample, // AIL_set_3D_orientation(m_sample,
// x_face, y_face, z_face, // x_face, y_face, z_face,
// x_normal, y_normal, z_normal); // x_normal, y_normal, z_normal);

View File

@ -397,7 +397,7 @@ void CSoundManager::PlayCharacterSound3D(float fx, float fy, float fz, const cha
float fTime = itor->second; float fTime = itor->second;
if (CTimer::Instance().GetCurrentSecond() - fTime < 0.3f) if (CTimer::Instance().GetCurrentSecond() - fTime < 0.3f)
{ {
//Tracef("똑같은 소리가 0.3초 내에 다시 플레이 %s\n", c_szFileName); //Tracef("\xB6\xC8\xB0\xB0\xC0\xBA \xBC\xD2\xB8\xAE\xB0\xA1 0.3\xC3\xCA \xB3\xBB\xBF\xA1 \xB4\xD9\xBD\xC3 \xC7\xC3\xB7\xB9\xC0\xCC %s\n", c_szFileName);
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
return; return;
} }
} }

View File

@ -26,7 +26,7 @@ bool NSound::LoadSoundInformationPiece(const char * c_szFileName, NSound::TSound
CTextFileLoader& rkTextFileLoader=*pkTextFileLoader; CTextFileLoader& rkTextFileLoader=*pkTextFileLoader;
if (rkTextFileLoader.IsEmpty()) if (rkTextFileLoader.IsEmpty())
{ {
SetResultString((strResult + " 읽기용 파일을 열 수 없음").c_str()); SetResultString((strResult + " \xC0\xD0\xB1\xE2\xBF\xEB \xC6\xC4\xC0\xCF\xC0\xBB \xBF\xAD \xBC\xF6 \xBE\xF8\xC0\xBD").c_str());
Review

Maybe SetResultString() calls could be translated, have to check it out

Maybe SetResultString() calls could be translated, have to check it out
return false; return false;
} }
@ -35,7 +35,7 @@ bool NSound::LoadSoundInformationPiece(const char * c_szFileName, NSound::TSound
int iCount; int iCount;
if (!rkTextFileLoader.GetTokenInteger("sounddatacount", &iCount)) if (!rkTextFileLoader.GetTokenInteger("sounddatacount", &iCount))
{ {
SetResultString((strResult + " 파일 포멧 에러, SoundDataCount를 찾을 수 없음").c_str()); SetResultString((strResult + " \xC6\xC4\xC0\xCF \xC6\xF7\xB8\xE4 \xBF\xA1\xB7\xAF, SoundDataCount\xB8\xA6 \xC3\xA3\xC0\xBB \xBC\xF6 \xBE\xF8\xC0\xBD").c_str());
return false; return false;
} }
@ -49,13 +49,13 @@ bool NSound::LoadSoundInformationPiece(const char * c_szFileName, NSound::TSound
CTokenVector * pTokenVector; CTokenVector * pTokenVector;
if (!rkTextFileLoader.GetTokenVector(szSoundDataHeader, &pTokenVector)) if (!rkTextFileLoader.GetTokenVector(szSoundDataHeader, &pTokenVector))
{ {
SetResultString((strResult + " 파일 포멧 에러: " + szSoundDataHeader + " 를 찾을 수 없음").c_str()); SetResultString((strResult + " \xC6\xC4\xC0\xCF \xC6\xF7\xB8\xE4 \xBF\xA1\xB7\xAF: " + szSoundDataHeader + " \xB8\xA6 \xC3\xA3\xC0\xBB \xBC\xF6 \xBE\xF8\xC0\xBD").c_str());
return false; return false;
} }
if (2 != pTokenVector->size()) if (2 != pTokenVector->size())
{ {
SetResultString((strResult + " 파일 포멧 에러: 벡터 크기가 2가 아님").c_str()); SetResultString((strResult + " \xC6\xC4\xC0\xCF \xC6\xF7\xB8\xE4 \xBF\xA1\xB7\xAF: \xBA\xA4\xC5\xCD \xC5\xA9\xB1\xE2\xB0\xA1 2\xB0\xA1 \xBE\xC6\xB4\xD4").c_str());
return false; return false;
} }
@ -71,7 +71,7 @@ bool NSound::LoadSoundInformationPiece(const char * c_szFileName, NSound::TSound
} }
} }
SetResultString((strResult + " 불러옴").c_str()); SetResultString((strResult + " \xBA\xD2\xB7\xAF\xBF\xC8").c_str());
return true; return true;
} }
@ -95,8 +95,8 @@ bool NSound::SaveSoundInformationPiece(const char * c_szFileName, NSound::TSound
{ {
char szErrorText[256+1]; char szErrorText[256+1];
_snprintf(szErrorText, sizeof(szErrorText), "Failed to save file (%s).\nPlease check if it is read-only or you have no space on the disk.\n", c_szFileName); _snprintf(szErrorText, sizeof(szErrorText), "Failed to save file (%s).\nPlease check if it is read-only or you have no space on the disk.\n", c_szFileName);
LogBox(szErrorText, "에러"); LogBox(szErrorText, "\xBF\xA1\xB7\xAF");
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
SetResultString((strResult + " 쓰기용 파일을 열 수 없음").c_str()); SetResultString((strResult + " \xBE\xB2\xB1\xE2\xBF\xEB \xC6\xC4\xC0\xCF\xC0\xBB \xBF\xAD \xBC\xF6 \xBE\xF8\xC0\xBD").c_str());
return false; return false;
} }

View File

@ -194,7 +194,7 @@ bool CTextureSet::AddTexture(const char * c_szFileName,
{ {
if (GetTextureCount() >= 256) if (GetTextureCount() >= 256)
{ {
LogBox("텍스처를 더 이상 추가할 수 없습니다.", "최대 텍스처 개수 255개"); LogBox("\xC5\xD8\xBD\xBA\xC3\xB3\xB8\xA6 \xB4\xF5 \xC0\xCC\xBB\xF3 \xC3\xDF\xB0\xA1\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.", "\xC3\xD6\xB4\xEB \xC5\xD8\xBD\xBA\xC3\xB3 \xB0\xB3\xBC\xF6 255\xB0\xB3");
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
return false; return false;
} }
@ -202,7 +202,7 @@ bool CTextureSet::AddTexture(const char * c_szFileName,
{ {
if (0 == m_Textures[i].stFilename.compare(c_szFileName)) if (0 == m_Textures[i].stFilename.compare(c_szFileName))
{ {
LogBox("동일한 이름의 텍스처가 이미 있습니다.", "중복"); LogBox("\xB5\xBF\xC0\xCF\xC7\xD1 \xC0\xCC\xB8\xA7\xC0\xC7 \xC5\xD8\xBD\xBA\xC3\xB3\xB0\xA1 \xC0\xCC\xB9\xCC \xC0\xD6\xBD\xC0\xB4\xCF\xB4\xD9.", "\xC1\xDF\xBA\xB9");
return false; return false;
} }
} }
@ -211,7 +211,7 @@ bool CTextureSet::AddTexture(const char * c_szFileName,
if (!pResource->IsType(CGraphicImage::Type())) if (!pResource->IsType(CGraphicImage::Type()))
{ {
LogBox("CTerrainImpl::GenerateTexture : 이미지 파일이 아닙니다. %s", pResource->GetFileName()); LogBox("CTerrainImpl::GenerateTexture : \xC0\xCC\xB9\xCC\xC1\xF6 \xC6\xC4\xC0\xCF\xC0\xCC \xBE\xC6\xB4\xD5\xB4\xCF\xB4\xD9. %s", pResource->GetFileName());
return false; return false;
} }

View File

@ -7,8 +7,8 @@ std::string g_strImagePath = "d:/ymir work/ui/";
std::string g_strGuildSymbolPathName = "mark/10/"; std::string g_strGuildSymbolPathName = "mark/10/";
// DEFAULT_FONT // DEFAULT_FONT
static std::string gs_strDefaultFontName = "±¼¸²Ã¼:12.fnt"; static std::string gs_strDefaultFontName = "\xB1\xBC\xB8\xB2\xC3\xBC:12.fnt";
static std::string gs_strDefaultItalicFontName = "±¼¸²Ã¼:12i.fnt"; static std::string gs_strDefaultItalicFontName = "\xB1\xBC\xB8\xB2\xC3\xBC:12i.fnt";
static CResource* gs_pkDefaultFont = NULL; static CResource* gs_pkDefaultFont = NULL;
static CResource* gs_pkDefaultItalicFont = NULL; static CResource* gs_pkDefaultItalicFont = NULL;

View File

@ -410,7 +410,7 @@ void CInstanceBase::__EnableSkipCollision()
{ {
if (__IsMainInstance()) if (__IsMainInstance())
{ {
TraceError("CInstanceBase::__EnableSkipCollision - 자신은 충돌검사스킵이 되면 안된다!!"); TraceError("CInstanceBase::__EnableSkipCollision - \xC0\xDA\xBD\xC5\xC0\xBA \xC3\xE6\xB5\xB9\xB0\xCB\xBB\xE7\xBD\xBA\xC5\xB5\xC0\xCC \xB5\xC7\xB8\xE9 \xBE\xC8\xB5\xC8\xB4\xD9!!");
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
return; return;
} }
m_GraphicThingInstance.EnableSkipCollision(); m_GraphicThingInstance.EnableSkipCollision();
@ -1189,8 +1189,8 @@ void CInstanceBase::PushTCPState(DWORD dwCmdTime, const TPixelPosition& c_rkPPos
{ {
if (__IsMainInstance()) if (__IsMainInstance())
{ {
//assert(!"CInstanceBase::PushTCPState 플레이어 자신에게 이동패킷은 오면 안된다!"); //assert(!"CInstanceBase::PushTCPState \xC7\xC3\xB7\xB9\xC0\xCC\xBE\xEE \xC0\xDA\xBD\xC5\xBF\xA1\xB0\xD4 \xC0\xCC\xB5\xBF\xC6\xD0\xC5\xB6\xC0\xBA \xBF\xC0\xB8\xE9 \xBE\xC8\xB5\xC8\xB4\xD9!");
Tr0n marked this conversation as resolved
Review

To be translated

To be translated
TraceError("CInstanceBase::PushTCPState 플레이어 자신에게 이동패킷은 오면 안된다!"); TraceError("CInstanceBase::PushTCPState \xC7\xC3\xB7\xB9\xC0\xCC\xBE\xEE \xC0\xDA\xBD\xC5\xBF\xA1\xB0\xD4 \xC0\xCC\xB5\xBF\xC6\xD0\xC5\xB6\xC0\xBA \xBF\xC0\xB8\xE9 \xBE\xC8\xB5\xC8\xB4\xD9!");
return; return;
} }
@ -1204,7 +1204,7 @@ void CInstanceBase::PushTCPState(DWORD dwCmdTime, const TPixelPosition& c_rkPPos
m_dwBaseChkTime = ELTimer_GetFrameMSec()-nNetworkGap; m_dwBaseChkTime = ELTimer_GetFrameMSec()-nNetworkGap;
m_dwBaseCmdTime = dwCmdTime; m_dwBaseCmdTime = dwCmdTime;
Tracenf("VID[%d] 네트웍갭 [%d]", GetVirtualID(), nNetworkGap); Tracenf("VID[%d] \xB3\xD7\xC6\xAE\xBF\xF7\xB0\xB8 [%d]", GetVirtualID(), nNetworkGap);
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
} }
*/ */
@ -1222,7 +1222,7 @@ void CInstanceBase::PushTCPState(DWORD dwCmdTime, const TPixelPosition& c_rkPPos
//int nApplyGap=kCmdNew.m_dwChkTime-ELTimer_GetServerFrameMSec(); //int nApplyGap=kCmdNew.m_dwChkTime-ELTimer_GetServerFrameMSec();
//if (nApplyGap<-500 || nApplyGap>500) //if (nApplyGap<-500 || nApplyGap>500)
// Tracenf("VID[%d] NAME[%s] 네트웍갭 [cur:%d ave:%d] 작동시간 (%d)", GetVirtualID(), GetNameString(), nNetworkGap, m_nAverageNetworkGap, nApplyGap); // Tracenf("VID[%d] NAME[%s] \xB3\xD7\xC6\xAE\xBF\xF7\xB0\xB8 [cur:%d ave:%d] \xC0\xDB\xB5\xBF\xBD\xC3\xB0\xA3 (%d)", GetVirtualID(), GetNameString(), nNetworkGap, m_nAverageNetworkGap, nApplyGap);
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
} }
/* /*
@ -1313,11 +1313,11 @@ void CInstanceBase::StateProcess()
TPixelPosition kPPosDir = kPPosDst - kPPosCur; TPixelPosition kPPosDir = kPPosDst - kPPosCur;
float fDirLen = (float)sqrt(kPPosDir.x * kPPosDir.x + kPPosDir.y * kPPosDir.y); float fDirLen = (float)sqrt(kPPosDir.x * kPPosDir.x + kPPosDir.y * kPPosDir.y);
//Tracenf("거리 %f", fDirLen); //Tracenf("\xB0\xC5\xB8\xAE %f", fDirLen);
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
if (!__CanProcessNetworkStatePacket()) if (!__CanProcessNetworkStatePacket())
{ {
Lognf(0, "vid=%d 움직일 수 없는 상태라 스킵 IsDead=%d, IsKnockDown=%d", uVID, m_GraphicThingInstance.IsDead(), m_GraphicThingInstance.IsKnockDown()); Lognf(0, "vid=%d \xBF\xF2\xC1\xF7\xC0\xCF \xBC\xF6 \xBE\xF8\xB4\xC2 \xBB\xF3\xC5\xC2\xB6\xF3 \xBD\xBA\xC5\xB5 IsDead=%d, IsKnockDown=%d", uVID, m_GraphicThingInstance.IsDead(), m_GraphicThingInstance.IsKnockDown());
Tr0n marked this conversation as resolved Outdated

To be translated (and all other Trace functions below)

To be translated (and all other Trace functions below)
return; return;
} }
@ -1330,7 +1330,7 @@ void CInstanceBase::StateProcess()
{ {
case FUNC_WAIT: case FUNC_WAIT:
{ {
//Tracenf("%s (%f, %f) -> (%f, %f) 남은거리 %f", GetNameString(), kPPosCur.x, kPPosCur.y, kPPosDst.x, kPPosDst.y, fDirLen); //Tracenf("%s (%f, %f) -> (%f, %f) \xB3\xB2\xC0\xBA\xB0\xC5\xB8\xAE %f", GetNameString(), kPPosCur.x, kPPosCur.y, kPPosDst.x, kPPosDst.y, fDirLen);
if (fDirLen > 1.0f) if (fDirLen > 1.0f)
{ {
//NEW_GetSrcPixelPositionRef() = kPPosCur; //NEW_GetSrcPixelPositionRef() = kPPosCur;
@ -1348,11 +1348,11 @@ void CInstanceBase::StateProcess()
if (!IsWalking()) if (!IsWalking())
StartWalking(); StartWalking();
//Tracen("목표정지"); //Tracen("\xB8\xF1\xC7\xA5\xC1\xA4\xC1\xF6");
} }
else else
{ {
//Tracen("현재 정지"); //Tracen("\xC7\xF6\xC0\xE7 \xC1\xA4\xC1\xF6");
m_isGoing = FALSE; m_isGoing = FALSE;
@ -1381,12 +1381,12 @@ void CInstanceBase::StateProcess()
if (!IsWalking()) if (!IsWalking())
{ {
//Tracen("걷고 있지 않아 걷기 시작"); //Tracen("\xB0\xC8\xB0\xED \xC0\xD6\xC1\xF6 \xBE\xCA\xBE\xC6 \xB0\xC8\xB1\xE2 \xBD\xC3\xC0\xDB");
StartWalking(); StartWalking();
} }
else else
{ {
//Tracen("이미 걷는중 "); //Tracen("\xC0\xCC\xB9\xCC \xB0\xC8\xB4\xC2\xC1\xDF ");
} }
break; break;
} }
@ -1409,7 +1409,7 @@ void CInstanceBase::StateProcess()
} }
else else
{ {
//Tracen("대기 공격 정지"); //Tracen("\xB4\xEB\xB1\xE2 \xB0\xF8\xB0\xDD \xC1\xA4\xC1\xF6");
m_isGoing = FALSE; m_isGoing = FALSE;
@ -1440,11 +1440,11 @@ void CInstanceBase::StateProcess()
if (!IsWalking()) if (!IsWalking())
StartWalking(); StartWalking();
//Tracen("너무 멀어서 이동 후 공격"); //Tracen("\xB3\xCA\xB9\xAB \xB8\xD6\xBE\xEE\xBC\xAD \xC0\xCC\xB5\xBF \xC8\xC4 \xB0\xF8\xB0\xDD");
} }
else else
{ {
//Tracen("노말 공격 정지"); //Tracen("\xB3\xEB\xB8\xBB \xB0\xF8\xB0\xDD \xC1\xA4\xC1\xF6");
m_isGoing = FALSE; m_isGoing = FALSE;
@ -1456,7 +1456,7 @@ void CInstanceBase::StateProcess()
RunNormalAttack(fRotDst); RunNormalAttack(fRotDst);
//Tracen("가깝기 때문에 워프 공격"); //Tracen("\xB0\xA1\xB1\xF5\xB1\xE2 \xB6\xA7\xB9\xAE\xBF\xA1 \xBF\xF6\xC7\xC1 \xB0\xF8\xB0\xDD");
} }
break; break;
} }
@ -1540,11 +1540,11 @@ void CInstanceBase::StateProcess()
if (!IsWalking()) if (!IsWalking())
StartWalking(); StartWalking();
//Tracen("너무 멀어서 이동 후 공격"); //Tracen("\xB3\xCA\xB9\xAB \xB8\xD6\xBE\xEE\xBC\xAD \xC0\xCC\xB5\xBF \xC8\xC4 \xB0\xF8\xB0\xDD");
} }
else else
{ {
//Tracen("스킬 정지"); //Tracen("\xBD\xBA\xC5\xB3 \xC1\xA4\xC1\xF6");
m_isGoing = FALSE; m_isGoing = FALSE;
@ -1556,7 +1556,7 @@ void CInstanceBase::StateProcess()
SetRotation(fRotDst); SetRotation(fRotDst);
NEW_UseSkill(0, eFunc & 0x7f, uArg&0x0f, (uArg>>4) ? true : false); NEW_UseSkill(0, eFunc & 0x7f, uArg&0x0f, (uArg>>4) ? true : false);
//Tracen("가깝기 때문에 워프 공격"); //Tracen("\xB0\xA1\xB1\xF5\xB1\xE2 \xB6\xA7\xB9\xAE\xBF\xA1 \xBF\xF6\xC7\xC1 \xB0\xF8\xB0\xDD");
} }
} }
break; break;
@ -1604,7 +1604,7 @@ void CInstanceBase::MovementProcess()
if (IsWalking()) if (IsWalking())
EndWalking(); EndWalking();
//Tracen("목표 도달 정지"); //Tracen("\xB8\xF1\xC7\xA5 \xB5\xB5\xB4\xDE \xC1\xA4\xC1\xF6");
m_isGoing = FALSE; m_isGoing = FALSE;
@ -1636,7 +1636,7 @@ void CInstanceBase::MovementProcess()
float fDstRot = NEW_GetAdvancingRotationFromPixelPosition(kPPosCur, NEW_GetDstPixelPositionRef()); float fDstRot = NEW_GetAdvancingRotationFromPixelPosition(kPPosCur, NEW_GetDstPixelPositionRef());
SetAdvancingRotation(fDstRot); SetAdvancingRotation(fDstRot);
//Tracenf("VID %d 오버 방향설정 (%f, %f) %f rest %f", GetVirtualID(), kPPosCur.x, kPPosCur.y, fDstRot, fRestLen); //Tracenf("VID %d \xBF\xC0\xB9\xF6 \xB9\xE6\xC7\xE2\xBC\xB3\xC1\xA4 (%f, %f) %f rest %f", GetVirtualID(), kPPosCur.x, kPPosCur.y, fDstRot, fRestLen);
// 이동중이라면 다음번에 멈추게 한다 // 이동중이라면 다음번에 멈추게 한다
if (FUNC_MOVE == m_kMovAfterFunc.eFunc) if (FUNC_MOVE == m_kMovAfterFunc.eFunc)
@ -1651,11 +1651,11 @@ void CInstanceBase::MovementProcess()
{ {
__DisableSkipCollision(); __DisableSkipCollision();
//Tracen("사망 상태라 동작 스킵"); //Tracen("\xBB\xE7\xB8\xC1 \xBB\xF3\xC5\xC2\xB6\xF3 \xB5\xBF\xC0\xDB \xBD\xBA\xC5\xB5");
m_isGoing = FALSE; m_isGoing = FALSE;
//Tracen("행동 불능 상태라 이후 동작 스킵"); //Tracen("\xC7\xE0\xB5\xBF \xBA\xD2\xB4\xC9 \xBB\xF3\xC5\xC2\xB6\xF3 \xC0\xCC\xC8\xC4 \xB5\xBF\xC0\xDB \xBD\xBA\xC5\xB5");
} }
else else
{ {
@ -1737,7 +1737,7 @@ void CInstanceBase::MovementProcess()
} }
else else
{ {
//Tracenf("VID %d 스킬 공격 (%f, %f) rot %f", GetVirtualID(), NEW_GetDstPixelPositionRef().x, NEW_GetDstPixelPositionRef().y, m_fDstRot); //Tracenf("VID %d \xBD\xBA\xC5\xB3 \xB0\xF8\xB0\xDD (%f, %f) rot %f", GetVirtualID(), NEW_GetDstPixelPositionRef().x, NEW_GetDstPixelPositionRef().y, m_fDstRot);
__DisableSkipCollision(); __DisableSkipCollision();
m_isGoing = FALSE; m_isGoing = FALSE;
@ -1751,7 +1751,7 @@ void CInstanceBase::MovementProcess()
EndWalking(); EndWalking();
} }
//Tracenf("VID %d 정지 (%f, %f) rot %f IsWalking %d", GetVirtualID(), NEW_GetDstPixelPositionRef().x, NEW_GetDstPixelPositionRef().y, m_fDstRot, IsWalking()); //Tracenf("VID %d \xC1\xA4\xC1\xF6 (%f, %f) rot %f IsWalking %d", GetVirtualID(), NEW_GetDstPixelPositionRef().x, NEW_GetDstPixelPositionRef().y, m_fDstRot, IsWalking());
} }
break; break;
} }

View File

@ -497,7 +497,7 @@ BOOL CInstanceBase::CheckAdvancing()
if (m_GraphicThingInstance.CanSkipCollision()) if (m_GraphicThingInstance.CanSkipCollision())
{ {
//Tracenf("%x VID %d 충돌 스킵", ELTimer_GetMSec(), GetVirtualID()); //Tracenf("%x VID %d \xC3\xE6\xB5\xB9 \xBD\xBA\xC5\xB5", ELTimer_GetMSec(), GetVirtualID());
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
return FALSE; return FALSE;
} }

View File

@ -178,7 +178,7 @@ void CInstanceBase::ProcessDamage()
{ {
if(index > 7) if(index > 7)
{ {
TraceError("ProcessDamage무한루프 가능성"); TraceError("ProcessDamage\xB9\xAB\xC7\xD1\xB7\xE7\xC7\xC1 \xB0\xA1\xB4\xC9\xBC\xBA");
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
break; break;
} }
num = damage%10; num = damage%10;

View File

@ -527,7 +527,7 @@ bool CPythonApplication::Process()
if ( dt >= 500 ) if ( dt >= 500 )
{ {
s_uiNextFrameTime += nAdjustTime; s_uiNextFrameTime += nAdjustTime;
printf("FrameSkip 보정 %d\n",nAdjustTime); printf("FrameSkip \xBA\xB8\xC1\xA4 %d\n",nAdjustTime);
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
CTimer::Instance().Adjust(nAdjustTime); CTimer::Instance().Adjust(nAdjustTime);
} }
@ -549,7 +549,7 @@ bool CPythonApplication::Process()
// if (dt >= 500 || m_dwCurUpdateTime > s_uiNextFrameTime) // if (dt >= 500 || m_dwCurUpdateTime > s_uiNextFrameTime)
// { // {
// s_uiNextFrameTime += dt / uiFrameTime * uiFrameTime; // s_uiNextFrameTime += dt / uiFrameTime * uiFrameTime;
// printf("FrameSkip 보정 %d\n", dt / uiFrameTime * uiFrameTime); // printf("FrameSkip \xBA\xB8\xC1\xA4 %d\n", dt / uiFrameTime * uiFrameTime);
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
// CTimer::Instance().Adjust((dt / uiFrameTime) * uiFrameTime); // CTimer::Instance().Adjust((dt / uiFrameTime) * uiFrameTime);
// s_bFrameSkip = true; // s_bFrameSkip = true;
// } // }
@ -609,7 +609,7 @@ bool CPythonApplication::Process()
//m_pyNetworkStream.AbsoluteExitGame(); //m_pyNetworkStream.AbsoluteExitGame();
/* /*
TraceError("무한 프레임 스킵으로 접속을 종료합니다"); TraceError("\xB9\xAB\xC7\xD1 \xC7\xC1\xB7\xB9\xC0\xD3 \xBD\xBA\xC5\xB5\xC0\xB8\xB7\xCE \xC1\xA2\xBC\xD3\xC0\xBB \xC1\xBE\xB7\xE1\xC7\xD5\xB4\xCF\xB4\xD9");
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
{ {
FILE* fp=fopen("errorlog.txt", "w"); FILE* fp=fopen("errorlog.txt", "w");

View File

@ -248,7 +248,7 @@ PyObject * backgroundRenderCharacterShadowToTexture(PyObject * poSelf, PyObject
PyObject * backgroundRenderDungeon(PyObject * poSelf, PyObject * poArgs) PyObject * backgroundRenderDungeon(PyObject * poSelf, PyObject * poArgs)
{ {
assert(!"background.RenderDungeon() - 사용하지 않는 함수입니다 - [levites]"); assert(!"background.RenderDungeon() - \xBB\xE7\xBF\xEB\xC7\xCF\xC1\xF6 \xBE\xCA\xB4\xC2 \xC7\xD4\xBC\xF6\xC0\xD4\xB4\xCF\xB4\xD9 - [levites]");
Review

Deprecated?

Deprecated?
return Py_BuildNone(); return Py_BuildNone();
} }

View File

@ -436,7 +436,7 @@ PyObject * chatGetLinkFromHyperlink(PyObject * poSelf, PyObject * poArgs)
} }
if (isAttr) if (isAttr)
//"item:번호:플래그:소켓0:소켓1:소켓2" //"item:\xB9\xF8\xC8\xA3:\xC7\xC3\xB7\xA1\xB1\xD7:\xBC\xD2\xC4\xCF0:\xBC\xD2\xC4\xCF1:\xBC\xD2\xC4\xCF2"
Tr0n marked this conversation as resolved Outdated

Another mistaken escape

Another mistaken escape
snprintf(buf, sizeof(buf), "|cffffc700|H%s|h[%s]|h|r", itemlink, pItemData->GetName()); snprintf(buf, sizeof(buf), "|cffffc700|H%s|h[%s]|h|r", itemlink, pItemData->GetName());
else else
snprintf(buf, sizeof(buf), "|cfff1e6c0|H%s|h[%s]|h|r", itemlink, pItemData->GetName()); snprintf(buf, sizeof(buf), "|cfff1e6c0|H%s|h[%s]|h|r", itemlink, pItemData->GetName());

View File

@ -585,7 +585,7 @@ void CPythonEventManager::ProcessEventSet(TEventSet * pEventSet)
const char * name = GetArgument("name", ScriptCommand.argList); const char * name = GetArgument("name", ScriptCommand.argList);
// 퀘스트 UI 리뉴얼이 되면 해결 되므로 일단 용혼석만 땜빵 by chrislee // 퀘스트 UI 리뉴얼이 되면 해결 되므로 일단 용혼석만 땜빵 by chrislee
if (!strcmp(name, "조각난 용혼석?....")) { if (!strcmp(name, "\xC1\xB6\xB0\xA2\xB3\xAD \xBF\xEB\xC8\xA5\xBC\xAE?....")) {
PyCallClassMemberFunc(m_poInterface, "BINARY_RecvQuest", Py_BuildValue("(isss)", idx, name, "highlight", "")); PyCallClassMemberFunc(m_poInterface, "BINARY_RecvQuest", Py_BuildValue("(isss)", idx, name, "highlight", ""));
} }
else { else {
@ -1146,7 +1146,7 @@ void CPythonEventManager::SetLeftTimeString(const char * c_szString)
} }
CPythonEventManager::CPythonEventManager() CPythonEventManager::CPythonEventManager()
: m_poInterface(0), m_strLeftTimeString("남은 시간 : %d초") : m_poInterface(0), m_strLeftTimeString("\xB3\xB2\xC0\xBA \xBD\xC3\xB0\xA3 : %d\xC3\xCA")
{ {
EventTypeMap["LETTER"]=EVENT_TYPE_LETTER; EventTypeMap["LETTER"]=EVENT_TYPE_LETTER;
EventTypeMap["COLOR"]=EVENT_TYPE_COLOR; EventTypeMap["COLOR"]=EVENT_TYPE_COLOR;

View File

@ -515,7 +515,7 @@ PyObject * guildGetDragonPowerPoint(PyObject * poSelf, PyObject * poArgs)
PyObject * guildGetGuildSkillLevel(PyObject * poSelf, PyObject * poArgs) PyObject * guildGetGuildSkillLevel(PyObject * poSelf, PyObject * poArgs)
{ {
assert(FALSE && !"guildGetGuildSkillLevel - 사용하지 않는 함수입니다."); assert(FALSE && !"guildGetGuildSkillLevel - \xBB\xE7\xBF\xEB\xC7\xCF\xC1\xF6 \xBE\xCA\xB4\xC2 \xC7\xD4\xBC\xF6\xC0\xD4\xB4\xCF\xB4\xD9.");
Review

deprecated :(

deprecated :(
int iSkillIndex; int iSkillIndex;
if (!PyTuple_GetInteger(poArgs, 0, &iSkillIndex)) if (!PyTuple_GetInteger(poArgs, 0, &iSkillIndex))

View File

@ -655,7 +655,7 @@ bool CPythonNetworkStream::RecvDefaultPacket(int header)
if (!header) if (!header)
return true; return true;
TraceError("처리되지 않은 패킷 헤더 %d, state %s\n", header, m_strPhase.c_str()); TraceError("\xC3\xB3\xB8\xAE\xB5\xC7\xC1\xF6 \xBE\xCA\xC0\xBA \xC6\xD0\xC5\xB6 \xC7\xEC\xB4\xF5 %d, state %s\n", header, m_strPhase.c_str());
Tr0n marked this conversation as resolved Outdated

Should be translated to English

Should be translated to English
ClearRecvBuffer(); ClearRecvBuffer();
return true; return true;
} }

View File

@ -121,7 +121,7 @@ bool SplitToken(const char * c_szLine, CTokenVector * pstTokenVector, const char
pstTokenVector->push_back(strLine.substr(beginPos, endPos - beginPos)); pstTokenVector->push_back(strLine.substr(beginPos, endPos - beginPos));
// 추가 코드. 맨뒤에 탭이 있는 경우를 체크한다. - [levites] // \xC3\xDF\xB0\xA1 \xC4\xDA\xB5\xE5. \xB8\xC7\xB5\xDA\xBF\xA1 \xC5\xC7\xC0\xCC \xC0\xD6\xB4\xC2 \xB0\xE6\xBF\xEC\xB8\xA6 \xC3\xBC\xC5\xA9\xC7\xD1\xB4\xD9. - [levites]
Tr0n marked this conversation as resolved Outdated

All comments in this file were mistakenly escaped instead of converted

All comments in this file were mistakenly escaped instead of converted
if (int(strLine.find_first_not_of(c_szDelimeter, basePos)) < 0) if (int(strLine.find_first_not_of(c_szDelimeter, basePos)) < 0)
break; break;
} while (basePos < strLine.length()); } while (basePos < strLine.length());
@ -131,7 +131,7 @@ bool SplitToken(const char * c_szLine, CTokenVector * pstTokenVector, const char
void CPythonNetworkStream::ServerCommand(char * c_szCommand) void CPythonNetworkStream::ServerCommand(char * c_szCommand)
{ {
// #0000811: [M2EU] 콘솔창 기능 차단 // #0000811: [M2EU] \xC4\xDC\xBC\xD6\xC3\xA2 \xB1\xE2\xB4\xC9 \xC2\xF7\xB4\xDC
if (strcmpi(c_szCommand, "ConsoleEnable") == 0) if (strcmpi(c_szCommand, "ConsoleEnable") == 0)
return; return;
@ -246,7 +246,7 @@ void CPythonNetworkStream::ServerCommand(char * c_szCommand)
else if ("r_list" == TokenVector[1]) else if ("r_list" == TokenVector[1])
{ {
// result list (/cube r_list npcVNUM resultCount resultText) // result list (/cube r_list npcVNUM resultCount resultText)
// 20383 4 72723,1/72725,1/72730.1/50001,5 <- 이런식으로 "/" 문자로 구분된 리스트를 줌 // 20383 4 72723,1/72725,1/72730.1/50001,5 <- \xC0\xCC\xB7\xB1\xBD\xC4\xC0\xB8\xB7\xCE "/" \xB9\xAE\xC0\xDA\xB7\xCE \xB1\xB8\xBA\xD0\xB5\xC8 \xB8\xAE\xBD\xBA\xC6\xAE\xB8\xA6 \xC1\xDC
if (5 != TokenVector.size()) if (5 != TokenVector.size())
{ {
TraceError("CPythonNetworkStream::ServerCommand(c_szCommand=%s) - Strange Parameter Count : %d", c_szCommand, 5); TraceError("CPythonNetworkStream::ServerCommand(c_szCommand=%s) - Strange Parameter Count : %d", c_szCommand, 5);
@ -260,9 +260,9 @@ void CPythonNetworkStream::ServerCommand(char * c_szCommand)
else if ("m_info" == TokenVector[1]) else if ("m_info" == TokenVector[1])
{ {
// material list (/cube m_info requestStartIndex resultCount MaterialText) // material list (/cube m_info requestStartIndex resultCount MaterialText)
// ex) requestStartIndex: 0, resultCount : 5 - 해당 NPC가 만들수 있는 아이템 중 0~4번째에 해당하는 아이템을 만드는 데 필요한 모든 재료들이 MaterialText에 들어있음 // ex) requestStartIndex: 0, resultCount : 5 - \xC7\xD8\xB4\xE7 NPC\xB0\xA1 \xB8\xB8\xB5\xE9\xBC\xF6 \xC0\xD6\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB \xC1\xDF 0~4\xB9\xF8\xC2\xB0\xBF\xA1 \xC7\xD8\xB4\xE7\xC7\xCF\xB4\xC2 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xBB \xB8\xB8\xB5\xE5\xB4\xC2 \xB5\xA5 \xC7\xCA\xBF\xE4\xC7\xD1 \xB8\xF0\xB5\xE7 \xC0\xE7\xB7\xE1\xB5\xE9\xC0\xCC MaterialText\xBF\xA1 \xB5\xE9\xBE\xEE\xC0\xD6\xC0\xBD
// 위 예시처럼 아이템이 다수인 경우 구분자 "@" 문자를 사용 // \xC0\xA7 \xBF\xB9\xBD\xC3\xC3\xB3\xB7\xB3 \xBE\xC6\xC0\xCC\xC5\xDB\xC0\xCC \xB4\xD9\xBC\xF6\xC0\xCE \xB0\xE6\xBF\xEC \xB1\xB8\xBA\xD0\xC0\xDA "@" \xB9\xAE\xC0\xDA\xB8\xA6 \xBB\xE7\xBF\xEB
// 0 5 125,1|126,2|127,2|123,5&555,5&555,4/120000 <- 이런식으로 서버에서 클라로 리스트를 줌 // 0 5 125,1|126,2|127,2|123,5&555,5&555,4/120000 <- \xC0\xCC\xB7\xB1\xBD\xC4\xC0\xB8\xB7\xCE \xBC\xAD\xB9\xF6\xBF\xA1\xBC\xAD \xC5\xAC\xB6\xF3\xB7\xCE \xB8\xAE\xBD\xBA\xC6\xAE\xB8\xA6 \xC1\xDC
if (5 != TokenVector.size()) if (5 != TokenVector.size())
{ {

View File

@ -1551,7 +1551,7 @@ PyObject* netSendRequestRefineInfoPacket(PyObject* poSelf, PyObject* poArgs)
// CPythonNetworkStream& rns=CPythonNetworkStream::Instance(); // CPythonNetworkStream& rns=CPythonNetworkStream::Instance();
// rns.SendRequestRefineInfoPacket(iSlotIndex); // rns.SendRequestRefineInfoPacket(iSlotIndex);
assert(!"netSendRequestRefineInfoPacket - 더이상 사용하지 않는 함수 입니다"); assert(!"netSendRequestRefineInfoPacket - \xB4\xF5\xC0\xCC\xBB\xF3 \xBB\xE7\xBF\xEB\xC7\xCF\xC1\xF6 \xBE\xCA\xB4\xC2 \xC7\xD4\xBC\xF6 \xC0\xD4\xB4\xCF\xB4\xD9");
Review

Function deprecated - should be deleted!

Function deprecated - should be deleted!
return Py_BuildNone(); return Py_BuildNone();
} }

View File

@ -1278,7 +1278,7 @@ bool CPythonNetworkStream::RecvChatPacket()
buf[uChatSize]='\0'; buf[uChatSize]='\0';
// 유럽 아랍 버전 처리 // 유럽 아랍 버전 처리
// "이름: 내용" 입력을 "내용: 이름" 순서로 출력하기 위해 탭(0x08)을 넣음 // "\xC0\xCC\xB8\xA7: \xB3\xBB\xBF\xEB" 입력을 "\xB3\xBB\xBF\xEB: \xC0\xCC\xB8\xA7" 순서로 출력하기 위해 탭(0x08)을 넣음
Tr0n marked this conversation as resolved Outdated

Another comment escape

Another comment escape
// 탭을 아랍어 기호로 처리해 (영어1) : (영어2) 로 입력되어도 (영어2) : (영어1) 로 출력하게 만든다 // 탭을 아랍어 기호로 처리해 (영어1) : (영어2) 로 입력되어도 (영어2) : (영어1) 로 출력하게 만든다
if (LocaleService_IsEUROPE() && GetDefaultCodePage() == 1256) if (LocaleService_IsEUROPE() && GetDefaultCodePage() == 1256)
{ {
@ -1558,7 +1558,7 @@ bool CPythonNetworkStream::RecvDeadPacket()
CInstanceBase* pkInstMain=rkChrMgr.GetMainInstancePtr(); CInstanceBase* pkInstMain=rkChrMgr.GetMainInstancePtr();
if (pkInstMain==pkChrInstSel) if (pkInstMain==pkChrInstSel)
{ {
Tracenf("주인공 사망"); Tracenf("\xC1\xD6\xC0\xCE\xB0\xF8 \xBB\xE7\xB8\xC1");
Tr0n marked this conversation as resolved Outdated

Should be translated to English

Should be translated to English
if (false == pkInstMain->GetDuelMode()) if (false == pkInstMain->GetDuelMode())
{ {
PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "OnGameOver", Py_BuildValue("()")); PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "OnGameOver", Py_BuildValue("()"));
@ -2303,7 +2303,7 @@ bool CPythonNetworkStream::RecvSkillCoolTimeEnd()
bool CPythonNetworkStream::RecvSkillLevel() bool CPythonNetworkStream::RecvSkillLevel()
{ {
assert(!"CPythonNetworkStream::RecvSkillLevel - 사용하지 않는 함수"); assert(!"CPythonNetworkStream::RecvSkillLevel - \xBB\xE7\xBF\xEB\xC7\xCF\xC1\xF6 \xBE\xCA\xB4\xC2 \xC7\xD4\xBC\xF6");

Deprecated, should be deleted

Deprecated, should be deleted
TPacketGCSkillLevel packet; TPacketGCSkillLevel packet;
if (!Recv(sizeof(TPacketGCSkillLevel), &packet)) if (!Recv(sizeof(TPacketGCSkillLevel), &packet))
{ {
@ -2529,7 +2529,7 @@ bool CPythonNetworkStream::RecvAddFlyTargetingPacket()
__GlobalPositionToLocalPosition(kPacket.lX, kPacket.lY); __GlobalPositionToLocalPosition(kPacket.lX, kPacket.lY);
Tracef("VID [%d]가 타겟을 추가 설정\n",kPacket.dwShooterVID); Tracef("VID [%d]\xB0\xA1 \xC5\xB8\xB0\xD9\xC0\xBB \xC3\xDF\xB0\xA1 \xBC\xB3\xC1\xA4\n",kPacket.dwShooterVID);
Tr0n marked this conversation as resolved Outdated

Should be translated to English

Should be translated to English
CPythonCharacterManager & rpcm = CPythonCharacterManager::Instance(); CPythonCharacterManager & rpcm = CPythonCharacterManager::Instance();
@ -4251,7 +4251,7 @@ bool CPythonNetworkStream::RecvTargetCreatePacket()
//#ifdef _DEBUG //#ifdef _DEBUG
// char szBuf[256+1]; // char szBuf[256+1];
// _snprintf(szBuf, sizeof(szBuf), "타겟이 생성 되었습니다 [%d:%s]", kTargetCreate.lID, kTargetCreate.szTargetName); // _snprintf(szBuf, sizeof(szBuf), "\xC5\xB8\xB0\xD9\xC0\xCC \xBB\xFD\xBC\xBA \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9 [%d:%s]", kTargetCreate.lID, kTargetCreate.szTargetName);
// CPythonChat::Instance().AppendChat(CHAT_TYPE_NOTICE, szBuf); // CPythonChat::Instance().AppendChat(CHAT_TYPE_NOTICE, szBuf);
// Tracef(" >> RecvTargetCreatePacket %d : %s\n", kTargetCreate.lID, kTargetCreate.szTargetName); // Tracef(" >> RecvTargetCreatePacket %d : %s\n", kTargetCreate.lID, kTargetCreate.szTargetName);
//#endif //#endif
@ -4280,7 +4280,7 @@ bool CPythonNetworkStream::RecvTargetCreatePacketNew()
//#ifdef _DEBUG //#ifdef _DEBUG
// char szBuf[256+1]; // char szBuf[256+1];
// _snprintf(szBuf, sizeof(szBuf), "캐릭터 타겟이 생성 되었습니다 [%d:%s:%d]", kTargetCreate.lID, kTargetCreate.szTargetName, kTargetCreate.dwVID); // _snprintf(szBuf, sizeof(szBuf), "\xC4\xB3\xB8\xAF\xC5\xCD \xC5\xB8\xB0\xD9\xC0\xCC \xBB\xFD\xBC\xBA \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9 [%d:%s:%d]", kTargetCreate.lID, kTargetCreate.szTargetName, kTargetCreate.dwVID);
// CPythonChat::Instance().AppendChat(CHAT_TYPE_NOTICE, szBuf); // CPythonChat::Instance().AppendChat(CHAT_TYPE_NOTICE, szBuf);
// Tracef(" >> RecvTargetCreatePacketNew %d : %d/%d\n", kTargetCreate.lID, kTargetCreate.byType, kTargetCreate.dwVID); // Tracef(" >> RecvTargetCreatePacketNew %d : %d/%d\n", kTargetCreate.lID, kTargetCreate.byType, kTargetCreate.dwVID);
//#endif //#endif
@ -4303,7 +4303,7 @@ bool CPythonNetworkStream::RecvTargetUpdatePacket()
//#ifdef _DEBUG //#ifdef _DEBUG
// char szBuf[256+1]; // char szBuf[256+1];
// _snprintf(szBuf, sizeof(szBuf), "타겟의 위치가 갱신 되었습니다 [%d:%d/%d]", kTargetUpdate.lID, kTargetUpdate.lX, kTargetUpdate.lY); // _snprintf(szBuf, sizeof(szBuf), "\xC5\xB8\xB0\xD9\xC0\xC7 \xC0\xA7\xC4\xA1\xB0\xA1 \xB0\xBB\xBD\xC5 \xB5\xC7\xBE\xFA\xBD\xC0\xB4\xCF\xB4\xD9 [%d:%d/%d]", kTargetUpdate.lID, kTargetUpdate.lX, kTargetUpdate.lY);
// CPythonChat::Instance().AppendChat(CHAT_TYPE_NOTICE, szBuf); // CPythonChat::Instance().AppendChat(CHAT_TYPE_NOTICE, szBuf);
// Tracef(" >> RecvTargetUpdatePacket %d : %d, %d\n", kTargetUpdate.lID, kTargetUpdate.lX, kTargetUpdate.lY); // Tracef(" >> RecvTargetUpdatePacket %d : %d, %d\n", kTargetUpdate.lID, kTargetUpdate.lX, kTargetUpdate.lY);
//#endif //#endif

View File

@ -173,7 +173,7 @@ bool CPythonNetworkStream::RecvCharacterAdditionalInfo()
bool CPythonNetworkStream::RecvCharacterAppendPacketNew() bool CPythonNetworkStream::RecvCharacterAppendPacketNew()
{ {
TraceError("TPacketGCCharacterAdd2는 쓰지 않는 패킷입니다."); TraceError("TPacketGCCharacterAdd2\xB4\xC2 \xBE\xB2\xC1\xF6 \xBE\xCA\xB4\xC2 \xC6\xD0\xC5\xB6\xC0\xD4\xB4\xCF\xB4\xD9.");
Tr0n marked this conversation as resolved Outdated

Should be translated to English

Should be translated to English
TPacketGCCharacterAdd2 chrAddPacket; TPacketGCCharacterAdd2 chrAddPacket;
if (!Recv(sizeof(chrAddPacket), &chrAddPacket)) if (!Recv(sizeof(chrAddPacket), &chrAddPacket))
return false; return false;

View File

@ -13,7 +13,7 @@
bool CPythonNetworkStream::SendSafeBoxMoneyPacket(BYTE byState, DWORD dwMoney) bool CPythonNetworkStream::SendSafeBoxMoneyPacket(BYTE byState, DWORD dwMoney)
{ {
assert(!"CPythonNetworkStream::SendSafeBoxMoneyPacket - 사용하지 않는 함수"); assert(!"CPythonNetworkStream::SendSafeBoxMoneyPacket - \xBB\xE7\xBF\xEB\xC7\xCF\xC1\xF6 \xBE\xCA\xB4\xC2 \xC7\xD4\xBC\xF6");
Review

Function deprecated

Function deprecated
return false; return false;
// TPacketCGSafeboxMoney kSafeboxMoney; // TPacketCGSafeboxMoney kSafeboxMoney;
@ -861,7 +861,7 @@ bool CPythonNetworkStream::RecvSpecialEffect()
default: default:
TraceError("%d 는 없는 스페셜 이펙트 번호입니다.TPacketGCSpecialEffect",kSpecialEffect.type); TraceError("%d \xB4\xC2 \xBE\xF8\xB4\xC2 \xBD\xBA\xC6\xE4\xBC\xC8 \xC0\xCC\xC6\xE5\xC6\xAE \xB9\xF8\xC8\xA3\xC0\xD4\xB4\xCF\xB4\xD9.TPacketGCSpecialEffect",kSpecialEffect.type);
Tr0n marked this conversation as resolved Outdated

Should be translated to English

Should be translated to English
break; break;
} }

View File

@ -978,7 +978,7 @@ float CPythonPlayer::GetSkillNextEfficientPercentage(DWORD dwSlotIndex)
void CPythonPlayer::SetSkillLevel(DWORD dwSlotIndex, DWORD dwSkillLevel) void CPythonPlayer::SetSkillLevel(DWORD dwSlotIndex, DWORD dwSkillLevel)
{ {
assert(!"CPythonPlayer::SetSkillLevel - 사용하지 않는 함수"); assert(!"CPythonPlayer::SetSkillLevel - \xBB\xE7\xBF\xEB\xC7\xCF\xC1\xF6 \xBE\xCA\xB4\xC2 \xC7\xD4\xBC\xF6");
Review

Deprecated

Deprecated
if (dwSlotIndex >= SKILL_MAX_NUM) if (dwSlotIndex >= SKILL_MAX_NUM)
return; return;

View File

@ -260,7 +260,7 @@ void CPythonPlayerEventHandler::CNormalBowAttack_FlyEventHandler_AutoClear::OnEx
{ {
return; return;
Tracef("Shoot : 다른 target에 맞았습니다 : %d, %d\n", dwSkillIndex, dwVID); Tracef("Shoot : \xB4\xD9\xB8\xA5 target\xBF\xA1 \xB8\xC2\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9 : %d, %d\n", dwSkillIndex, dwVID);
Tr0n marked this conversation as resolved Outdated

To be translated to English

To be translated to English
CPythonNetworkStream& rkStream=CPythonNetworkStream::Instance(); CPythonNetworkStream& rkStream=CPythonNetworkStream::Instance();
rkStream.SendAttackPacket(dwSkillIndex, dwVID); rkStream.SendAttackPacket(dwSkillIndex, dwVID);
@ -274,7 +274,7 @@ void CPythonPlayerEventHandler::CNormalBowAttack_FlyEventHandler_AutoClear::OnEx
} }
void CPythonPlayerEventHandler::CNormalBowAttack_FlyEventHandler_AutoClear::OnExplodingAtTarget(DWORD dwSkillIndex) void CPythonPlayerEventHandler::CNormalBowAttack_FlyEventHandler_AutoClear::OnExplodingAtTarget(DWORD dwSkillIndex)
{ {
// Tracef("Shoot : 원하는 target에 맞았습니다 : %d, %d\n", dwSkillIndex, m_pInstTarget->GetVirtualID()); // Tracef("Shoot : \xBF\xF8\xC7\xCF\xB4\xC2 target\xBF\xA1 \xB8\xC2\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9 : %d, %d\n", dwSkillIndex, m_pInstTarget->GetVirtualID());
// CPythonNetworkStream& rkStream=CPythonNetworkStream::Instance(); // CPythonNetworkStream& rkStream=CPythonNetworkStream::Instance();
// rkStream.SendAttackPacket(dwSkillIndex, m_pInstTarget->GetVirtualID()); // rkStream.SendAttackPacket(dwSkillIndex, m_pInstTarget->GetVirtualID());
} }

View File

@ -1051,13 +1051,13 @@ PyObject * playerGetItemLink(PyObject * poSelf, PyObject * poArgs)
if( GetDefaultCodePage() == CP_ARABIC ) { if( GetDefaultCodePage() == CP_ARABIC ) {
if (isAttr) if (isAttr)
//"item:번호:플래그:소켓0:소켓1:소켓2" //"item:\xB9\xF8\xC8\xA3:\xC7\xC3\xB7\xA1\xB1\xD7:\xBC\xD2\xC4\xCF0:\xBC\xD2\xC4\xCF1:\xBC\xD2\xC4\xCF2"
Tr0n marked this conversation as resolved Outdated

Convert instead of escape

Convert instead of escape
snprintf(buf, sizeof(buf), " |h|r[%s]|cffffc700|H%s|h", pItemData->GetName(), itemlink); snprintf(buf, sizeof(buf), " |h|r[%s]|cffffc700|H%s|h", pItemData->GetName(), itemlink);
else else
snprintf(buf, sizeof(buf), " |h|r[%s]|cfff1e6c0|H%s|h", pItemData->GetName(), itemlink); snprintf(buf, sizeof(buf), " |h|r[%s]|cfff1e6c0|H%s|h", pItemData->GetName(), itemlink);
} else { } else {
if (isAttr) if (isAttr)
//"item:번호:플래그:소켓0:소켓1:소켓2" //"item:\xB9\xF8\xC8\xA3:\xC7\xC3\xB7\xA1\xB1\xD7:\xBC\xD2\xC4\xCF0:\xBC\xD2\xC4\xCF1:\xBC\xD2\xC4\xCF2"
snprintf(buf, sizeof(buf), "|cffffc700|H%s|h[%s]|h|r", itemlink, pItemData->GetName()); snprintf(buf, sizeof(buf), "|cffffc700|H%s|h[%s]|h|r", itemlink, pItemData->GetName());
else else
snprintf(buf, sizeof(buf), "|cfff1e6c0|H%s|h[%s]|h|r", itemlink, pItemData->GetName()); snprintf(buf, sizeof(buf), "|cfff1e6c0|H%s|h[%s]|h|r", itemlink, pItemData->GetName());

View File

@ -572,7 +572,7 @@ bool CPythonPlayer::__UseSkill(DWORD dwSlotIndex)
if (pSkillData->CanUseForMe()) if (pSkillData->CanUseForMe())
{ {
pkInstTarget = pkInstMain; pkInstTarget = pkInstMain;
Tracef(" [ALERT] 동료에게 사용하는 기술임에도 적에게 타겟팅 되어있어서 자신에게로 재설정\n"); Tracef(" [ALERT] \xB5\xBF\xB7\xE1\xBF\xA1\xB0\xD4 \xBB\xE7\xBF\xEB\xC7\xCF\xB4\xC2 \xB1\xE2\xBC\xFA\xC0\xD3\xBF\xA1\xB5\xB5 \xC0\xFB\xBF\xA1\xB0\xD4 \xC5\xB8\xB0\xD9\xC6\xC3 \xB5\xC7\xBE\xEE\xC0\xD6\xBE\xEE\xBC\xAD \xC0\xDA\xBD\xC5\xBF\xA1\xB0\xD4\xB7\xCE \xC0\xE7\xBC\xB3\xC1\xA4\n");
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
} }
else else
{ {
@ -636,7 +636,7 @@ bool CPythonPlayer::__UseSkill(DWORD dwSlotIndex)
{ {
pkInstTarget = pkInstMain; pkInstTarget = pkInstMain;
pkInstMain->SetFlyTargetInstance(*pkInstMain); pkInstMain->SetFlyTargetInstance(*pkInstMain);
Tracef(" [ALERT] 타겟이 없어서 플레이어에게 사용합니다\n"); Tracef(" [ALERT] \xC5\xB8\xB0\xD9\xC0\xCC \xBE\xF8\xBE\xEE\xBC\xAD \xC7\xC3\xB7\xB9\xC0\xCC\xBE\xEE\xBF\xA1\xB0\xD4 \xBB\xE7\xBF\xEB\xC7\xD5\xB4\xCF\xB4\xD9\n");
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
} }
else if (pSkillData->IsNeedCorpse()) else if (pSkillData->IsNeedCorpse())
{ {
@ -672,7 +672,7 @@ bool CPythonPlayer::__UseSkill(DWORD dwSlotIndex)
} }
else else
{ {
Tracenf("CPythonPlayer::__UseSkill(%d) - 화면 기준 방향 설정을 해야함", dwSlotIndex); Tracenf("CPythonPlayer::__UseSkill(%d) - \xC8\xAD\xB8\xE9 \xB1\xE2\xC1\xD8 \xB9\xE6\xC7\xE2 \xBC\xB3\xC1\xA4\xC0\xBB \xC7\xD8\xBE\xDF\xC7\xD4", dwSlotIndex);
} }
} }

View File

@ -140,8 +140,8 @@ void CPythonQuest::__Initialize()
test.dwIndex = i; test.dwIndex = i;
test.strIconFileName = ""; test.strIconFileName = "";
test.strTitle = _getf("test%d", i); test.strTitle = _getf("test%d", i);
test.strClockName = "남은 시간"; test.strClockName = "\xB3\xB2\xC0\xBA \xBD\xC3\xB0\xA3";
test.strCounterName = "남은 마리수"; test.strCounterName = "\xB3\xB2\xC0\xBA \xB8\xB6\xB8\xAE\xBC\xF6";
test.iClockValue = 1000; test.iClockValue = 1000;
test.iCounterValue = 1000; test.iCounterValue = 1000;
test.iStartTime = 0; test.iStartTime = 0;

View File

@ -496,7 +496,7 @@ bool CPythonSkill::RegisterSkillDesc(const char * c_szFileName)
int numGrade = atoi(TokenVector[DESC_TOKEN_TYPE_MOTION_INDEX_GRADE_NUM].c_str()); int numGrade = atoi(TokenVector[DESC_TOKEN_TYPE_MOTION_INDEX_GRADE_NUM].c_str());
if (SKILL_EFFECT_COUNT < numGrade) if (SKILL_EFFECT_COUNT < numGrade)
{ {
TraceError("%s[%s] 가 등급 제한[%d]을 넘어갔습니다.",rSkillData.strName.c_str(), TokenVector[DESC_TOKEN_TYPE_MOTION_INDEX_GRADE_NUM].c_str(), SKILL_EFFECT_COUNT); TraceError("%s[%s] \xB0\xA1 \xB5\xEE\xB1\xDE \xC1\xA6\xC7\xD1[%d]\xC0\xBB \xB3\xD1\xBE\xEE\xB0\xAC\xBD\xC0\xB4\xCF\xB4\xD9.",rSkillData.strName.c_str(), TokenVector[DESC_TOKEN_TYPE_MOTION_INDEX_GRADE_NUM].c_str(), SKILL_EFFECT_COUNT);
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
return false; return false;
} }
for (int iGrade = 0; iGrade < numGrade; iGrade++) for (int iGrade = 0; iGrade < numGrade; iGrade++)

View File

@ -447,7 +447,7 @@ void CPythonTextTail::ShowCharacterTextTail(DWORD VirtualID)
if (m_CharacterTextTailList.end() != std::find(m_CharacterTextTailList.begin(), m_CharacterTextTailList.end(), pTextTail)) if (m_CharacterTextTailList.end() != std::find(m_CharacterTextTailList.begin(), m_CharacterTextTailList.end(), pTextTail))
{ {
//Tracef("이미 리스트에 있음 : %d\n", VirtualID); //Tracef("\xC0\xCC\xB9\xCC \xB8\xAE\xBD\xBA\xC6\xAE\xBF\xA1 \xC0\xD6\xC0\xBD : %d\n", VirtualID);
Tr0n marked this conversation as resolved Outdated

To be translated (and the one below)

To be translated (and the one below)
return; return;
} }
@ -478,7 +478,7 @@ void CPythonTextTail::ShowItemTextTail(DWORD VirtualID)
if (m_ItemTextTailList.end() != std::find(m_ItemTextTailList.begin(), m_ItemTextTailList.end(), pTextTail)) if (m_ItemTextTailList.end() != std::find(m_ItemTextTailList.begin(), m_ItemTextTailList.end(), pTextTail))
{ {
//Tracef("이미 리스트에 있음 : %d\n", VirtualID); //Tracef("\xC0\xCC\xB9\xCC \xB8\xAE\xBD\xBA\xC6\xAE\xBF\xA1 \xC0\xD6\xC0\xBD : %d\n", VirtualID);
return; return;
} }

View File

@ -239,20 +239,20 @@ bool PackInitialize(const char * c_pszFolder)
} }
#ifdef _DISTRIBUTE #ifdef _DISTRIBUTE
Tracef("알림: 팩 모드입니다.\n"); Tracef("\xBE\xCB\xB8\xB2: \xC6\xD1 \xB8\xF0\xB5\xE5\xC0\xD4\xB4\xCF\xB4\xD9.\n");
Tr0n marked this conversation as resolved Outdated

To be translated

To be translated
//if (0 == strPackType.compare("FILE")) //if (0 == strPackType.compare("FILE"))
//{ //{
// bPackFirst = FALSE; // bPackFirst = FALSE;
// Tracef("알림: 파일 모드입니다.\n"); // Tracef("\xBE\xCB\xB8\xB2: \xC6\xC4\xC0\xCF \xB8\xF0\xB5\xE5\xC0\xD4\xB4\xCF\xB4\xD9.\n");
//} //}
//else //else
//{ //{
// Tracef("알림: 팩 모드입니다.\n"); // Tracef("\xBE\xCB\xB8\xB2: \xC6\xD1 \xB8\xF0\xB5\xE5\xC0\xD4\xB4\xCF\xB4\xD9.\n");
//} //}
#else #else
bPackFirst = FALSE; bPackFirst = FALSE;
Tracef("알림: 파일 모드입니다.\n"); Tracef("\xBE\xCB\xB8\xB2: \xC6\xC4\xC0\xCF \xB8\xF0\xB5\xE5\xC0\xD4\xB4\xCF\xB4\xD9.\n");
#endif #endif
CTextFileLoader::SetCacheMode(); CTextFileLoader::SetCacheMode();