Convert source files from EUC-KR to UTF8 #13
@ -38,9 +38,9 @@ bool CGraphicText::OnLoad(int /*iSize*/, const void* /*c_pvBuf*/)
|
|||||||
bool bItalic = false;
|
bool bItalic = false;
|
||||||
|
|
||||||
// format
|
// format
|
||||||
// 굴림.fnt "\xB1\xBC\xB8\xB2" 폰트 기본 사이즈 12 로 로딩
|
// 굴림.fnt "굴림" 폰트 기본 사이즈 12 로 로딩
|
||||||
Tr0n marked this conversation as resolved
Outdated
|
|||||||
// 굴림:18.fnt "\xB1\xBC\xB8\xB2" 폰트 사이즈 18 로 로딩
|
// 굴림:18.fnt "굴림" 폰트 사이즈 18 로 로딩
|
||||||
// 굴림:14i.fnt "\xB1\xBC\xB8\xB2" 폰트 사이즈 14 & 이탤릭으로 로딩
|
// 굴림:14i.fnt "굴림" 폰트 사이즈 14 & 이탤릭으로 로딩
|
||||||
const char * p = strrchr(GetFileName(), ':');
|
const char * p = strrchr(GetFileName(), ':');
|
||||||
|
|
||||||
if (p)
|
if (p)
|
||||||
|
@ -126,7 +126,7 @@ void CGraphicTextInstance::Update()
|
|||||||
|
|
||||||
if (m_roText.IsNull())
|
if (m_roText.IsNull())
|
||||||
{
|
{
|
||||||
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");
|
Tracef("CGraphicTextInstance::Update - Font not set\n");
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
To be translated To be translated
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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'\xE2\x80\x9D'
|
case 0x201d: // L'”'
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
Just convert the string Just convert the string
|
|||||||
*letter = (char)'"';
|
*letter = (char)'"';
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,7 @@ namespace UI
|
|||||||
m_bShow = false;
|
m_bShow = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 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?" 를 체크한다
|
// NOTE : IsShow는 "자신이 보이는가?" 이지만, __IsShowing은 "자신이 그려지고 있는가?" 를 체크한다
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
Another mistaken escape sequence Another mistaken escape sequence
|
|||||||
// 자신은 Show 지만 Tree 위쪽의 Parent 중 하나는 Hide 일 수 있으므로.. - [levites]
|
// 자신은 Show 지만 Tree 위쪽의 Parent 중 하나는 Hide 일 수 있으므로.. - [levites]
|
||||||
bool CWindow::IsRendering()
|
bool CWindow::IsRendering()
|
||||||
{
|
{
|
||||||
|
@ -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
Exynox
commented
To be translated to English (and those below) To be translated to English (and those below)
|
|||||||
//Tracen("\xC0\xD4\xB7\xC2 \xC7\xD1\xB0\xE8 \xBD\xC3\xB0\xA3 \xC1\xF6\xB3\xB2");
|
//Tracen("Input Timeout");
|
||||||
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("\xB4\xD9\xC0\xBD \xC4\xDE\xBA\xB8 \xB5\xBF\xC0\xDB");
|
//Tracen("Next combo action");
|
||||||
// args : BlendingTime
|
// args : BlendingTime
|
||||||
__RunNextCombo();
|
__RunNextCombo();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (fElapsedTime > m_pkCurRaceMotionData->GetComboInputStartTime()) // 선 입력 시간 범위 라면..
|
else if (fElapsedTime > m_pkCurRaceMotionData->GetComboInputStartTime()) // 선 입력 시간 범위 라면..
|
||||||
{
|
{
|
||||||
//Tracen("\xBC\xB1 \xC0\xD4\xB7\xC2 \xBC\xB3\xC1\xA4");
|
//Tracen("Setting up line input");
|
||||||
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("\xB4\xD9\xC0\xBD \xC4\xDE\xBA\xB8 \xB5\xBF\xC0\xDB");
|
//Tracen("Next combo action");
|
||||||
// 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("\xBC\xB1\xC0\xD4\xB7\xC2 %f \xB4\xD9\xC0\xBD\xC4\xDE\xBA\xB8\xBD\xC3\xB0\xA3 %f", fElapsedTime, m_pkCurRaceMotionData->GetNextComboTime());
|
//Tracenf("Prefix %f NextComboTime %f", fElapsedTime, m_pkCurRaceMotionData->GetNextComboTime());
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
To be translated To be translated
|
|||||||
if (fElapsedTime > m_pkCurRaceMotionData->GetNextComboTime())
|
if (fElapsedTime > m_pkCurRaceMotionData->GetNextComboTime())
|
||||||
{
|
{
|
||||||
__RunNextCombo();
|
__RunNextCombo();
|
||||||
|
@ -65,7 +65,7 @@ void CActorInstance::ReservingMotionProcess()
|
|||||||
case CRaceMotionData::NAME_STAND_UP_BACK:
|
case CRaceMotionData::NAME_STAND_UP_BACK:
|
||||||
if (IsFaint())
|
if (IsFaint())
|
||||||
{
|
{
|
||||||
//Tracenf("\xC0\xCF\xBE\xEE\xBC\xAD\xB7\xC1\xB0\xED \xC7\xDF\xC0\xB8\xB3\xAA \xB1\xE2\xC0\xFD\xC1\xDF");
|
//Tracenf("You tried to stand up but are fainted");
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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("\xC0\xCF\xBE\xEE\xBC\xAD\xB7\xC1\xB0\xED \xC7\xDF\xC0\xB8\xB3\xAA \xBB\xE7\xB8\xC1");
|
//Tracenf("You tried to stand up but are dead");
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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, "\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");
|
Logn(0, "If you're not the main character, you're moving and don't do damage moves.");
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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\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");
|
//Tracef("MotionData does not contain combo data.\n");
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
To be translated To be translated
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@ void CActorInstance::RotationProcess()
|
|||||||
m_fcurRotation = m_rotEnd;
|
m_fcurRotation = m_rotEnd;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME : "\xB0\xC7\xB9\xB0\xC0\xCF\xB6\xA7\xB8\xB8 \xC3\xBC\xC5\xA9"로 바꾼다. - [levites]
|
// FIXME : "건물일때만 체크"로 바꾼다. - [levites]
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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);
|
||||||
|
@ -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 \xC6\xC4\xC0\xCF\xC0\xCC \xBE\xF8\xBD\xC0\xB4\xCF\xB4\xD9.CItemData::__SetIconImage",c_szFileName);
|
TraceError("%s file is missing.CItemData::__SetIconImage",c_szFileName);
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
To be translated To be translated
|
|||||||
m_pIconImage = NULL;
|
m_pIconImage = NULL;
|
||||||
}
|
}
|
||||||
else if (m_pIconImage == NULL)
|
else if (m_pIconImage == NULL)
|
||||||
|
@ -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 \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());
|
TraceError("CMapBase::LoadProperty(FileName=%s) - LoadMultipleTextData ERROR The file is likely missing.", strFileName.c_str());
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
To be translated To be translated
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -98,4 +98,4 @@ bool CMapBase::LoadProperty()
|
|||||||
SetType(MAPTYPE_OUTDOOR);
|
SetType(MAPTYPE_OUTDOOR);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -184,7 +184,7 @@ float CMapManager::GetHeight(float fx, float fy)
|
|||||||
{
|
{
|
||||||
if (!m_pkMap)
|
if (!m_pkMap)
|
||||||
{
|
{
|
||||||
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);
|
TraceError("CMapManager::GetHeight(%f, %f) - Access without a map created", fx, fy);
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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) - \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);
|
TraceError("CMapManager::GetTerrainHeight(%f, %f) - Access without a map created", 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) - \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);
|
TraceError("CMapManager::GetTerrainHeight(%f, %f) - Access without a map created", iX, iY);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -742,7 +742,7 @@ void CMapOutdoor::UpdateTerrain(float fX, float fY)
|
|||||||
|
|
||||||
ConvertTerrainToTnL(lRealCenterX, lRealCenterY);
|
ConvertTerrainToTnL(lRealCenterX, lRealCenterY);
|
||||||
UpdateAreaList(lRealCenterX, lRealCenterY);
|
UpdateAreaList(lRealCenterX, lRealCenterY);
|
||||||
//Tracef("\xBB\xE7\xBF\xEB\xC7\xCF\xB4\xC2 Area, Terrain : (%d, %d), \xC1\xF6\xBF\xEF Area, Terrain : (%d, %d)\n",
|
//Tracef("Use Area, Terrain : (%d, %d), Clear Area, Terrain : (%d, %d)\n",
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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("\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);
|
//Tracef("Play the same sound again in 0.3 seconds\n", c_szFileName);
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
To be translated To be translated
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -410,7 +410,7 @@ void CInstanceBase::__EnableSkipCollision()
|
|||||||
{
|
{
|
||||||
if (__IsMainInstance())
|
if (__IsMainInstance())
|
||||||
{
|
{
|
||||||
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!!");
|
TraceError("CInstanceBase::__EnableSkipCollision - You shouldn't be a conflict check skip yourself!!");
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
To be translated To be translated
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_GraphicThingInstance.EnableSkipCollision();
|
m_GraphicThingInstance.EnableSkipCollision();
|
||||||
@ -1190,7 +1190,7 @@ void CInstanceBase::PushTCPState(DWORD dwCmdTime, const TPixelPosition& c_rkPPos
|
|||||||
if (__IsMainInstance())
|
if (__IsMainInstance())
|
||||||
{
|
{
|
||||||
//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!");
|
//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
Exynox
commented
To be translated To be translated
|
|||||||
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!");
|
TraceError("CInstanceBase::PushTCPState Movement packets should not come from the player themselves!");
|
||||||
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] \xB3\xD7\xC6\xAE\xBF\xF7\xB0\xB8 [%d]", GetVirtualID(), nNetworkGap);
|
Tracenf("VID[%d] Network Gap [%d]", GetVirtualID(), nNetworkGap);
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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] \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);
|
// Tracenf("VID[%d] NAME[%s] Network Gap [cur:%d ave:%d] applyGap (%d)", GetVirtualID(), GetNameString(), nNetworkGap, m_nAverageNetworkGap, nApplyGap);
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
To be translated To be translated
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1313,7 +1313,7 @@ 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("\xB0\xC5\xB8\xAE %f", fDirLen);
|
//Tracenf("Distance %f", fDirLen);
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
To be translated To be translated
|
|||||||
|
|
||||||
if (!__CanProcessNetworkStatePacket())
|
if (!__CanProcessNetworkStatePacket())
|
||||||
{
|
{
|
||||||
@ -1330,7 +1330,7 @@ void CInstanceBase::StateProcess()
|
|||||||
{
|
{
|
||||||
case FUNC_WAIT:
|
case FUNC_WAIT:
|
||||||
{
|
{
|
||||||
//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);
|
//Tracenf("%s (%f, %f) -> (%f, %f) 남은거리 %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("\xB8\xF1\xC7\xA5\xC1\xA4\xC1\xF6");
|
//Tracen("Target Stop");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//Tracen("\xC7\xF6\xC0\xE7 \xC1\xA4\xC1\xF6");
|
//Tracen("Freeze");
|
||||||
|
|
||||||
m_isGoing = FALSE;
|
m_isGoing = FALSE;
|
||||||
|
|
||||||
@ -1381,12 +1381,12 @@ void CInstanceBase::StateProcess()
|
|||||||
|
|
||||||
if (!IsWalking())
|
if (!IsWalking())
|
||||||
{
|
{
|
||||||
//Tracen("\xB0\xC8\xB0\xED \xC0\xD6\xC1\xF6 \xBE\xCA\xBE\xC6 \xB0\xC8\xB1\xE2 \xBD\xC3\xC0\xDB");
|
//Tracen("I'm not walking, start walking");
|
||||||
StartWalking();
|
StartWalking();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//Tracen("\xC0\xCC\xB9\xCC \xB0\xC8\xB4\xC2\xC1\xDF ");
|
//Tracen("Already walking");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1409,7 +1409,7 @@ void CInstanceBase::StateProcess()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//Tracen("\xB4\xEB\xB1\xE2 \xB0\xF8\xB0\xDD \xC1\xA4\xC1\xF6");
|
//Tracen("Stopping Standby Attacks");
|
||||||
|
|
||||||
m_isGoing = FALSE;
|
m_isGoing = FALSE;
|
||||||
|
|
||||||
@ -1440,11 +1440,11 @@ void CInstanceBase::StateProcess()
|
|||||||
if (!IsWalking())
|
if (!IsWalking())
|
||||||
StartWalking();
|
StartWalking();
|
||||||
|
|
||||||
//Tracen("\xB3\xCA\xB9\xAB \xB8\xD6\xBE\xEE\xBC\xAD \xC0\xCC\xB5\xBF \xC8\xC4 \xB0\xF8\xB0\xDD");
|
//Tracen("Attack after moving too far away");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//Tracen("\xB3\xEB\xB8\xBB \xB0\xF8\xB0\xDD \xC1\xA4\xC1\xF6");
|
//Tracen("Stop normal attacks");
|
||||||
|
|
||||||
m_isGoing = FALSE;
|
m_isGoing = FALSE;
|
||||||
|
|
||||||
@ -1456,7 +1456,7 @@ void CInstanceBase::StateProcess()
|
|||||||
|
|
||||||
RunNormalAttack(fRotDst);
|
RunNormalAttack(fRotDst);
|
||||||
|
|
||||||
//Tracen("\xB0\xA1\xB1\xF5\xB1\xE2 \xB6\xA7\xB9\xAE\xBF\xA1 \xBF\xF6\xC7\xC1 \xB0\xF8\xB0\xDD");
|
//Tracen("Warp Attack due to proximity");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1540,11 +1540,11 @@ void CInstanceBase::StateProcess()
|
|||||||
if (!IsWalking())
|
if (!IsWalking())
|
||||||
StartWalking();
|
StartWalking();
|
||||||
|
|
||||||
//Tracen("\xB3\xCA\xB9\xAB \xB8\xD6\xBE\xEE\xBC\xAD \xC0\xCC\xB5\xBF \xC8\xC4 \xB0\xF8\xB0\xDD");
|
//Tracen("Attack after moving too far away");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//Tracen("\xBD\xBA\xC5\xB3 \xC1\xA4\xC1\xF6");
|
//Tracen("Stop Skills");
|
||||||
|
|
||||||
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("\xB0\xA1\xB1\xF5\xB1\xE2 \xB6\xA7\xB9\xAE\xBF\xA1 \xBF\xF6\xC7\xC1 \xB0\xF8\xB0\xDD");
|
//Tracen("Warp Attack due to proximity");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -1604,7 +1604,7 @@ void CInstanceBase::MovementProcess()
|
|||||||
if (IsWalking())
|
if (IsWalking())
|
||||||
EndWalking();
|
EndWalking();
|
||||||
|
|
||||||
//Tracen("\xB8\xF1\xC7\xA5 \xB5\xB5\xB4\xDE \xC1\xA4\xC1\xF6");
|
//Tracen("Stop reaching goals");
|
||||||
|
|
||||||
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 \xBF\xC0\xB9\xF6 \xB9\xE6\xC7\xE2\xBC\xB3\xC1\xA4 (%f, %f) %f rest %f", GetVirtualID(), kPPosCur.x, kPPosCur.y, fDstRot, fRestLen);
|
//Tracenf("VID %d Over Orientation (%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("\xBB\xE7\xB8\xC1 \xBB\xF3\xC5\xC2\xB6\xF3 \xB5\xBF\xC0\xDB \xBD\xBA\xC5\xB5");
|
//Tracen("Skip the action because you're dead");
|
||||||
|
|
||||||
m_isGoing = FALSE;
|
m_isGoing = FALSE;
|
||||||
|
|
||||||
//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");
|
//Tracen("Skip subsequent actions because you're dead");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -1737,7 +1737,7 @@ void CInstanceBase::MovementProcess()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//Tracenf("VID %d \xBD\xBA\xC5\xB3 \xB0\xF8\xB0\xDD (%f, %f) rot %f", GetVirtualID(), NEW_GetDstPixelPositionRef().x, NEW_GetDstPixelPositionRef().y, m_fDstRot);
|
//Tracenf("VID %d Skill Attacks (%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 \xC1\xA4\xC1\xF6 (%f, %f) rot %f IsWalking %d", GetVirtualID(), NEW_GetDstPixelPositionRef().x, NEW_GetDstPixelPositionRef().y, m_fDstRot, IsWalking());
|
//Tracenf("VID %d Stop (%f, %f) rot %f IsWalking %d", GetVirtualID(), NEW_GetDstPixelPositionRef().x, NEW_GetDstPixelPositionRef().y, m_fDstRot, IsWalking());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -497,7 +497,7 @@ BOOL CInstanceBase::CheckAdvancing()
|
|||||||
|
|
||||||
if (m_GraphicThingInstance.CanSkipCollision())
|
if (m_GraphicThingInstance.CanSkipCollision())
|
||||||
{
|
{
|
||||||
//Tracenf("%x VID %d \xC3\xE6\xB5\xB9 \xBD\xBA\xC5\xB5", ELTimer_GetMSec(), GetVirtualID());
|
//Tracenf("%x VID %d Skip collisions", ELTimer_GetMSec(), GetVirtualID());
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
To be translated To be translated
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -716,4 +716,4 @@ void CInstanceBase::Show()
|
|||||||
{
|
{
|
||||||
m_GraphicThingInstance.SetAlphaValue(1.0f);
|
m_GraphicThingInstance.SetAlphaValue(1.0f);
|
||||||
m_GraphicThingInstance.BlendAlphaValue(1.0f, 0.1f);
|
m_GraphicThingInstance.BlendAlphaValue(1.0f, 0.1f);
|
||||||
}
|
}
|
||||||
|
@ -178,7 +178,7 @@ void CInstanceBase::ProcessDamage()
|
|||||||
{
|
{
|
||||||
if(index > 7)
|
if(index > 7)
|
||||||
{
|
{
|
||||||
TraceError("ProcessDamage\xB9\xAB\xC7\xD1\xB7\xE7\xC7\xC1 \xB0\xA1\xB4\xC9\xBC\xBA");
|
TraceError("ProcessDamage possible infinite loop");
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
To be translated To be translated
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
num = damage%10;
|
num = damage%10;
|
||||||
|
@ -527,7 +527,7 @@ bool CPythonApplication::Process()
|
|||||||
if ( dt >= 500 )
|
if ( dt >= 500 )
|
||||||
{
|
{
|
||||||
s_uiNextFrameTime += nAdjustTime;
|
s_uiNextFrameTime += nAdjustTime;
|
||||||
printf("FrameSkip \xBA\xB8\xC1\xA4 %d\n",nAdjustTime);
|
printf("FrameSkip Calibration %d\n",nAdjustTime);
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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 \xBA\xB8\xC1\xA4 %d\n", dt / uiFrameTime * uiFrameTime);
|
// printf("FrameSkip Calibration %d\n", dt / uiFrameTime * uiFrameTime);
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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("\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");
|
TraceError("Terminate a connection with infinite frame skips");
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
To be translated To be translated
|
|||||||
|
|
||||||
{
|
{
|
||||||
FILE* fp=fopen("errorlog.txt", "w");
|
FILE* fp=fopen("errorlog.txt", "w");
|
||||||
|
@ -436,7 +436,7 @@ PyObject * chatGetLinkFromHyperlink(PyObject * poSelf, PyObject * poArgs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isAttr)
|
if (isAttr)
|
||||||
//"item:\xB9\xF8\xC8\xA3:\xC7\xC3\xB7\xA1\xB1\xD7:\xBC\xD2\xC4\xCF0:\xBC\xD2\xC4\xCF1:\xBC\xD2\xC4\xCF2"
|
//"item:번호:플래그:소켓0:소켓1:소켓2"
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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());
|
||||||
|
@ -655,7 +655,7 @@ bool CPythonNetworkStream::RecvDefaultPacket(int header)
|
|||||||
if (!header)
|
if (!header)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
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());
|
TraceError("Unprocessed packet header %d, state %s\n", header, m_strPhase.c_str());
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
Should be translated to English Should be translated to English
|
|||||||
ClearRecvBuffer();
|
ClearRecvBuffer();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -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));
|
||||||
|
|
||||||
// \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]
|
// 추가 코드. 맨뒤에 탭이 있는 경우를 체크한다. - [levites]
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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] \xC4\xDC\xBC\xD6\xC3\xA2 \xB1\xE2\xB4\xC9 \xC2\xF7\xB4\xDC
|
// #0000811: [M2EU] 콘솔창 기능 차단
|
||||||
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 <- \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
|
// 20383 4 72723,1/72725,1/72730.1/50001,5 <- 이런식으로 "/" 문자로 구분된 리스트를 줌
|
||||||
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,10 @@ 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 - \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
|
// ex) requestStartIndex: 0, resultCount : 5 - 해당 NPC가 만들수 있는 아이템 중 0~4번째에 해당하는 아이템을 만드는 데 필요한 모든 재료들이 MaterialText에 들어있음
|
||||||
// \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 <- \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
|
// 0 5 125,1|126,2|127,2|123,5&555,5&555,4/120000 <- 이런식으로 서버에서 클라로 리스트를 줌
|
||||||
|
|
||||||
|
|
||||||
if (5 != TokenVector.size())
|
if (5 != TokenVector.size())
|
||||||
{
|
{
|
||||||
|
@ -1278,7 +1278,7 @@ bool CPythonNetworkStream::RecvChatPacket()
|
|||||||
buf[uChatSize]='\0';
|
buf[uChatSize]='\0';
|
||||||
|
|
||||||
// 유럽 아랍 버전 처리
|
// 유럽 아랍 버전 처리
|
||||||
// "\xC0\xCC\xB8\xA7: \xB3\xBB\xBF\xEB" 입력을 "\xB3\xBB\xBF\xEB: \xC0\xCC\xB8\xA7" 순서로 출력하기 위해 탭(0x08)을 넣음
|
// "이름: 내용" 입력을 "내용: 이름" 순서로 출력하기 위해 탭(0x08)을 넣음
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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("\xC1\xD6\xC0\xCE\xB0\xF8 \xBB\xE7\xB8\xC1");
|
Tracenf("Player Dead");
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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,6 @@ bool CPythonNetworkStream::RecvSkillCoolTimeEnd()
|
|||||||
|
|
||||||
bool CPythonNetworkStream::RecvSkillLevel()
|
bool CPythonNetworkStream::RecvSkillLevel()
|
||||||
{
|
{
|
||||||
assert(!"CPythonNetworkStream::RecvSkillLevel - \xBB\xE7\xBF\xEB\xC7\xCF\xC1\xF6 \xBE\xCA\xB4\xC2 \xC7\xD4\xBC\xF6");
|
|
||||||
TPacketGCSkillLevel packet;
|
TPacketGCSkillLevel packet;
|
||||||
Exynox
commented
Deprecated, should be deleted Deprecated, should be deleted
|
|||||||
if (!Recv(sizeof(TPacketGCSkillLevel), &packet))
|
if (!Recv(sizeof(TPacketGCSkillLevel), &packet))
|
||||||
{
|
{
|
||||||
@ -2529,7 +2528,7 @@ bool CPythonNetworkStream::RecvAddFlyTargetingPacket()
|
|||||||
|
|
||||||
__GlobalPositionToLocalPosition(kPacket.lX, kPacket.lY);
|
__GlobalPositionToLocalPosition(kPacket.lX, kPacket.lY);
|
||||||
|
|
||||||
Tracef("VID [%d]\xB0\xA1 \xC5\xB8\xB0\xD9\xC0\xBB \xC3\xDF\xB0\xA1 \xBC\xB3\xC1\xA4\n",kPacket.dwShooterVID);
|
Tracef("VID [%d] Set up additional targets\n",kPacket.dwShooterVID);
|
||||||
|
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
Should be translated to English Should be translated to English
|
|||||||
CPythonCharacterManager & rpcm = CPythonCharacterManager::Instance();
|
CPythonCharacterManager & rpcm = CPythonCharacterManager::Instance();
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ bool CPythonNetworkStream::RecvCharacterAdditionalInfo()
|
|||||||
|
|
||||||
bool CPythonNetworkStream::RecvCharacterAppendPacketNew()
|
bool CPythonNetworkStream::RecvCharacterAppendPacketNew()
|
||||||
{
|
{
|
||||||
TraceError("TPacketGCCharacterAdd2\xB4\xC2 \xBE\xB2\xC1\xF6 \xBE\xCA\xB4\xC2 \xC6\xD0\xC5\xB6\xC0\xD4\xB4\xCF\xB4\xD9.");
|
TraceError("TPacketGCCharacterAdd2 is an unwritten packet.");
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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;
|
||||||
|
@ -861,7 +861,7 @@ bool CPythonNetworkStream::RecvSpecialEffect()
|
|||||||
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
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);
|
TraceError("%d is a special effect number that does not exist. TPacketGCSpecialEffect",kSpecialEffect.type);
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
Should be translated to English Should be translated to English
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -260,7 +260,7 @@ void CPythonPlayerEventHandler::CNormalBowAttack_FlyEventHandler_AutoClear::OnEx
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Tracef("Shoot : \xB4\xD9\xB8\xA5 target\xBF\xA1 \xB8\xC2\xBE\xD2\xBD\xC0\xB4\xCF\xB4\xD9 : %d, %d\n", dwSkillIndex, dwVID);
|
Tracef("Shoot : Hit a different target : %d, %d\n", dwSkillIndex, dwVID);
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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 : \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());
|
// Tracef("Shoot : Hit the desired target : %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());
|
||||||
}
|
}
|
||||||
|
@ -572,7 +572,7 @@ bool CPythonPlayer::__UseSkill(DWORD dwSlotIndex)
|
|||||||
if (pSkillData->CanUseForMe())
|
if (pSkillData->CanUseForMe())
|
||||||
{
|
{
|
||||||
pkInstTarget = pkInstMain;
|
pkInstTarget = pkInstMain;
|
||||||
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");
|
Tracef(" [ALERT] Reset to yourself because the skill is targeted at an enemy even though you're using it on a teammate\n");
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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] \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");
|
Tracef(" [ALERT] Use on player because there are no targets\n");
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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) - \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);
|
Tracenf("CPythonPlayer::__UseSkill(%d) - Need to set the orientation relative to the screen", dwSlotIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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] \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);
|
TraceError("%s[%s] has exceeded its rating limit [%d].",rSkillData.strName.c_str(), TokenVector[DESC_TOKEN_TYPE_MOTION_INDEX_GRADE_NUM].c_str(), SKILL_EFFECT_COUNT);
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
To be translated To be translated
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
for (int iGrade = 0; iGrade < numGrade; iGrade++)
|
for (int iGrade = 0; iGrade < numGrade; iGrade++)
|
||||||
|
@ -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("\xC0\xCC\xB9\xCC \xB8\xAE\xBD\xBA\xC6\xAE\xBF\xA1 \xC0\xD6\xC0\xBD : %d\n", VirtualID);
|
//Tracef("Already in the list : %d\n", VirtualID);
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
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("\xC0\xCC\xB9\xCC \xB8\xAE\xBD\xBA\xC6\xAE\xBF\xA1 \xC0\xD6\xC0\xBD : %d\n", VirtualID);
|
//Tracef("Already in the list : %d\n", VirtualID);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -239,20 +239,20 @@ bool PackInitialize(const char * c_pszFolder)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _DISTRIBUTE
|
#ifdef _DISTRIBUTE
|
||||||
Tracef("\xBE\xCB\xB8\xB2: \xC6\xD1 \xB8\xF0\xB5\xE5\xC0\xD4\xB4\xCF\xB4\xD9.\n");
|
Tracef("You are in pack mode.\n");
|
||||||
Tr0n marked this conversation as resolved
Outdated
Exynox
commented
To be translated To be translated
|
|||||||
|
|
||||||
//if (0 == strPackType.compare("FILE"))
|
//if (0 == strPackType.compare("FILE"))
|
||||||
//{
|
//{
|
||||||
// bPackFirst = FALSE;
|
// bPackFirst = FALSE;
|
||||||
// Tracef("\xBE\xCB\xB8\xB2: \xC6\xC4\xC0\xCF \xB8\xF0\xB5\xE5\xC0\xD4\xB4\xCF\xB4\xD9.\n");
|
// Tracef("You are in file mode.\n");
|
||||||
//}
|
//}
|
||||||
//else
|
//else
|
||||||
//{
|
//{
|
||||||
// Tracef("\xBE\xCB\xB8\xB2: \xC6\xD1 \xB8\xF0\xB5\xE5\xC0\xD4\xB4\xCF\xB4\xD9.\n");
|
// Tracef("You are in pack mode.\n");
|
||||||
//}
|
//}
|
||||||
#else
|
#else
|
||||||
bPackFirst = FALSE;
|
bPackFirst = FALSE;
|
||||||
Tracef("\xBE\xCB\xB8\xB2: \xC6\xC4\xC0\xCF \xB8\xF0\xB5\xE5\xC0\xD4\xB4\xCF\xB4\xD9.\n");
|
Tracef("You are in file mode.\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CTextFileLoader::SetCacheMode();
|
CTextFileLoader::SetCacheMode();
|
||||||
|
I think these got caught up in a regex, but it doesn't really matter