Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Kal Online
You last visited: Today at 02:19

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



OpenProcess + engine.exe?

Discussion on OpenProcess + engine.exe? within the Kal Online forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2005
Posts: 58
Received Thanks: 6
OpenProcess + engine.exe?

Hi,

when i use OpenProcess api, it doesn't open engine.exe? it always returns 0..
is there another way to open engine.exe process? like CE opens it correctly..

babel vista translation:
Hallo, wann verwende ich OpenProcess API, es nicht geöffnetes engine.exe? es bringt immer 0. zurück. gibt es eine andere Weise, engine.exe Prozeß zu öffnen? wie CER öffnet es richtig.
NegativeNrG is offline  
Old 10/06/2007, 21:58   #2
 
elite*gold: 0
Join Date: Oct 2007
Posts: 29
Received Thanks: 1
Try something like this at the point where you call OpenProcess:

Quote:
HANDLE hProcess;
hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pe32.th32ProcessID );
if( hProcess == NULL )
printError( "OpenProcess" );
else
{
// ... do something cool here. there was no error opening the process
}
I found this one at MSDN. Try it. It's a very useful resource with more documentation on the Win-API than you will ever need in your life. ()

Some quick thoughts: Did you set the access rights right? Do you have a valid process ID to use with OpenProcess?

Oh... and btw. if you (hopefully) read your way through the MSDN be sure to follow their advises like
Quote:
When you are finished with the handle, be sure to close it using the CloseHandle function.
. They know what they are talking about. If you don't follow their advises this can lead to pain-in-the-*** debugging sessions or even an unstable system.

Have a nice evening
ingam0r
ingam0r is offline  
Old 10/07/2007, 02:13   #3
 
elite*gold: 0
Join Date: Sep 2005
Posts: 58
Received Thanks: 6
Did i set the access rights right? if you mean by PROCESS_ALL_ACCESS, then yes, if for the
SeDebugPrivilege thing, no.

i double(well more than double) checked the PID of engine.exe...i also tried doing it on other processes and it returns the handle correctly, but for engine.exe, it never opens the process.
NegativeNrG is offline  
Old 10/07/2007, 13:38   #4
 
elite*gold: 0
Join Date: Oct 2007
Posts: 29
Received Thanks: 1
Hmm... If you want you could post your code here. It's not easy to find errors without knowing the code.
ingam0r is offline  
Old 10/07/2007, 13:52   #5
 
elite*gold: 0
Join Date: Sep 2005
Posts: 58
Received Thanks: 6
Hi,

i am using autoit to do this..very easy to understand

#Include <Mem.au3>

$PID = = ProcessExists("engine.exe")
$Proc = _MemOpen($PID)
msgbox(0,"engine.exe PHANDLE:",)

i didn't put [code] tags because it will take the variables away :O
NegativeNrG is offline  
Old 10/07/2007, 14:38   #6
 
syntex's Avatar
 
elite*gold: 46
Join Date: Mar 2006
Posts: 2,589
Received Thanks: 1,198
autoit wont open the engine.exe
hackshield blocks autoit ... what you need autoit for...
when you learned autoit it shouldn't be hard to code the same macro ring 0 based on delphi c++ ...
search search for the procces and then open the window with the name 'KalOnline' ..
its easy , but wont work with autoit , autoit is craaaaaaaaaap :>

if you like add me on msn/icq.

atm I have no time to come online becouse of Work .. sorry :/
only once a week :/
syntex is offline  
Old 10/08/2007, 06:22   #7
 
elite*gold: 0
Join Date: Sep 2005
Posts: 58
Received Thanks: 6
Hi,

wait..so your telling me hackshield blocks autoit? ok cool...at least i know i'm not doing something wrong .
NegativeNrG is offline  
Old 10/08/2007, 11:14   #8
 
elite*gold: 0
Join Date: Oct 2007
Posts: 159
Received Thanks: 65
learn delphi

windows.winexec('engine.exe /load /config debug',sw_normal);
R4Yx is offline  
Old 10/08/2007, 16:26   #9
 
elite*gold: 0
Join Date: Mar 2007
Posts: 2
Received Thanks: 0
Quote:
Originally Posted by R4Yx View Post
learn delphi

windows.winexec('engine.exe /load /config debug',sw_normal);
But he want to Open the Process and not to create it.
secret107 is offline  
Old 10/08/2007, 16:28   #10
 
elite*gold: 0
Join Date: Mar 2007
Posts: 2
Received Thanks: 0
Quote:
Originally Posted by R4Yx View Post
learn delphi

windows.winexec('engine.exe /load /config debug',sw_normal);
But he want to Open the Process and not to create it.

Im interessted too in how to open the engine process. It must be possible in a other way then OpenProcess cause Revolution Engine can open it too.
secret107 is offline  
Old 10/08/2007, 17:48   #11
 
elite*gold: 0
Join Date: Oct 2007
Posts: 159
Received Thanks: 65
oh^^ sry
R4Yx is offline  
Reply

« c++ | Speedhack ;) »

Similar Threads Similar Threads
vb.net OpenProcess() returns zero
10/24/2009 - .NET Languages - 6 Replies
Hey guys, n00b here.. Im trying to read the Aion memory via vb.net OpenProcess(&H10, false, pid) function, but it returns always 0. I guess this is bcs of the missing read rights? is there any workaround? how do others manage to get read access? cheers :handsdown:
hack using engine(any engine?) anf by pass for this engine..
10/09/2009 - Grand Chase Philippines - 3 Replies
wla na bang engine na gumagana?
OpenProcess(Again)
10/20/2007 - Kal Online - 1 Replies
Hi, why can't i still open Kal process? i tried with Autoit and C++.. here is what i've done to open with c++ #include <iostream> #include <windows.h>
OpenProcess gibt konsequent error 87 zurück
10/05/2007 - General Coding - 5 Replies
Hallo, Ich arbeite im Moment an einem ProcessHandle. Allerdings bin ich ratlos, da eigentlich alles richtig ist, speziell die Parameter. Denn Error 87 besagt, dass die Parameter incorrect sind. Hier der C++ Code: HWND hWnd; DWORD thread; HANDLE hProcess;



All times are GMT +1. The time now is 02:19.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.