Page 2 of 8 FirstFirst 1234 ... LastLast
Results 26 to 50 of 182

Thread: Appa - SCAR Minimizeable WebClient

  1. #26
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Wow, that's pretty neat! Delphi, I assume?

    How hard would it be to use the firefox rendering engine (gecko) rather than ie?
    Interested in C# and Electrical Engineering? This might interest you.

  2. #27
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Yes, Delphi

    I have no idea how hard it would be. I just haven't found an up-to-date interface for Delphi yet.

  3. #28
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    I tried to use the firefox engine as plugin, but it epicly failed.
    Verrekte Koekwous

  4. #29
    Join Date
    May 2008
    Location
    Canada
    Posts
    665
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    The scipt detects the right answer for me, but while using appa, it doesn't seem to click the answer in any way shape or form. It just keeps spamming my debug with the answer .

  5. #30
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    I smell an amazing club live bot on the way
    Interested in C# and Electrical Engineering? This might interest you.

  6. #31
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Guess what I'm running right now

  7. #32
    Join Date
    Sep 2007
    Posts
    23
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    is the userAgent same as that of my IE installed on MY pc?
    P.S[1] : I check the user agent of appa using http://salij.org/useragent
    it reported as IE 7.0

    Also... The application is great...
    Already started botting on a text based rpg...
    Will give out some common functions i made soon...

    P.S.[2] : BUG : The appa_PageState returns 4 way before the page is even loaded...
    If you are trying to test this... Do it on a page with is filled with images...
    Last edited by l33t_h4x0r; 07-12-2009 at 01:56 AM.

  8. #33
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Quote Originally Posted by l33t_h4x0r View Post
    is the userAgent same as that of my IE installed on MY pc?
    P.S[1] : I check the user agent of appa using http://salij.org/useragent
    it reported as IE 7.0

    Also... The application is great...
    Already started botting on a text based rpg...
    Will give out some common functions i made soon...

    P.S.[2] : BUG : The appa_PageState returns 4 way before the page is even loaded...
    If you are trying to test this... Do it on a page with is filled with images...
    Thanks

    Appa basically wraps a TWebBrowser control from Delphi into a dll. So your UserAgent should be the same as your Internet Explorer. The PageState function returns the ReadyState from the browser, so there's not much I can change there.

    Code:
    const READYSTATE_UNINITIALIZED = 0;
        Default initialisation state.
    const READYSTATE_LOADING = 1;
        Object is currently loading data.
    const READYSTATE_LOADED = 2;
        Object has been initialised.
    const READYSTATE_INTERACTIVE = 3;
        User can interact with the object but loading has not yet finished.
    const READYSTATE_COMPLETE = 4;
        All of the object's data has been loaded.

  9. #34
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Nice. I never realized that Appa was your creation, Nielsie.


  10. #35
    Join Date
    Dec 2007
    Location
    Canada
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Notice the client dosen't switch to Appa. this means we can't use DTMs or any other wide range of functions that SCAR has built in that require a client. Plz correct me if I'm worng. How would we go about looking for DTMs and text recognition?

  11. #36
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    You'll have to use appa_CopyContentToBitmap and search on the bitmap.

    EDIT: See post #25 from this thread for an example.
    Last edited by nielsie95; 10-19-2009 at 09:22 PM.

  12. #37
    Join Date
    Sep 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Anyway you can post .zip?. I don't want winrar..
    "SRL is the best SCAR community in the World, with the most talented programmers: adjust your volume."
    -Wizzup?

  13. #38
    Join Date
    Aug 2009
    Location
    Inside the Matrix...yes it has me, and it has you too.
    Posts
    1,896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by uncfan1119 View Post
    Anyway you can post .zip?. I don't want winrar..
    dont need winrar, download 7zip. better imo
    NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN

  14. #39
    Join Date
    Dec 2007
    Location
    Canada
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think this deserves a seperate thread designed that posts allt eh functions and controls of Appa. The function list in 1st post is ok but its helpful to have a list of all controls that can be used by appa. for instance, to set a form value we would use appa_SetValue as the action but I only know that from one of the examples posted.

    EDIT:
    Also I tried logging into a site using Appa and it said "unable to retrieve session cookie. please relogin."
    Last edited by rawsilk; 10-20-2009 at 02:50 AM.

  15. #40
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    I don't think there's a need for that. If you don't understand something, you can ask me
    I'm not sure about the cookies, I believe they should work.

  16. #41
    Join Date
    Jun 2006
    Posts
    1,492
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This is pretty awesome, nielsie =) Great job, I love it!

  17. #42
    Join Date
    Dec 2007
    Location
    Canada
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by nielsie95 View Post
    I don't think there's a need for that. If you don't understand something, you can ask me
    I'm not sure about the cookies, I believe they should work.
    Fair enough. About the cookies, I talked to my roommate in CS and apparently some login forms (especially secure sites) have an algorithm that they use to retrieve data and if it isn't matched then it wont work properly. It's designed to prevent exactly what I'm doing actually.

    Oh well. I working on some functions that make it possible to do DTMs and such things to make navigating these sort of sites easier. Also, does anyone have a good bitmap set for verdana font maybe size 11px? Its a bummer when it crashes cus it wont access window's fonts. "Access violation".

    EDIT:
    Also, I get
    [Runtime Error] : Exception: Access violation at address 00781150 in module 'scar.exe'. Read of address 00000000 in line 45 in script
    When I try appa_CopyContentToBitmap(c); Any ideas?
    Last edited by rawsilk; 10-20-2009 at 09:20 PM.

  18. #43
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Did you enter a valid bitmap with proper size?

  19. #44
    Join Date
    Dec 2007
    Location
    Canada
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Is there a way to return the bitmap of the whole page? Not just the section that Appa is viewing? You were right about bitmap too haha, forgot size params.

  20. #45
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    No, sorry

  21. #46
    Join Date
    Dec 2007
    Location
    Canada
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Found a bug. When using
    appa_ElementAction(i, appa_GetAttribute, 'onclick');
    if there is no attribute 'onclick' then it returns a Null which f***s Scar up. It doesn't return an exception. Even if I try:
    Code:
      a := appa_GetElements;
      for i := 0 to high(a) do
      begin
        try writeln(appa_ElementAction(i, appa_GetAttribute, 'onclick'));
        finally end;
      end;
    It would be better if it returned a var string and a result boolean. Boolean whether attribute exists.

  22. #47
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Thats not APPA, this is Appa

  23. #48
    Join Date
    Dec 2007
    Location
    Canada
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It would be nice if Appa could emulate a physical Click better. Sites still detect it as a digitally sent click where they don't detect normal ClickMouse.

  24. #49
    Join Date
    Dec 2007
    Location
    Los Angeles, California
    Posts
    606
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Mouse & MMouse possible?

  25. #50
    Join Date
    May 2009
    Posts
    799
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    TWebbrowser ftw =). Good Job Nielsi!.

Page 2 of 8 FirstFirst 1234 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •