Set back to normal Value

Posts 1–15 of 19 · Page 1 of 2
Set back to normal Value
Hi,
if I change on for example OneHitKill. With this code:

Code:
	if(ammodmg)
	{
	    if (pLtClient)
	    {
	        for(int i=0; i<487; i++)
		{
		    if((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) != NULL)
		        *(float*)((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) + dmg) = 999999999;
		}
	    }
	}
How can I change this from "999999999" to the normal value?


user44
999999999??? lol
and i think the normal value is 100 or?
u have to make class that saves the original values then load it
the same idea of weapon log
but u don't know how cuz u r leecher
If you want Unload AmmoDamage
Default Value is Byte = 70 ~ 110
user44 and oosimpbsons just leechers...
It is so easy to get the default value and to make on of u even dont need defaul value. Just a brain...
Quote Originally Posted by A$IAN View Post
user44 and oosimpbsons just leechers...
It is so easy to get the default value and to make on of u even dont need defaul value. Just a brain...
ur mum is a fu.ck leecher..And learn english man xDnicht mal namen schreiben können peinlich xD
Quote Originally Posted by Skrillex View Post
ur mum is a fu.ck leecher..And learn english man xDnicht mal namen schreiben können peinlich xD
I have a proof that u leeches and i can reelase it on MPGH right now
Quote Originally Posted by A$IAN View Post

I have a proof that u leeches and i can reelase it on MPGH right now
this is quite funny to watch
Please Boys. Dont write leecher to every Person. Its really really kiddylike. If someones have a question he ask them on a forum. The person expected a useful answer not a crap as answer.
Every body startet small and would be happy if someone help.

Have you ever seen any application where I leeched the code and make it without Credits public? - NO.

You dont know me and my person. Why you ever must insult persons? Your character is really bad.
Have you registered here on forum just for insult other people?

Please stop that and help. Eventually youll get your help positive back.


user44

// Leecher is the wrong word. If you want you can name me beginner in chapter gamehacking.
Quote Originally Posted by user44 View Post
Please Boys. Dont write leecher to every Person. Its really really kiddylike. If someones have a question he ask them on a forum. The person expected a useful answer not a crap as answer.
Every body startet small and would be happy if someone help.

Have you ever seen any application where I leeched the code and make it without Credits public? - NO.

You dont know me and my person. Why you ever must insult persons? Your character is really bad.
Have you registered here on forum just for insult other people?

Please stop that and help. Eventually youll get your help positive back.


user44

// Leecher is the wrong word. If you want you can name me beginner in chapter gamehacking.
Agree with that user44 said above!
try to make array/vector and save the original damage value
so you can restore original damage from it

Code:
float wepdmg[487] = {0}; //global
//in enable
wepdmg[i] = *(float*)((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) + dmg);
*(float*)((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) + dmg) = 999999999;

//in disable
*(float*)((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) + dmg) = wepdmg[i];
Quote Originally Posted by giniyat202 View Post
try to make array/vector and save the original damage value
so you can restore original damage from it

Code:
float wepdmg[487] = {0}; //global
//in enable
wepdmg[i] = *(float*)((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) + dmg);
*(float*)((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) + dmg) = 999999999;

//in disable
*(float*)((*(DWORD*)((*(DWORD*)(CShell+LtClient))+(4*i))) + dmg) = wepdmg[i];
This way you casn't freeze the value. Use if(wepdmg[i] != 999999999)

Btw, if I were you I typecast the values...
Read the description too.
Code:
DWORD Offsets[number of offsets] = {Offset 1, Offset 2, ... }; //Save your Offsets in this Array
float value[number of offsets][biggest weapon ID]; // defines an array
DWORD tmp;
for (int k = 0; k <= number of offsets - 1; k ++) //Do it for every Offset
{
	for (int i = 0; i <= biggest weapon ID - 1; i ++)//Do it for every weapon ID
	{
		tmp = cshell + Array + (i*4) + Offsets[k]; //Adds the weapon ID * 4 + the Offset to the Array and saves it into a DWORD.
		value[k][i] = (float)tmp; //Saves the value
	}
}
Backup the value :
Code:
bool reload = false;
while (1)
{
	if (GetAsyncKeyState(Key) & 1)
	{
		reload = !reload;
		if (reload)
			//Beep or something else
		else
			//Beep or something else
	}
	if (reload)
	{
		//Code to turn it on
	}
	else
	{
		//Add the current weapon ID * 4 + the Offset to the base Adress from CShell + the Array and change it to value[number of the Offset][Weapon ID]
	}
	//Sleep
}
omg use flaot and give the value to 9999 if you want one hit kill
Quote Originally Posted by kmanev073 View Post
omg use flaot and give the value to 9999 if you want one hit kill
LOL, he doesnt need one hit kill. He is tring to turn it off.
Posts 1–15 of 19 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?