[GUIDE] Making your own realmlist switcher.
Ok, this guide will teach you how to make a simple realmlist.wtf switcher that allows people to switch between private servers and retail servers.
Note: I use VB 2005 Express Edition for compatibility reasons (some don't have the new framework that 2008 needs), but this guide will work for both.
This guide assumes a very basic knowledge VB.NET (being able to drag things onto forms and changing properties of objects in design mode)
- Start by making a windows application. (File -> New Project -> Select windows application). You can call it whatever you like. Click OK.
- Select your form and change the text property to whatever you want the form title to be. Next drag 3 buttons, two text boxes and two labels onto the form, and change their text properties so they look like this.
- Call the textbox (NOT LABEL, your can write in textboxes, but not in labels) next to "Realmlist.wtf location:" txtRealm, and the textbox next to "Private Server Address:" txtServer. Note, this is name, not the text the control displays.
- Next, double click on the button titled "set custom private server" and enter the following code:
Explanation: The dim line creates a variable ServerString which contains: set realmlist server-they-entered.com The next line, writes the text contained in the variable ServerString to the filename contained in txtRealmlist.Code:Dim ServerString As String = "set realmlist " & txtServer.Text My.Computer.FileSystem.WriteAllText(txtRealm.Text, ServerString, False)
- Next, double click on the set US realmlist button and put
Explanation:See first button explanationCode:Dim ServerString As String = "set realmlist us.logon.worldofwarcraft.com" & vbNewLine & "set patchlist US.version.worldofwarcraft.com" My.Computer.FileSystem.WriteAllText(txtRealm.Text, ServerString, False)
- And for the EU button:
Code:Dim ServerString As String = "set realmlist eu.logon.worldofwarcraft.com" & vbNewLine & "set patchlist eu.version.worldofwarcraft.com" My.Computer.FileSystem.WriteAllText(txtRealm.Text, ServerString, False)
Explanation:See first button explanation
Congratulations! You are done.
Now, run the program, enter the location of your realmlist.wtf file. (must enter the full address including filename. eg. C:\Program Files\World of Warcraft\realmlist.wtf).
(Pre patch 3.0.3 use the realmlist.wtf in the root wow folder,
3.0.3 client, use the file in your-wow-folder\Data\enUS\realmlist.wtf replacing enUS if necessary.)
Enter the private server address you want to go to. eg. logon.wowscape.net. Click click set. Alternatively, click set us or set eu to play on the offical servers.
Any feedback about which parts were confusing/unclear also appreciated.