Thread Rating:
  • 9 Vote(s) - 3.44 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Module] ID Recorder (action IDs, buff IDs etc)
#11
I've just noticed I don't have the "Enable Fox Record Checkbox" and I can't can't find it on the screen. Redownloaded, even tried a bigger resolution 2560x1440 to see maybe it's somewhere off the screen :(

failed with
[string "C:\MINIONAPP\Bots\FFXIVMinion\LuaMods\/FoxRecord/functions.lua"]:111: attempt to index field 'castinginfo' (a nil value)

Anything to do with it?
Reply
#12
there NO "Enable Fox Record" checkbox , its just an old version picture, its not needed

and the error in the console is normal, because no casting monsters were around


come to the discord channel i might help u quicker
Reply
#13
(01-30-2017, 07:14 PM)foxhound Wrote:  there NO "Enable Fox Record" checkbox , its just an old version picture, its not needed

and the error in the console is normal, because no casting monsters were around


come to the discord channel i might help u quicker

tnx, will join tomorrow  Handshake
Reply
#14
I GOT IT!!!

It's because POTD Helper mod was interfering :D I removed that moved, reloaded bot and it works perfect :)
Reply
#15
Would it be possible to add a feature so that it shows actions name and another feature to save logs?

Thanks a lot for the amazing addon btw.
Reply
#16
(07-20-2017, 03:17 AM)aboodba Wrote:  Would it be possible to add a feature so that it shows actions name and another feature to save logs?

Thanks a lot for the amazing addon btw.

you can add some code to save log to file for example
for save log into file, it will save all log into a file in foxrecord folder
function
FoxRecord.ClearButton()
 
  if (GUI:Button("Clear HUD", 100, 20)) then
     persistence.store(GetStartupPath()..'\\LuaMods\\FoxRecord\\' .. GetUUID() ..tostring(GetEorzeaTime().servertime).. '.log.lua', FoxConsole)
     FoxConsole = {}
     
  end
 
 
end


for log spell name
[b]function ChatLog_RecordIDs()
 
  --local debug_el = EntityList("type=2,chartype=5,contentid=3647;5186;5187;5188;5189;5190")
  local debug_el = EntityList("chartype=5")
  if ( debug_el ) then
     local id,entity = next(debug_el)
     while (id~=nil and entity~=nil) do
       
        if (last_channeled[entity.id] ~= entity.castinginfo.channelingid  and entity.castinginfo.channelingid > 0) then
           
           --SendTextCommand('/echo '.. tostring(entity.name) .. ' ('.. tostring(id) ..') channelingid : ' .. entity.castinginfo.channelingid)
           --d(tostring(entity.name) .. ' ('.. tostring(entity.contentid) ..') channelingid : ' .. entity.castinginfo.channelingid)
           RecordOutput(tostring(entity.name) .. ' ('.. tostring(entity.contentid) ..') channelingid : ' .. entity.castinginfo.channelingid..' Action Name:'..ActionList:Get(1,entity.castinginfo.channelingid).name)
           last_channeled[entity.id] = entity.castinginfo.channelingid
           --debug_channelid(entity)
           
        elseif (entity.castinginfo.channelingid == 0) then
           last_channeled[entity.id] = 0
        end
       
        if (last_casted[entity.id] ~= entity.castinginfo.castingid and entity.castinginfo.castingid > 0) then
           
           --SendTextCommand('/echo '.. tostring(entity.name) .. ' ('.. tostring(id) ..') castingid : ' .. entity.castinginfo.castingid)
           --d(tostring(entity.name) .. ' ('.. tostring(entity.contentid) ..') castingid : ' .. entity.castinginfo.castingid)
           RecordOutput(tostring(entity.name) .. ' ('.. tostring(entity.contentid) ..') castingid : ' .. entity.castinginfo.castingid..' Action Name:'..ActionList:Get(1,entity.castinginfo.castingid).name)
           last_casted[entity.id] = entity.castinginfo.castingid
           --debug_castingid(entity)
           
        elseif (entity.castinginfo.castingid == 0) then
           last_casted[entity.id] = 0
        end
       
        id,entity = next(debug_el,id)  
     end
  end
 
end
[/b]
Reply
#17
(09-20-2017, 04:23 AM)ccb Wrote:  
(07-20-2017, 03:17 AM)aboodba Wrote:  Would it be possible to add a feature so that it shows actions name and another feature to save logs?

Thanks a lot for the amazing addon btw.

you can add some code to save log to file for example
for save log into file, it will save all log into a file in foxrecord folder
function
FoxRecord.ClearButton()
 
  if (GUI:Button("Clear HUD", 100, 20)) then
     persistence.store(GetStartupPath()..'\\LuaMods\\FoxRecord\\' .. GetUUID() ..tostring(GetEorzeaTime().servertime).. '.log.lua', FoxConsole)
     FoxConsole = {}
     
  end
 
 
end


for log spell name
[b]function ChatLog_RecordIDs()
 
  --local debug_el = EntityList("type=2,chartype=5,contentid=3647;5186;5187;5188;5189;5190")
  local debug_el = EntityList("chartype=5")
  if ( debug_el ) then
     local id,entity = next(debug_el)
     while (id~=nil and entity~=nil) do
       
        if (last_channeled[entity.id] ~= entity.castinginfo.channelingid  and entity.castinginfo.channelingid > 0) then
           
           --SendTextCommand('/echo '.. tostring(entity.name) .. ' ('.. tostring(id) ..') channelingid : ' .. entity.castinginfo.channelingid)
           --d(tostring(entity.name) .. ' ('.. tostring(entity.contentid) ..') channelingid : ' .. entity.castinginfo.channelingid)
           RecordOutput(tostring(entity.name) .. ' ('.. tostring(entity.contentid) ..') channelingid : ' .. entity.castinginfo.channelingid..' Action Name:'..ActionList:Get(1,entity.castinginfo.channelingid).name)
           last_channeled[entity.id] = entity.castinginfo.channelingid
           --debug_channelid(entity)
           
        elseif (entity.castinginfo.channelingid == 0) then
           last_channeled[entity.id] = 0
        end
       
        if (last_casted[entity.id] ~= entity.castinginfo.castingid and entity.castinginfo.castingid > 0) then
           
           --SendTextCommand('/echo '.. tostring(entity.name) .. ' ('.. tostring(id) ..') castingid : ' .. entity.castinginfo.castingid)
           --d(tostring(entity.name) .. ' ('.. tostring(entity.contentid) ..') castingid : ' .. entity.castinginfo.castingid)
           RecordOutput(tostring(entity.name) .. ' ('.. tostring(entity.contentid) ..') castingid : ' .. entity.castinginfo.castingid..' Action Name:'..ActionList:Get(1,entity.castinginfo.castingid).name)
           last_casted[entity.id] = entity.castinginfo.castingid
           --debug_castingid(entity)
           
        elseif (entity.castinginfo.castingid == 0) then
           last_casted[entity.id] = 0
        end
       
        id,entity = next(debug_el,id)  
     end
  end
 
end
[/b]

I've added this and rar'd it up in case anyone was too lazy to do it themselves


Attached Files
.rar   FoxRecord.rar (Size: 1.32 MB / Downloads: 130)
Reply
#18
4.3 broke the addon?
Reply
#19
its working for me
Reply
#20
I edited mine to have timestamps. If you want i can give you it. Or just upload it here for others to use if people want that sort of thing.
Edited: So i added the file i changed. Id recommend that fox just keeps his original since i changed some of the text formatting as well so its different from the original. Just drop this file and hit yes to replace the current file with this new one. Goes into the \MINIONAPP\Bots\FFXIVMinion64\LuaMods\FoxRecord folder
Changed formatting  so that it has a timestamp in front on all lines (supposed to at the least lemme know if something doesnt)
Changed the naming scheme to log files a bit to be more readable.
Minor edits to some of the text with : and added some other things to make it overall more readable.
Added the mobs contentID to some of the lines that didnt have it. To make it easier to sift through.
Sample image provided.


Attached Files Thumbnail(s)
   

.lua   functions.lua (Size: 10.35 KB / Downloads: 27)
Reply
 


Forum Jump:


Users browsing this thread: 3 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products