• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Release] Working PreLauncher

Joined
Apr 12, 2013
Messages
897
Reaction score
481
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.
 
Skilled Illusionist
Joined
Jul 10, 2008
Messages
371
Reaction score
94
clean relase, thanks St34lth4ng3l for this release.
 
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
897
Reaction score
481
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. :