Can AionScript read chat?

cooco
VIP
Posts: 218
Joined: Fri Feb 17, 2017 2:01 am
Has thanked: 58 times
Been thanked: 85 times

Can AionScript read chat?

Post by cooco » Fri Sep 15, 2017 11:20 pm

Can AionScript read the chat text?

User avatar
Quirunerk
Posts: 65
Joined: Sun Aug 20, 2017 3:06 pm
Has thanked: 24 times
Been thanked: 1 time

Re: Can AionScript read chat?

Post by Quirunerk » Sat Sep 16, 2017 11:03 am

I think it can't but why are u asking ?

cooco
VIP
Posts: 218
Joined: Fri Feb 17, 2017 2:01 am
Has thanked: 58 times
Been thanked: 85 times

Re: Can AionScript read chat?

Post by cooco » Sat Sep 16, 2017 11:49 am

To monitoring quest status.
Some quest ask "kill x mob" and i don't know how to keep count of mob killed. :|

User avatar
Quirunerk
Posts: 65
Joined: Sun Aug 20, 2017 3:06 pm
Has thanked: 24 times
Been thanked: 1 time

Re: Can AionScript read chat?

Post by Quirunerk » Sat Sep 16, 2017 1:13 pm

It can't read but there is a program "Macro Recorder" It can all of them check it

cooco
VIP
Posts: 218
Joined: Fri Feb 17, 2017 2:01 am
Has thanked: 58 times
Been thanked: 85 times

Re: Can AionScript read chat?

Post by cooco » Sat Sep 16, 2017 2:25 pm

i dont think i can read chat with Media recorder

agonic
VIP
Posts: 159
Joined: Tue Jan 10, 2017 6:39 pm
Has thanked: 34 times
Been thanked: 112 times

Re: Can AionScript read chat?

Post by agonic » Sat Sep 16, 2017 2:49 pm

aionrainmeter can. also has trigger/warning for specialized chat words/sentences

unkn0wnus3r
Posts: 75
Joined: Wed Jan 18, 2017 12:27 pm
Has thanked: 10 times
Been thanked: 13 times

Re: Can AionScript read chat?

Post by unkn0wnus3r » Sat Sep 16, 2017 4:19 pm

M A D has something similar to rainmeter but i guess there is no way to combine those programms with aion script.
Lua should be able to read text files (with some libs) so maybe on that way it could read the chatlog.

User avatar
nucular
Site Admin
Posts: 260
Joined: Sat Jan 07, 2017 9:08 pm
Has thanked: 27 times
Been thanked: 388 times

Re: Can AionScript read chat?

Post by nucular » Sat Sep 16, 2017 4:45 pm

Hi,

i will add quest support to AionScript.

cooco
VIP
Posts: 218
Joined: Fri Feb 17, 2017 2:01 am
Has thanked: 58 times
Been thanked: 85 times

Re: Can AionScript read chat?

Post by cooco » Sat Sep 16, 2017 4:49 pm

agonic wrote:
Sat Sep 16, 2017 2:49 pm
aionrainmeter can. also has trigger/warning for specialized chat words/sentences
i can read chat log. The problem is multiclient or Sandiebox. No way to know which character kill a specific mob. Alternative is copy aion folder for each client, hard to do.

User avatar
nucular
Site Admin
Posts: 260
Joined: Sat Jan 07, 2017 9:08 pm
Has thanked: 27 times
Been thanked: 388 times

Re: Can AionScript read chat?

Post by nucular » Sat Sep 16, 2017 8:13 pm

DumpQuests.lua

Code: Select all

function ListIterator(o)
	local e = o:GetEnumerator();
	return function()
		if e:MoveNext() then
			return e.Current;
		end
	end
end

Write("Dumping current quests and its progress:")
for Quest in ListIterator( QuestList:GetList()) do
	Write( "http://aiondatabase.net/en/quest/" .. Quest:GetID() .. "/ ProgressValue: " .. Quest:GetProgressVar() );
end

-- example check quest for finished state of quest
local Quest = QuestList:GetQuest(2002)
if Quest ~= nil and Quest:GetProgressVar() == "103:30000" then
	Write("Done with Quest")
end
So how to use it?
Accept the quest and kill all mobs.
Now run the script and find the quest and it's progress result.

Have fun ;-)
Attachments
AS.zip
(499.51 KiB) Downloaded 11 times

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests