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 [Guide] Create a server launcher. EASY WAY
Ascent Guides This section is for WoW emulated server, Ascent guides.
[NO QUESTIONS HERE]

Reply
 
LinkBack Thread Tools
[Guide] Create a server launcher. EASY WAY
(#1)
Old
c0ddingt0n's Avatar
c0ddingt0n is Offline
Contributor
Rep Power: 1
Reputation: 110
c0ddingt0n will become famous soon enoughc0ddingt0n will become famous soon enough
 
Posts: 553
Join Date: Feb 2008
Location: New York
[Guide] Create a server launcher. EASY WAY - 06-12-2008

Overview
1 - Things you need
2 - Getting started
3 - Sample code (complete code)
4 – Personalizing the code
5 – Design the form
6 - finalizing
7 - Notes!! (important!!)


1
Quite logically you need visual basic 2008 .net since we will work in it. To get it simply download it from Microsoft, its completely free link is: Downloads
Now you will need some images for the background etc. Just some material really, its not “needed” but if you want it to look good, it needs some images lets continue, shall we?


2

Now, you’re done downloading Vb.net, you’ll have to install it, now ill let YOU figure out how to do this. Once your done, you start up Vb.net now step by step:
1. Click “files”
2. Click “new project”
3. By default it should select “windows forms application” if it hasn’t, select it.
4. Name: something you want.
5. Now you will see a “form” called “Form1” this is the form you will “design” for your application/launcher.


3

Now you double click the form, and a code window will appear. This is where the code will be entered. The code tells the application what to do when something happens, fx. If user clicks button1.

Press Ctrl + a, and delete all the code in there. Now copy past this in
Quote:
Imports System.IO
Imports System.Environment


Public Class Form1

Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim fs As New FileStream("realmlist.wtf", FileMode.Create, FileAccess.Write)
Dim s As New StreamWriter(fs)
s.WriteLine("set realmlist winter-wow.servegame.org")
s.Close()

Dim ss As String = startgame("HKEY_LOCAL_MACHINE\SOFTWARE\blizzard entertainment\world of warcraft", "installpath", "WoW.exe")

If ss <> String.Empty Then
My.Settings.wow = ss
My.Settings.Save()
End If
End Sub

Private Function startgame(ByVal RegPath As String, ByVal RegValue As String, ByVal ExeFile As String) As String
Dim retval
Dim installpath As String = String.Empty
installpath = My.Computer.Registry.GetValue(RegPath, RegValue, Nothing)
If Directory.Exists(installpath) Then

ChDir(installpath)
retval = Shell(ExeFile, 1)
Else
With OpenFileDialog1
.InitialDirectory = GetFolderPath(Environment.SpecialFolder.ProgramFiles)
.Title = "Please Select " & ExeFile
.Filter = "Windows Executable *.Exe|*.exe"
.FileName = ExeFile
If .ShowDialog() = Windows.Forms.DialogResult.OK Then
Process.Start(.FileName)
Return .FileName
End If


End With


End If

Return String.Empty
End Function

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

End Sub
End Class
Now this might look VERY confusing, and it is if you’ve never worked with Vb.net, but ill help you guys break it down.


4

Lets start personalizing the code, as you properly don’t want your launcher to connect all your players to winter-wow (hehe ) so find:

s.WriteLine("set realmlist winter-wow.servegame.org")

In the code, and change the content between “” to match what you need. Fx. “Set realmlist myserver.org” Just leave the rest, as that is mainly the code to start wow when button1 is clicked.
Also go into “project” -> “[name] properties” and then select the tab called “settings”
Inside “settings” you change the first box saying “setting” to “wow” then you click the x and when it asks if you want to save changes, you click yes. Now you should be back in the code window.


5

Now we are going to design the form! There is a lot of things you can do, but for now, lets add a cool background image, and some buttons!
1. Go back to your design by clicking the bar saying “form1[design]”.
2. In the lower right corner you will see a properties window.
3. Inside the properties window you can change tons of things, but for now, we will change the background. So find “background image” and mark it by a single click
4. Now click the little buttons with the 3 dots (…) a window saying “select resources” will pop up. Chose local resource, and click import.
5. Now browse to your picture and mark it, and click open, it will then add it as your background
6. Under “background image” in the properties window, you will see “background image layout” this determines weather your image is stretch or centered or what ever. Consider changing it to what you like.
7. Now, lets change the name of the window, because “form1” isn’t that cool is it?
8. Go to the button of the properties window, there you will find “text” now, change text to what you want your window to display in the top left corner.
9. Also, that ugly icon isn’t cool is it? Lets change it! Scroll up a bit and you will find “icon” now it’s the same as with the background image, once done, you will notice your new icon followed by the name you entered in “text”
10. When your done, you will get an .exe file, but we don’t want it to say the default beneath it do we? (no we don’t) so go to “project” in the top bar, and click the last thing in the menu it will be “{name) Properties”
11. Now a settings window will appear, so lets get down to business. In the tab called “application” you click on “assembly information” now you can change what you like, just not the GUID nor the native language.
12. You may notice it has a little box saying “icon” now go ahead and change it, this is the icon your .exe file will have when its inside your world of warcraft folder or your desktop or what ever.
13. Assembly name, you should change that to {name) Launcher. Fx. Winter WoW Launcher or “Toxic WoW launcher” or what ever, you know what I meen.
14. once done changing what you want, just click the little x.
15. Now we are back on the form again, lets add a button! In the left you can see your “toolbox” this is where you can get all the nifty stuff, now click on button, and draw a button on your form.
16. If you click on the button 1 time, you will notice the properties window changes, so that now you can edit the button, go ahead, change the button settings to your liking fx. An image on it (cos the traditional button isn’t very wowish is it?)
17. now in the toolbox find “open file dialog” and add one of those to the form, don’t worry about it not showing up, it adds it self to the “code” so to say, as it’s a dynamic item.
18. Now you can add a “label” to your form, just like with the button, you can find it in the toolbox. A label is used to have text on your form like “Thank you for using our launcher and playing on our server” or what do I know. Once again, you can modify it in the properties window.
19. This is all you have to have for the application to work (the label isn’t needed)


6

Now, if you did all of this correctly, go to “file” “Save As” and change “location” to where you want it, I normally save mine in c:\ fx c:\winterwow\ or c:\ult launcher\ or something. When you’ve done that, you go to “build” and “build [name]”
When its done building (will take like 1 second or something) you go to your location. Fx. C:\winterwow\Winterwow\Winterwow\bin\Release\ and in there I can see “Winter wow launcher.exe” because that is what I’ve chosen to call my application!

I hope this was fairly easy to understand, now I will show you how mine ended up looking. Have fun messing around with Vb .net, and congratulations with making your first programmed application!


7

Please note, that when you click the button, it creates a new realmlist.wtf for you, so you need to have the .exe file in your world of warcraft folder, but you can make a shortcut to the desktop 


-coddingt0n


not my guide BTW but its a great one


Reply With Quote

Donate to remove ads.
(#2)
Old
SectorSeven's Avatar
SectorSeven is Offline
Banned
Rep Power: 0
Reputation: 444
SectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really nice
 
Posts: 1,965
Join Date: Oct 2007
06-12-2008

VB.NET ftw. No questions asked.

x3 and PM me about the Bawx last night and geif updates.
Reply With Quote
(#3)
Old
deadlybull333's Avatar
deadlybull333 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
deadlybull333 is an unknown quantity at this point
 
Posts: 17
Join Date: Feb 2008
Location: GM Island
06-12-2008

OMG----- You need to make a video for this!
Reply With Quote
(#4)
Old
Blubeard 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: 2
Blubeard is an unknown quantity at this point
 
Posts: 17
Join Date: May 2008
06-28-2008

Hi
I'm obviously new to c++ and I have got myself stuck at this point in your guide
Quote:
Also go into “project” -> “[name] properties” and then select the tab called “settings”
Inside “settings” you change the first box saying “setting” to “wow” then you click the x and when it asks if you want to save changes, you click yes.
going into the project properties I get this box



as I cant find a box with settings on I assume I have gone wrong somewhere
could you please point out where
tia

Last edited by Blubeard; 07-01-2008 at 09:34 AM.
Reply With Quote
(#5)
Old
HawjPawj 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
HawjPawj is an unknown quantity at this point
 
Posts: 32
Join Date: Jan 2008
06-29-2008

Hmm...I believe I've done everything right, but how do I make it into an executable file?
Reply With Quote
(#6)
Old
Merlin12591 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: 3
Merlin12591 is an unknown quantity at this point
 
Posts: 5
Join Date: May 2008
06-30-2008

OMG IVE BEEN LOOKING FOR ONE OF THESE

thank you, +rep if i could!!

im using this by the time you read this BTW
Reply With Quote
(#7)
Old
rbbroncoman's Avatar
rbbroncoman is Offline
Private
Rep Power: 1
Reputation: 5
rbbroncoman is an unknown quantity at this point
 
Posts: 5
Join Date: Dec 2007
08-05-2008

as tia said where is the settings tab?
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