|
You last visited: Today at 14:50
Advertisement
Run Conquer directly
Discussion on Run Conquer directly within the CO2 Programming forum part of the Conquer Online 2 category.
11/11/2010, 01:03
|
#1
|
elite*gold: 0
Join Date: Nov 2006
Posts: 286
Received Thanks: 38
|
Run Conquer directly
Hi guys. Still makeing my proxy and now i need somehow load conquer. When i try run conquer with blacknull argument in shortcut everything is fine but cant make it with CreateProcess(). Or maybe some1 can pm me how can i run Conquer directly ?
|
|
|
11/11/2010, 03:26
|
#2
|
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
|
Are you passing "blacknull" as the lpCommandLine Argument? Should work afaik.
I personally haven't tried to run conquer with CreateProcess.
I generally use ShellExecuteEx, so I can return the ProcessID for my DLL Injection.
|
|
|
11/11/2010, 15:31
|
#3
|
elite*gold: 0
Join Date: Nov 2006
Posts: 805
Received Thanks: 464
|
you can actually just do like..
conquerPath = howeverYouDefineThis;
CreateProcess(conquerPath, "blacknull", ...);
erm.. just out of curiosity were you just trying to do CreateProcess(conquerPath + " blacknull"); ?
if so then yeah, that's your problem, i believe that returns file not found error.
|
|
|
11/11/2010, 15:50
|
#4
|
elite*gold: 0
Join Date: Jan 2007
Posts: 656
Received Thanks: 541
|
Or just define
Code:
Process MyProcess = Process.Start(Path + @"\Conquer.exe", "blacknull");
Could just directly run it ofcourse without defining any variable for it, but incase you want to use the Process later to for example inject a .dll into it it's good.
Before you do that though you have to make sure you set the current directory to the Path Directory else it wont run.
Example
Code:
Directory.SetCurrentDirectory(Path);
And after you have ran the process make sure to revert back the current directory to the initial.
An whole example would be
Code:
string InitialPath = Directory.GetCurrentDirectory();
Directory.SetCurrentDirectory(Path);
Process MyProcess = Process.Start(Path + @"\Conquer.exe", "blacknull");
Directory.SetCurrentDirectory(InitialPath);
|
|
|
11/11/2010, 15:59
|
#5
|
elite*gold: 0
Join Date: Nov 2006
Posts: 805
Received Thanks: 464
|
Quote:
Originally Posted by Trigorio
Or just define
Code:
Process MyProcess = Process.Start(Path + @"\Conquer.exe", "blacknull");
Could just directly run it ofcourse without defining any variable for it, but incase you want to use the Process later to for example inject a .dll into it it's good.
Before you do that though you have to make sure you set the current directory to the Path Directory else it wont run.
Example
Code:
Directory.SetCurrentDirectory(Path);
And after you have ran the process make sure to revert back the current directory to the initial.
An whole example would be
Code:
string InitialPath = Directory.GetCurrentDirectory();
Directory.SetCurrentDirectory(Path);
Process MyProcess = Process.Start(Path + @"\Conquer.exe", "blacknull");
Directory.SetCurrentDirectory(InitialPath);
|
I think he's using C++, or else he wouldn't want to use create process anyways
|
|
|
11/11/2010, 19:40
|
#6
|
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,198
|
Code:
CreateProcess(ConquerPath, " blacknull", 0, 0, False, 0, 0, WorkingDirectory, StartupInfo, ProcessInfo)
If you're creating the process like this, make sure that you set the "WorkingDirectory" parameter to your Conquer.exe's location and also make sure you add a space in the "blacknull" parameter (like shown in the above example)
|
|
|
11/11/2010, 20:05
|
#7
|
elite*gold: 0
Join Date: Nov 2006
Posts: 286
Received Thanks: 38
|
Quote:
Originally Posted by IAmHawtness
Code:
CreateProcess(ConquerPath, " blacknull", 0, 0, False, 0, 0, WorkingDirectory, StartupInfo, ProcessInfo)
If you're creating the process like this, make sure that you set the "WorkingDirectory" parameter to your Conquer.exe's location and also make sure you add a space in the "blacknull" parameter (like shown in the above example)
|
Thx u bro. Yeah i just need WorkingDirectory parameter
|
|
|
11/11/2010, 20:57
|
#8
|
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,198
|
Quote:
Originally Posted by TomasLT
Thx u bro. Yeah i just need WorkingDirectory parameter
|
Right, that should just be "C:\Program Files\Conquer 2.0" or whever you have Conquer installed. If you don't pass the right parameter, you'll get an error
|
|
|
11/12/2010, 01:23
|
#9
|
elite*gold: 0
Join Date: Jan 2007
Posts: 656
Received Thanks: 541
|
Quote:
Originally Posted by Ian*
I think he's using C++, or else he wouldn't want to use create process anyways
|
Well that explains why I had no memory of a method called CreateProcess() in C# lol.
|
|
|
|
Similar Threads
|
[RELEASE] Login into Conquer Directly (Facebook Method)
02/24/2012 - CO2 Exploits, Hacks & Tools - 14 Replies
Well this will exploit the new facebook login method, so instead of having to go to the facebook application to run conquer, this will create a shortcut on your desktop to conquer that will run conquer and all you need to do is click "Enter" and you will login without having to enter your details.
Instructions:
1. Go here, bind your facebook account with your co account and install the nd login application.
2. Run conquer from the facebook application and once conquer shows up, run...
|
Multiclient-5200-Conquer.exe Directly
07/23/2010 - CO2 Exploits, Hacks & Tools - 24 Replies
1-MultiClient-with Time and Date
2-Run Conquer.exe Directly
3-No Virus Scan
4-No Pop-Up
5-PM Commands
6-Wall Jump work
7-No Chat Tips
8-No Flashing Icon
9-No Please Login Later Message
|
Loading Client directly
02/23/2010 - Mabinogi - 6 Replies
Does it still work? As of the g9 update I haven't been able to do it the old way by using the method found somewhere here. I keep getting the error x30000011. Does anyone else know how to fix this?
|
Is There Any Way to unlock Gears directly?
04/13/2009 - Conquer Online 2 - 4 Replies
I wanna Sell my gears ut i ont ait 5 days till they are unlocked!
So is there a other way to unlock it?
|
All times are GMT +1. The time now is 14:50.
|
|