hackingislol133
2014-09-22 23:32:42
is there anything in lape that searches for a specific string of text in the debug window?
something like
if getDebugPrint('desired string')
something like
if getDebugPrint('desired string')
2014-09-22 23:32:42
2014-09-23 00:06:27
From: hackingislol133
is there anything in lape that searches for a specific string of text in the debug window?
something like
if getDebugPrint('desired string')
2014-09-23 02:46:10
2014-09-23 03:45:19
From: The Mayor
Why would you want to do such a thing?
2014-09-23 07:49:27
From: The Mayor
Why would you want to do such a thing?
SArr := getDebugLines;
For I:=0 to High(SArr)do
Case SArr[I] of
'changeplayer': NextPlayer(True);
'break': handle_Breaks;
'twerk_like_miley': handle_Redneck;
end;
2014-09-23 09:45:15
From: BrandonYeah, this.
If you plan on monitoring Simba's debug from another application or plugin.
2014-09-23 10:11:02
From: Clarity
Debug text has to come from somewhere in your script or an include, so why not find the actual thing rather than the resulting debug text?
2014-09-23 11:51:33
From: Janilabo
Yeah, this.
Would be truly awesome to have function DebugText: string; and/or function DebugLines: TStringArray; someday in Simba!
2014-09-23 12:42:07
2014-09-23 15:19:28
From: OllyYeah Olly, I see what you mean.. Although, it still wouldn't hurt to have it right? :)
It's honestly not worth it currently, due to each script sharing the same debug box.
2014-09-23 15:34:03
2014-09-23 18:12:08
From: The Mayor
I still don't see why you need to do this. You can tell if your player fails to login within your script itself. You can even get simba to force respawn SMART if this happens.
2014-09-23 19:25:56
From: hackingislol133
with if isLoggedIn?
i've tried it and forced the client to respawn when the script fails to input player info. but whenever a new client is spawned, the input box still becomes active too slowly.
additionally, if the script fails to login after the 6 hour limit, then smart.srl terminates the script. I've tried putting a delay into smart.srl as well, but the client only becomes responsive when there's been some interaction with it.
that's why I figured the solution is to have a shell script outside of simba click rerun the script after it terminates.