Newbie Spellweaver
- Joined
- Aug 1, 2004
- Messages
- 84
- Reaction score
- 0
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.
At the end change the ** to
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
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);
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:
#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 "**"
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
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);
Last edited: