SRL Archive - Test corner

Existence of GameTab in relation to Randoms


WT-Fakawi

2006-03-27 14:39:33

Trying to discover if we are stuck inside an unsolvable random, I noticed some GameTabs have disappeared.
Inside the ZombieRandom, only GameTab 4, 8,9,10,11 and 13 are visible, so..

[FONT="Courier New"]//----------------------------------------------------------------------------//
//--- Checks for the existence of GameTab 4 in relation to the ---//
//--- non-existence of GameTab 3 (Quests) and Gametab 12 (controls) ---//
//----------------------------------------------------------------------------//

Function NoGameTab:Boolean;
begin
if ((GetColor(650,185)=4902398) and (GetColor(710, 482)=3490379) and
(GetColor(611,185)<>16318464)) then
Result:=True;
end;[/FONT]

should do the trick…

Please, the next time you get stuck inside an unsolvable random, please make a note which gametabs are visible, post here, so at least we can make a proper detection :)

Renax

2006-03-30 19:36:31

if we still don't have a good frog detector we could use this because the there's no gametab(4) within the frog random.

Dankness

2006-03-31 16:26:31

theres no gametab 4 when your doing the doctor ford mining/woodcutting random event also, so we would need to check to make sure its not a doctor before logging out.

Renax

2006-04-01 19:38:59

inside the frog random you lose alot of tabs not just 4, i just don't remember exactly what tabs you do lose :P