[Release]Custom Launcher[Vb.Net] menu

User Tag List

Results 1 to 13 of 13
  1. #1
    Emptie[Imp]'s Avatar Member
    Reputation
    10
    Join Date
    May 2008
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Release]Custom Launcher[Vb.Net]

    This launcher was designed for a server that no longer exists, but the code could be changed slightly and work with any server.

    Code:
    Imports System.IO
    Imports System.Diagnostics.Process
    
    Public Class Form1
    
    	Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
    		Dim realmlist As StreamWriter = New StreamWriter("realmlist.wtf", False)
    		realmlist.WriteLine("set realmlist frozenwarground.kicks-ass.net")
    		realmlist.Close()
    		Try
    			startProcess("wow.exe")
    		Catch
    			MsgBox("wow.exe not found. Please make sure this is in your WoW directory.")
    		End Try
    		clearCache()
    		Me.Close()
    	End Sub
    
    	Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    		Dim realmlist As StreamWriter = New StreamWriter("realmlist.wtf", False)
    		realmlist.WriteLine("set realmlist us.logon.worldofwarcraft.com")
    		realmlist.WriteLine("set patchlist us.version.worldofwarcraft.com")
    		realmlist.Close()
    		Try
    			startProcess("wow.exe")
    		Catch
    			MsgBox("wow.exe not found. Please make sure this is in your WoW directory.")
    		End Try
    		clearCache()
    		Me.Close()
    	End Sub
    
    	Private Function startProcess(ByVal filename As String)
    		Dim install = New Process()
    		install.StartInfo.FileName = filename
    		install.Start()
    		startProcess = 1
    	End Function
    
    	Private Function clearCache()
    		Dim location As String = App_Path()
    		Dim s As String
    		Try
    			For Each s In System.IO.Directory.GetFiles(location & "cache\wdb\enus")
    				System.IO.File.Delete(s)
    			Next s
    		Catch
    			MsgBox("Sorry, this launcher only works with enUS versions of WoW.")
    		End Try
    		clearCache = 1
    	End Function
    
    	Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
    		Start("http://wow-v.com/vote.php?id=1883")
    		Button2.Text = "Frozen Warground"
    		Button2.Enabled = True
    		Timer1.Enabled = False
    	End Sub
    
    	Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    		count = count - 1
    		Button2.Text = "Frozen Warground (" & count & ")"
    		If count = 0 Then
    			Button2.Text = "Frozen Warground"
    			Button2.Enabled = True
    			Timer1.Enabled = False
    		End If
    	End Sub
    
    	Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    		count = 10
    		Button2.Enabled = False
    		Timer1.Enabled = True
    		trayicon.ShowBalloonTip(10000)
    	End Sub
    
    	Public Function App_Path() As String
    		Return System.AppDomain.CurrentDomain.BaseDirectory()
    	End Function
    End Class

    Screenshot:




    Please make sure you give me credits if you use my code.

    [Release]Custom Launcher[Vb.Net]
  2. #2
    Kuraria's Avatar Member
    Reputation
    11
    Join Date
    Jul 2007
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I need some code to auto log the person in I can't get the timing right to fill in the boxes

  3. #3
    kaothic's Avatar Member
    Reputation
    7
    Join Date
    Oct 2007
    Posts
    167
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dont work for me :/

    Code:
    ------ Operación Volver a generar todo iniciada: proyecto: WindowsApplication2, configuración: Debug Any CPU ------
    E:WINDOWSMicrosoft.NETFrameworkv3.5Vbc.exe /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.Drawing,System.Diagnostics,System.Windows.Forms,System.Linq,System.Xml.Linq /optioncompare:Binary /optionexplicit+ /optionstrict:custom /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 /optioninfer+ /rootnamespace:WindowsApplication2 /doc:objDebugWindowsApplication2.xml /define:"CONFIG="Debug",DEBUG=-1,TRACE=-1,_MyType="WindowsForms",PLATFORM="AnyCPU"" /reference:"E:Archivos de programaReference AssembliesMicrosoftFrameworkv3.5System.Core.dll","E:Archivos de programaReference AssembliesMicrosoftFrameworkv3.5System.Data.DataSetExtensions.dll",E:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.Data.dll,E:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.Deployment.dll,E:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.dll,E:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.Drawing.dll,E:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.Windows.Forms.dll,E:WINDOWSMicrosoft.NETFrameworkv2.0.50727System.Xml.dll,"E:Archivos de programaReference AssembliesMicrosoftFrameworkv3.5System.Xml.Linq.dll" /main:WindowsApplication2.My.MyApplication /debug+ /debug:full /filealign:512 /out:objDebugWindowsApplication2.exe /resource:objDebugWindowsApplication2.Form1.resources /resource:objDebugWindowsApplication2.Resources.resources /target:winexe Form1.vb Form1.Designer.vb "My ProjectAssemblyInfo.vb" "My ProjectApplication.Designer.vb" "My ProjectResources.Designer.vb" "My ProjectSettings.Designer.vb"
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(6) : error BC30506: La cláusula Handles requiere una variable WithEvents definida en el tipo contenedor o en uno de sus tipos base.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(19) : error BC30506: La cláusula Handles requiere una variable WithEvents definida en el tipo contenedor o en uno de sus tipos base.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(53) : error BC30506: La cláusula Handles requiere una variable WithEvents definida en el tipo contenedor o en uno de sus tipos base.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(55) : error BC30451: No se ha declarado el nombre 'Button2'.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(56) : error BC30451: No se ha declarado el nombre 'Button2'.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(57) : error BC30451: No se ha declarado el nombre 'Timer1'.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(60) : error BC30506: La cláusula Handles requiere una variable WithEvents definida en el tipo contenedor o en uno de sus tipos base.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(61) : error BC30451: No se ha declarado el nombre 'count'.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(61) : error BC30451: No se ha declarado el nombre 'count'.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(62) : error BC30451: No se ha declarado el nombre 'Button2'.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(62) : error BC30451: No se ha declarado el nombre 'count'.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(63) : error BC30451: No se ha declarado el nombre 'count'.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(64) : error BC30451: No se ha declarado el nombre 'Button2'.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(65) : error BC30451: No se ha declarado el nombre 'Button2'.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(66) : error BC30451: No se ha declarado el nombre 'Timer1'.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(71) : error BC30451: No se ha declarado el nombre 'count'.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(72) : error BC30451: No se ha declarado el nombre 'Button2'.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(73) : error BC30451: No se ha declarado el nombre 'Timer1'.
    E:Documents and SettingsKaothicMis documentosVisual Studio 2008ProjectsWindowsApplication2WindowsApplication2Form1.vb(74) : error BC30451: No se ha declarado el nombre 'trayicon'.
    ========== Volver a generar todo: 0 correctos, 1 incorrectos, 0 omitidos ==========

    Only simple things make me feel alive...

  4. #4
    atersi's Avatar Member
    Reputation
    1
    Join Date
    Feb 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i will test this

  5. #5
    colincancer's Avatar Active Member
    Reputation
    63
    Join Date
    Dec 2007
    Posts
    509
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah dude you should provide a link to a guide so ppl will know wat to do with this...anyways the screen shot is pointless because ppl have to make their own unless you're downloading something, and anyways while making my own, i couldnt even get the code to work...
    #JODYS'WATCHiN

  6. #6
    fastelf's Avatar Active Member
    Reputation
    44
    Join Date
    Apr 2007
    Posts
    279
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If someone can get this working it would be much appreciated

  7. #7
    j00nas's Avatar Member
    Reputation
    10
    Join Date
    Dec 2007
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello,
    I noticed you only posted the code but no forms etc, so I made some modifications and this is what I came up with:


    It has a basic news-system, which gets text-file content from a webserver.

    Rar Incl:
    • Source files (*.sln,*.vb etc)
    • Header *.PSD


    Download:
    Filebeam - Free Fast File Hosting
    RapidShare: Easy Filehosting

    :wave:

  8. #8
    Rec Alpam's Avatar Contributor CoreCoins Purchaser
    Reputation
    125
    Join Date
    Mar 2007
    Posts
    304
    Thanks G/R
    3/1
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +Rep for J00nas

  9. #9
    Aelus's Avatar Active Member
    Reputation
    72
    Join Date
    Jan 2007
    Posts
    687
    Thanks G/R
    0/2
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice contribution J00nas +rep x2



  10. #10
    Toxcito's Avatar Member
    Reputation
    1
    Join Date
    Oct 2008
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice, im gonna use this for mine!

  11. #11
    erobins's Avatar Member
    Reputation
    11
    Join Date
    Aug 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by j00nas View Post
    Hello,
    I noticed you only posted the code but no forms etc, so I made some modifications and this is what I came up with:


    It has a basic news-system, which gets text-file content from a webserver.

    Rar Incl:
    • Source files (*.sln,*.vb etc)
    • Header *.PSD


    Download:
    Filebeam - Free Fast File Hosting
    RapidShare: Easy Filehosting

    :wave:

    I like the look of this...but the links do nto work.

  12. #12
    OMGPanic!'s Avatar Member
    Reputation
    8
    Join Date
    Oct 2008
    Posts
    71
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    erobins make sure the executable file is saved in your WoW directory.

    Edit:
    Asuming everyone uses the default installation path then replace
    Code:
    startProcess("wow.exe")
    with
    Code:
    startProcess("%ProgramFiles%World of Warcraftwow.exe")
    And the proggram will run from any directory.
    Last edited by OMGPanic!; 10-12-2008 at 11:28 AM.
    Moved house and now have limited internet access. Cant work till its back. STRESSED.

  13. #13
    ShadowDark19's Avatar Member
    Reputation
    40
    Join Date
    Sep 2008
    Posts
    106
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice,y need custom launcher...+rep

Similar Threads

  1. [Release] Custom WoW Launcher both EU and US.
    By Jonthe838 in forum WoW EMU Programs
    Replies: 18
    Last Post: 10-09-2010, 09:23 PM
  2. Make your own Custom Launcher in VB .net 2008
    By razordemon in forum WoW EMU Guides & Tutorials
    Replies: 6
    Last Post: 08-28-2008, 07:02 PM
  3. [RELEASE] GamerzWoW Launcher - VB9.NET Source!
    By whitekidney in forum World of Warcraft Bots and Programs
    Replies: 9
    Last Post: 04-26-2008, 03:59 PM
  4. [RELEASE] GamerzWoW Launcher - VB9.NET Source!
    By whitekidney in forum WoW EMU Programs
    Replies: 0
    Last Post: 04-26-2008, 11:48 AM
  5. custom Launcher
    By kuchiki in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 09-15-2007, 07:27 AM
All times are GMT -5. The time now is 09:38 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search