Adblock breaks this site

Omegle Auto Talker

Discussion in 'Programming General' started by i am foolish, Aug 30, 2010.

  1. i am foolish

    i am foolish Forum Addict
    Banned

    Joined:
    Mar 27, 2007
    Posts:
    481
    Referrals:
    1
    Sythe Gold:
    0
    Omegle Auto Talker

    Ok, the idea of this project was to have the Omegle chat screen loaded in from the web and then 10 text boxes on the left of that with 2 buttons, start and stop. 5 text boxes would be for the messages, and the other 5 would be for intervals.

    When the start button is clicked, I have it as:
    Code:
    WebBrowser1.Document.GetElementById("textbutton").InvokeMember("click")
    I get an error:
    Not the best at debugging. Any help would be appreciated :]
     
  2. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    Omegle Auto Talker

    There's no element in the webpage that has the name you're searching for

    NullReferenceException = No reference = You're talking to something that doesn't exist
     
  3. cp

    cp an cat
    Banned

    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0
    Omegle Auto Talker

    I took a look at the page, and it seems it's in an iframe. The actual button is not on omegle.com, but on http://cardassia.omegle.com/ (that's the url for me, at least)

    Try running the same code on that url and you should be fine.
     
  4. i am foolish

    i am foolish Forum Addict
    Banned

    Joined:
    Mar 27, 2007
    Posts:
    481
    Referrals:
    1
    Sythe Gold:
    0
    Omegle Auto Talker

    Same thing. :/
     
  5. blindkilla

    blindkilla Guru
    $25 USD Donor New

    Joined:
    Jun 22, 2005
    Posts:
    1,896
    Referrals:
    0
    Sythe Gold:
    6
    Discord Unique ID:
    282000633404456960
    Discord Username:
    sogord
    Omegle Auto Talker

    On the page cp suggested but button is done weirdly.

    Code:
    <td id="chattypetextcell"><img src="/static/textbtn.png" alt="" id="textbtn"></td> 
    Did you try:

    Code:
    WebBrowser1.Document.GetElementById("textbtn").InvokeMember("click")
    or

    Code:
    WebBrowser1.Document.GetElementById("chattypetextcell").InvokeMember("click")
     
  6. i am foolish

    i am foolish Forum Addict
    Banned

    Joined:
    Mar 27, 2007
    Posts:
    481
    Referrals:
    1
    Sythe Gold:
    0
    Omegle Auto Talker

    Bah, I think textbtn is correct. Testing now.
     
  7. i am foolish

    i am foolish Forum Addict
    Banned

    Joined:
    Mar 27, 2007
    Posts:
    481
    Referrals:
    1
    Sythe Gold:
    0
    Omegle Auto Talker

    Worked! :] thanks
     
< auto typer | Image Uploaders >


 
 
Adblock breaks this site