Well after sitting here like a dumb ass for 2 hours trying to figure out how to implement the new feature, i figured out i could have done it much easier from the get go... Well i added an input box so you can type in the server address you want to connect to instead of only having 1 server to chose from!
code:
Code:
#include <GuiConstants.au3>
#include <File.au3>
GuiCreate("WoW Server Selector", 291, 102,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))
GuiSetIcon("C:\Program Files\World of Warcraft\wow.exe", 0)
$Input_1 = GuiCtrlCreateInput("set realmlist (Emu Server Adress Here)", 10, 10, 270, 30)
$Button_2 = GuiCtrlCreateButton("Emu Server", 10, 50, 120, 40)
$Button_3 = GuiCtrlCreateButton("Blizz Server", 150, 50, 130, 40)
GuiSetState()
Do
$msg = GUIGetMsg()
Select
Case $msg= $Button_2
MsgBox(0,"Thank You!", "You have chosen to play in an Emu Server!")
_FileWriteToLine("C:\Program Files\World of Warcraft\realmlist.wtf", 1, GUICtrlRead($Input_1), 1)
Sleep(3000)
Run("C:\Program Files\World of Warcraft\wow.exe")
Case $msg= $Button_3
MsgBox(0,"Thank You!", "You have chosen to play in the Blizz Server!")
_FileWriteToLine("C:\Program Files\World of Warcraft\realmlist.wtf", 1, "set realmlist us.logon.worldofwarcraft.com", 1)
Sleep(3000)
Run("C:\Program Files\World of Warcraft\wow.exe")
EndSelect
Until $msg = $GUI_EVENT_CLOSE or $msg = $Button_2 or $msg = $Button_3
Instructions: To join your Emu Server replace (Emu Server Adress Here) with the address of the server you want to connect,without the () ,dont mess with "set realmlist" then hit Emu Server button to change your realmlist and launch wow.
If you want to join the Blizz server just push the button Blizz Server, the input box has no effect on joining the Blizz server.
Enjoy going back and fourth to your servers! For more implementation have fun just give me cred if you post again, and ask if you want something added by me!
-----)(Please leave the copyright text intact)(-----
This post is copyright by the user posting it and MMOwned.com - World of Warcraft Exploits,Hacks, Bots and Guides, where it was posted. You may not copy or reproduce this information on any other site without written permission from both the poster and MMOwned.com