Commit f31104a6 authored by Scribble's avatar Scribble

Name Changed to GDLEnhanced

parent 5dd62482
......@@ -140,13 +140,13 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<TargetName>PhatAC - Classic Dereth - Debug</TargetName>
<TargetName>GDLEnhanced - Debug</TargetName>
<OutDir>$(SolutionDir)\Bin\</OutDir>
<IntDir>Intermediate\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug DLL|x64'">
<LinkIncremental>true</LinkIncremental>
<TargetName>PhatAC - Classic Dereth</TargetName>
<TargetName>GDLEnhanced</TargetName>
<OutDir>$(SolutionDir)\Bin\</OutDir>
<IntDir>Intermediate\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
......@@ -160,7 +160,7 @@
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)\Bin\</OutDir>
<IntDir>Intermediate\$(Platform)\$(Configuration)\</IntDir>
<TargetName>PhatAC - Classic Dereth - Debug</TargetName>
<TargetName>GDLEnhanced - Debug</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)\Bin\</OutDir>
......@@ -176,13 +176,13 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<TargetName>PhatAC - Classic Dereth</TargetName>
<TargetName>GDLEnhanced</TargetName>
<OutDir>$(SolutionDir)\Bin\</OutDir>
<IntDir>Intermediate\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release - Public|x64'">
<LinkIncremental>false</LinkIncremental>
<TargetName>PhatAC - Classic Dereth</TargetName>
<TargetName>GDLEnhanced</TargetName>
<OutDir>$(SolutionDir)\Bin\</OutDir>
<IntDir>Intermediate\$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
......
......@@ -53,7 +53,7 @@ END
IDD_MAIN DIALOGEX 0, 0, 431, 292
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_STATICEDGE
CAPTION "PhatAC - Classic Dereth"
CAPTION "GDLEnhanced"
MENU IDR_MENU
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
......@@ -115,7 +115,7 @@ END
IDD_ABOUT DIALOGEX 0, 0, 255, 152
STYLE DS_SETFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION
CAPTION "About PhatAC - Classic Dereth"
CAPTION "About GDLEnhanced"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "Close",IDOK,198,130,50,14
......@@ -252,7 +252,7 @@ BEGIN
BLOCK "040004b0"
BEGIN
VALUE "FileVersion", "1.0.0.0"
VALUE "ProductName", "PhatAC - Classic Dereth"
VALUE "ProductName", "GDLEnhanced"
VALUE "ProductVersion", "1.0.0.0"
END
END
......
......@@ -167,7 +167,7 @@ void CClientEvents::LoginCharacter(DWORD char_weenie_id, const char *szAccount)
}
*/
m_pPlayer->SendText("PhatAC - Classic Dereth " SERVER_VERSION_NUMBER_STRING " " SERVER_VERSION_STRING, LTT_DEFAULT);
m_pPlayer->SendText("GDLEnhanced " SERVER_VERSION_NUMBER_STRING " " SERVER_VERSION_STRING, LTT_DEFAULT);
m_pPlayer->SendText("Powered by GamesDeadLol. Not an official Asheron's Call server.", LTT_DEFAULT);
/*
......
......@@ -22,7 +22,7 @@ LRESULT CALLBACK AboutProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam
switch (message)
{
case WM_INITDIALOG:
SetWindowText(GetDlgItem(hDlg, IDC_CREDITS), "PhatAC - Classic Dereth " SERVER_VERSION_NUMBER_STRING "\n" SERVER_VERSION_STRING "\n\nClassic Dereth created by Dekaru (dekaru@protonmail.com)\nhttps://github.com/bDekaru/ClassicDereth\n\nBased on the GamesDeadLol Server project.\nhttps://github.com/GamesDeadLol/GDL\n\nPhatAC originally created by Pea and halted in September 2017.\n\nPhatAC was created in C++ and compiled with Visual Studio. Third-party libraries used include zlib, SHA512 and ISAAC algorithms.");
SetWindowText(GetDlgItem(hDlg, IDC_CREDITS), "GDLEnhanced " SERVER_VERSION_NUMBER_STRING "\n" SERVER_VERSION_STRING "\n" "\n" "GDLEnhanced updated and maintained by ChosenOne, LikeableLime, and Scribble\n\nClassic Dereth created by Dekaru (dekaru@protonmail.com)\nhttps://github.com/bDekaru/ClassicDereth\n\nBased on the GamesDeadLol Server project.\nhttps://github.com/GamesDeadLol/GDL\n\nPhatAC originally created by Pea and halted in September 2017.\n\nPhatAC was created in C++ and compiled with Visual Studio. Third-party libraries used include zlib, SHA512 and ISAAC algorithms.");
// SetWindowText(GetDlgItem(hDlg, IDC_PACKETCREDITS), PACKET_CAPTURE_CREDITS);
return TRUE;
......@@ -207,7 +207,7 @@ LRESULT CALLBACK LauncherProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lPa
if (!FileExists(((std::string)szLaunchDir + "\\acclient.exe").c_str()))
{
MsgBox("Please copy your Asheron's Call client to the Client folder of PhatAC.\r\n");
MsgBox("Please copy your Asheron's Call client to the Client folder of GDLEnhanced.\r\n");
}
else
{
......@@ -306,7 +306,7 @@ INT_PTR CALLBACK MainProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
g_Logger.AddLogCallback(OutputConsole);
HWND hVersion = GetDlgItem(hDlg, IDC_VERSION);
SetWindowText(hVersion, "PhatAC - Classic Dereth " SERVER_VERSION_NUMBER_STRING " " SERVER_VERSION_STRING); // "PhatAC compiled " __TIMESTAMP__);
SetWindowText(hVersion, "GDLEnhanced " SERVER_VERSION_NUMBER_STRING " " SERVER_VERSION_STRING); // "PhatAC compiled " __TIMESTAMP__);
HICON hIcon = LoadIcon(g_hInstance, MAKEINTRESOURCE(IDI_PHATAC));
SendMessage(hDlg, WM_SETICON, ICON_SMALL, (LPARAM)hIcon);
......@@ -423,7 +423,7 @@ INT_PTR CALLBACK MainProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
if (!FileExists(((std::string)szLaunchDir + "\\acclient.exe").c_str()))
{
MsgBox("Please copy your Asheron's Call client to the Client folder of PhatAC.\r\n");
MsgBox("Please copy your Asheron's Call client to the Client folder of GDLEnhanced.\r\n");
}
else
{
......@@ -550,7 +550,7 @@ int APIENTRY WinMain(HINSTANCE hInstance,
extern DWORD64 g_RandomAdminPassword;
g_RandomAdminPassword = ((DWORD64)Random::GenUInt(0, 0xFFFFFFF0) << 32) | Random::GenUInt(0, 0xFFFFFFF0) + GetTickCount64();
LOG(UserInterface, Normal, "Welcome to PhatAC - Classic Dereth!\n");
LOG(UserInterface, Normal, "Welcome to GDLEnhanced!\n");
ShowWindow(g_hWndMain, nCmdShow);
......
......@@ -32,7 +32,7 @@ DWORD WINAPI MainServerThread(LPVOID)
extern DWORD64 g_RandomAdminPassword;
g_RandomAdminPassword = ((DWORD64)Random::GenUInt(0, 0xFFFFFFF0) << 32) | Random::GenUInt(0, 0xFFFFFFF0);
LOG(UserInterface, Normal, "Welcome to PhatAC - Classic Dereth!\n");
LOG(UserInterface, Normal, "Welcome to GDLEnhanced!\n");
unsigned long serverIP = GetLocalIP();
int serverPort = 9050;
......
......@@ -411,7 +411,7 @@ void MsgBox(UINT type, const char *format, ...)
HWND hWnd = g_pGlobals ? g_pGlobals->GetWindowHandle() : NULL;
MessageBox(hWnd, szWriteBuffer, "PhatAC", MB_OK | type);
MessageBox(hWnd, szWriteBuffer, "GDLEnhanced", MB_OK | type);
}
void MsgBox(const char *format, ...)
......@@ -423,7 +423,7 @@ void MsgBox(const char *format, ...)
_vsnprintf(szWriteBuffer, 1024, format, args);
va_end(args);
MessageBox(NULL, szWriteBuffer, "PhatAC", MB_OK);
MessageBox(NULL, szWriteBuffer, "GDLEnhanced", MB_OK);
}
void MsgBoxError(DWORD dwError, const char* event)
......@@ -446,7 +446,7 @@ void MsgBoxError(DWORD dwError, const char* event)
LocalFree(lpMsgBuf);
}
#define REGLOC HKEY_LOCAL_MACHINE, "Software\\PhatAC"
#define REGLOC HKEY_LOCAL_MACHINE, "Software\\GDLEnhanced"
BOOL SaveConfigKey(const char* Key, DWORD value)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment