SRL Archive - Help

Grave marker function?


ry0240

2011-10-14 19:10:04

Is there a function that recognizes if someones grave marker box is up? Sometimes a script misclicks and will read someones grave marker and will just stay logged in stuck with the grave marker open.

Main

2011-10-14 19:12:39

I was actually trying to solve this the other day, but it seems that grave mark fucks up find color function..

Bixby Sayz

2011-10-14 19:15:16

can't just check for the X close option?

ry0240

2011-10-14 19:59:13

Damn, Can reflection solve that problem? I've found away to keep lvl 3's away from my mining spot, but after they're taken "care" of, the script messes up and hits the grave marker. so it's a win/lose situation.

Flight

2011-10-14 20:28:02

I'd suggest using the Interface Explorer (Reflection tool) and finding which interface is used for a Grave Marker. Then just make a function something like "if GraveMarkerInterface then Close;".

ry0240

2011-10-14 20:35:44

From: Flight
I'd suggest using the Interface Explorer (Reflection tool) and finding which interface is used for a Grave Marker. Then just make a function something like "if GraveMarkerInterface then Close;".


Yeah the catacomber script has that problem to, ittl click on the char's own grave when it dies and goes back, thats why I have been training the defence right away on chickens then use the catacomber. so they don't ever die.