Results 1 to 9 of 9

Thread: Question About SMART

  1. #1
    Join Date
    Aug 2008
    Location
    Canada
    Posts
    67
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Question About SMART

    I have noticed that when you include SMART if you try to bypass it it comes up with an error. I have also noticed that you can start SMART without even including SMART.

    So my question is..

    Why do you need to include it at all?

    As long as you Set the Target DC to SMART shouldnt it work?

    I sort of answered my own question you cant set the DC from what I know without Including SMART

    Does anyone know how to bypass SMART without getting the following error?

    [Runtime Error] : Exception: Access violation at address 6720138A in module 'Embedded SMART.dll'. Read of address 00000350 in line 48 in script C:\Program Files\SCAR 3.15\includes\srl/srl/misc/Smart.scar


    Thanks for yout time.

  2. #2
    Join Date
    Feb 2007
    Posts
    211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by The_Scripts View Post
    I have noticed that when you include SMART if you try to bypass it it comes up with an error. I have also noticed that you can start SMART without even including SMART.

    So my question is..

    Why do you need to include it at all?

    As long as you Set the Target DC to SMART shouldnt it work?

    I sort of answered my own question you cant set the DC from what I know without Including SMART

    Does anyone know how to bypass SMART without getting the following error?

    [Runtime Error] : Exception: Access violation at address 6720138A in module 'Embedded SMART.dll'. Read of address 00000350 in line 48 in script C:\Program Files\SCAR 3.15\includes\srl/srl/misc/Smart.scar


    Thanks for yout time.
    The reason you include smart is it overwrites some of the most basic functions of scar changing them to functions that work with smart, Basically the smart include tells it to move mouse, pick colors, etc (all of your basic functions) in smart and not to take over your mouse, and because it changes these basic functions that all other includes and functions (SRL etc) are based upon it is very easy to include smart into your script.

    Hope that explanation was understandable
    Current Project: Catching up on what I missed, re-writing some old includes I done in the past.
    Upcoming Project: Open For Suggestions

  3. #3
    Join Date
    Aug 2008
    Location
    Canada
    Posts
    67
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yah that makes sence. Thanks, but how can you have it included and somehow by pass it at the same time? Or is this not at all possible?

  4. #4
    Join Date
    Feb 2007
    Posts
    211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by The_Scripts View Post
    Yah that makes sence. Thanks, but how can you have it included and somehow by pass it at the same time? Or is this not at all possible?
    Why would you want to include it but bypass it? If you are not planning on using smart then completely remove it from the script and let it use your normal runescape window.
    Current Project: Catching up on what I missed, re-writing some old includes I done in the past.
    Upcoming Project: Open For Suggestions

  5. #5
    Join Date
    Aug 2008
    Location
    Canada
    Posts
    67
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I want the user to have the option.

  6. #6
    Join Date
    Feb 2007
    Posts
    211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by The_Scripts View Post
    I want the user to have the option.
    The only way I can think to do this is include it, add a boolean and an if statement to your smart setup, and add to the instructions if not using smart remove the include =X I am sorry thats not very helpful

    SCAR Code:
    program New;
    {.include srl/srl/misc/smart.scar}

    const
    UseSMART = True; // If False please remove line 2, to remove the smart include

    begin
      if UseSMART then
      begin
        SmartSetup(RandomWorld, True, True, False);
        SetTargetDC(SmartGetDC);
      end;
    end.
    Current Project: Catching up on what I missed, re-writing some old includes I done in the past.
    Upcoming Project: Open For Suggestions

  7. #7
    Join Date
    Aug 2008
    Location
    Canada
    Posts
    67
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Lol, don't worry about it. I have decided to do that. More work for the user, but oh well. Thank you very much for helping answer my questions. Rep++

  8. #8
    Join Date
    Feb 2007
    Posts
    211
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by The_Scripts View Post
    Lol, don't worry about it. I have decided to do that. More work for the user, but oh well. Thank you very much for helping answer my questions. Rep++
    Thanks, hehe the way I see it you got two groups of people who use our scripts. Those who are somewhat smart and can follow instructions, and fill out all of the needed information and those who only barely know how to fix the declare player. Set it TRUE so if they are the second kind it will work fine, and the ones who can understand your instructions can easily just remove it.
    Current Project: Catching up on what I missed, re-writing some old includes I done in the past.
    Upcoming Project: Open For Suggestions

  9. #9
    Join Date
    Aug 2008
    Location
    Canada
    Posts
    67
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yah, im kind of trying to make it for people who barly understand things, lol. I made it so that they set up there user info right at the very top, then the script sets up th eplayer declaration. I want it to be as user friendly as possible. Put those who dont understand what I mean when I say remove the SMART include will have to just live with using it. Well thanks again.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Question on SMART
    By jumbosped in forum OSR Help
    Replies: 3
    Last Post: 12-06-2008, 09:02 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
  •