Can AionScript read chat?
-
- Posts: 75
- Joined: Wed Jan 18, 2017 12:27 pm
- Has thanked: 10 times
- Been thanked: 13 times
Re: Can AionScript read chat?
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.
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?
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.
- 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?
DumpQuests.lua
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
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
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
Who is online
Users browsing this forum: No registered users and 1 guest