ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Help/Support (https://www.esoui.com/forums/forumdisplay.php?f=164)
-   -   Multiple .txt files in addon folder can crash ESO - beware... (https://www.esoui.com/forums/showthread.php?t=511)

Syber01 04/02/14 05:56 PM

Multiple .txt files in addon folder can crash ESO - beware...
 
Those of you publishing addons - please be careful and only have one main .txt file in the main folder, otherwise the game tries to load the others. Try it, put in a readme.txt and it shows up in the addon menu of ESO. This can cause the game to crash. Just FYI.

Note: It will only try to load the .txt files if "Allow out of date add-ons" is checked.

Tonyleila 04/02/14 06:22 PM

Just to be save about the main folder thing... what if the txts are in an extra folder? Is this save? Or woud that also be a problem? Like http://www.esoui.com/downloads/fileinfo.php?id=45

ins 04/02/14 06:32 PM

That explains why there were some strange addon names on the list. Thanks for the info.

Syber01 04/02/14 06:44 PM

Quote:

Originally Posted by Tonyleila (Post 2428)
Just to be save about the main folder thing... what if the txts are in an extra folder? Is this save? Or woud that also be a problem? Like http://www.esoui.com/downloads/fileinfo.php?id=45

I think a folder is fine, but I'm not an admin. Maybe they can chime in.

Seerah 04/02/14 07:19 PM

An internal folder would work just fine.

MyAddon\Changelogs\changelog.txt

----------

I haven't seen the game crash due to extra .txt files, though. I thought (from what I and others have seen) that the game only loads (not just list, but load) a .txt file if its file name matches that of the folder it is inside. This is why your .txt file for your addon needs to match the folder name.

Do you have something reproducible that would cause the client to crash?

Syber01 04/02/14 07:22 PM

Quote:

Originally Posted by Seerah (Post 2434)
An internal folder would work just fine.

MyAddon\Changelogs\changelog.txt

----------

I haven't seen the game crash due to extra .txt files, though. I thought (from what I and others have seen) that the game only loads (not just list, but load) a .txt file if its file name matches that of the folder it is inside. This is why your .txt file for your addon needs to match the folder name.

Do you have something reproducible that would cause the client to crash?

I'll PM you which addon it was.

Xrystal 04/02/14 07:28 PM

It might have been just during beta but my addon structure had something like this :

XrysGatherer
.. XrysGatherer.txt
.. patchinfo.txt


This generated the real addon XrysGather and the fake addon patchinfo. I don't recall it crashing but then I am not 100% sure I didn't spot it and untick it before running the game itself. I know I spotted it early on enough to make the change straight away. Whether a sub folder makes a difference I don't know.


All times are GMT -6. The time now is 12:22 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI