Two Toontown Accounts on the same PC

From Disneys Online Worlds Guide (Wiki)
Jump to: navigation, search

Using the Vista Launcher

How to run 2 or more Toontown accounts at once Note: This currently works on computers running Windows XP/Vista and on the US Server

Step 1: Download the Vista launcher Here

Step 2: Log into your Toontown account

Step 3: Open the Task Manager. You can right click on your Taskbar (the bar at the bottom of your PC window that has Start/Vista orb.) and select "Task Manager" or Press Control+alt+delete to open it instead. Or, you can just enter this in your run menu:

C:\Windows\system32\taskmgr.exe

Step 4: Right Click Toontownlauncher.exe and hit End Processes.

Guide5.jpg

Step 5: Click End Process

Guide6.jpg

Step 6: Open up Vista Launcher

Step 7: Log in

Step 8: Enjoy!

Guide7.jpg

Keep repeating to get more Toontown accounts running

Editing the Registry

Below is a guide for running two separate Toontown accounts on the same computer.

It requires a slight knowledge of editing files within notepad and creating new files.

Programs you will need to be able to use for this tutorial are Internet Explorer, Registry Editor and Notepad.

WARNING: Using the registry editor may break your computer if done incorrectly, We take no responsibility for anything that may go wrong.


I plan to put up a guide soon. Here is a screenshot for those who are wondering what I'm talking about.

Remember, this will NOT work for someone trying to login with the same account twice, there currently is not work around for this and I doubt there ever will as this would stuff up the Toontown saving of your account. So go out and buy yourself two Toontown Accounts.

I personally use this all the time, as two high level Toons can do buildings together pretty easily, good for those LOM tasks ;)

Tt2.jpg


Compiling Guide, Not complete yet.

You need a Toontown shortcut, which links direct to the python file. This is listed below. Although if you have Toontown in a different path, then you will need to change the shortcut.

Place tt.bat into your Toontown folder in program files, and create a tt.bat shortcut on your desktop for quick loading, or wherever you want.

Step 1: open regedit.

Step 2: go to HKEY_LOCAL_MACHINE\SOFTWARE\Disney\Disney Online\Toontown

Step 3: test doing a export quickly, i quickly click "file" "export" randomly type letters and click enter. Leave regedit open.

Step 4: go to toontown.com in your browser. login to the Toon you wish to run as your second Toon, we will call this example, toon2.

Step 5: Once you have clicked the red LOGIN button, switch back to regedit quickly.

Step 6: press f5 to refresh the registry keys until you see something like "TOONTOWN_PLAYTOKEN"="U2FsdGVASdgsL9fa/WAN9+Ii8TttOtdgdfgBMxCGravh/E/dJFJyuoaKSX3u34pn+mEqzT0YFcVANxZ99ZJ5kApjw8MUCCer2ysP1L3g9QkNNKJg4wIShV6DLlPHOrjZmPrnPIIFq5Zj1sObOeEIYfEEu4e1FWA6iXDo8D11OrqXxOhuTDeNTVi0QW26+3xTneR6w4BHp05E8puYrqqArbIsdN/v29+pkbTVBjzlzZdQsQTzyBGmeRr8ohddVofxShSCFz1zX/gRkhiqqWajdyhXpv8KXZEMkqOTb0c5hM="

Step 7: As soon as that appears, as quick as you can, this has to be very fast... export the key like i explained in step 3. It should appear on your desktop (or wherever else it was default saving to) with the random letters and .reg

Step 8: You must close the loading Toontown and the browser window. Make sure you close all your browser windows as it will automatically login again if you click play now, stupid cookies.

Step 9: Now go back into internet explorer, load up your other Toon account eg. toon1 and leave him running and logged in. So here is your first window. (you must load the internet explorer loaded Toon first otherwise it will not work).

Step 10: Now once you have one Toon open with normally logging in, you can use the registry key and the shortcut to login to the second Toon. The playtoken that you saved in your registry key lasts 24 hours only so you will need to redo if you logout.

Step 11: Run the registry file you have on your desktop, making sure it is saved in your registry.

Step 12: Now double click the shortcut and it will open a command window and run Toontown from command line. This should hopefully work.


The BAT execution file needed for this guide (tt.bat)

Make sure that the tt.bat is INSIDE your toontown folder, C:/Program Files/Disney/Disney Online/Toontown/tt.bat

The ip address 199.181.134.187 is the IP address of the Toontown gameserver, this may change in the future but for now it works, as https://gameserver.toontown.com no longer works.

"Toontown.exe" "-OO" "199.181.134.187:6667" "https://account.toontown.com" "0" "-pickbestres

The registry key file needed for this guide (anyname.reg)
I'm pretty sure that you don't need all the following, but i do know you need the lines marked in bold.

[HKEY_LOCAL_MACHINE\SOFTWARE\Disney\Disney Online\Toontown]

"INSTALL_DIR"="C:\\Program Files\\Disney\\Disney Online\\Toontown"

"PERCENT_OVERALL_COMPLETE"=dword:00000000

"DEPLOYMENT"="US"

"TOONTOWN_BLUE"="NO BLUE"

"TOONTOWN_PLAYTOKEN"="XXXXXXXXX"

"CHATTERBOX"=dword:00000001

"WEB_ACCT_PARAMS"="secretsNeedsParentPassword=0&chatEligible=1&" 

"LAST_LOGIN"=""

"LAUNCHER_EXTRACTED"=dword:00000001

"DOWNLOAD_SERVER"="http://a.download.toontown.com;http://download.toontown.com"

"UsingWindowedMode"=dword:00000001

"GfxApiUsed"=dword:00000001

"PERCENT_PHASE_COMPLETE_3"=dword:00000064

"PERCENT_PHASE_COMPLETE_3.5"=dword:00000064

"PERCENT_PHASE_COMPLETE_4"=dword:00000064

"PERCENT_PHASE_COMPLETE_5"=dword:00000064

"PERCENT_PHASE_COMPLETE_5.5"=dword:00000064

"PERCENT_PHASE_COMPLETE_6"=dword:00000064

"PERCENT_PHASE_COMPLETE_7"=dword:00000064

"PERCENT_PHASE_COMPLETE_8"=dword:00000064

"PERCENT_PHASE_COMPLETE_9"=dword:00000064

"PERCENT_PHASE_COMPLETE_10"=dword:00000064

"EXIT_PAGE"="normal"

"GAME2_DONE"=dword:00000001

"PAID_USER_LOGGED_IN"="1"

"USER_LOGGED_IN"="1"

"IS_NEW_INSTALLATION"=dword:00000000

"LAUNCHER_MESSAGE"="Starting Toontown..."

"PANDA_ERROR_CODE"=dword:00000000

"PANDA_WINDOW_OPEN"=dword:00000001


HTA Script (TTTAKE3.HTA) to Assist with Running Two Accounts on one Computer

This script file will assist with capturing the TOONTOWN_PLAYTOKEN and WEB_ACCT_PARAMS values needed to login to Toontown via direct command script.

This script application will then, update the registry and launch the command to load Toontown.

As already noted, you will need two separate accounts with separate logins to make this work. Only try to run two accounts if your system has 1GB of memory.

It works much better with 2GB. 1GB will eventually page to disk and become really slow.

TTTake3.jpg

Script file as HTA

Copy the script below to a local file in Toontown program folder. Example TTTAKE3.HTA. Run the application.

Click:

1.Get PLAYTOKEN and Login to ACCOUNT #1. Wait for GOT IT message and exit Toontown. Close any browser windows also.

2.Manually Login to Toontown - ACCOUNT #2. Wait for complete login. Leave ACCOUNT #2 running on desktop.

3.Play ACCOUNT #1 from command script.

Enjoy.

The script need VBScript that comes with recent Windows OS's.


Toontown script HTA Application code TTTAKE3.HTA

<html>
<head>
<title>Toontown Take 3 - Run Two Accounts on one Computer</title>

<HTA:APPLICATION 
     ID="objHTATTTake3"
     APPLICATIONNAME="HTATTTake3"
     SCROLL="yes"
     ICON="./toontown.ico"
     SINGLEINSTANCE="yes"
     WINDOWSTATE="normal"
>
</head>

<SCRIPT Language="VBScript">

dim iTimerID
progress = "checking"
loopcount = 0
MaxLoopCount = 100
ValuePLAYTOKEN = ""
ValueWEBACCT = ""
ValueLASTLOGIN = ""
httpTOONTOWN = "http://play.toontown.com/red/shortcut_desktop.php"

Sub Window_Onload
    window.resizeTo 560,475
    'window.moveTo 900,0
    EnableButtons
    If WEBACCTarea.Value = "" then Set_PLAYTOKEN.disabled = true
End Sub

Sub GetPLAYTOKEN
    ValuePLAYTOKEN = ""
    ValueWEBACCT = ""
    Set objShell = CreateObject("Wscript.Shell")
    objShell.Run httpTOONTOWN
    iTimerID = window.setInterval("GetReg", 1000, "VBScript")
End Sub

Sub LoginTOONTOWN
    Const HKLM = &H80000002
    const KEYPATH = "SOFTWARE\Disney\Disney Online\Toontown"
    const LASTLOGIN = "LAST_LOGIN"

    Set oReg = GetObject("winmgmts://" & "." & _
     "/root/default:StdRegProv")
       
    oReg.GetStringValue HKLM,KEYPATH,LASTLOGIN,ValueLASTLOGIN
    if ValueLASTLOGIN = "" then
    set_PLAYTOKEN.value = "3. Play ( " & ValueLASTLOGIN &  " ) ACCOUNT #1 from command script"
    else
    set_PLAYTOKEN.value = "3. Play ACCOUNT #1 from command script"
    end if 
    Set objShell = CreateObject("Wscript.Shell")
    objShell.Run httpTOONTOWN
End Sub

Sub EndGetPLAYTOKEN
    window.clearInterval(iTimerID)
End Sub

Sub MsgHELP
    msgBox "1. Click on the Get PLAYTOKEN button," & vbCRLF & _
    "   Login to Toontown the regular way for 'Account #1'." & vbCRLF & _
    "   Exit completely from Toontown when and after the PLAYTOKEN is retrieved." & _ 
    vbCRLF & "       IMPORTANT: Close browser window also." & vbCRLF & vbCRLF & _ 
    "2. Login to Toontown the regular way for 'Account #2'." & vbCRLF & _
    "       IMPORTANT: Remain logged in for 'Account #2'." & vbCRLF & vbCRLF & _ 
    "3. Click Play Account #1 button to run from command script."
End Sub

Sub GetReg
    Const HKLM = &H80000002
    const KEYPATH = "SOFTWARE\Disney\Disney Online\Toontown"
    const WEBACCT = "WEB_ACCT_PARAMS"
    const PLAYTOKEN = "TOONTOWN_PLAYTOKEN"
    
    Set oReg = GetObject("winmgmts://" & "." & _
     "/root/default:StdRegProv")

    
	if (ValuePLAYTOKEN = "" or ValueWEBACCT = "") and loopcount < MaxLoopCount then
		oReg.GetStringValue HKLM,KEYPATH,PLAYTOKEN,ValuePLAYTOKEN
		oReg.GetStringValue HKLM,KEYPATH,WEBACCT,ValueWEBACCT
		loopcount = loopcount + 1
		If len(progress) < 15 then
		    progress = progress + "."
		else
		    progress = "checking"
		end if 
		progressbar.innerHTML = loopcount & " " & progress
	elseif not (loopcount < MaxLoopCount) then	
	    progressbar.innerHTML = "FAILED"
	    window.clearInterval(iTimerID)
	    loopcount = 0
	else
	    progressbar.innerHTML = "GOT IT"
	    window.clearInterval(iTimerID)
	    loopcount = 0
	    EnableButtons
	    PLAYTOKENarea.Value = ValuePLAYTOKEN
        WEBACCTarea.Value = ValueWEBACCT
	end if
  
End Sub

Sub EnableButtons
    Get_PLAYTOKEN.disabled = false
    Set_PLAYTOKEN.disabled = false   
    Toontown.disabled = false
End Sub

Sub DisableButtons
    Get_PLAYTOKEN.disabled = true
    Set_PLAYTOKEN.disabled = true
    Toontown.disabled = true
End Sub

Sub toggleTOKEN
    if show_TOKEN.value = "Hide Details" then
    show_TOKEN.value = "Show Details"
    areaTOKEN1.style.visibility = "HIDDEN"
    areaPARAM1.style.visibility = "HIDDEN"
    areaBG1.style.height = "194px"
	PLAYTOKENarea.style.visibility = "HIDDEN"
    WEBACCTarea.style.visibility = "HIDDEN"
    else
    show_TOKEN.value = "Hide Details"
    areaTOKEN1.style.visibility = "VISIBLE"
    areaPARAM1.style.visibility = "VISIBLE"
    areaBG1.style.height = "336px"
	PLAYTOKENarea.style.visibility = "VISIBLE"
    WEBACCTarea.style.visibility = "VISIBLE"
    end if 
End Sub


Sub SetPLAYTOKEN
    Const HKLM = &H80000002
    const KEYPATH = "SOFTWARE\Disney\Disney Online\Toontown"
    const WEBACCT = "WEB_ACCT_PARAMS"
    const PLAYTOKEN = "TOONTOWN_PLAYTOKEN"
    
    
    ValuePLAYTOKEN = PLAYTOKENarea.Value
    ValueWEBACCT = WEBACCTarea.Value
    DisableButtons
    
    Set oReg = GetObject("winmgmts://" & "." & _
     "/root/default:StdRegProv")
       
    oReg.SetStringValue HKLM,KEYPATH,PLAYTOKEN,ValuePLAYTOKEN
    oReg.SetStringValue HKLM,KEYPATH,WEBACCT,ValueWEBACCT
    
    Set objShell = CreateObject("Wscript.Shell")
    objShell.Run """Toontown.exe"" ""-OO"" ""gameserver.toontown.com:6667"" ""https://account.toontown.com"" ""0"" ""-pickbestres"""
    EnableButtons
End Sub
</SCRIPT>

<body style="text-align: center; background-color: aqua; position: absolute;">
<font color="maroon" face="Times New Roman" size="6" style="left: 24px; position: absolute; top: 16px; border-top-style: groove; border-right-style: groove; border-left-style: groove; border-bottom-style: groove; height: 88px;">
     Toontown<br />
    Take 3  </font><br>
<font color="blue" face="Times New Roman" size="4" style="left: 176px; width: 344px; position: absolute; top: 16px; height: 80px; text-align: left;">Toontown Take 3 will allow you to capture the parameters needed to load Toontown from a command script. 
    This procedure will work for two separate accounts only as follows:</font>

<input id=get_PLAYTOKEN  class="button" type="button" value="1. Get PLAYTOKEN and Login to ACCOUNT # 1" name="Get PLAYTOKEN"  onClick="GetPLAYTOKEN" style="position: absolute; left: 52px; top: 120px; z-index: 88; width: 348px;"><br>
<textarea name="PLAYTOKENarea" rows="5" style="position: absolute; left: 32px; top: 296px; z-index: 87; visibility: hidden; width: 456px;" readonly="readOnly"></textarea><br>
<textarea name="WEBACCTarea" rows="1" style="position: absolute; left: 32px; top: 408px; z-index: 86; visibility: hidden; width: 456px;" readonly="readOnly"></textarea><br>
<input id=set_PLAYTOKEN  class="button" type="button" value="3. Play ACCOUNT #1 from command script" onClick="SetPLAYTOKEN" style="position: absolute; left: 52px; top: 200px; z-index: 99; width: 348px;">
<input id="ToonTown" class="button" type="button" value="2. Manual Logon to Toontown - ACCOUNT # 2" onclick="LoginTOONTOWN" style="z-index: 84; left: 52px; width: 348px; position: absolute;top: 160px;">
<input id=Help1  class="button" type="button" value="HELP!" onClick="MsgHELP" style="position: absolute; left: 304px; top: 240px; z-index: 83; width: 96px;">
<input id="Show_TOKEN"  class="button" type="button" value="Show Details" onClick="toggleTOKEN" style="position: absolute; left: 52px; top: 240px; z-index: 83; width: 120px;">


<br><font id="AreaBG1" color="#0000" face="Times New Roman" size="4" style="left: 24px; width: 500px; position: absolute; top: 104px; height: 194px; text-align: left; z-index: 77; background-color: #ff9933; border-top-style: inset; border-right-style: inset; border-left-style: inset; border-bottom-style: inset;">
<br />

<font id="AreaTOKEN1" color="blue" face="Times New Roman" size="4" style="left: 8px; width: 440px; position: absolute; top: 168px; height: 24px; text-align: left; visibility: hidden;">TOONTOWN_PLAYTOKEN</font>
<font id="AreaPARAM1" color="blue" face="Times New Roman" size="4" style="left: 8px; width: 440px; position: absolute; top: 280px; height: 24px; text-align: left; visibility: hidden;">WEB_ACCT_PARAMS</font>
<font color="blue" face="Times New Roman" size="4" style="left: 370px; width: 120px; position: absolute; top: 13px; height: 24px; z-index: 89;"><span id=progressbar></span></font>

</body>
</html>

Advanced Information

The show details button will show the TOONTOWN_PLAYTOKEN data and WEB_ACCT_PARAMS data.

The TTTAKE3.HTA script can be modified for new Toontown server. Currently, the toontown servers are 199.181.134.187:6667.

The script can also be used to run one account from the test servers and one from the regular servers.

Here is how:

Click:

1.Get PLAYTOKEN and Login to ACCOUNT #1. Wait for GOT IT message and exit Toontown. Close any browser windows also.

Instead of step 2, Login to test server from test server desktop icon. Wait for complete login.

3.Play ACCOUNT #1 from command script.

Enjoy.