서버파일 컴파일완료(debug,release) vs2010

클라이언트실행파일 경로를 레지스트리 mp-client 에서 현재 실행폴더로 변경
This commit is contained in:
2025-12-04 22:31:23 +09:00
parent 1bec2cabc1
commit 3be31f145f
1295 changed files with 84 additions and 4077 deletions

1
.gitignore vendored
View File

@@ -97,3 +97,4 @@ $RECYCLE.BIN/
# Game-specific (keep documentation) # Game-specific (keep documentation)
!claudedocs/ !claudedocs/
/WorldCreator

View File

@@ -1,3 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ShowAllFiles>true</ShowAllFiles>
</PropertyGroup>
</Project> </Project>

View File

@@ -9,5 +9,6 @@
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor> <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerCommandArguments>192.168.219.226</LocalDebuggerCommandArguments> <LocalDebuggerCommandArguments>192.168.219.226</LocalDebuggerCommandArguments>
<ShowAllFiles>true</ShowAllFiles> <ShowAllFiles>true</ShowAllFiles>
<LocalDebuggerWorkingDirectory>F:\YouxiLand\ROW</LocalDebuggerWorkingDirectory>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@@ -985,26 +985,20 @@ BOOL CClientMain::Init(HINSTANCE hInstance, INT iWidth, INT iHeight )
LONG lResult = 0; LONG lResult = 0;
char strReg[MAX_PATH]; char strReg[MAX_PATH];
// 실행 파일 경로에서 클라이언트 폴더 추출 (레지스트리 무시하고 항상 실행 폴더 사용)
GetModuleFileName(NULL, m_strClientPath, MAX_PATH);
char* pLastSlash = strrchr(m_strClientPath, '\\');
if (pLastSlash)
*pLastSlash = '\0'; // 파일명 제거, 폴더 경로만 남김
sprintf(strReg, "Software\\ROW\\MP-Client"); sprintf(strReg, "Software\\ROW\\MP-Client");
if (ERROR_SUCCESS == RegOpenKeyEx(HKEY_LOCAL_MACHINE, strReg, 0, KEY_READ, &hMPClientReg)) if (ERROR_SUCCESS == RegOpenKeyEx(HKEY_LOCAL_MACHINE, strReg, 0, KEY_READ, &hMPClientReg))
{ {
switch (m_pRYLNetworkData->m_eServerType) // 레지스트리는 설정값(InitValue, RenderOption) 읽기용으로만 사용
{ // 클라이언트 경로는 항상 실행 폴더 사용
case GameRYL::SERVER_TEST:
lResult = RegQueryValueEx(hMPClientReg, "TestFolder", 0, &dwReadType, (LPBYTE)m_strClientPath, &dwReadLens);
break;
case GameRYL::SERVER_REGULAR: if (TRUE) // 항상 성공으로 처리
lResult = RegQueryValueEx(hMPClientReg, "Folder", 0, &dwReadType, (LPBYTE)m_strClientPath, &dwReadLens);
break;
case GameRYL::SERVER_BATTLE_LOHAN:
lResult = RegQueryValueEx(hMPClientReg, "BGFolder", 0, &dwReadType, (LPBYTE)m_strClientPath, &dwReadLens);
break;
}
if (ERROR_SUCCESS == lResult)
{ {
if (m_InitValue.Load(hMPClientReg) == false) if (m_InitValue.Load(hMPClientReg) == false)
{ {
@@ -1021,12 +1015,6 @@ BOOL CClientMain::Init(HINSTANCE hInstance, INT iWidth, INT iHeight )
} }
// RegCloseKey(hMPClientReg); // RegCloseKey(hMPClientReg);
}
else
{
MessageBox(NULL, "Please re-install the game.", "Program Error", MB_OK);
RegCloseKey(hMPClientReg);
return FALSE;
} }
// <20><><EFBFBD>̽<EFBFBD>ƽ <20><><EFBFBD><EFBFBD> // <20><><EFBFBD>̽<EFBFBD>ƽ <20><><EFBFBD><EFBFBD>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -1,46 +0,0 @@
C:\project\trunk\Server\Intermediate\BaseLibrary\Debug\BaseLibrary.write.1.tlog
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\BUFFER.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\BUFFERFACTORY.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\BUFFERQUEUE.OBJ
C:\project\trunk\Server\Intermediate\BaseLibrary\Debug\cl.command.1.tlog
C:\project\trunk\Server\Intermediate\BaseLibrary\Debug\CL.read.1.tlog
C:\project\trunk\Server\Intermediate\BaseLibrary\Debug\CL.write.1.tlog
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\COMMAND.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\COMMANDQUEUE.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\COMPLETIONHANDLER.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\CRC32STATIC.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\CRC8STATIC.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\DEBUGUTILS.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\DISPATCH.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\EXCEPTIONREPORT.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\INET_ADDR.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\IOCPNET.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\IOWORKER.OBJ
C:\project\trunk\Server\Intermediate\BaseLibrary\Debug\lib.command.1.tlog
C:\project\trunk\Server\Intermediate\BaseLibrary\Debug\Lib-link.read.1.tlog
C:\project\trunk\Server\Intermediate\BaseLibrary\Debug\Lib-link.write.1.tlog
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\LISTENER.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\MAPPEDFILE.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\MATH.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\MEMORYPOOL.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\MINILZO.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\MINILZOWRAPPER.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\OLEDB.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\OVERLAPPED.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\PERFORMANCECHECK.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\PSEUDORANDOM.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\PULSE.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\RANDOM.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\REGFUNCTIONS.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\SERVERLOG.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\SERVERREQUEST.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\SESSION.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\SESSIONMGR.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\SESSIONPOLICY.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\SOCKETFACTORY.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\STDAFX.OBJ
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\THREADMGR.OBJ
C:\project\trunk\Server\Intermediate\BaseLibrary\Debug\vc100.idb
C:\PROJECT\TRUNK\SERVER\INTERMEDIATE\BASELIBRARY\DEBUG\VC100.PDB
C:\PROJECT\TRUNK\SERVER\LIBRARY\DEBUG\BASELIBRARY.LIB
C:\project\trunk\Server\RylServerProject\BaseLibrary\../../Library/Debug/BaseLibrary.lib

View File

@@ -1,2 +0,0 @@
#v4.0:v100:false
Debug|Win32|C:\project\trunk\Server\RylServerProject\|

View File

@@ -1,91 +0,0 @@
Build started 28.12.2011 16:02:47.
1>Project "C:\project\trunk\Server\RylServerProject\BaseLibrary\BaseLibrary.vcxproj" on node 3 (rebuild target(s)).
1>_PrepareForClean:
Deleting file "../../Intermediate/BaseLibrary/Debug\BaseLibrary.lastbuildstate".
InitializeBuildStatus:
Creating "../../Intermediate/BaseLibrary/Debug\BaseLibrary.unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /I./ /I../ /I../MemoryManager /ZI /nologo /W3 /WX- /Od /Oy- /D WIN32 /D _DEBUG /D _LIB /D WIN32 /D _DEBUG /D _LIB /D _WINDOWS /D _USE_32BIT_TIME_T /D _MBCS /Gm /EHsc /RTC1 /MDd /GS- /fp:precise /Zc:wchar_t /Zc:forScope /Fo"../../Intermediate/BaseLibrary/Debug\\" /Fd"../../Intermediate/BaseLibrary/Debug\vc100.pdb" /Gd /TP /wd4996 /wd4819 /wd4482 /analyze- /errorReport:prompt Network\Dispatch\Dispatch.cpp Network\Dispatch\ServerRequest.cpp Network\Iocp\CompletionHandler.cpp Network\Iocp\IOCPNet.cpp Network\Iocp\IOWorker.cpp Network\Iocp\Overlapped.cpp Network\Listener\Listener.cpp Network\Session\Session.cpp Network\Session\SessionMgr.cpp Network\Session\SessionPolicy.cpp Network\Winsock\SocketFactory.cpp Network\Address\INET_Addr.cpp Stream\Buffer\Buffer.cpp Stream\Buffer\BufferFactory.cpp Stream\Buffer\BufferQueue.cpp Thread\ThreadMgr.cpp Log\ServerLog.cpp Utility\Debug\DebugUtils.cpp Utility\Debug\ExceptionReport.cpp Utility\Debug\PerformanceCheck.cpp Utility\Math\Math.cpp Utility\Math\PseudoRandom.cpp Utility\Math\Random.cpp Utility\Compress\MiniLZO\minilzo.cpp Utility\Compress\MiniLZO\miniLZOWrapper.cpp Utility\Registry\RegFunctions.cpp Utility\Time\Pulse\Pulse.cpp Utility\checksum\Crc32Static.cpp Utility\checksum\Crc8Static.cpp Utility\File\MappedFile.cpp Pattern\Command.cpp Pattern\CommandQueue.cpp Db\OLEDB.cpp Memory\MemoryPool.cpp stdafx.cpp
stdafx.cpp
MemoryPool.cpp
OLEDB.cpp
CommandQueue.cpp
Command.cpp
MappedFile.cpp
Crc8Static.cpp
Crc32Static.cpp
Pulse.cpp
RegFunctions.cpp
miniLZOWrapper.cpp
minilzo.cpp
Random.cpp
PseudoRandom.cpp
Math.cpp
PerformanceCheck.cpp
ExceptionReport.cpp
DebugUtils.cpp
ServerLog.cpp
ThreadMgr.cpp
Generating Code...
Compiling...
BufferQueue.cpp
BufferFactory.cpp
Buffer.cpp
INET_Addr.cpp
SocketFactory.cpp
SessionPolicy.cpp
SessionMgr.cpp
Session.cpp
Listener.cpp
Overlapped.cpp
IOWorker.cpp
IOCPNet.cpp
CompletionHandler.cpp
ServerRequest.cpp
Dispatch.cpp
Generating Code...
Lib:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\Lib.exe /OUT:"../../Library/Debug/BaseLibrary.lib" ws2_32.lib /NOLOGO ../../Intermediate/BaseLibrary/Debug\Dispatch.obj
../../Intermediate/BaseLibrary/Debug\ServerRequest.obj
../../Intermediate/BaseLibrary/Debug\CompletionHandler.obj
../../Intermediate/BaseLibrary/Debug\IOCPNet.obj
../../Intermediate/BaseLibrary/Debug\IOWorker.obj
../../Intermediate/BaseLibrary/Debug\Overlapped.obj
../../Intermediate/BaseLibrary/Debug\Listener.obj
../../Intermediate/BaseLibrary/Debug\Session.obj
../../Intermediate/BaseLibrary/Debug\SessionMgr.obj
../../Intermediate/BaseLibrary/Debug\SessionPolicy.obj
../../Intermediate/BaseLibrary/Debug\SocketFactory.obj
../../Intermediate/BaseLibrary/Debug\INET_Addr.obj
../../Intermediate/BaseLibrary/Debug\Buffer.obj
../../Intermediate/BaseLibrary/Debug\BufferFactory.obj
../../Intermediate/BaseLibrary/Debug\BufferQueue.obj
../../Intermediate/BaseLibrary/Debug\ThreadMgr.obj
../../Intermediate/BaseLibrary/Debug\ServerLog.obj
../../Intermediate/BaseLibrary/Debug\DebugUtils.obj
../../Intermediate/BaseLibrary/Debug\ExceptionReport.obj
../../Intermediate/BaseLibrary/Debug\PerformanceCheck.obj
../../Intermediate/BaseLibrary/Debug\Math.obj
../../Intermediate/BaseLibrary/Debug\PseudoRandom.obj
../../Intermediate/BaseLibrary/Debug\Random.obj
../../Intermediate/BaseLibrary/Debug\minilzo.obj
../../Intermediate/BaseLibrary/Debug\miniLZOWrapper.obj
../../Intermediate/BaseLibrary/Debug\RegFunctions.obj
../../Intermediate/BaseLibrary/Debug\Pulse.obj
../../Intermediate/BaseLibrary/Debug\Crc32Static.obj
../../Intermediate/BaseLibrary/Debug\Crc8Static.obj
../../Intermediate/BaseLibrary/Debug\MappedFile.obj
../../Intermediate/BaseLibrary/Debug\Command.obj
../../Intermediate/BaseLibrary/Debug\CommandQueue.obj
../../Intermediate/BaseLibrary/Debug\OLEDB.obj
../../Intermediate/BaseLibrary/Debug\MemoryPool.obj
../../Intermediate/BaseLibrary/Debug\stdafx.obj
BaseLibrary.vcxproj -> C:\project\trunk\Server\RylServerProject\BaseLibrary\../../Library/Debug/BaseLibrary.lib
FinalizeBuildStatus:
Deleting file "../../Intermediate/BaseLibrary/Debug\BaseLibrary.unsuccessfulbuild".
Touching "../../Intermediate/BaseLibrary/Debug\BaseLibrary.lastbuildstate".
1>Done Building Project "C:\project\trunk\Server\RylServerProject\BaseLibrary\BaseLibrary.vcxproj" (rebuild target(s)).
Build succeeded.
Time Elapsed 00:00:30.80

Some files were not shown because too many files have changed in this diff Show More