Merchz
2013-07-24 21:08:30
Hey there, I was wondering if someone knew which simba file was responsible for the function that will throw this:
Warning! You passed a wrong xe to a finder function: 1081. The client has a width of 765, thus the xe is out of bounds. Setting the value to 764 (w-1) for now.
Usually everything I have needed to play with has been in smartparams, but I simply cannot find this one. Anyone know?
It just means that the object is past the X coordinates of the screen.
Merchz
2013-07-24 21:12:38
Yeah, but it is a dirty lie! Those are proper coords on the screen. =x
The current RS screen is pretty wide, and if you use the selector, then view the coordinates of various spots, you can see they exceed those limits.
I'd like to find the file throwing that error, so I can fix it to be the proper dimensions.
Edit… odd… okay well when I am in game… it gives dimensions of width into the thousands. When logout screen, it gives the right ones. I'll try to use those. Any clue why this might be?
Edit again… yeah, like when I am logging in, I go to the VERY edge of the left… and it is starting my x @ 80 lol :(
Final edit… okay so I figured to just use the selector even once SMART has loaded. Sorry for the derping :)
tealc
2013-07-24 21:28:41
From: Merchz
Yeah, but it is a dirty lie! Those are proper coords on the screen. =x
The current RS screen is pretty wide, and if you use the selector, then view the coordinates of various spots, you can see they exceed those limits.
I'd like to find the file throwing that error, so I can fix it to be the proper dimensions.
Edit… odd… okay well when I am in game… it gives dimensions of width into the thousands. When logout screen, it gives the right ones. I'll try to use those. Any clue why this might be?
Edit again… yeah, like when I am logging in, I go to the VERY edge of the left… and it is starting my x @ 80 lol :(
You get the error because you are attempting to search outside the client.
use this to get the client dimensions and then fix your finding functions.
program new;
var
w,h:LongInt;
begin
GetClientDimensions(w,h);
writeln(w);
writeln(h);
end.