memcpy

Posts 1–8 of 8 · Page 1 of 1
memcpy
hey
can anyone gave me any solution how to do a simple nofalldamage as example in memcpy, not ptc.

this is what i have got:
Code:
if(nofalldamage==1)
			{
				CMD("FallDamageMinHeight 0.000000");
				CMD("FallDamageMaxHeight 0.000000");
				CMD("FallDamageMax 0.000000");
			}
Can anyone convert it to memcpy code?

Thanks
First, you need to know how to code in c++. Second, you need the offsets for no fall damage.
thought it got perma patched?
You can't 'convert it to memcpy code' because that's an engine function. Well you probably can but that's not enough information.
Pretty sure no-fall damage is server sided anyway, like most HP calculations. However in theory you would find the addresses where the fall-height/damage values are stored, then just make them some other value.

*(DWORD*)0x10 = 5000; //0x10 being the address of fall-height, assuming it is a 4 byte value, make it = 5000.
@master131 what other information do you need to help me? Thank you
@Jason it is not server sided in cf
Well even if you gave me anymore information I probably couldn't help you. You're probably best off doing what Jason said.
The offset of the value in CShell.dll was posted in July in this thread.
Maybe you could try updating it using that. For all I know, the offset may still be the same...
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us