Log in

View Full Version : Trying to debug world switching



any_one
12-01-2010, 10:14 AM
Worldswitcher.scar does not work for me - it doesn't detect that the worlds tab is open after switching to it. I have the latest SVN SRL etc, so it's probably not that. I was looking through the procedures and couldn't find anywhere where L_WorldScreen (which I assume should be an Integer = 2) is defined. Could someone point me to the right file for it? I can't easily search through multiple files :/

EDIT: OK I found what was wrong - the area for finding the arrows (CountColorTolerance) in SelectWorld was wrong, as was the area in OrderWorlds. Any reason why it is set to 0,0,717,141 when the arrows are at ~y=190-200?

Narcle
12-01-2010, 03:03 PM
Worldswitcher.scar does not work for me - it doesn't detect that the worlds tab is open after switching to it. I have the latest SVN SRL etc, so it's probably not that. I was looking through the procedures and couldn't find anywhere where L_WorldScreen (which I assume should be an Integer = 2) is defined. Could someone point me to the right file for it? I can't easily search through multiple files :/

EDIT: OK I found what was wrong - the area for finding the arrows (CountColorTolerance) in SelectWorld was wrong, as was the area in OrderWorlds. Any reason why it is set to 0,0,717,141 when the arrows are at ~y=190-200?

It may of changed, I updated it right before they did a major change to the login screen.

any_one
12-02-2010, 02:03 AM
Ah ok. Colours are the same still luckily so I guess I just need to find the right area to set.