SRL Archive - Help

Trying to debug world switching


any_one

2010-12-01 05:14:11

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

2010-12-01 10:03:05

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

2010-12-01 21:03:45

Ah ok. Colours are the same still luckily so I guess I just need to find the right area to set.