[CN BASE] crashing

Posts 113 of 13 · Page 1 of 1
[CN BASE] crashing
ok, using the resulting base from CN's tut, w/ lt client set to 0x3778BFB0 and my esp set to -2-7+9+4, a custom function created containing the following ptc commands and memcpy addresses:

Code:
	//SAT CHAMS
	PTC("SkelModelStencil 1" );

	//BOX ESP
	PTC("ModelDebug_DrawBoxes 1" );

	//NO FOG
	PTC("FogEnable 1" );

	//NO SWAY
	PTC("WeaponSway 0.000000" );

	//NO SPREAD
	PTC("PerturbRotationEffect  0.000000" );
	PTC("PerturbIncreaseSpeed 0.000000" );
	PTC("PerturbWalkPercent 0.000000" );
	PTC("PerturbFiringIncreaseSpeed 0.000000" );
	PTC("PerturbRecoil 0.000000" );
	PTC("FireMovePerturb 0.000000" );
	PTC("ZoomedFireMoveDuckPerturb 0.000000" );
	PTC("ZoomedFireMovePerturb 0.000000" );
	PTC("ZoomedFireDuckPerturb 0.000000" );

	//NO RECOIL
	memcpy((LPVOID)0x3741A550, "\x90\x90\x90", 3);
	memcpy((LPVOID)0x3740AA99, "\x90\x90\x90", 3);
	memcpy((LPVOID)0x3741A564, "\x90\x90\x90", 3);
	memcpy((LPVOID)0x3741A567, "\x90\x90\x90", 3);
	memcpy((LPVOID)0x3741A570, "\x90\x90\x90", 3);
a sleep of 91 ms before my custom function containing the ptc and memcpy commands, and literally no other modifications. what would cause me to crash after moments in game? is it one of the NR addies?

PTC is just CN's pushtoconsole function just shortened because im lazy

EDIT: memcpy addies are from bloods post, PTC commands are from DeadLinez
EDIT 2: all pushes and memory copies work, Engine.exe just crashes is all.
If you are using !CN's Console Push it does not work with LT Clients, you need CN Addies which I posted in my !CN ConsolePush Thread.
Quote Originally Posted by CoderNever View Post
If you are using !CN's Console Push it does not work with LT Clients, you need CN Addies which I posted in my !CN ConsolePush Thread.
well, what im using right now is

Code:
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( REPLACE-THIS-TEXT-WITH-THE-LT-CLIENT );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
from http://www.mpgh.net/forum/207-combat...arms-hack.html

i will look into your other posts.
Replace that entire code with that and it should fix your commands

[php]void PTC(const char* Command) {
DWORD CNADDIE = 0x007d9200;
void* Send = ( void* )*( DWORD* )(CNADDIE);
__asm
{
/* CREDITS TO CN */
push Command;
call Send;
add esp, -3-1+2+6;
}
} [/php]
so just change the dword from *ltclient to CNADDIE (or something memorable) and szCommand to Command?

and what i was actually using was

Code:
void __cdecl PTC( const char* szCommand )
{
	DWORD *LTClient = ( DWORD* )( 0x3778BFB0 );
	void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
	__asm
	{
		push szCommand;
		call CONoff;
		add esp, -7-2+9+4;
	}
}
looks like i have a lot more learning to do.

and my first 3 lines of my code are
//THANKS TO CODERNEVER FOR MAKING THE AMAZING TUTORIAL
//THAT ENABLED ME TO MAKE THIS POSSIBLE AS WELL AS ALL
//THE HELP HE PROVIDED WITH MY TROUBLE SHOOTING.

EDIT: that worked. care to explain why? i dont understand how changing the name of a function could do that. i am guessing it has something to do with szCommand.
No....
You must change the Actually Client addie too.
Quote Originally Posted by whatup777 View Post
No....
You must change the Actually Client addie too.
oh wow. i even looked at it and told myself that it was the same. this is what i get for LUI (learning under the influence). thanks for pointing it out.

i appreciate the patience everyone is having with me. i just want to be able to help contribute to the community.

ill use the search function to find as much info as i can on finding the LTC so i can update it when they change it.

next question, would i need to learn how to decompile and read (forgive me if im saying that wrong) cshell in order to find the PTC commands like DeadLinez did?
Quote Originally Posted by BloodSkin View Post
oh wow. i even looked at it and told myself that it was the same. this is what i get for LUI (learning under the influence). thanks for pointing it out.

i appreciate the patience everyone is having with me. i just want to be able to help contribute to the community.

ill use the search function to find as much info as i can on finding the LTC so i can update it when they change it.

next question, would i need to learn how to decompile and read (forgive me if im saying that wrong) cshell in order to find the PTC commands like DeadLinez did?
You would have to unpack it and run it through a disassembler, or dump it. Plenty of tuts for both, though a lot of the known working PTC commands are easily available.
so are you all set, or need help?
i got this one figured out, thanks bud. /close please
Quote Originally Posted by BloodSkin View Post
i got this one figured out, thanks bud. /close please
/Closed .
Doesnt Work for me
BloodSkin Can you show me your HackSource I want to compare :S
Please =D
your name will appear in Credits !
dont use memcpy use memoria
Posts 113 of 13 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?