Heffy
Junior Member
Posts: 62
|
Post by Heffy on Jan 26, 2005 22:32:00 GMT -5
I'm trying to work with chat functions but cant seem to get my script to correctly read the chat. Little help maybe? Here's my script:
#include "FFXI_Helper.au3"
Global $chatdump; Global $LineNum; $LineNum = 5
WinWaitActive("FFXiApp") AutoItSetOption("SendKeyDelay", 0235);
While 1 == 1
FFACT_Update(); $chatdump = FFACT_GetRawChatLine($LineNum); Sleep (5000) conOut($chatdump & Chr(10));
WEnd
|
|
|
Post by TinyTerror on Jan 27, 2005 0:57:39 GMT -5
Well, the chat stuff in FFACT_Helper has always been a little buggy. I wouldnt be supprised if it doesnt work right. Starhawk, the guy who makes ffact, has told me repeatedly what a pain in the ass making a reliable chat function is. Im afraid there isnt all that much that can be done with it at the moment.
|
|
Heffy
Junior Member
Posts: 62
|
Post by Heffy on Jan 27, 2005 1:15:46 GMT -5
The problem is that this function is constantly returning a 0 - not even jumbled garbage. Tis annoying.
|
|
|
Post by TinyTerror on Jan 27, 2005 8:10:53 GMT -5
If thats the case, the accsessor function that returns the value is most likely pointing at the wrong token cell in the parser array. I'll look at it. Until then, its just not going to do anything.
|
|
|
Post by Duke Newrise on Jan 27, 2005 12:05:20 GMT -5
I gave you a list of all the working funtions. That was not on it. Thre is a reason for that. At the present time it is pointing to the wrong token because this update was only for basic information. I'm reworking the code so that all the data will be avaliable.
|
|
Heffy
Junior Member
Posts: 62
|
Post by Heffy on Jan 27, 2005 12:19:45 GMT -5
Ah, kk.
*puts FFACT fishing bot to the side*
|
|
|
Post by Duke Newrise on Jan 27, 2005 12:31:42 GMT -5
also your asking for a chat line that doesn't exist. Even if it was pointing to the right element in the array you would still get 0. To get the chatline data is kinda tricky with tiny's setup because it requires alot of user inerface(calls more then 1 function). After my update when you ask for the chat line it will give you everything in the chat line in one big string.
|
|