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 > WoW Emulator Server > Emulator Server Guides > Ascent Guides
Reload this Page Make your own Custom Launcher in VB .net 2008
Ascent Guides This section is for WoW emulated server, Ascent guides.
[NO QUESTIONS HERE]

Reply
 
LinkBack Thread Tools
Make your own Custom Launcher in VB .net 2008
(#1)
Old
razordemon is Offline
Sergeant
Rep Power: 1
Reputation: 19
razordemon is on a distinguished road
 
Posts: 62
Join Date: Feb 2008
Wow Guides Make your own Custom Launcher in VB .net 2008 - 06-14-2008

As the title says, this is a follow up to my other guide which can be found
[Only registered and activated users can see links. ]
With that said lets begin.


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:
Code:
Dim installpath As String = String.Empty
        installpath = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\blizzard entertainment\world 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:
Code:
Imports System.IO
10. Insert code into the button click sub
Code:
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 eu.logon.worldofwarcraft.com")
        s.WriteLine("set patchlist eu.version.worldofwarcraft.com")
        s.Close()
11. Lets do the same with the enus

Code:
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()
12. Now lets add some code to your own realmlist button.

Code:
Code:
  Dim installpath As String = String.Empty
        installpath = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\blizzard entertainment\world 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:
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:
Code:
Application.Exit()
10. If you have an button to minimize the application add this code

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

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! I hope this was any help to you, as I've spend a lot of time on this guide.

Thank you for reading
Your sincerely
Razordemon

All Credits go to Kolklik on Ac-Web I just think that Mmowned should know about this.
Reply With Quote

Donate to remove ads.
(#2)
Old
Apple's_Ascent's Avatar
Apple's_Ascent is Online
Knight-Lieutenant
Rep Power: 2
Reputation: 54
Apple's_Ascent will become famous soon enough
 
Posts: 337
Join Date: Apr 2007
Location: In the Database
06-14-2008

OMG Very nice ;D +2rep


loginapple.game-host.org
Reply With Quote
(#3)
Old
Power of Illuminati's Avatar
Power of Illuminati is Offline
Contributor
Rep Power: 2
Reputation: 170
Power of Illuminati has a spectacular aura aboutPower of Illuminati has a spectacular aura about
 
Posts: 1,367
Join Date: May 2008
Location: Pyramid of Anubis
06-14-2008

Nice guide


Reply With Quote
(#4)
Old
razordemon is Offline
Sergeant
Rep Power: 1
Reputation: 19
razordemon is on a distinguished road
 
Posts: 62
Join Date: Feb 2008
06-14-2008

Thanks for +rep
Reply With Quote
(#5)
Old
colincancer's Avatar
colincancer is Offline
Knight
Rep Power: 1
Reputation: 41
colincancer is on a distinguished road
 
Posts: 207
Join Date: Dec 2007
08-25-2008

Quote:
Originally Posted by razordemon View Post
13. Now go to form1
14. Double click the button you've used to start wow.
15. Delete

Code:
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!

that part i dont get...in the code tags is that what im deleting? and from where, the button ive used to start WoW? wtf does that even mean? please help.


Reply With Quote
(#6)
Old
AzolexX's Avatar
AzolexX is Offline
Sergeant Major
Rep Power: 2
Reputation: 52
AzolexX will become famous soon enough
 
Posts: 163
Join Date: May 2007
Location: Behind You
08-26-2008

+rep for you


Blua ScripterC++ ScripterCode Trinity Emulator DeveloperAscentEmu SupporterAndy's Fan!
And The Emulators SHALL TREMBLE.
CODE TRINITY EMULATOR!
Reply With Quote
(#7)
Old
Neth'zul's Avatar
Neth'zul is Offline
Contributor
Rep Power: 2
Reputation: 207
Neth'zul has a spectacular aura aboutNeth'zul has a spectacular aura aboutNeth'zul has a spectacular aura about
 
Posts: 814
Join Date: Nov 2007
Location: Head of Recruitment
08-28-2008

err didnt I see this in the programming area? lol




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 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342