PDA

View Full Version : Sharing auctioneer data?



luxlunae
07-28-2010, 02:59 PM
Is it possible to force multiple accounts to share the same auctioneer scandata and beancounter files?

Maxion
07-28-2010, 05:44 PM
Either copy the saved variables file for those addons over to the other accounts folders, or set up virtual folder thingy so they all use the same one.

luxlunae
07-28-2010, 06:04 PM
Either copy the saved variables file for those addons over to the other accounts folders, or set up virtual folder thingy so they all use the same one.


Set up virtual folder thingy?

Khatovar
07-29-2010, 12:12 AM
Set up virtual folder thingy?

I think this is what he means.

http://www.dual-boxing.com/showthread.php?t=23338&highlight=simlink

Maxion
07-29-2010, 01:15 AM
I think this is what he means.

http://www.dual-boxing.com/showthread.php?t=23338&highlight=simlink

Yes that exactly.

crowdx
07-29-2010, 10:25 AM
Am I correct in thinking what simlink is doing is creating a shortcut to the original master file and replacing that same file in the other toons folder with the shortcut to the file you want it to use?

Iru
07-29-2010, 10:25 AM
Either copy the saved variables file for those addons over to the other accounts folders, or set up virtual folder thingy so they all use the same one.

The later won't work - generally, not just for these addons - as all addons write to a per-account directory (WTF/Account/<gameID>/SavedVariables) or per-character directory (WTF/Account/<gameID>/<character-name>/SavedVariables) and overwrite the file on game exit. This means that although they will start in the same place after the first copy, different games will replace the file and so lose everything but the last game's changes.

Generally speaking, both cross-account data sharing and cross-character data sharing require explicit support from the AddOn. Cross-account data sharing also requires using the game itself as the means of data transfer - think Altoholic or Jamba - as addons cannot write to files outside WTF/Account/<gameID>.

tl;dr - can't be done without bugging Norganna

@Crowdx: yes, you can think of symlinks as shortcuts that work transparently

crowdx
07-29-2010, 10:59 AM
I presume another way of sharing the auctioneer data outside of the game would be to use a folder sync app to syncronize the auctioneer file for all the toons you want to share the auctioneer data with?

Katharsis
07-29-2010, 12:24 PM
I have all my Account folders symlinked to a single folder named AccountMaster which works great for me having ALL my toons in one folder but I can see where it might drive some of you nuts.

Iru
07-29-2010, 10:08 PM
@Katharis: Doing that works only as long as you're not all updating the same files simultaneously. There's no avoiding the race conditions otherwise. Try making independent changes, e.g. buy & sell a bunch of different stuff in two clients so that BeanCounter captures it, check that the two games have different items in the BeanCounter log, exit both games, and then restart both. Do all your changes still appear?

@Crowdx: That's still not enough because of the way LUA writes data structures. A context sensitive diff might work but there's no guarantee (AFAIK) that hash keys will be written out in the same order by each WoW client so you could have multiple updates for similar values in different parts of the same file. Katharsis' approach works when you're trying to share read-only data, e.g. spell configs, Bartender layouts, especially when the addons are using a profile mechanism. It's a much harder problem to deal with regular writes.

Katharsis
07-30-2010, 06:32 AM
Do all your changes still appear?

No. That's the part that I said would drive some crazy. I have to have only one client active to do anything that changes the SV if I want it saved.