[TUTORIAL]How to not look like a leecher
OMG SO I R LOOKIN ON TEH GOOGLZ AND I R FOUND THIS CODENS:
double (*pPlat_FloatTime)();
double xPlat_FloatTime()
{
static double faketime=0, prevtime=0;
double curtime = pPlat_FloatTime();
if (!prevtime) { prevtime = curtime; }
double diff = curtime - prevtime;
if (shvar > 0.0f) {
prevtime = curtime;
return ( faketime = faketime + (diff * 10.0f) );
}
return faketime + diff;
}
// Put this in your main function. only execute this once!
pPlat_FloatTime = (double (__cdecl *)(void))DetourFunction((PBYTE)GetProcAddress(GetM oduleHandle("tier0.dll"), "Plat_FloatTime"), (PBYTE)xPlat_FloatTime);
I WRITED THIS! R MY CODENS! NO LEECH AND TELL ME WAT ARE WRONG!
THIS ARE MY ERROR:
main.cpp(13) : error C2065: 'shvar' : undeclared identifier
main.cpp(22) : error C3861: 'DetourFunction': identifier not found, even with argument-dependent lookup
HOW ARE I FIX? NOT LEECH MY CODENS IT ARE MINE ALONE!
^ The above would be a perfect example of what a leecher would act like.
He will post the most retarded compiler errors or post a few years old code claiming it is his.
If you wish to look like a normal person:
1) Type out your damn sentences! if you type like a 5 year old having a seizure noone will take you seriously.
2) Do not claim code is yours, give credits to the proper owners and ASK for help on what it would do etc.
3) We are not some helpdesk for compiler errors. We are free to laugh at you if you come up with compiler errors like missing variables.
4) Listen to:
B1ackAnge1
Why06
Zeco
Hell_Demon
[MPGH]Whitten
[MPGH]Liz
All other MPGH members
5) Make sure you're open to suggestions, it will make you look less stupid if you actually listen to what we have to say :P
Thank you for reading through this.
-Hell_Demon
(BOOOOORED)
Credits for the code: Taurine
double (*pPlat_FloatTime)();
double xPlat_FloatTime()
{
static double faketime=0, prevtime=0;
double curtime = pPlat_FloatTime();
if (!prevtime) { prevtime = curtime; }
double diff = curtime - prevtime;
if (shvar > 0.0f) {
prevtime = curtime;
return ( faketime = faketime + (diff * 10.0f) );
}
return faketime + diff;
}
// Put this in your main function. only execute this once!
pPlat_FloatTime = (double (__cdecl *)(void))DetourFunction((PBYTE)GetProcAddress(GetM oduleHandle("tier0.dll"), "Plat_FloatTime"), (PBYTE)xPlat_FloatTime);
I WRITED THIS! R MY CODENS! NO LEECH AND TELL ME WAT ARE WRONG!
THIS ARE MY ERROR:
main.cpp(13) : error C2065: 'shvar' : undeclared identifier
main.cpp(22) : error C3861: 'DetourFunction': identifier not found, even with argument-dependent lookup
HOW ARE I FIX? NOT LEECH MY CODENS IT ARE MINE ALONE!
^ The above would be a perfect example of what a leecher would act like.
He will post the most retarded compiler errors or post a few years old code claiming it is his.
If you wish to look like a normal person:
1) Type out your damn sentences! if you type like a 5 year old having a seizure noone will take you seriously.
2) Do not claim code is yours, give credits to the proper owners and ASK for help on what it would do etc.
3) We are not some helpdesk for compiler errors. We are free to laugh at you if you come up with compiler errors like missing variables.
4) Listen to:
B1ackAnge1
Why06
Zeco
Hell_Demon
[MPGH]Whitten
[MPGH]Liz
All other MPGH members
5) Make sure you're open to suggestions, it will make you look less stupid if you actually listen to what we have to say :P
Thank you for reading through this.
-Hell_Demon
(BOOOOORED)
Credits for the code: Taurine

