Page 1 of 2

Can AionScript read chat?

Posted: Fri Sep 15, 2017 11:20 pm
by cooco
Can AionScript read the chat text?

Re: Can AionScript read chat?

Posted: Sat Sep 16, 2017 11:03 am
by Quirunerk
I think it can't but why are u asking ?

Re: Can AionScript read chat?

Posted: Sat Sep 16, 2017 11:49 am
by cooco
To monitoring quest status.
Some quest ask "kill x mob" and i don't know how to keep count of mob killed. :|

Re: Can AionScript read chat?

Posted: Sat Sep 16, 2017 1:13 pm
by Quirunerk
It can't read but there is a program "Macro Recorder" It can all of them check it

Re: Can AionScript read chat?

Posted: Sat Sep 16, 2017 2:25 pm
by cooco
i dont think i can read chat with Media recorder

Re: Can AionScript read chat?

Posted: Sat Sep 16, 2017 2:49 pm
by agonic
aionrainmeter can. also has trigger/warning for specialized chat words/sentences

Re: Can AionScript read chat?

Posted: Sat Sep 16, 2017 4:19 pm
by unkn0wnus3r
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.

Re: Can AionScript read chat?

Posted: Sat Sep 16, 2017 4:45 pm
by nucular
Hi,

i will add quest support to AionScript.

Re: Can AionScript read chat?

Posted: Sat Sep 16, 2017 4:49 pm
by cooco
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.

Re: Can AionScript read chat?

Posted: Sat Sep 16, 2017 8:13 pm
by nucular
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 ;-)