SRL Archive - Help

Stopping SRL stopping script upon death?(Again)


Mat

2012-02-13 08:01:50

there is a procedure in the SRL core which disables a script when the message "oh dear youre dead" is found. How could i overright this so i am able to write a deathwalker
I've tried this:
SRL_Procs[srl_OnFindDead] := @DeathWalking;
and all it does is repeat the first line in that Procedure.
any Idea?
Mat

DemiseScythe

2012-02-13 08:05:06

Don't use SRL_Procs, I told you a lot of times -_-'

^.^~

Mat

2012-02-13 08:08:02

But SRL Takes over I can't do anything to stop it.

Dgby714

2012-02-13 08:08:31

From: DemiseScythe
Don't use SRL_Procs, I told you a lot of times -_-'

^.^~


Why not? Should work… There may be a variable he if forgetting to set/reset.

Don't mind me, I haven't used SRL in years and could be completely wrong here….

DemiseScythe

2012-02-13 08:10:09

repeat
repeat
crafting loop here
until FindChat(you died!);
Deathwalk loop here
until not(loggedin);

^ Better

Mat

2012-02-13 08:14:13

SRL Takes over and terminate script I tried similar to that and all I get in Debug:
Found Dead at 36:21 and it logs me out

Mat

2012-02-13 08:21:04

Figured out a way round it making the script as it finds it self death changing the chat to public so it cant see ow dear you've died and then it runs the death walk fine.

DemiseScythe

2012-02-13 08:27:38

Okies ^.^~

Good to know

Mat

2012-02-13 08:35:44

Okay that doesn't work either :( It runs it but then just ends the script after wards.

Narcle

2012-02-13 10:17:56

There's a boolean to turn it off.

Reincarnate := true;

^ will stop it.