Just downloaded RO2 and before I could even start throwing it into Olly I noticed this game uses like a billion loader apps which makes me furious
So I made myself a loader and decided to share it, by the time I was done making it, RO2 went into maintenance mode fml.
Here it is. You will have to edit the script to reflect your RO2 directory.
Code:
#include <IE.au3>
#include <string.au3>
$i = 1
While $i = 1
$oIE = _IECreate()
_IEPropertySet ($oIE, "left",0)
_IEPropertySet ($oIE, "top",0)
_IEPropertySet ($oIE, "height",200)
_IEPropertySet ($oIE, "width",520)
$oIE.AddressBar = 0
$oIE.MenuBar = 0
$oIE.StatusBar = 0
$oIE.ToolBar = 0
$oIE.visible=1
$sHTML = ""
$sHTML &= '<html><body><center>' & @CR
$sHTML &= '<form name="Form2" method="post" action="http://loginro2sg.playpark.net/ro2_main.aspx" id="Form2"><div>' & @CR
$sHTML &= '<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTg5MDE1NTc2NGQYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tleV9fFgIFCmlidG5TdWJtaXQFDGlidG5GYWNlYm9va7PqCVBhE1OViM+2yfpNrWmULMvH">' & @CR
$sHTML &= '<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBQKN8MnEDQLE4sXRBgKE8/26DAK1qbSRCwLF3pjlAf6JWLLpCZIJTmUN2MpkJyvBmK9q"></div>' & @CR
$sHTML &= '<table border="1" bordercolor="#000000" cellspacing="0">' & @CR
$sHTML &= '<td class="submit">' & @CR
$sHTML &= 'Email<br>'
$sHTML &= '<input name="txtEmail" type="text" id="txtEmail" class="textbox" autocomplete="off" value=""><br>' & @CR
$sHTML &= 'Password<br>'
$sHTML &= '<input name="txtPassword" type="text" id="txtPassword" class="textbox" autocomplete="off" value="">' & @CR
$sHTML &= '<td><input type="image" name="ibtnSubmit" id="ibtnSubmit" class="submit" src="http://loginro2sg.playpark.net/images/btnSubmit.png" alt="submit">' & @CR
$sHTML &= '</td></td></table></form></center></body></html>'
_IEBodyWriteHTML($oIE, $sHTML)
_Launch()
WEnd
Func _Launch()
Local $LoginString = InputBox("ROLaunch", "Enter Login String", "", " M", "250", "130")
Local $LoginStringSpaced = StringReplace($LoginString, "|", " ")
Run("C:\Games\PlayPark\RO2\SHIPPING\Rag2.exe" & " " & $LoginStringSpaced & " " & "login.playro2.com", "C:\Games\PlayPark\RO2\")
_IEQuit($oIE)
Exit
EndFunc
It loads a skimpy version of their login, minus the CSS/JS/etc. and a string box, just login and copy the string in the IE box to the au3 box and it will destroy the IE box and launch RO2 with the new token you just entered. Much faster than using copypasta'ing to batch files
EDIT 1: You can also edit the value="" fields to already have your email and password so all you have to do is press submit without typing it in every time, its what I do and its much faster.