SRL Archive - RS has been updated.

Fix for Problem with FindObj


ZephyrsFury

2007-06-27 09:05:23

Ok, so due to the update on the 26th June, FindObj in SRL stopped working. Now since many scripts including the very popular ones use FindObj or a similar function, they too stopped working. :fiery:

I was trying to work out why. First of all I thought it had something to do with the fact that some of the coords changed but changing it in SRL would work. So when I looked through the script, I noticed a line.
if (not (Loggedin)) then
Break;

I figured that since the coords for checking if you were logged in or not changed, the function wouldn't work. So the solution is simple, change the coords in the Login include in SRL.

Check Niesie95's post here:
http://www.villavu.com/forum/showthread.php?t=12479?p=144642

In short, all you need to do is change this:
Result := (GetColor(422, 480) = 16777215);

To this:
Result := (GetColor(421, 480) = 16777215);

So now it works again. Yay!!! :D

I hoped this helped. Sry for starting a new thread on something that was already explained but I only found this out through experimentation.

Zephyr

Maxine

2007-06-27 09:13:49

i still cant figure out why u send this thread, if the problem was solved already.

Santa_Clause

2007-06-27 09:25:32

Same…

logical guy711

2007-06-27 09:32:09

he wants to be known?

whatever the reason, the point is that the problem is already solved.

ZephyrsFury

2007-06-27 09:44:47

the reason is that when people look at 'Problem with login' they think 'wat the hell has that got to do with object finding'.

Santa_Clause

2007-06-27 09:57:23

They don't need to think that because after they fix the login problem..there are no other problems.

No hard feelings though