For the lolz

Posts 1–5 of 5 · Page 1 of 1
For the lolz
I was trying to find a way to store the original value of each and every gun as I looped through it for a super efficient on off switch. It led to this function which reads memory and stops at the first 0x00 or after it's gone through a certain amount of bytes. The reason I use i in this source is because as I loop through the address it checks to see if it's a gun or not, if it is it reads the name of the gun and checks it against the names of knifes and mutants, then goes to the offset for the feature and stores the value and address in an array. Anyway find a way to use it if you want, I'm only making this stuff because I'm reading a c++ book and I believe practice is the best way to learn. (It's 4:50am so check for errors) the 'r' prefrix means a the following variable is a reference. There might be random comments because it's in my hack source code which is full of random ideas commented to the side. I is a reference too btw. t prefix means temp(because it only stays in scope for a few seconds)

I'm using this to make a visual weapon hack without having to know the addy for each part (that only works if you have a d3d menu though, at least as far as I can tell)change char to dword if you want to store four bytes each time

Code:
 // this isn't tested
char readMemory(DWORD range)
{
	if(range == NULL)
	{
		while(*(char*)i != 0x00);
		{
			tletter = *(char*)i;
			i++;
            rletter = tletter;
			return (false)
			readMemory(NULL) ;
		}
	}
	else
	{
		while(i<= range);
		{
			tletter = *(char*)i;
			i++;
            rletter = tletter;
			return (false);
			readMemory(NULL) ;
		}
	}
}

//the first value in the array will be the levels. it will be called like char storage [] = readMemory()
insomnia ftf
nice tdct!!!....
Quote Originally Posted by gbjhet23 View Post
nice tdct!!!....
I bet u dont understand this and spam lol
If i use this for weapon patch ? Like a weapon fake in 1 monts ago ? how to do ?
Quote Originally Posted by ***** View Post
If i use this for weapon patch ? Like a weapon fake in 1 monts ago ? how to do ?
What I'm doing is writing an address, then a value to an array, which ends up storing both for every gun. Then I just make a loop that does like
Code:
*(DWORD*)storage[i] = storage[i++];
i++;
And that restores the value I changed for each gun. A little bit of tweaking and you could use it to make a weapon hack easily. Just find the range of weapon objects. I'm not giving out that part of my source yet, but I will once I finish it, for now deal with this description
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Talk with us