disable auto add to craftbag for new chars
hi im wondering if anyone knows a way to change the default of AUTO_ADD_TO_CRAFT_BAG_ON to off for fresh installs and new characters.
Ive been messing in my addon trying to accomplish this but it seems the game itself moves everything into the craftbag on logout of previous char or before addons even load on character creation. I tested this by taking a stack of materials out of craftbag and put into bank and then double checked its still in there, logged out, created new toon and its already been moved into craftbag again. Code:
SetSetting(SETTING_TYPE_LOOT, LOOT_SETTING_AUTO_ADD_TO_CRAFT_BAG, AUTO_ADD_TO_CRAFT_BAG_OFF) |
I think the setting is only about "new looted materials" and not about already owned materials in banks and inventories (but I might be wrong, you have to test that).
If you got ESO+ it always will be moved to craftbag automatically on any realoadui / login again. If you do not want that to happen on reloadui/logout/quit then ZO_PreHook Logout and the ReloadUI and Quit functions and check if your setting in addon is enabled, and then disable the game setting above properly, and see if this helps. |
Quote:
Lua Code:
Lua Code:
I know overriding works for Lua Code:
Lua Code:
|
[quote=DakJaniels;49234]Could it be as simple as overriding
Lua Code:
Lua Code:
Wouldn't that then also have an impact on the player's inventory size if the game thinks they are not a subscriber? |
[quote=FlatBadger;49235]
Quote:
Doesn't change the inventory value. |
[quote=DakJaniels;49236]
Quote:
The code I listed does work and changes the feature off but even entered in "addonload" section of my addon isnt fast enough and everything is still moved before it executes that. I was wondering if there is another way maybe in settings.txt or something to have it default to OFF always unless turned on. I've requested this via ticket as well already. The problem IMO is ZOS has decided for me that I want everything in the craftbag automatically just by becoming ESO+. |
You could try overwriting StowAllVirtualItems
But i think my existing lazy farming addon can solve your issue. What it does is save a snapshot of your craft bag, and then allow you to take out anything that was added in above that. So, you could save the craft bag, create your character, then click a button to remove everything that as added into the craft bag. Then just put that stuff into the bank or wherever you want it. A little roundabout but it achieves your end goal. |
Quote:
|
Sure, it doesn't stop the draining, but on the other hand, it is also going to make it far quicker to read it. Unless you make new characters all the time, it's probably enough. And even if you do make new characters all the time, I don't know that what you are attempting to do will even be possible. If the stowing of materials happens early enough, there will be nothing you can do.
|
Quote:
|
All times are GMT -6. The time now is 09:56 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI