Latest Diablo 3 News
Support the site! Become a Diablo: IncGamers PAL - Remove ads and more!

Code to chat gem points to Beta?

Discussion in 'Diablo 3 General Discussion' started by fludDAstud, Aug 26, 2011.

  1. fludDAstud

    fludDAstud Diabloii.Net Member

    Joined:
    Aug 16, 2011
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    41
    Code to chat gem points to Beta?

    was looking through the code on the new forums and found this in the chat gem part

    activateGem: function() {
    25 $('#chat-gem').toggleClass('activated');
    26
    27 if (Core.isCallback(D3.gem))
    28 D3.gem();
    29
    30 D3.counter++;

    /*if (D3.counter > BetaSignup.counterLimit) {
    33 $.ajax({
    34 url: BetaSignup.signupUrl,
    35 type: 'POST',
    36 data: {
    37 hash: Cookie.read('d3.chatGem')
    38 },
    39 dataType: 'json',
    40 success: function(response) {
    41 if (response.success)
    42 BetaSignup.success();
    43 }
    44 });

    when you click the chat gem a counter goes up and what it says is if the counter is more than the counter on the beta signup then it goes to "post"


    again this could be nothing but maybe they do have the chat gem doing something
     
  2. Iera

    Iera Diabloii.Net Member

    Joined:
    Nov 1, 2010
    Messages:
    161
    Likes Received:
    0
    Trophy Points:
    26
    Re: Code to chat gem points to Beta?

    Very interesting find. Or maybe they've just put in this code as an easter egg for people like you to find ;).
     
  3. Raesene

    Raesene Diabloii.Net Member

    Joined:
    Aug 15, 2011
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    167
    Re: Code to chat gem points to Beta?

    Pretty obvious - beta keys are handed out to people who click the chat gem enough times.

    Have fun!
     
  4. fludDAstud

    fludDAstud Diabloii.Net Member

    Joined:
    Aug 16, 2011
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    41
    Re: Code to chat gem points to Beta?

    well second portion of the code is commented out for now, maybe when they announce the beta they wont send keys out until we click the gem enough times


     
  5. fnaxqtr

    fnaxqtr Diabloii.Net Member

    Joined:
    May 2, 2011
    Messages:
    357
    Likes Received:
    0
    Trophy Points:
    122
    Re: Code to chat gem points to Beta?

    i h8 it that it always says no characters found ...
     
  6. kestegs

    kestegs D3 Monk Moderator

    Joined:
    Aug 27, 2008
    Messages:
    49,748
    Likes Received:
    631
    Trophy Points:
    324
    Makes sense...especially since there doesn't have to be a link from D2 game key to your bnet account.
     
  7. thefutile

    thefutile Diabloii.Net Member

    Joined:
    Dec 9, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    5
    Re: Code to chat gem points to Beta?

    How were you able to view their javascript files?
     
  8. Tilitoon

    Tilitoon Diabloii.Net Member

    Joined:
    May 26, 2011
    Messages:
    876
    Likes Received:
    0
    Trophy Points:
    120
    Re: Code to chat gem points to Beta?

    The D3.Gem as well as the BetaSignup objects are not defined. So basically every time you click on the gem, the counter is incremented on the clientside but it does absolutely nothing besides that (yet), until they implement the BetaSignup function (which would trigger an ajax call to the appropriate page).
     
  9. fludDAstud

    fludDAstud Diabloii.Net Member

    Joined:
    Aug 16, 2011
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    41
    Re: Code to chat gem points to Beta?

    firebug, then scroll down to the bottom where it says javascript then open it up and the code is in there....this is how i was able to find the diablo 3 beta box art and stuff


     
  10. kestegs

    kestegs D3 Monk Moderator

    Joined:
    Aug 27, 2008
    Messages:
    49,748
    Likes Received:
    631
    Trophy Points:
    324
    Ajax never returns phone calls anyway.
     
  11. thefutile

    thefutile Diabloii.Net Member

    Joined:
    Dec 9, 2008
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    5
    Re: Code to chat gem points to Beta?

    Nice find. Seems like its just a tease and will never be implemented.
     
  12. StarEater

    StarEater Diabloii.Net Member

    Joined:
    Oct 22, 2007
    Messages:
    199
    Likes Received:
    0
    Trophy Points:
    86
    Re: Code to chat gem points to Beta?

    I think they are just having fun and counting how many clicks the gem gets. Perhaps a reward for the person who clicks the gem on it's 1 billionth click.

    Or it's just some guy being silly and sneaking code past his supervisors. =P
     
  13. StarEater

    StarEater Diabloii.Net Member

    Joined:
    Oct 22, 2007
    Messages:
    199
    Likes Received:
    0
    Trophy Points:
    86
  14. Neinball

    Neinball <a href="payments.php">IncGamers Site Pal</a> and<

    Joined:
    Mar 21, 2011
    Messages:
    1,385
    Likes Received:
    0
    Trophy Points:
    166
    Re: Code to chat gem points to Beta?

    Sounds like a little easter egg for all the data miners out there trying to gleam some kinda of info out of everything.
     
  15. MrMegaProphet

    MrMegaProphet Diabloii.Net Member

    Joined:
    Aug 20, 2011
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    26
    Re: Code to chat gem points to Beta?

    Part of it, the ajax call that fires the Betasignup form is commented out though so even if it was legit it would be not fully implemented.

    But i'm sure it's just blizzard toying with our souls.
     
  16. Muggs

    Muggs Clan Officer - US West Hardcore

    Joined:
    Aug 8, 2011
    Messages:
    4,249
    Likes Received:
    31
    Trophy Points:
    124
    Re: Code to chat gem points to Beta?

    It has been a long time since I have done any java programming but doesn't anything that exists between /* */ mean it is commented out.
     
  17. Raesene

    Raesene Diabloii.Net Member

    Joined:
    Aug 15, 2011
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    167
    Re: Code to chat gem points to Beta?

    That's what they want you to think.


     
  18. Exile

    Exile Diabloii.Net Member

    Joined:
    Jul 8, 2008
    Messages:
    304
    Likes Received:
    0
    Trophy Points:
    77
    Re: Code to chat gem points to Beta?

    The same works in actionscript too. When I am coding I drop a /* stuffinhere */ to disable it.


     
  19. Muggs

    Muggs Clan Officer - US West Hardcore

    Joined:
    Aug 8, 2011
    Messages:
    4,249
    Likes Received:
    31
    Trophy Points:
    124
    Re: Code to chat gem points to Beta?


    That is what I thought. I would personally love to be a webdesinger for a company like blizz and drop easter eggs all over the code for the ever sleuthing masses. :whistling:


     
  20. Exile

    Exile Diabloii.Net Member

    Joined:
    Jul 8, 2008
    Messages:
    304
    Likes Received:
    0
    Trophy Points:
    77
    Re: Code to chat gem points to Beta?

    Lol yeah totally

    if (total clicks > 1,000,000,000,000,000,000,000,000,000,000)
    then {
    initiate beta
    }


    Then sit back and chuckle as people post videos nerd-raging that they didn't get their betas. :D
     

Share This Page