Results 1 to 4 of 4

Thread: Well, its not doing what it's supposed to do

  1. #1
    Join Date
    Nov 2006
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default Well, its not doing what it's supposed to do

    SCAR Code:
    program ClientSlow;
    Function CancelDC(DC : HDC) : integer; External 'CancelDC@Gdi32.dll stdcall' ;//Script>>>Allow API calls

    var
      RS_DC : integer;

    begin
      RS_DC := GetClientWindowHandle;
      Repeat
        CancelDC(RS_DC);
        Wait(30);
      until(false);
    end.

    why doesnt it work(doesnt give an error, just doesnt do what it's supposed to do)
    ow and dont spam please XD
    Infractions, reputation, reflection, the dark side of scripting, they are.

  2. #2
    Join Date
    Sep 2006
    Location
    West U.S.
    Posts
    2,172
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    err... if this is suppose to do what the "SRL Member Program" does, then i think it should belong in the SRL member's help section.

    and about the function, what is supposed to actually do?

    is it supposed to get the RS client?

    They are sisters...
    Runescape Classic

  3. #3
    Join Date
    Nov 2006
    Posts
    1,103
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    no, it does not do what the 'program' does, CancelDC is from windows, it stops any processes currently used on that dc, so it should stop drawing on the client, but i assume that rs uses a buffer and calculations go to that buffer then the buffer is copied on the client window....
    Infractions, reputation, reflection, the dark side of scripting, they are.

  4. #4
    Join Date
    Feb 2006
    Location
    Berkeley, CA
    Posts
    1,837
    Mentioned
    52 Post(s)
    Quoted
    60 Post(s)

    Default

    Quote Originally Posted by Killerdou View Post
    no, it does not do what the 'program' does, CancelDC is from windows, it stops any processes currently used on that dc, so it should stop drawing on the client, but i assume that rs uses a buffer and calculations go to that buffer then the buffer is copied on the client window....
    Nope, CancelDC will only clear operations you put onto the DC, essentially the DC you get for RS with GetDC is not the same DC as the one RS uses, it just points to the same place.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to edit things on MySpace you're not supposed to be able to
    By almost in forum Computer Help and Tutorials
    Replies: 18
    Last Post: 10-13-2008, 04:28 AM

Posting Permissions

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