EvilChicken!
2008-04-11 08:46:24
My thought regarding unsolveable randoms.
Simply put, my suggestion is to add a variable boolean for handling randoms.
many SRL users run scripts with one single player and theirs PCs neearby constantly watching the screen for unsolveables while they watch TV or play video games and auto simultaniously. This is where that variable global boolean comes in. My idea was to have two options for handling unsolveable randoms, controlled by that boolean. If it is set to false, it would log out like it normally would, but if it is set to true, it would run something like this instead:
It plays a sound and (not included in this example) keeps player logged in for > 5 minutes so a human would come and solve that random. This alows you to do something completely different and not have to monitor RS every fifth minute or so AND STILL NOT BE GUARANTEED TO DISCOVER THAT RANDOM.
This especially applies to single-player scripts.
Simply put, my suggestion is to add a variable boolean for handling randoms.
many SRL users run scripts with one single player and theirs PCs neearby constantly watching the screen for unsolveables while they watch TV or play video games and auto simultaniously. This is where that variable global boolean comes in. My idea was to have two options for handling unsolveable randoms, controlled by that boolean. If it is set to false, it would log out like it normally would, but if it is set to true, it would run something like this instead:
procedure ScriptTerminate;
begin
PlaySound('Empty'); // Sound is not found, so it plays a 'beep' instead, I think?
end;It plays a sound and (not included in this example) keeps player logged in for > 5 minutes so a human would come and solve that random. This alows you to do something completely different and not have to monitor RS every fifth minute or so AND STILL NOT BE GUARANTEED TO DISCOVER THAT RANDOM.
This especially applies to single-player scripts.