SRL Archive - Reflection Help

R_IsUpTextMulti


weezy

2010-11-26 15:29:36

I saw another thread with this problem and it's been *fixed* so I'm making a new one, basically the same issue except it now appears in this function on the text.simba include in reflection folder.

EDIT: Also happens on R_IsUpText, since I tried to make a quick-fix in my script simply using one uptext.

{*******************************************************************************
function TrimHTML(s: string): string;
By: lordsaturn, fixed by pyroryan
Description: Removes the HTML junk from a string.
*******************************************************************************}
function TrimHTML(S : string): string;
var
P, P2, PLength: integer;
Temp: string;
begin
P := Pos('<', S);
P2 := Pos('>', S);
Result := S;
PLength := P2 - P + 1;
while (P <> 0) and (P2 <> 0) do
begin
Delete(Result, P, PLength);
P := Pos('<', Result);
Temp := Result;
Delete(Temp, 1, P - 1);
PLength := Pos('>', Temp);
end;
end;

bbri06

2010-11-26 15:42:44

From: weezy
Also happens on R_IsUpText, since I tried to make a quick-fix in my script simply using one uptext.


That's because R_IsUpText uses R_IsUpTextMulti. I'm also getting this same problem. I have a feeling it's hook related as it almost always is.

weezy

2010-11-26 16:46:59

R_OpenBankBooth isn't working either, guessing it's due to UpText functions working improperly.

Harry

2010-11-27 03:39:23

If you're still getting the same problem, update your hooks, it should have been fixed today (same problem was at http://villavu.com/forum/showthread.php?t=60202 - I think?)