Help

Posts 115 of 16 · Page 1 of 2
Help
I'm making my first hacks and I need some help.
I have a batch (.bat) file I want to run on button click. I have a command that will do that but it's not working properly. When I debug and click the button it will launch the batch file (.bat) but I get "The system cannot find the file specified". But when I click the batch file myself it works. Help?

C++ Button Code:
Code:
private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {System::Diagnostics::Process::Start("C:\\MooHacks\\Components\\chams1.bat");
			         }
Batch File (.bat) Code:
Code:
copy /y "C:/MooHacks/Components/TEXTURESCRIPTS.rez" "C:/Nexon/Combat Arms/Game/"
wrong section
Lol this is such a fail. You need to make .dll file not a batch -.-
he's trying to say that hes making a hack, but hes really making a virus. do not help him.

.bat files have nothing to do with hacks
It doesnt look like your making a hack, maybe something for rez mods though. Anyway why do you have double \ here "C:\\MooHacks\\Components\\chams1.bat"
Quote Originally Posted by markoj View Post
It doesnt look like your making a hack, maybe something for rez mods though. Anyway why do you have double \ here "C:\\MooHacks\\Components\\chams1.bat"
fail is fail
.bat?
Bats aren't hacks.
Virus or something stupid maybe.
I'm not making a virus...
The batch file is to copy the modded or not modded .rez file to the CA folder and replace the one there..
It's sort of like a Mod launcher.
when i click the ON button it will replace the .rez file with the modded one
and OFF button will replace the modded .rez with the orignal.
I'm new to C++ so give me a break...

I need the double \ because it doesn't recognize it with one.

Also wolffang0000 QQ much? I'm asking for help not people QQing me..
You can make a file dropper in VB.net
What is a file dropper? Excuse me being a noob. All the C++ I know is self-taught.
A file dropper is a program that saves the file you want to the persons computer from the .exe's resources.
ok.

So how do I make a File Dropper?
Can I run a File Dropper on button click?
Lastly, When it saves, can it overwrite a file in the save destination with the same name?

-Also, thanks for helping
Quote Originally Posted by yodaisthebest View Post
ok.

So how do I make a File Dropper?
Can I run a File Dropper on button click?
Lastly, When it saves, can it overwrite a file in the save destination with the same name?

-Also, thanks for helping
I suggest having 2 files.
(The Chams)
And
(The Legit).
So you can switch.

Quote Originally Posted by yodaisthebest View Post
ok.

So how do I make a File Dropper?
Can I run a File Dropper on button click?
Lastly, When it saves, can it overwrite a file in the save destination with the same name?

-Also, thanks for helping
I suggest having 2 files.
(The Chams)
And
(The Legit).
So you can switch.
Quote Originally Posted by justiniscool5 View Post
Lol this is such a fail. You need to make .dll file not a batch -.-
HEs not trying to make a hack. Your comment was a fail because yo ufailed to understand what he was trying to do. -.-
Quote Originally Posted by yodaisthebest View Post
ok.

So how do I make a File Dropper?
Can I run a File Dropper on button click?
Lastly, When it saves, can it overwrite a file in the save destination with the same name?

-Also, thanks for helping
Add the .REZ file to your resources
Click the .Rez file under the resource header
Make it 'embedded'
Under Button1.Click do:

Code:
IO.File.WriteAllBytes("placetoput.Rezfilein", My.Resources.Rez_File)
Posts 115 of 16 · Page 1 of 2

Post a Reply

Tags for this Thread

None

Need help?