Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO Guides & Templates
You last visited: Today at 01:24

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help with Client launcher please

Discussion on Help with Client launcher please within the EO Guides & Templates forum part of the Eudemons Online category.

Closed Thread
 
Old   #1
 
Safsbro's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 10
Received Thanks: 5
Help with Client launcher please

I'm fairly new at Visual basics and have not really played much with C+ or C++ class Any how I made a launcher for a friend"s server, I am working with Microsoft Visual Studio 2010 Ultimate, Anyway the Launcher does what it is intended to do . Start the client and auto patch . the Forms declarations are as fallows:

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Shell("soul.exe")

End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Shell("AutoPatch.exe")

End Sub
End Class

My problem is that it will not auto close the launcher when the client starts , Do i need to insert a finalize insert to have it exit when the client is initialized ? Can anyone help me out with this please? and thank you
Safsbro is offline  
Old 08/10/2011, 08:34   #2
 
Eurion's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 1,208
Received Thanks: 926
Quote:
Originally Posted by Safsbro View Post
I'm fairly new at Visual basics and have not really played much with C+ or C++ class Any how I made a launcher for a friend"s server, I am working with Microsoft Visual Studio 2010 Ultimate, Anyway the Launcher does what it is intended to do . Start the client and auto patch . the Forms declarations are as fallows:

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Shell("soul.exe")

End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Shell("AutoPatch.exe")

End Sub
End Class

My problem is that it will not auto close the launcher when the client starts , Do i need to insert a finalize insert to have it exit when the client is initialized ? Can anyone help me out with this please? and thank you

This is the wrong section for this topic. But I will answer it anyways.


The ideal way to handle the starting of the exe files are different than the way you have done it, sure you can do it your way, but Its better* doing it like the following.

Code:
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'Starts the soul that is in the client folder.
[color=red]System.Diagnostics.Process.Start(Application.StartUpPath & "\soul.exe", "blacknull")[/color]
'Exits the Application
[color=blue]Application.Exit()[/color]

    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
'Starts the Auto Patcher in the client folder
[color=red]System.Diagnostics.Process.Start(Application.StartUpPath & "\AutoPatch.exe")[/color]
'Exits the application
[color=blue]Application.Exit()[/color]
    End Sub
End Class
The red text will load the exe files in a way that I find the best.
The blue actually does the closing of the loader.
* are my opinions on it.


Any other questions, You have my contact info, feel free to msg me, ill get back to you as soon as I can.
Eurion is offline  
Thanks
3 Users
Closed Thread


Similar Threads Similar Threads
Metin2 Client Launcher
09/12/2010 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 10 Replies
So ich habe einen Launcher fü P-Server geschrieben (sollte auch mit dem offi funktionieren) Folgende Funktionen sind vorhanden: -Portscanning (Statusabfrage von dem Server oder von einzelnen maps) -Client starten -Config starten -Auf Regiseite Navigieren
Multi client or launcher
09/22/2009 - Metin2 PServer Guides & Strategies - 7 Replies
Hi all I scearch an multi client for all serveur privée with explication for instal please and a launcher for tmlj.w1 be possible please Thanks all Best regards
Need 1.199 Client and Launcher plz help
06/23/2009 - Silkroad Online - 4 Replies
can someone upload them for me in a rar file .. if so plz do it and fast i cant get in silkroad thx in advance
Longjuyt Client + launcher ? :)
06/17/2009 - Metin2 Private Server - 4 Replies
Hello, I play on longjuyt, and I have the Chinese customer. I look for a customer in Englishman or in German (or other). I thank you if you have it. Hallo spiele ich mit longjuyt, und ich habe den chinesischen Kunden. Ich suche nach einem Kunden in Engländer oder in Deutschen (oder anderer). Ich danke Ihnen, wenn Sie es haben.
New launcher msg Chinese Client?
03/26/2009 - Aion - 4 Replies
hey ppl, i'm gettin this new img when i launch the aion launcher, ive asked a couple ppl to see what the words mean but the translation didn't get me too far so : http://i217.photobucket.com/albums/cc300/wanteds2 /omgsomethingnew1.png any idea what its about? greetz, rave



All times are GMT +2. The time now is 01:24.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.