SRL Archive - OSR Help

Help settings up simba.


rj

2013-12-05 15:54:01

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


Writeln(getColor(100, 100));


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

But when I do


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

Hoodz

2013-12-05 15:56:47

From: Officer Barbrady
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


Writeln(getColor(100, 100));


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

But when I do


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;

rj

2013-12-05 16:08:12

From: hoodz
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

Coh3n

2013-12-05 23:31:44

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.

rj

2013-12-06 16:04:18

From: Coh3n
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