SRL Archive - SRL Development and Help

Chatbox problem


TomTop

2014-11-17 12:07:15

Hey,

I've been trying to read text from the chat box for a couple days now, but I'm having problems.

I tried using the function TRSChatbox.findAnyText (As said on the docs part of villavu) - Only to find that the function didn't exist, and that the real name was TRSChatbox.findText. I though 'Great! I can finally get this working' - Nuh huh, it opened the chatbox.simba file and I had the following error:


Error: Access violation at line 140

Line 140 is: result := intToBox(self.x1+3, self.y1 + 68, self.x2-20, self.y2-22);

Any ideas how I can fix this?

Thanks.

Turpinator

2014-11-17 13:10:46

TRSChatbox.findText(['text']);
is not correct. ill leave it up to you to determine what is.

TomTop

2014-11-17 13:20:55

From: Turpinator
TRSChatbox.findText(['text']);
is not correct. ill leave it up to you to determine what is.


Chatbox.findText(['text']); ?

Turpinator

2014-11-17 14:24:39

From: TomTop
Chatbox.findText(['text']); ?