MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides

Homepage Register FAQ Members Mark Forums Read Advertise Marketplace FPSowned


Go Back   MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides > Programming > Programming section > VB
Reload this Page [Guide] Making a Custom Launcher
VB Discussions about VB programming

Reply
 
LinkBack Thread Tools
[Guide] Making a Custom Launcher
(#1)
Old
damon160's Avatar
damon160 is Offline
Master Sergeant
Rep Power: 1
Reputation: 8
damon160 is an unknown quantity at this point
 
Posts: 99
Join Date: Oct 2007
Location: Inside the world
[Guide] Making a Custom Launcher - 03-24-2008

This Guide Will show you how to Create a Custom Launcher using Vb



Results -



Content
1 - Delete Cache
2 - Normal Realmlist or yours
3 - Get rid of the windows frame
4 - Extra


1 - Delete the Cache

1.Add an new button to your form and double click it so you get into the code window.

2.Enter this

Code:
      Dim installpath As String = String.Empty
        installpath = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINESOFTWAREblizzard entertainmentworld of warcraft", "installpath", Nothing)
        If Directory.Exists(installpath & "/cache") Then
            Directory.Delete(installpath & "/cache", True)
            MsgBox("Cache deleted successfully")
        Else
            MsgBox("There is no cache")
        End If
2 - Normal Realmlist or yours
What i will explain to you now, is how to change so the launcher can switch peoples realmlist for them. Also, i will remove the code part that makes wow start with your realmlist when you click the button (In my previous guide i told you how to make it do so):
1. Go to "project" in the top bar.
2. Click "Add windows form".
3. Select "windows form".
4. Click "add"
5. You should now see a new form in the solution explorer the form will by default be named "form2.vb" By now, it should also display form2 in design mode.
6. Now make your form like you want it.
7. Add 3 buttons. 1 for engb, one for enus and one for your own server.
8. Double click the engb button.
9 Insert this code before anything els in the code window.

Code:
Imports System.IO
10. Insert code into the button click sub

Code:
              Dim installpath As String = String.Empty
        installpath = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINESOFTWAREblizzard entertainmentworld of warcraft", "installpath", Nothing)
        Dim fs As New FileStream(installpath & "realmlist.wtf", FileMode.Create, FileAccess.Write)
        Dim s As New StreamWriter(fs)
        s.WriteLine("set realmlist eu.logon.worldofwarcraft.com")
        s.WriteLine("set patchlist eu.version.worldofwarcraft.com")
        s.Close()
11. Lets do the same with the enus

Code:
              Dim installpath As String = String.Empty
        installpath = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINESOFTWAREblizzard entertainmentworld of warcraft", "installpath", Nothing)
        Dim fs As New FileStream(installpath & "realmlist.wtf", FileMode.Create, FileAccess.Write)
        Dim s As New StreamWriter(fs)
        s.WriteLine("set realmlist us.logon.worldofwarcraft.com")
        s.WriteLine("set patchlist us.version.worldofwarcraft.com")
        s.Close()
12. Now lets add some code to your own realmlist button.

Code:
        Dim installpath As String = String.Empty
        installpath = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINESOFTWAREblizzard entertainmentworld of warcraft", "installpath", Nothing)
        If File.Exists(installpath & "realmlist.wtf") Then
            File.Delete(installpath & "realmlist.wtf")
            Dim fs As New FileStream(installpath & "realmlist.wtf", FileMode.Create, FileAccess.Write)
            Dim s As New StreamWriter(fs)
            s.WriteLine("set realmlist your realmlist")
            s.Close()
        End If
13. Now go to form1
14. Double click the button you've used to start wow.
15. Delete

Code:
              Dim fs As New FileStream("realmlist.wtf", FileMode.Create, FileAccess.Write)
        Dim s As New StreamWriter(fs)
        s.WriteLine("set realmlist your realmlist")
        s.Close()
16. You'r done!
Pew pew, lets take a 2 min break shall we?
--------------
Break over! Back to work

3 - Remove the windows frame
Now i will show you how to remove that ugly blue/silver/what ever bar on top of your application.

1. Go to form1[design]
2. Make sure you got the whole window marked (so that you edit the form and not an button)
3. In the lower right corner you will find the properties window.
4. Now find Font -> FormBorderStyle.
5. Change it to None.
6. Now you may notice that the border above your application is gone (:O) Lets start making our own.
7. Depending on what you want your user to be able to do add:
-Only close the application: 1 button.
-Close and minimize the application: 2 buttons.
-All the things you normaly can (minimize, maximize, and close): 3 buttons.
8. Double click the button you've added to close the appication.
9. Add this code

Code:
      Application.Exit()
10. If you have an button to minimize the application add this code

Code:
        Me.WindowState = FormWindowState.Minimized
11. If you have an button to maximize the application add this code

Code:
              If Me.WindowState = FormWindowState.Maximized Then
            Me.WindowState = FormWindowState.Normal
        Else
            Me.WindowState = FormWindowState.Maximized
        End If
If you do chose to do this, i would advise you to do the same with the realmlist form. (form2)

4 - Extra
This is just some things you might want.
1. - Reshack: A program that allows you to get .ico(icons) from exe files, like wow.exe

[Only registered and activated users can see links. ]

2. - Icons well, just some icons i had on my computer, perhaps you can use them, wow icon also there + ts, msn, xfire etc etc etc

[Only registered and activated users can see links. ]

That's it! you're done!

This Guide was created by kolklik of ac-web credit goes to him



Last edited by damon160; 03-24-2008 at 06:32 PM.
Reply With Quote

Donate to remove ads.
(#2)
Old
Viter's Avatar
Viter is Offline
Member of The Month
Rep Power: 4
Reputation: 366
Viter is just really niceViter is just really niceViter is just really niceViter is just really nice
 
Posts: 1,487
Join Date: Aug 2007
Location: Denmark
03-26-2008

good job!
+rep x3
EDIT: cant rep now



Reply With Quote
(#3)
Old
Anarchy [RD]'s Avatar
Anarchy [RD] is Offline
Contributor
Rep Power: 1
Reputation: 123
Anarchy [RD] will become famous soon enoughAnarchy [RD] will become famous soon enough
 
Posts: 385
Join Date: Jan 2008
Location: Australia
03-27-2008

wooo, great job x1



Reply With Quote
(#4)
Old
gallopokoo is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 0
Reputation: 1
gallopokoo is an unknown quantity at this point
 
Posts: 1
Join Date: Apr 2008
04-04-2008

??? umm im confused with the top bit add a new button to were?
Reply With Quote
(#5)
Old
S-N-A-F-U's Avatar
S-N-A-F-U is Offline
Site Donator
Rep Power: 0
Reputation: 8
S-N-A-F-U is an unknown quantity at this point
 
Posts: 56
Join Date: Aug 2006
Location: Norway
04-13-2008

this isnt his guide its the second half of a guide from ac-web by kolkik he just copy and pasted it so he ould get some rep
Reply With Quote
(#6)
Old
damon160's Avatar
damon160 is Offline
Master Sergeant
Rep Power: 1
Reputation: 8
damon160 is an unknown quantity at this point
 
Posts: 99
Join Date: Oct 2007
Location: Inside the world
04-13-2008

Uh i never asked for any rep and i thought it might be nice if there was a script guide in this section for creating a custom launcher. and i also gave credit to the creator of this guide.


Reply With Quote
(#7)
Old
C-Death's Avatar
C-Death is Offline
Contributor
Rep Power: 2
Reputation: 124
C-Death will become famous soon enoughC-Death will become famous soon enough
 
Posts: 465
Join Date: Jun 2007
06-05-2008

It gives me Directory is not declated


Reply With Quote
(#8)
Old
Gili's Avatar
Gili is Offline
Sergeant
Rep Power: 2
Reputation: 5
Gili is an unknown quantity at this point
 
Posts: 59
Join Date: Feb 2007
Location: Under your bed.
06-05-2008

Same here, Name 'Directory' Is not declared.
Reply With Quote
(#9)
Old
frkcoaster6 is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 0
Reputation: 1
frkcoaster6 is an unknown quantity at this point
 
Posts: 2
Join Date: May 2008
06-28-2008

same here, any help with this?
Reply With Quote
(#10)
Old
Apoc's Avatar
Apoc is Offline
c|_| My care cup is empty
Rep Power: 4
Reputation: 468
Apoc is a glorious beacon of lightApoc is a glorious beacon of lightApoc is a glorious beacon of lightApoc is a glorious beacon of lightApoc is a glorious beacon of light
 
Posts: 578
Join Date: Jan 2008
06-28-2008

Try adding

Code:
Imports System.IO
To the header of the source files. (File and Directory classes are stored in the System.IO namespace)


[Only registered and activated users can see links. ]
Reply With Quote
(#11)
Old
Brutal Pink Panther's Avatar
Brutal Pink Panther is Offline
Master Sergeant
Rep Power: 1
Reputation: 6
Brutal Pink Panther is an unknown quantity at this point
 
Posts: 109
Join Date: Mar 2008
07-04-2008

he forgot something in those kinds
Code:
              Dim installpath As String = String.Empty
        installpath = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE/SOFTWARE/blizzard entertainment/world of warcraft", "installpath", Nothing)
        Dim fs As New FileStream(installpath & "realmlist.wtf", FileMode.Create, FileAccess.Write)
        Dim s As New StreamWriter(fs)
        s.WriteLine("set realmlist us.logon.worldofwarcraft.com")
        s.WriteLine("set patchlist us.version.worldofwarcraft.com")
        s.Close()
and in the others


C++ Scripter. Did you see ? :P
Reply With Quote
(#12)
Old
kitelight08 is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 1
Reputation: 1
kitelight08 is an unknown quantity at this point
 
Posts: 8
Join Date: Jul 2008
07-09-2008

If someone does manage to get this to work can they save i and send it to me as i cant get it to work.
thanks
i want the project folder in a .zip or somthing
thanks send it to:
[Only registered and activated users can see links. ]

Thanks
Reply With Quote
Reply

Donate to remove ads.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On




Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327