diff --git a/L2C_Login.vcxproj b/L2C_Login.vcxproj
new file mode 100644
index 0000000..a412e93
--- /dev/null
+++ b/L2C_Login.vcxproj
@@ -0,0 +1,158 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {76233D4B-4DB6-4757-9F9E-572738DA9CDB}
+ L2C_Login
+ Win32Proj
+
+
+
+ Application
+ Unicode
+ true
+
+
+ Application
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+ _build\L2C_Login_Debug\
+ _build\L2C_Login_Debug\
+ true
+ true
+ _build\L2C_Login_Release\
+ _build\L2C_Login_Release\
+ false
+ true
+ $(ProjectName)_d
+
+
+
+ Disabled
+ l2packets;libl2c_utils;lib;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebug
+ Use
+ pch.h
+ $(IntDir)$(TargetName).pdb
+ Level4
+ EditAndContinue
+
+
+ ws2_32.lib;comctl32.lib;libeay32_st_MTd.lib;ssleay32_st_MTd.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName)$(TargetExt)
+ lib\openssl;%(AdditionalLibraryDirectories)
+ true
+ Windows
+ MachineX86
+
+
+ Copy files to dist folder...
+ L2C_Login\PostBuildEvent.cmd $(TargetName) $(TargetDir)
+
+
+
+
+ MaxSpeed
+ true
+ l2packets;libl2c_utils;lib;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ MultiThreaded
+ true
+ Use
+ pch.h
+ $(IntDir)$(TargetName).pdb
+ Level3
+ ProgramDatabase
+
+
+ ws2_32.lib;comctl32.lib;libeay32_st_MT.lib;ssleay32_st_MT.lib;%(AdditionalDependencies)
+ lib\openssl;%(AdditionalLibraryDirectories)
+ true
+ Windows
+ true
+ true
+ MachineX86
+
+
+ Copy files to dist folder...
+ L2C_Login\PostBuildEvent.cmd $(TargetName) $(TargetDir)
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Create
+ Create
+
+
+
+
+
+
+
+
+
+
+
+
+ {3932f75f-1d83-4ae1-abcb-b1495d0b0af6}
+ false
+
+
+ {6710ad5f-9c7d-4828-8eaf-79478c1e6f9a}
+ false
+
+
+
+
+
+
\ No newline at end of file
diff --git a/L2C_Login/PostBuildEvent.cmd b/L2C_Login/PostBuildEvent.cmd
index 66f715b..8decbf1 100644
--- a/L2C_Login/PostBuildEvent.cmd
+++ b/L2C_Login/PostBuildEvent.cmd
@@ -8,8 +8,8 @@ rem echo 2 = %2
set out=..\..\out\dist_l2c
-rem Copy EXE
+echo Copy EXE %2\%1.exe - %2\%out%
copy /y %2\%1.exe %2\%out%
-rem Copy PDB
+echo Copy PDB %2\%1.pdb - %2\%out%
copy /y %2\%1.pdb %2\%out
diff --git a/L2C_Server.vcxproj b/L2C_Server.vcxproj
new file mode 100644
index 0000000..0451df6
--- /dev/null
+++ b/L2C_Server.vcxproj
@@ -0,0 +1,210 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {72DC0189-0628-48FC-AA67-A7A279A2A171}
+ L2C_Server
+ Win32Proj
+
+
+
+ Application
+ Unicode
+ true
+
+
+ Application
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+ _build\L2C_Server_Debug\
+ _build\L2C_Server_Debug\
+ true
+ _build\L2C_Server_Release\
+ _build\L2C_Server_Release\
+ false
+ $(ProjectName)_d
+
+
+
+ Disabled
+ L2C_Server;l2packets;libl2c_utils;lib;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebug
+ Use
+ pch.h
+ $(IntDir)$(TargetName).pdb
+ Level4
+ EditAndContinue
+
+
+ ws2_32.lib;comctl32.lib;libeay32_st_MTd.lib;ssleay32_st_MTd.lib;dbghelp.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName)$(TargetExt)
+ lib\openssl;%(AdditionalLibraryDirectories)
+ true
+ Windows
+ MachineX86
+
+
+ Copy files to dist folder...
+ L2C_Server\PostBuildEvent.cmd $(TargetName) $(TargetDir)
+
+
+
+
+ MaxSpeed
+ true
+ L2C_Server;l2packets;libl2c_utils;lib;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ MultiThreaded
+ true
+ Use
+ pch.h
+ $(IntDir)$(TargetName).pdb
+ Level3
+ ProgramDatabase
+
+
+ ws2_32.lib;comctl32.lib;libeay32_st_MT.lib;ssleay32_st_MT.lib;dbghelp.lib;%(AdditionalDependencies)
+ lib\openssl;%(AdditionalLibraryDirectories)
+ true
+ Windows
+ true
+ true
+ MachineX86
+
+
+ Copy files to dist folder...
+ L2C_Server\PostBuildEvent.cmd $(TargetName) $(TargetDir)
+
+
+
+
+
+
+ Create
+ Create
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {3932f75f-1d83-4ae1-abcb-b1495d0b0af6}
+ false
+
+
+ {6710ad5f-9c7d-4828-8eaf-79478c1e6f9a}
+ false
+
+
+
+
+ true
+ true
+
+
+
+
+
+
\ No newline at end of file
diff --git a/L2C_Server/PostBuildEvent.cmd b/L2C_Server/PostBuildEvent.cmd
index 3975ea7..21b192b 100644
--- a/L2C_Server/PostBuildEvent.cmd
+++ b/L2C_Server/PostBuildEvent.cmd
@@ -9,15 +9,23 @@ rem echo 2 = %2
set out=..\..\out\dist_l2c
set bin=..\..\bin
-rem Copy EXE
+echo Copy EXE %2\%1.exe - %2\%out%
copy /y %2\%1.exe %2\%out%
-rem Copy PDB
+echo Copy PDB /y %2\%1.pdb - %2\%out%
copy /y %2\%1.pdb %2\%out%
rem Copy DLLs
+
+echo Copy DLL: %2\%bin%\dbghelp.dll - %2\%out%
copy /y %2\%bin%\dbghelp.dll %2\%out%
+
+echo Copy DLL: %2\%bin%\libeay32.dll - %2\%out%
copy /y %2\%bin%\libeay32.dll %2\%out%
+
+echo Copy DLL: %2\%bin%\ssleay32.dll - %2\%out%
copy /y %2\%bin%\ssleay32.dll %2\%out%
+
+echo Copy DLL: %2\%bin%\libmysql.dll - %2\%out%
copy /y %2\%bin%\libmysql.dll %2\%out%
-rem copy /y %2\%bin%\*.dll %2\%out%
+
diff --git a/L2Detect.vcxproj b/L2Detect.vcxproj
new file mode 100644
index 0000000..f7b2e3d
--- /dev/null
+++ b/L2Detect.vcxproj
@@ -0,0 +1,497 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+ Template
+ Win32
+
+
+
+ {DDEA0898-F57F-4337-BBBD-D47060FD0564}
+ L2Detect
+ MFCProj
+
+
+
+ DynamicLibrary
+ false
+ Unicode
+ true
+
+
+ DynamicLibrary
+ false
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+ _build\L2Detect_Debug\
+ _build\L2Detect_Debug\
+
+ false
+ _build\L2Detect_Release\
+ _build\L2Detect_Release\
+ false
+ false
+ $(ProjectName)_d
+
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ false
+ true
+
+
+ Disabled
+ .;lib;lib\directX;%(AdditionalIncludeDirectories)
+ WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebug
+ Use
+ stdafx.h
+ $(IntDir)L2Detect_d.pdb
+ Level4
+ ProgramDatabase
+ 4127;%(DisableSpecificWarnings)
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ 0x0419
+ $(IntDir);l2detect;%(AdditionalIncludeDirectories)
+
+
+ dxguid.lib;ddraw.lib;libeay32_st_MTd.lib;ssleay32_st_MTd.lib;winmm.lib;shell32.lib;comctl32.lib;comdlg32.lib;%(AdditionalDependencies)
+ l2detect;lib\openssl;lib\directX;%(AdditionalLibraryDirectories)
+ true
+ Windows
+ true
+ MachineX86
+
+
+ Copy L2Detect.dll to dist
+ l2detect\PostBuildEvent.cmd $(TargetName) $(TargetDir)
+
+
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ false
+ true
+
+
+ /I"../include" /I"../L2Packets" /I"../sqlite_lib" %(AdditionalOptions)
+ MaxSpeed
+ true
+ .;lib;lib\directX;%(AdditionalIncludeDirectories)
+ WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)
+ false
+ MultiThreaded
+ true
+ Use
+ stdafx.h
+ $(IntDir)L2Detect.pdb
+ Level3
+ ProgramDatabase
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ 0x0419
+ $(IntDir);l2detect;%(AdditionalIncludeDirectories)
+
+
+ libeay32_st_MT.lib;ssleay32_st_MT.lib;user32.lib;advapi32.lib;gdi32.lib;comctl32.lib;winmm.lib;dxguid.lib;ddraw.lib;%(AdditionalDependencies)
+ l2detect;lib\openssl;lib\directX;%(AdditionalLibraryDirectories)
+ true
+ Windows
+ true
+ true
+ MachineX86
+
+
+ Copy L2Detect.dll to dist
+ l2detect\PostBuildEvent.cmd $(TargetName) $(TargetDir)
+
+
+
+
+ true
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Create
+ Create
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {3932f75f-1d83-4ae1-abcb-b1495d0b0af6}
+ false
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/L2Detect2.vcxproj b/L2Detect2.vcxproj
new file mode 100644
index 0000000..09d88ea
--- /dev/null
+++ b/L2Detect2.vcxproj
@@ -0,0 +1,131 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {C9E44C69-A4C4-4284-9D4B-884AE2C30C49}
+ L2Detect2
+ Win32Proj
+
+
+
+ DynamicLibrary
+ Unicode
+ true
+
+
+ DynamicLibrary
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+ _build\L2Detect2_Debug\
+ _build\L2Detect2_Debug\
+ true
+ false
+ _build\L2Detect2_Release\
+ _build\L2Detect2_Release\
+ false
+ false
+ d3d9
+ d3d9
+
+
+
+ Disabled
+ L2Detect_2;lib\directX;lib\openssl;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_WINDOWS;_USRDLL;L2DETECT2_EXPORTS;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebug
+ Use
+ pch.h
+ $(IntDir)$(TargetName).pdb
+ Level4
+ EditAndContinue
+
+
+ d3d9.lib;d3dx9.lib;ws2_32.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName)$(TargetExt)
+ lib\directX;lib\openssl;%(AdditionalLibraryDirectories)
+ L2Detect_2\dllmain\proxydll.def
+ true
+ Windows
+ MachineX86
+
+
+
+
+ MaxSpeed
+ true
+ L2Detect_2;lib\directX;lib\openssl;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_WINDOWS;_USRDLL;L2DETECT2_EXPORTS;%(PreprocessorDefinitions)
+ MultiThreaded
+ true
+ Use
+ pch.h
+ $(IntDir)$(TargetName).pdb
+ Level3
+ ProgramDatabase
+
+
+ d3d9.lib;d3dx9.lib;ws2_32.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName)$(TargetExt)
+ lib\directX;lib\openssl;%(AdditionalLibraryDirectories)
+ L2Detect_2\dllmain\proxydll.def
+ true
+ Windows
+ true
+ true
+ MachineX86
+
+
+
+
+
+
+
+
+ Create
+ Create
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/L2Detect_starter.vcxproj b/L2Detect_starter.vcxproj
new file mode 100644
index 0000000..013dcbf
--- /dev/null
+++ b/L2Detect_starter.vcxproj
@@ -0,0 +1,128 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {C98A8014-A9E5-4F6F-8D13-E559721F979C}
+ L2Detect_starter
+ Win32Proj
+
+
+
+ Application
+ Unicode
+ true
+
+
+ Application
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+ _build\L2Detect_starter_Debug\
+ _build\L2Detect_starter_Debug\
+ true
+ false
+ _build\L2Detect_starter_Release\
+ _build\L2Detect_starter_Release\
+ false
+ false
+ $(ProjectName)_d
+
+
+
+ Disabled
+ WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebug
+ Use
+ stdafx.h
+ $(IntDir)$(TargetName).pdb
+ Level4
+ EditAndContinue
+
+
+ comctl32.lib;ws2_32.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName)$(TargetExt)
+ true
+ Windows
+ MachineX86
+
+
+ Copy starter to L2Detect dist
+ L2Detect_starter\PostBuildEvent.cmd $(TargetName) $(TargetDir)
+
+
+
+
+ MaxSpeed
+ true
+ WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ MultiThreaded
+ true
+ Use
+ stdafx.h
+ $(IntDir)$(TargetName).pdb
+ Level3
+ ProgramDatabase
+
+
+ comctl32.lib;ws2_32.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName)$(TargetExt)
+ true
+ Windows
+ true
+ true
+ MachineX86
+
+
+ Copy starter to L2Detect dist
+ L2Detect_starter\PostBuildEvent.cmd $(TargetName) $(TargetDir)
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Create
+ Create
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
\ No newline at end of file
diff --git a/L2Detect_starter/PostBuildEvent.cmd b/L2Detect_starter/PostBuildEvent.cmd
index 6e0860e..9b748e9 100644
--- a/L2Detect_starter/PostBuildEvent.cmd
+++ b/L2Detect_starter/PostBuildEvent.cmd
@@ -1,7 +1,7 @@
set out=..\..\out\dist_L2Detect
-rem Copy EXE
+echo Copy EXE %2\%1.exe - %2\%out%
copy /y %2\%1.exe %2\%out%
-rem Copy PDB
+echo Copy PDB %2\%1.pdb - %2\%out%
rem copy /y %2\%1.pdb %2\%out%
diff --git a/L2OOGHelper.vcxproj b/L2OOGHelper.vcxproj
new file mode 100644
index 0000000..4e4003c
--- /dev/null
+++ b/L2OOGHelper.vcxproj
@@ -0,0 +1,511 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {F48FE51E-CD31-40EE-93D9-E467841CB79C}
+ L2OOGHelper
+ Win32Proj
+
+
+
+ Application
+ Unicode
+ true
+
+
+ Application
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+ _build\L2OOGHelper_Debug\
+ _build\L2OOGHelper_Debug\
+ true
+ false
+ _build\L2OOGHelper_Release\
+ _build\L2OOGHelper_Release\
+ false
+ false
+ $(ProjectName)_d
+
+
+
+ Disabled
+ .;lib;l2ooghelper;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_WINDOWS;USE_SEH;CHAT_USE_RICHEDIT;%(PreprocessorDefinitions)
+ false
+ EnableFastChecks
+ true
+ MultiThreadedDebug
+ Default
+ Use
+ $(IntDir)$(ProjectName)_d.pdb
+ Level4
+ ProgramDatabase
+
+
+ _UNICODE;UNICODE;_DEBUG;%(PreprocessorDefinitions)
+ false
+
+
+ comctl32.lib;comdlg32.lib;ws2_32.lib;winmm.lib;libeay32_st_MTd.lib;ssleay32_st_MTd.lib;zlib_st_MTd.lib;libpng_st_MTd.lib;libjpegd_st_MTd.lib;%(AdditionalDependencies)
+ $(OutDir)$(TargetName)$(TargetExt)
+ lib\openssl;lib\libpng;lib\libjpeg;%(AdditionalLibraryDirectories)
+ true
+ $(TargetDir)$(TargetName).pdb
+ true
+ $(IntDir)$(TargetName).map
+ Windows
+ MachineX86
+
+
+ Copying files to dist folder...
+ l2ooghelper\PostBuildEvent.cmd $(TargetName) $(TargetDir)
+
+
+
+
+ Full
+ AnySuitable
+ true
+ Speed
+ true
+ .;lib;l2ooghelper;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_WINDOWS;USE_SEH;CHAT_USE_RICHEDIT;%(PreprocessorDefinitions)
+ true
+ MultiThreaded
+ Default
+ false
+ true
+ Use
+ $(IntDir)$(ProjectName).pdb
+ Level3
+ ProgramDatabase
+
+
+ comctl32.lib;comdlg32.lib;ws2_32.lib;winmm.lib;libeay32_st_MT.lib;ssleay32_st_MT.lib;zlib_st_MT.lib;libpng_st_MT.lib;libjpeg_st_MT.lib;%(AdditionalDependencies)
+ lib\openssl;lib\libpng;lib\libjpeg;%(AdditionalLibraryDirectories)
+ true
+ Windows
+ true
+ true
+ MachineX86
+
+
+ Copying files to dist folder...
+ l2ooghelper\PostBuildEvent.cmd $(TargetName) $(TargetDir)
+
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Create
+ Create
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+ CompileAsCpp
+ CompileAsCpp
+
+
+
+
+
+
+
+
+ {3932f75f-1d83-4ae1-abcb-b1495d0b0af6}
+ false
+
+
+
+
+
+
\ No newline at end of file
diff --git a/L2Packets.vcxproj b/L2Packets.vcxproj
new file mode 100644
index 0000000..e18f3e5
--- /dev/null
+++ b/L2Packets.vcxproj
@@ -0,0 +1,230 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {3932F75F-1D83-4AE1-ABCB-B1495D0B0AF6}
+
+
+
+ StaticLibrary
+
+
+ StaticLibrary
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+ _build\L2Packets_Debug\
+ _build\L2Packets_Debug\
+ _build\L2Packets_Release\
+ _build\L2Packets_Release\
+ $(ProjectName)_d
+
+
+
+ Disabled
+ lib;l2packets\sqlite3;l2packets;%(AdditionalIncludeDirectories)
+ _DEBUG;SQLITE_THREADSAFE=1;L2P_THROW;%(PreprocessorDefinitions)
+ EnableFastChecks
+ false
+ MultiThreadedDebug
+ Default
+ Use
+ stdafx.h
+ $(IntDir)L2Packets_d.pdb
+
+
+ Level4
+ ProgramDatabase
+ 4127;%(DisableSpecificWarnings)
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+
+
+
+
+ Disabled
+ Neither
+ lib;l2packets\sqlite3;l2packets;%(AdditionalIncludeDirectories)
+ NDEBUG;SQLITE_THREADSAFE=1;L2P_THROW;%(PreprocessorDefinitions)
+ MultiThreaded
+ Default
+ false
+ Use
+ stdafx.h
+ $(IntDir)L2Packets.pdb
+
+
+ Level3
+ ProgramDatabase
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+ CompileAsC
+
+
+
+
+
+
+
+
+
+
+ Create
+ Create
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/l2detect/PostBuildEvent.cmd b/l2detect/PostBuildEvent.cmd
index ab5a395..7bb3467 100644
--- a/l2detect/PostBuildEvent.cmd
+++ b/l2detect/PostBuildEvent.cmd
@@ -1,7 +1,7 @@
set out=..\..\out\dist_L2Detect
-rem Copy DLL
+echo Copy DLL %2\%1.dll - %2\%out%
copy /y %2\%1.dll %2\%out%
-rem Copy PDB
+echo Copy PDB %2\%1.pdb - %2\%out%
rem copy /y %2\%1.pdb %2\%out%
diff --git a/l2ooghelper/base64.cpp b/l2ooghelper/base64.cpp
index 314a02a..7f8dfa6 100644
--- a/l2ooghelper/base64.cpp
+++ b/l2ooghelper/base64.cpp
@@ -29,7 +29,9 @@ int base64_encode_block(const char* plaintext_in, int length_in, char* code_out,
switch (state_in->step)
{
+#pragma warning( disable: 4127 ) // conditional expression is constant
while (1)
+#pragma warning( default: 4127 ) // conditional expression is constant
{
case step_A:
if (plainchar == plaintextend)
@@ -127,7 +129,9 @@ int base64_decode_block(const char* code_in, const int length_in, char* plaintex
switch (state_in->step)
{
+#pragma warning( disable: 4127 ) // conditional expression is constant
while (1)
+#pragma warning( default: 4127 ) // conditional expression is constant
{
case step_a:
do {
diff --git a/libl2c_utils.vcxproj b/libl2c_utils.vcxproj
new file mode 100644
index 0000000..9a0cfb9
--- /dev/null
+++ b/libl2c_utils.vcxproj
@@ -0,0 +1,141 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {6710AD5F-9C7D-4828-8EAF-79478C1E6F9A}
+ libl2c_utils
+ Win32Proj
+
+
+
+ DynamicLibrary
+ Unicode
+ true
+
+
+ DynamicLibrary
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>10.0.30319.1
+ _build\libl2c_utils_Debug\
+ _build\libl2c_utils_Debug\
+ true
+ _build\libl2c_utils_Release\
+ _build\libl2c_utils_Release\
+ false
+ libl2c_utils_d
+ libl2c_utils
+
+
+
+ Disabled
+ lib\mysqlclient;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_WINDOWS;_USRDLL;L2C_UTILS_EXPORTS;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebug
+ Use
+ pch.h
+ $(IntDir)$(TargetName).pdb
+ Level4
+ EditAndContinue
+
+
+ libmysql_d.lib;%(AdditionalDependencies)
+ $(OutDir)\$(TargetName)$(TargetExt)
+ lib\mysqlclient;%(AdditionalLibraryDirectories)
+ true
+ Windows
+ MachineX86
+
+
+ Copy DLL to dist folder
+ libl2c_utils\PostBuildEvent.cmd $(TargetName) $(TargetDir)
+
+
+
+
+ MaxSpeed
+ true
+ lib\mysqlclient;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_WINDOWS;_USRDLL;L2C_UTILS_EXPORTS;%(PreprocessorDefinitions)
+ MultiThreaded
+ true
+ Use
+ pch.h
+ $(IntDir)$(TargetName).pdb
+ Level3
+ ProgramDatabase
+
+
+ libmysql.lib;%(AdditionalDependencies)
+ $(OutDir)\$(TargetName)$(TargetExt)
+ lib\mysqlclient;%(AdditionalLibraryDirectories)
+ true
+ Windows
+ true
+ true
+ MachineX86
+
+
+ Copy DLL to dist folder
+ libl2c_utils\PostBuildEvent.cmd $(TargetName) $(TargetDir)
+
+
+
+
+
+
+
+
+
+
+
+ false
+
+
+ false
+
+
+ Create
+ Create
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
\ No newline at end of file
diff --git a/libl2c_utils/PostBuildEvent.cmd b/libl2c_utils/PostBuildEvent.cmd
index 21cecac..cfc5857 100644
--- a/libl2c_utils/PostBuildEvent.cmd
+++ b/libl2c_utils/PostBuildEvent.cmd
@@ -9,7 +9,9 @@ rem echo 2 = %2
set out=..\..\out\dist_l2c
rem Copy DLL
+echo Copy DLL %2\%1.dll - %2\%out%
copy /y %2\%1.dll %2\%out%
rem Copy PDB
+echo Copy PDB %2\%1.pdb - %2\%out%
copy /y %2\%1.pdb %2\%out%
diff --git a/libl2c_utils/l2c_utils.cpp b/libl2c_utils/l2c_utils.cpp
index f2a35e5..bca153e 100644
--- a/libl2c_utils/l2c_utils.cpp
+++ b/libl2c_utils/l2c_utils.cpp
@@ -70,7 +70,9 @@ int base64_encode_block(const char* plaintext_in, int length_in, char* code_out,
switch (state_in->step)
{
+#pragma warning( disable: 4127 ) // conditional expression is constant
while (1)
+#pragma warning( default: 4127 ) // conditional expression is constant
{
case step_A:
if (plainchar == plaintextend)
@@ -168,7 +170,9 @@ int base64_decode_block(const char* code_in, const int length_in, char* plaintex
switch (state_in->step)
{
+#pragma warning( disable: 4127 ) // conditional expression is constant
while (1)
+#pragma warning( default: 4127 ) // conditional expression is constant
{
case step_a:
do {
diff --git a/unlegits.sln b/unlegits.sln
index 2eea544..f31bbd0 100644
--- a/unlegits.sln
+++ b/unlegits.sln
@@ -1,35 +1,21 @@
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2Detect", "L2Detect.vcproj", "{DDEA0898-F57F-4337-BBBD-D47060FD0564}"
- ProjectSection(ProjectDependencies) = postProject
- {3932F75F-1D83-4AE1-ABCB-B1495D0B0AF6} = {3932F75F-1D83-4AE1-ABCB-B1495D0B0AF6}
- EndProjectSection
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual C++ Express 2010
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2Detect", "L2Detect.vcxproj", "{DDEA0898-F57F-4337-BBBD-D47060FD0564}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2OOGHelper", "L2OOGHelper.vcproj", "{F48FE51E-CD31-40EE-93D9-E467841CB79C}"
- ProjectSection(ProjectDependencies) = postProject
- {3932F75F-1D83-4AE1-ABCB-B1495D0B0AF6} = {3932F75F-1D83-4AE1-ABCB-B1495D0B0AF6}
- EndProjectSection
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2OOGHelper", "L2OOGHelper.vcxproj", "{F48FE51E-CD31-40EE-93D9-E467841CB79C}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2Packets", "L2Packets.vcproj", "{3932F75F-1D83-4AE1-ABCB-B1495D0B0AF6}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2Packets", "L2Packets.vcxproj", "{3932F75F-1D83-4AE1-ABCB-B1495D0B0AF6}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2Detect2", "L2Detect2.vcproj", "{C9E44C69-A4C4-4284-9D4B-884AE2C30C49}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2Detect2", "L2Detect2.vcxproj", "{C9E44C69-A4C4-4284-9D4B-884AE2C30C49}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2Detect_starter", "L2Detect_starter.vcproj", "{C98A8014-A9E5-4F6F-8D13-E559721F979C}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2Detect_starter", "L2Detect_starter.vcxproj", "{C98A8014-A9E5-4F6F-8D13-E559721F979C}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libl2c_utils", "libl2c_utils.vcproj", "{6710AD5F-9C7D-4828-8EAF-79478C1E6F9A}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libl2c_utils", "libl2c_utils.vcxproj", "{6710AD5F-9C7D-4828-8EAF-79478C1E6F9A}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2C_Login", "L2C_Login.vcproj", "{76233D4B-4DB6-4757-9F9E-572738DA9CDB}"
- ProjectSection(ProjectDependencies) = postProject
- {6710AD5F-9C7D-4828-8EAF-79478C1E6F9A} = {6710AD5F-9C7D-4828-8EAF-79478C1E6F9A}
- {3932F75F-1D83-4AE1-ABCB-B1495D0B0AF6} = {3932F75F-1D83-4AE1-ABCB-B1495D0B0AF6}
- EndProjectSection
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2C_Login", "L2C_Login.vcxproj", "{76233D4B-4DB6-4757-9F9E-572738DA9CDB}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2C_Server", "L2C_Server.vcproj", "{72DC0189-0628-48FC-AA67-A7A279A2A171}"
- ProjectSection(ProjectDependencies) = postProject
- {6710AD5F-9C7D-4828-8EAF-79478C1E6F9A} = {6710AD5F-9C7D-4828-8EAF-79478C1E6F9A}
- {3932F75F-1D83-4AE1-ABCB-B1495D0B0AF6} = {3932F75F-1D83-4AE1-ABCB-B1495D0B0AF6}
- EndProjectSection
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "L2C_Server", "L2C_Server.vcxproj", "{72DC0189-0628-48FC-AA67-A7A279A2A171}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution