[Question] Commandline?

12/13/2009 17:07 Thiesius#1
Hello guys,
As you know, when you try to run engine without command line, you get error message. And if you try to run process with /load only (wihout launcher) you get mainentance error. Is there any way to find out, why the you can connect only with launcher?
I tried to put breakpoint to CreateProcessW inside launcher. But this is what I got:

Code:
CALL blah...

0012D280   001AF4F4  |ModuleFileName = "c:\Program Files\KalOnlineEng\engine.exe"   // No comment - obvious

blah blah....

0012D284   001AD25C  |CommandLine = ""c:\Program Files\KalOnlineEng\engine.exe" /load " // WTF? "/load" only?

0012D294   04000410  |CreationFlags = CREATE_NEW_CONSOLE|CREATE_UNICODE_ENVIRONMENT|CREATE_DEFAULT_ERROR_MODE // Nothing special

0012D29C   001AD054  |CurrentDir = "c:\Program Files\KalOnlineEng" // Obvious

0012D2A0   001B0B58  |pStartupInfo = 001B0B58   //Address of STARTUPINFO struct
0012D2A4   001B0BA4  \pProcessInfo = 001B0BA4  //Address of PROCESS_INFORMATION struct
// Are those two last parameters so important for engine to work normally?
Launcher also doesn't call WriteProcessMemory, so It cannot be written lately. I don't know, so I'm asking you for help, please.
12/14/2009 00:41 Dreckvieh#2
R*A*G*E*Z*O*N*E and u will find ur Question. Under How to stop zogga hack i think
12/14/2009 18:34 Thiesius#3
Anti Zogga doesn't solve my problem. P-Server files are little bit different than Int.

Actually I meant this: Launcher has to call CreateProcess after you hit "Start" button (obviously). So if you place breakpoint on this function, you should obtain full CommandLine.
See on image:
(Notice a stack)
[Only registered and activated users can see links. Click Here To Register...]

But if you try to call CreateProcess with same params (Except for PROCESS_INFORMATION and STARTUPINFO) you get this error:
[Only registered and activated users can see links. Click Here To Register...]

My launcher and engine is unpacked so I should see everything clearly.
Any ideas?
12/14/2009 18:51 BorSti#4
Quote:
Originally Posted by Thiesius View Post
Anti Zogga doesn't solve my problem. P-Server files are little bit different than Int.

Actually I meant this: Launcher has to call CreateProcess after you hit "Start" button (obviously). So if you place breakpoint on this function, you should obtain full CommandLine.
See on image:
(Notice a stack)
[Only registered and activated users can see links. Click Here To Register...]

But if you try to call CreateProcess with same params (Except for PROCESS_INFORMATION and STARTUPINFO) you get this error:
[Only registered and activated users can see links. Click Here To Register...]



My launcher and engine is unpacked so I should see everything clearly.
Any ideas?
drecksvieh doesnt understood what u mean ....


jap - you are right - the problem is that the client get a random created "key" from server and then the game starts - ask Mahatma - he has more knownlegde with it - he already tryed clientless / launching kal without updater
12/14/2009 19:05 syntex#5
Quote:
Originally Posted by BorSti View Post
drecksvieh doesnt understood what u mean ....


jap - you are right - the problem is that the client get a random created "key" from server and then the game starts - ask Mahatma - he has more knownlegde with it - he already tryed clientless / launching kal without updater
yap the client creates a key but that routine is crackable :p simply .. just check the packet tutorial of mirage online or what ever that crappy game was called where the guy does crack the md5 protection of the packtes :p
12/15/2009 16:56 Thiesius#6
Alright then. Thank you guys. I will ask Mahatma about details.