PDA

View Full Version : Chatbox problem



TomTop
11-17-2014, 05:07 PM
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
11-17-2014, 06:10 PM
TRSChatbox.findText(['text']); is not correct. ill leave it up to you to determine what is.

TomTop
11-17-2014, 06:20 PM
TRSChatbox.findText(['text']); is not correct. ill leave it up to you to determine what is.

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

Turpinator
11-17-2014, 07:24 PM
Chatbox.findText(['text']); ?

http://i.imgur.com/vIf0lAD.gif