Waddo
2011-07-24 16:23:51
is it just me or is check dead not working?
2011-07-24 16:23:51
2011-07-24 16:53:00
2011-07-24 17:20:11
From: Coh3n
Probably outdated. The way you die is RS has changed a lot, and I doubt anyone updated it.
2011-07-24 18:23:36
2011-07-25 08:17:58
From: Main Ftw
findnormal random still has a perfectly working finddead function, which is verryy annoying as my scripts requires character to die very often :(
2011-07-25 08:28:27
2011-07-25 08:30:21
2011-07-25 08:53:55
2011-07-25 08:55:23
2011-07-25 08:56:15
From: masterBBThat sounds familiar.
Reincarnate?
2011-07-25 09:06:22
{*******************************************************************************
function FindDead: Boolean;
by: Stupid3ooo and Cazax
Description: Checks for text "Oh dear you are dead".
Logs out player if Reincarnate = False.
*******************************************************************************}
function FindDead: Boolean;
begin
Result := False;
if FindTextTPA(0, 0, MCX1, MCY1, MCX2, MCY2, 'dear', SmallChars, Nothing) then
if FindTextTPA(0, 0, MCX1, MCY1, MCX2, MCY2, 'dead', SmallChars, Nothing) then
begin
Inc(RandSolved[rand_Death]);
Result := True;
SaveToChatLog;
if (SRL_Procs[srl_OnFindDead] <> nil) then
SRL_Procs[srl_OnFindDead]();
if (Reincarnate) then exit;
TakeScreen('Found Dead');
LogOut;
Players[CurrentPlayer].Rand := 'Oh Dear You Are in Lumby';
Players[CurrentPlayer].Active := False;
end;
end; ReinCarnate:Boolean;2011-07-25 11:01:16
2011-07-27 20:59:14
2011-07-28 00:55:01
From: Waddo
ah is that why then :/ and well done detective ;) I guess i best get onto making it, how do you create bmp masks in simba?