[Release] Simple C++ launcher
Well, i had nothing to do so i made a little simple launcher, and it's safe.
This is the source of the launcher!, you need a C++ compiler to compile this.
For a free C++ compiler download Dev-C++ (google it).
Ok here it is.
PHP Code:
#include <iostream>
#include <windows.h>
using namespace std;
//This File and the code contained here in is propterty of 'masterG'
//Copyright (C) 2005
//you may modify this file and or change the name and code content.
int main()
{
cout << "Welcome to masterG's Server\n";
Sleep(1000); //so it's looks kinda professional :P
cout <<"\n";
cout <<"Launching MU please wait...\n"; // fake loading
Sleep(1500);
STARTUPINFO si;
PROCESS_INFORMATION pi;
ZeroMemory( &si, sizeof(si));
si.cb = sizeof(si);
ZeroMemory( &pi, sizeof(pi));
CreateProcess( NULL, "main.exe connect /u127.0.0.1 /p44405", NULL, NULL, FALSE, 0,NULL, NULL, &si, &pi ); //the real thing, change 127.0.0.1 to you're ip and port 44405 to yours (optional)
return 0;
** //change the "**"
At the end change the ** to this
change 127.0.0.1 to you're ip, and the port of you're server.
after the file is compiled put it in you're Mu folder and run it :D
If you wanna ad a icon on the file do this... Add a resource file and type 1 ICON "X:\icon.ico " (where y
ou're icon files is located);
Re: [Release] Simple C++ launcher
Re: [Release] Simple C++ launcher
COOL!!! tnx!..
p.s so.. now we can create our interface
Re: [Release] Simple C++ launcher
Stop digging old threads. You're becoming very annoying.
Re: [Release] Simple C++ launcher
Re: [Release] Simple C++ launcher
Re: [Release] Simple C++ launcher
Re: [Release] Simple C++ launcher
Re: [Release] Simple C++ launcher
HOW THE HELL IS THIS ANY WHERE NEAR SIMPLE
i only under stand a the cout and cin commands T~T wtf and system commands
Re: [Release] Simple C++ launcher
LoL
My "UPDATE" ^^
Quote:
#include <iostream>
#include <windows.h>
using namespace std;
//This File and the code contained here in is propterty of 'masterG'
//Copyright (C) 2005
//you may modify this file and or change the name and code content.
int main()
{
cout << "Welcome to xxx MuOnline Server\n";
Sleep(1000); //so it's looks kinda professional :P
cout <<"\n";
cout <<"Loading [ANTIHACK]... "; // fake loading
Sleep(1500);
cout << "DONE!\n";
cout << "Launching [main]... ";
Sleep(1000);
cout << "DONE!\n\nLOADING";
for(int x=0; x<5; x++){
Sleep(1000);
cout << ".";
}
STARTUPINFO si;
PROCESS_INFORMATION pi;
ZeroMemory( &si, sizeof(si));
si.cb = sizeof(si);
ZeroMemory( &pi, sizeof(pi));
CreateProcess( NULL, "main.exe", NULL, NULL, FALSE, 0,NULL, NULL, &si, &pi );
return 0;
}