baaron4 / GW2-Elite-Insights-Parser

Binary parser for the .evtc files that arcdps generates after a boss encounter. This will generate a .html file where the results can be easily reviewed.
MIT License
130 stars 47 forks source link

Automatically adding new logs not working with arcdps created logs #491

Closed NekoSojo closed 3 years ago

NekoSojo commented 3 years ago

The parser dose not seem to see newly created EVTC logs created by ArcDPS. If I copy the file or move a file into the file folder GW2EliteInsights program is looking at it works as intended and auto loads and then auto parses the file. Only files created by ArchDPS dose not seem to auto load. I do have 'Use NPC Name in EVTC save path' ticked and I have the program looking at the main folder that all the boss sub folders are stored.

EliphasNUIT commented 3 years ago

I haven't been able to reproduce your problem, I have generated some golem logs and EI picked them up fine. I also use EI's auto parse functionality for my weekly clears for 2 years now and have yet to see the problem you are describing. So I have some questions:

Thanks.

NekoSojo commented 3 years ago

I have not been able to get it to work on its own. I have to copy the file in location or move it before the program finds it. I have attached a zip file with both the GuildWars2EliteInsights Config file and my current ArcDPS INI file. Link Removed as it contains a webhook url

Edit: i am unsure if it is easily seen in the INI file but i have tried both with and without compression and had the same results. However i do not have compression on right now

EliphasNUIT commented 3 years ago

Thanks, I'll play around with your settings and try to reproduce.

I have removed your link, it contains a webhook url, you shouldn't go around sharing those publicly.

BattleMage commented 3 years ago

This feature is not working for me, too. Tried on two systems, none is working.

Compression is disabled, use NPC names is enabled,

EliphasNUIT commented 3 years ago

Do you have more information? Since the initial report I've personally tried 7 computers (3 desktops, 4 laptops, hdd and ssd) with a variety of arcdps options. I've also asked 6 persons to try to reproduce, 4 of them not already using this functionality. Sadly, to this day, the feature hasn't failed once and frankly I don't know where to look at.

Is your problem the same? Working for manually added files but not generated by arc dps? If it never works, make sure that EI has read authorization on the path. A very quick way to discard this hypothesis would be to run EI as admin.

BattleMage commented 3 years ago

I tried different things now, all without success. Neither multiple restarts nor starting in admin mode made the parser aware of new logs.

I'll try to provide as much information as I can to make this reproducable:

If you need any more details I'd be happy to provide them.

EliphasNUIT commented 3 years ago

Unfortunately, to this day I can still not reproduce this. In the next release I'll add some traces to the methods around the new file listeners so that you can share them here. Hopefully that'll give me some clues as to what's going wrong.

BattleMage commented 3 years ago

I don't know if that's any help. but the directory listener from PlenBotLogUploader works. Perhaps looking at the implementation differences helps, as it's also written in C#.

feisty69 commented 3 years ago

Easily reproducible. When arcdps creates the '.evtc' file its actually not an '.evtc' file to begin with. Its actually a file without a file name extension and once the file is done it is renamed to '*.evtc' https://user-images.githubusercontent.com/15022613/111830806-c3975180-88ee-11eb-9b3b-ceb54b0bfc03.mp4 As shown in this video.

So to test this you can:

  1. Create a log (example name 20210319-195015.evtc)
  2. Move the log to your Desktop.
  3. Rename the file to "20210319-195015" (without .evtc)
  4. Move the renamed file back into the log folder.
  5. Now rename it back to "20210319-195015.evtc" (when its already inside the log folder). This file WILL NOT get detected by the parser.

Now you can test by:

  1. Moving the '20210319-195015.evtc' to your Desktop.
  2. Moving it back to the log folder. This WILL get detected by the parser.
EliphasNUIT commented 3 years ago

That I was able to reproduce, thanks, it is also an easy fix. However that scenario only happens when compression is disabled, with compression enabled arccpds generates a .tmp.zip file as temporary and that is being detected. I'm not 100% certain this fixes the initial problem where OP said that compression or no compression did not make any difference, so:

Regardless @feisty69 and @BattleMage's problem should be fixed in next. I'll close this after feedback from @NekoSojo .

EliphasNUIT commented 3 years ago

@feisty69 @BattleMage @NekoSojo Could you confirm that latest release fixes your problems? If yes, I'd like to close this issue.

Thanks.

BattleMage commented 3 years ago

My problem is solved by this. Thanks!

EliphasNUIT commented 3 years ago

I'm not getting any news regarding this issue. I'm closing it for now. Comment here if you think this issue needs to be re-opened.