DarkBlizz

Battle.net R&D => Research => Starcraft II Beta => Topic started by: Blackcode on February 21, 2010, 03:46:06 AM

Title: Debug console...
Post by: Blackcode on February 21, 2010, 03:46:06 AM
where can we see all the functions or variables for the debuging console...

all i could find so far is "dump this" which dumps the console...(looks like Flash Objects to me)
You can also call the vars "show this.DEFAULT_DEBUGWINDOW_HEIGHT" and "show this.DEFAULT_DEBUGWINDOW_WIDTH"

Maybe this console it's a flash debug tool or so?

Update: Yeap... it debbugs flash objects

"dump Protocol.BSN.Battlenet.Attribute.Statics"
"dump Protocol.BSN.Battlenet.Attribute.Blizzard.Statics"
"dump Protocol.BSN.Battlenet.Authentication.Statics"
etc....
Title: Re: Debug console...
Post by: Kev on February 21, 2010, 05:11:45 AM
Yeah it's in flash :)

Here the main objects and stuff with .as files, and in are the functions.

http://www.studioaccescible.com/Starcraft2/Battle.net.gfx.Dump.sorted.7z (http://www.studioaccescible.com/Starcraft2/Battle.net.gfx.Dump.sorted.7z)
Title: Re: Debug console...
Post by: MiCrOMaN1 on February 21, 2010, 08:40:14 AM
Do you guys, have any idea how to open flash files using the debug console? It sorta behaves like a command prompt. If we can open the battle.net.gfx file, then we got it cracked  ;D

Unfortunately, It looks like it can only dump inaccessible files. Same thing happens when I type "show".
Title: Re: Debug console...
Post by: MiCrOMaN1 on February 21, 2010, 08:43:44 AM
@ Kev

The link doesn't work. We really gotta figure out the commands!
Title: Re: Debug console...
Post by: Algolicious on February 21, 2010, 09:55:05 AM
nope, you can view all the commands by typing "help"
QuoteBuilt in Commands:
 - clear : Clear the console
 - dump : Dump object members
 - eval : Eval an expression
 - help : Display this help
 - set : Set a variable
 - show : Show a variable
Title: Re: Debug console...
Post by: MiCrOMaN1 on February 21, 2010, 10:15:03 AM
Aw that sucks. No open or run command? Damn. I think that the debug console isn't that helpful I guess.
Title: Re: Debug console...
Post by: MiCrOz on February 21, 2010, 01:48:57 PM
Just a shot in the dark, as I've yet to read over everything on this forum, but seeing as the debug console has control over flash objects, and I see a set variable command, wouldn't it be possible to enable any disabled buttons from the betas menu (if there even are any, I haven't yet installed the beta)
Title: Re: Debug console...
Post by: MiCrOMaN1 on February 21, 2010, 01:59:28 PM
Apparently there are only a limited number of commands. I thought that this behaved like a command prompt, but I was wrong.

/Off Topic

\Why do I feel like your username is similair to mine :O
Title: Re: Debug console...
Post by: MiCrOz on February 21, 2010, 02:01:21 PM
Yes, but one of these commands is, " - set : Set a variable" which should be able to set variables of flash objects, such as buttons, like "visable" and "disabled" etc etc, I would assume.

Off topic, I thought the same
Title: Re: Debug console...
Post by: MiCrOMaN1 on February 21, 2010, 02:06:27 PM
I'm gonna play around more with the debug console and see if anything spikes up.




/Lol seriously? What a coincidence. I thought you saw my username and then copied it xD
Title: Re: Debug console...
Post by: MiCrOz on February 21, 2010, 02:08:10 PM
Try using the object name and variables you've found in the decompiled gfx and see if anything comes up.


Once I repair my PC later today, I'll join in on the quest
Title: Re: Debug console...
Post by: Blackcode on February 21, 2010, 02:11:32 PM
I've tried to set the variable that contains the Name in the right corner witch is "undefined" but i can't find what is it.
Title: Re: Debug console...
Post by: MiCrOMaN1 on February 21, 2010, 02:15:33 PM
@ BlackCode

The profile settings, league and ladders etc..
They're all for online.
Title: Re: Debug console...
Post by: az2 on February 22, 2010, 12:25:27 AM
you can enable buttons using the dev console

try

set _root.DashBoard.m_navigationPanel.m_singlePlayerButton._disabled=false

also try

dump DashBoard

to take a look around the dash and all the pages there

Title: Re: Debug console...
Post by: Gamewiz on February 22, 2010, 12:34:59 AM
Quote from: az2 on February 22, 2010, 12:25:27 AM
you can enable buttons using the dev console

try

set _root.DashBoard.m_navigationPanel.m_singlePlayerButton._disabled=false

also try

dump DashBoard

to take a look around the dash and all the pages there


Interesting... although when I click on Singleplayer it just closes the multiplayer window, and makes me stuck (no buttons work) unless I Alt-F4 out of the program, where it just resets.
Title: Re: Debug console...
Post by: OneEyed on February 22, 2010, 12:48:53 AM
Ok this may be a noob question but where on earth did you guys get a full copy of the beta, I can't find one anywhere.
Title: Re: Debug console...
Post by: Gamewiz on February 22, 2010, 12:53:39 AM
Quote from: OneEyed on February 22, 2010, 12:48:53 AM
Ok this may be a noob question but where on earth did you guys get a full copy of the beta, I can't find one anywhere.


You can get it off fileplanet. It's the US version: http://www.fileplanet.com/112603/0/0/0/1/section/Game_Client (http://www.fileplanet.com/112603/0/0/0/1/section/Game_Client)


I believe there is one on fileshack to.
Title: Re: Debug console...
Post by: OneEyed on February 22, 2010, 01:00:23 AM
Thanks! geez I was looking all over for it, didn't think of fileplanet tho. stupid me.
Title: Re: Debug console...
Post by: Gamewiz on February 22, 2010, 01:06:29 AM
Quote from: OneEyed on February 22, 2010, 01:00:23 AM
Thanks! geez I was looking all over for it, didn't think of fileplanet tho. stupid me.


Haha! No worries, man. :)
Title: Re: Debug console...
Post by: babygrinder on March 04, 2010, 05:02:29 PM
i found the zip file you guys are looking for. you can download it here: http://rghost.net/1016179 (http://rghost.net/1016179)
Title: Re: Debug console...
Post by: prefix331 on March 05, 2010, 01:58:11 PM
@babygrinder,
                                                                                      Viruses                                                                    (what's this?) (http://safeweb.norton.com/safety#virus)                                                                    Threats found: 1
                        Here is a complete list:                                                                                             
                   Threat Name:                                                  Trojan Horse (http://www.symantec.com/avcenter/cgi-bin/virauto.cgi?vid=25464)         
                   Location:                                                  http://plasmon.rghost.net/download/64099/9f3b1a1cab93b469b592d9d8c566cbc8b5ffd11e/a2uploader.exe (http://plasmon.rghost.net/download/64099/9f3b1a1cab93b469b592d9d8c566cbc8b5ffd11e/a2uploader.exe)