it wll be hard fix your problem if you don't post the LTClientEXE address.
Is anyone else having combat arms crash within a minute of injecting using RunConsoleCommand. My address isn't wrong, I just updated them this morning after yesterdays maintenance. Everything else works fine just anything that using runconsolecommand is causing a crash.
Im using
Code:void __cdecl Console( const char* szCommand ) { static DWORD rccAdr = NULL; if(!rccAdr) rccAdr = dwLTClientEXE; typedef void(__cdecl*RunConsoleCommandFn)(const char*,int&); RunConsoleCommandFn RunConsoleCmd = (RunConsoleCommandFn)rccAdr; int v4; RunConsoleCmd(szCommand,v4); }
it wll be hard fix your problem if you don't post the LTClientEXE address.
JFYI youre creating a random filled inetger with
And pass it later on to the function. This is probably NOT your crashing problem, but you should pass 0 instead os a random number of your RAMCode:int v4;
Progress with my game - "Disbanded"
- Fixed FPS lag on spawning entities due to the ent_preload buffer!
- Edit the AI code to get some better pathfinding
- Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
- Added a new silencer for ALL weapons. Also fixed the rotation bugs
- Added a ton of new weapons and the choice to choose a silencer for every weapon
- Created a simple AntiCheat, noobs will cry like hell xD
- The name will be Disbanded, the alpha starts on the 18th august 2014
Some new physics fun (Serversided, works on every client)
My new AI
https://www.youtube.com/watch?v=EMSB1GbBVl8
And for sure my 8 months old gameplay with 2 friends
https://www.youtube.com/watch?v=Na2kUdu4d_k
Skaterforeva1 (01-25-2014)
Code:#define LTClientEXE 0x490610 VOID RunConsoleCommand(const char* cmd) { _asm { PUSH cmd MOV EAX, LTClientEXE CALL EAX ADD ESP, 0x4 } } if (NXchams) { RunConsoleCommand("+SkelModelStencil 1"); } else { RunConsoleCommand("+SkelModelStencil 0"); }
@Coder.DiasII I couldn't quote because mpgh kept freezing. But combat arms is still crashing to the ending banner within a minute after injecting. I have tried using encrypted and regular strings they both cause the same crash. within a minute. I honestly don't know what could be wrong since everything else works fine.
the reason you are crashing is if you get ModelLT from LTClient, you will crash after like 5 minutes or some shit, same thing happens in CA EU and NA Now.
@Timboy67678 What does that have to do with runconsolecommand?
Progress with my game - "Disbanded"
- Fixed FPS lag on spawning entities due to the ent_preload buffer!
- Edit the AI code to get some better pathfinding
- Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
- Added a new silencer for ALL weapons. Also fixed the rotation bugs
- Added a ton of new weapons and the choice to choose a silencer for every weapon
- Created a simple AntiCheat, noobs will cry like hell xD
- The name will be Disbanded, the alpha starts on the 18th august 2014
Some new physics fun (Serversided, works on every client)
My new AI
https://www.youtube.com/watch?v=EMSB1GbBVl8
And for sure my 8 months old gameplay with 2 friends
https://www.youtube.com/watch?v=Na2kUdu4d_k
@XarutoUsoCrack, didnt really want to reply, just thought i would clarify i was talking about the ILTCSBase::GetModelLT Member function, as shown in the NOLF SDK:
not the class itself.
Nexon probably added some sort of check to see if its called from CShell or Engine. Thats all im saying. no need to be so rude...
Last edited by Timboy67678; 01-26-2014 at 09:44 AM.
you can easy use these functions using ASM.
That wasn't the question, he was just trying to help troubleshoot a problem and inform others of changes that were made.
You said: "They Can't Add A Check To LTModel, You Don't Modify Anything In Code"
I have 2 suggestions;
1) https://www.wikihow.com/Capitalise-Correctly
2) He is talking about calling the function that returns the pointer, you can implement checks to see what section of code is calling the function and check that way.
No need to be so rude...
arun823 (01-29-2014),Timboy67678 (01-29-2014)