Results 1 to 5 of 5

Thread: Help settings up simba.

  1. #1
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default Help settings up simba.

    So I have this feind that I'm trying to get my RSPS script to run on his computer. It works fine on my computer, and I know it's not an issue with the side of my script. All of his graphics settings are correct. After about an hour of debugging and tinkering, I figured out the problem: Simba searches for colors with a + 22 y offset. It completely messing up every single function in the script, won't withdraw from the correct slow, can't detect bankscreen, can't get correct inventory count(always 28), nothing works. Heres what happens.


    I select the client. Let's say I use the color picker and choose a color at Point(100, 100) and the color that I get is 69. Now, if I run a test in simba

    Code:
    Writeln(getColor(100, 100));

    Then I will get whatever color is a 100, 122..

    But when I do

    Code:
    Writeln(getColor(100, 78));
    I get the original color I picked at 100, 100 with the coordinate picker.


    I have no idea why it's offsetting were it searches for.

    He is using windows 8 and the latest simba with SRL5

  2. #2
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by Officer Barbrady View Post
    So I have this feind that I'm trying to get my RSPS script to run on his computer. It works fine on my computer, and I know it's not an issue with the side of my script. All of his graphics settings are correct. After about an hour of debugging and tinkering, I figured out the problem: Simba searches for colors with a + 22 y offset. It completely messing up every single function in the script, won't withdraw from the correct slow, can't detect bankscreen, can't get correct inventory count(always 28), nothing works. Heres what happens.


    I select the client. Let's say I use the color picker and choose a color at Point(100, 100) and the color that I get is 69. Now, if I run a test in simba

    Code:
    Writeln(getColor(100, 100));

    Then I will get whatever color is a 100, 122..

    But when I do

    Code:
    Writeln(getColor(100, 78));
    I get the original color I picked at 100, 100 with the coordinate picker.


    I have no idea why it's offsetting were it searches for.

    He is using windows 8 and the latest simba with SRL5
    i had this with the soulsplit client too.

    this 2 procedures fixed it for me, not sure where to call it again..

    ImageResetClientArea;
    MouseResetClientArea;

  3. #3
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    i had this with the soulsplit client too.

    this 2 procedures fixed it for me, not sure where to call it again..

    ImageResetClientArea;
    MouseResetClientArea;
    Same results, didn't do nothing

  4. #4
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    I would say it's something with the offsets we used with RS had the navigation bar at the top that became part of the client, but if that were the case you'd have the same issue on both computers. Since it works on one and not the other, you should figure out what's different between the machines.

    The Image and Mouse reset procedures, where are you calling them in the script? You should call them after SetupSRL, I think.

  5. #5
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    I would say it's something with the offsets we used with RS had the navigation bar at the top that became part of the client, but if that were the case you'd have the same issue on both computers. Since it works on one and not the other, you should figure out what's different between the machines.

    The Image and Mouse reset procedures, where are you calling them in the script? You should call them after SetupSRL, I think.
    After setupSRL and other things used to declare a DTM and explode box

Thread Information

Users Browsing this Thread

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

Posting Permissions

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