[GHP] Here is my problem regarding GHP. (Src Complete)
Hello to all the community of RageZone!
I hope you had a good holiday season. I wanted to thank you for all that this forum can bring to people.
Happy 2021s.
Problem :
Here is my problem with installing GHP on my local warz server. In the video I try to show everything in detail so that you can better understand it.
I carried out all the steps and it did not lead to anything. My client doesn't want this toss.
When I remove the code which allows to read WZ_GHP.dll the games open normally, however when I ask it to read the module it does not launch anymore. And I don't have any Logs that can help me resolve the issue.
My GHP is compiling with Visual Studio 2013 Ultimate.
I create my own topic to centralize responses and help other people with my problem. If the video can help some go ahead.
Re: [GHP] Here is my problem regarding GHP. (Src Complete)
???
it won't work
Quote:
#ifdef FINAL_BUILD
HMODULE GHP = LoadLibrary("WZ_GHP.dll");
if(GHP == NULL)
{
r3dOutToLog("GHP - Not loaded");
ExitProcess(0);
}
#endif
This will help, just replace this code with your own...
The correct solution has already been implemented! ---> warz simple anti hack dll
Re: [GHP] Here is my problem regarding GHP. (Src Complete)
Quote:
Originally Posted by
ES3N1N
Hello, Thank you for your reply.
Unfortunately it is like in the video.
I tested these 2 different codes:
https://i.imgur.com/0v7244V.png
And
https://i.imgur.com/eT1feQR.png
Re: [GHP] Here is my problem regarding GHP. (Src Complete)
i gave the correct answer, just plug this in.
Re: [GHP] Here is my problem regarding GHP. (Src Complete)
if loadlibrary fails then you should check out the dll which seem to be broken in some way, maybe you can call getlasterror function to get more information
Re: [GHP] Here is my problem regarding GHP. (Src Complete)
Quote:
Originally Posted by
ES3N1N
i gave the correct answer, just plug this in.
It does not work. It's the same as in the video.
Quote:
Originally Posted by
IKaruzI15
if loadlibrary fails then you should check out the dll which seem to be broken in some way, maybe you can call getlasterror function to get more information
I also think it could come from the DLL, because once I remove the "LoadLibrary" the game works fine. I will look in more detail in the source GHP.I will inquire about the "getlasterror" function
Re: [GHP] Here is my problem regarding GHP. (Src Complete)
call GetLastError(); right after Loadlibrary failed, google the result of the function and you might find an answer
Re: [GHP] Here is my problem regarding GHP. (Src Complete)
Quote:
Originally Posted by
IKaruzI15
call GetLastError(); right after Loadlibrary failed, google the result of the function and you might find an answer
Tell me if I am using the "GetLastError" function correctly, should it be used in the game client or in the GHP DLL? I think I need to do this on the game client to be able to cause the client to crash.
https://prnt.sc/wfjdz6
https://i.imgur.com/h7i38TM.png
Re: [GHP] Here is my problem regarding GHP. (Src Complete)
I don't know GHP well but the GHP server is correctly started?
Re: [GHP] Here is my problem regarding GHP. (Src Complete)
u are using it properly, now u need to debug it or output the error code using printf("%d", dError); but this requires the client to keep running and you will have to allocate a console first & enable stdoutput or better way use the r3dlog function and pass "%d" as the string variable and dError as the variable which will fill the %d placeholder (you can look up using google which pre-holder you have to use on which datatype)
Re: [GHP] Here is my problem regarding GHP. (Src Complete)
Quote:
Originally Posted by
Oosmar02
I don't know GHP well but the GHP server is correctly started?
Hi friend, yes the server is starting fine, normally I show it in the video or go to the Panel.
Quote:
Originally Posted by
IKaruzI15
u are using it properly, now u need to debug it or output the error code using printf("%d", dError); but this requires the client to keep running and you will have to allocate a console first & enable stdoutput or better way use the r3dlog function and pass "%d" as the string variable and dError as the variable which will fill the %d placeholder (you can look up using google which pre-holder you have to use on which datatype)
I'll look at it, I'll get you and add on discord as you asked me.
Re: [GHP] Here is my problem regarding GHP. (Src Complete)
Bạn đã hoàn thành dự án chưa?