View Full Version : Stopping SRL stopping script upon death?(Again)
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
02-13-2012, 01:05 PM
Don't use SRL_Procs, I told you a lot of times -_-'
^.^~
But SRL Takes over I can't do anything to stop it.
Dgby714
02-13-2012, 01:08 PM
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
02-13-2012, 01:10 PM
repeat
repeat
crafting loop here
until FindChat(you died!);
Deathwalk loop here
until not(loggedin);
^ Better
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
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
02-13-2012, 01:27 PM
Okies ^.^~
Good to know
Okay that doesn't work either :( It runs it but then just ends the script after wards.
Narcle
02-13-2012, 03:17 PM
There's a boolean to turn it off.
Reincarnate := true;
^ will stop it.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.