View Single Post
07/06/14, 03:27 PM   #1
zgrssd
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 280
Addons, the .txt issues or "now you see it, now you don't"

As long as the game had been out, the following rule applied to .txt files that are not manifests:
If a .txt file lies next to a valid manifest (in the same folder as it) the game will erronously treat it as another manifest/addon.

We are required to add a readme.txt to our addons, but due to this bug we have been using just "readme (no file extension) or other filetypes instead.
For a time I thought it had been fixed (there was a download after the 1.2.4 patch had already went live on both servers and it seemed as if my NA client was ignoring my readme.txt). But that did not work out.

But now it seems one addon is not running into that issue:
"CombatLogStatistics" has a file named "VERSION 1.11.txt" right next to it's manifest that seems to be ignored by the Addon system. At least no "VERSION 1.11" addon appears in my list. Could somebody verify that?
I have some theories why this one is except:
The extra .dot is confusing the filetype detection. It propably looks for the first instead of the last one (as is correct). So it thinks the filetype is .11.txt or mabye .11. (when it just looks for 3 characters after the dot).
It could also be that the space is confusing it? By default addons are not allowed to contain spaces in thier Folder/Manifest Name (propably to not confuse the DependsOn checks as they are space seperated).
Maybe a combination of both?
  Reply With Quote