The GHP.DLL IS ONLY 788 KB ? IS THIS RIGHT? I compiled WITH VS 2008
http://i.imgur.com/F6nw783.png
Printable View
The GHP.DLL IS ONLY 788 KB ? IS THIS RIGHT? I compiled WITH VS 2008
http://i.imgur.com/F6nw783.png
Ghp log:
how to fix it?Quote:
invalid or corrupted license file. Error code: 000000
invalid or corrupted database file. Error code: 000000
yes i'm use this code and game not start :(
- - - Updated - - -
I'm Make for
andQuote:
// GHP
HMODULE hGHP = GetModuleHandle("WZ_GHP.dll");
andQuote:
if (SetParam != NULL && GetParam != NULL)
{
DWORD MyTime, GHPTime, diffTime;
DWORD APIKey = 0xCFBE3B5C; to APIKey = in file LicData
DWORD Time_1 = 0x090A1199; to Time_1 = in file LicData
DWORD Time_2 = 0xBC3FFC9C; to Time_2 = in file LicData
is dont work game is not start :(Quote:
#ifdef FINAL_BUILD // GHP
HMODULE GHP = LoadLibrary("WZ_GHP.dll");
if(GHP == NULL)
{
// GHP.dll load failed
ExitProcess(0);
}
#endif // GHP
Please ghp_prv.key
or will give license error :/
- - - Updated - - -
Quote:
Invalid or corrupted license file. Error code: 000000
Invalid or corrupted database file. Error code: 000000
API hook error. Error code: 000000
Insufficient privileges. Error code: 000000
or that are wrong ?
how to generate new keys?
@srbalboa
how to fix it?
I builder lib
Spoiler:
Try this.
Add in top
Winmain.cpp \ Frontendwarz.cpp and ServerGameLogic.cpp
Search In Winmain.cppPHP Code:#include "C:\WarZ\src\EclipseStudio\ghp_WZAPI.hpp" // GHP
Add AboveCode:Search
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
Code:// Start GHP
#ifdef FINAL_BUILD
if (!GHP_Load())
{
// Erro ao abrir o GHP
ExitProcess(0);
return 0;
}
#endif
// End GHP
//ServerGameLogic.cpp << From WarZ_Server.sln
Code:gServerLogic.LogCheat(peerId, PKT_S2C_CheatWarning_s::CHEAT_Protocol, true, "JoinGame", "%d %d %d", n.CustomerID, n.SessionID, n.CharID);
Add end key
Code:// Check GHP
if (!GHP_CheckPlayer(n.CustomerID, "IP-VPS", 55508, "SerialKey-C_REF"))
{
gServerLogic.LogCheat(peerId, PKT_S2C_CheatWarning_s::CHEAT_Protocol, true, "Sem GHP", // Don't change it
"%d %d %d", n.CustomerID, n.SessionID, n.CharID);
return;
}
// End GHP Check
Search Frontendwarz.cpp
AddCode:r3dOutToLog( "Acquired base profile data for %f\n", r3dGetTime() - aquireProfileStart );
if(gUserProfile.AccountStatus >= 200)
{
return FrontEndShared::RET_Banned;
tested and approved in WARZTHv2 !Code:// Check GHP
#ifdef FINAL_BUILD // work just client, ignor studio
if (!GHP_SetCustomerID(0xF43F33E9, 0x556E8356, 0x9CE8545F, gUserProfile.CustomerID)) // Get apikey, time_1 and time_2 from LicData.ini
{
// erro pra validar a dll do ghp
return FrontEndShared::RET_Diconnected;
}
#endif
// End GHP Check
how to license expires?
link off ??
Re upload this plz.