Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] Working PreLauncher

Joined
Apr 12, 2013
Messages
896
Reaction score
480
Here is a little PreLauncher with Launcher Updating System...there no error with wich Programm launcher.atm should be opened....enjoy it

Edit: -Changed Downloadprocess (Loading Bar isn't freezing now)
-Changed Loadingbar to EP4 Style
 

Attachments

You must be registered for see attachments list
Last edited:
Retired (Goddamn idiots)
Joined
Dec 3, 2003
Messages
391
Reaction score
483
I am actually quite surprised it took people so long to do this.
There's exactly two packets involved when it comes to the lolable piece of poop that the prelauncher is.
 
Experienced Elementalist
Joined
Oct 9, 2012
Messages
226
Reaction score
76
nice , but some changes needded:


add 2 voids

Code:
   private void DOWNLOAD_VFILE_IF_NOT_EXIST()
        {

            try
            {
                if (!File.Exists(Application.StartupPath + "\\lversion.cfg"))
                {
                    WebClient webClient = new WebClient();
                    webClient.DownloadFile("http://127.0.0.1/updates/launcher/SpaceWarriors.a", (Application.StartupPath + "\\SpaceWarriors.a"));
                }
                
            }
            catch { }
        }

        private void DOWNLOAD_LAUNCHER_IF_NOT_EXIST()
        {
            try
            {
                if (!File.Exists(Application.StartupPath + "\\SpaceWarriors.a"))
                {
                    WebClient webClient = new WebClient();
                    webClient.DownloadFile("http://127.0.0.1/updates/launcher/SpaceWarriors.a", (Application.StartupPath + "\\SpaceWarriors.a"));
                }
                
            }
            catch { }
        }


and change

1.

Code:
 else if (iVersionLocal == iVersion)
            {
                START_LAUNCHER();
            }
to
Code:
 else if (iVersionLocal == iVersion)
            {
                DOWNLOAD_LAUNCHER_IF_NOT_EXIST();
                START_LAUNCHER();
            }



2.
Code:
      catch
            {
                 DOWNLOAD_VFILE_IF_NOT_EXIST();
                MessageBox.Show("lversion.cfg not found!", "ERR:FILE_OT_FOUND");
            }
to
Code:
            catch
            {
                 DOWNLOAD_VFILE_IF_NOT_EXIST();
            }
 
Experienced Elementalist
Joined
Oct 9, 2012
Messages
226
Reaction score
76
Real dev should think about all. Best method its treat user like idiot who use all options and have problem with this app.
 
Joined
Apr 12, 2013
Messages
896
Reaction score
480
I know and i'm doing this but i don't care about this because i don't wanna have such idiots on my server who are deleting their gamefiles

but i did your second step but changed some things^^
 
Last edited:
Joined
Sep 7, 2010
Messages
431
Reaction score
263
Nice, gonna have a look. If you guys ever make a custom launcher, you will find prelauncher useless. A single launching executable is enough imo.
 
Newbie Spellweaver
Joined
Nov 22, 2011
Messages
12
Reaction score
0
any one can help me how to make that to use plz pm to me:O:

sorry i am fool
 
Junior Spellweaver
Joined
Dec 3, 2012
Messages
162
Reaction score
130
Change IP in sGameIP to your IP.
Build source code with Visual Studio 2012.
Copy lversion.ver, lversion.cfg, Launcher.atm to YourWebServerFolder\htdocs or www\autoupdate\launcher and the client.
Copy lversion.ver, lversion.cfg, AcePreLauncher.exe to the client and use.
 
Last edited:
Newbie Spellweaver
Joined
Nov 22, 2011
Messages
12
Reaction score
0
Build source code with Visual Studio 2012.
Config autoupdate.
Copy lversion.cfg, Launcher.atm to YourWebServerFolder\htdocs or www\autoupdate\launcher and the client.
Copy AcePreLauncher.exe to the client and use.

Thanks for the answer. i will try to it. :D:
 
Back
Top