Page 1 of 2

[AddOn] Gatherer with guild collaboration

PostPosted: Thu Aug 06, 2015 1:38 pm
by jsb
Gatherer with guild collaboration

On the surface, this is a re-release of the latest working version of Gatherer for Classic WoW.

Behind the scenes, it uses the AddOn communication facilities introduced in later versions of the Classic WoW UI to enable collaborative building of the Gatherer database. Every time you discover a new node (herb, vein, etc.), this position is not only stored in your local database but additionally broadcasted to your guild. Guild mates who use the same AddOn will add the new node to their databases.

Downloads
Latest Release (v.2.99.1)
Source Code

Usage
Works just like the traditional Gatherer AddOn. If you want to show or hide the broadcast communication in the chat log, use the commands
/gatherer debug on
/gatherer debug off

Re: (AddOn) Gatherer with guild collaboration

PostPosted: Fri Oct 23, 2015 5:40 am
by Devilhunter
Tested and approoved !

Seems to work well. But if you implement the capacity of sharing datas with the addons, why not implement a broadcasting option to share all the nodes in ones?

Re: (AddOn) Gatherer with guild collaboration

PostPosted: Fri Oct 23, 2015 8:23 am
by jsb
Devilhunter wrote:Tested and approoved !

Seems to work well. But if you implement the capacity of sharing datas with the addons, why not implement a broadcasting option to share all the nodes in ones?

I suppose you mean a feature that allows to broadcast your entire existing database at once instead of only the nodes that you discover? The problem is that is that gatherer databases can get quite large over time so it would be wasteful to have players just dump their entire databases instead of doing incremental updates.

However, I have not yet thought of a clever way to implement a mechanism that prevents excessive redundant updates. I pondered treating the gatherer database of a guild as a distributed hash table, but one problem (among others) with this approach is that gatherer data is fuzzy and therefore not easily hashable.

I would really like to find a non-brute-force solution to this database sync problem since a lightweight sync algorithm could then be made automatic to keep every user's database up to date at every login. If there's any ideas for a clever solution, I'd like to hear them.

Re: (AddOn) Gatherer with guild collaboration

PostPosted: Fri Oct 23, 2015 4:07 pm
by Devilhunter
I can't give advice but i easily what not to do.

Typically, an automatic full broadcast solution on /g channel is not a good one.
But maybe only with your current party, or with your current raid, and launch with a command.
The best way to avoid a little the "brut force" method is adding an "ack" in the process. "Send me the next one only if you got the previous one." mean that someone is receving the datas, and collecting them.

Gatherer is the addons which was never ever had a proper sync function. I broke many of my databases trying. And have a proper pretty full one on Nostalrius should be amazing.

Re: (AddOn) Gatherer with guild collaboration

PostPosted: Wed Oct 28, 2015 10:03 am
by Devilhunter
Actually i tested it more today, and it seems not reccord datas received in local Database.

I see the data received with the debug option activated, but the addons dont add nodes to the map.

Re: (AddOn) Gatherer with guild collaboration

PostPosted: Wed Oct 28, 2015 10:46 am
by Devilhunter
Ow, may not work between different game language.

Re: (AddOn) Gatherer with guild collaboration

PostPosted: Thu Oct 29, 2015 8:12 am
by jsb
Devilhunter wrote:Ow, may not work between different game language.

Thanks for the bug report, noted. I'll first need to download a localized client to investigate this further.

Re: [AddOn] Gatherer with guild collaboration

PostPosted: Wed Nov 04, 2015 10:34 am
by Rinello

Re: [AddOn] Gatherer with guild collaboration

PostPosted: Thu Nov 05, 2015 8:16 am
by jsb
Rinello wrote:I get this error
http://postimg.org/image/6ddogaa6d/


This could be related to messed up saved variables, maybe left over from another version of Gatherer. I suppose you haven't recorded any nodes yet? In that case, can you try deleting the files Gatherer.lua and Gatherer.lua.bak from the folder WTF/Account/ACCOUNTNAME/SavedVariables below your WoW installation directory?

Re: [AddOn] Gatherer with guild collaboration

PostPosted: Sat Nov 07, 2015 1:29 pm
by Rinello
I deleted the file you told me, nothing changed unfortunately. Is there a problem with other addons maybe? Or a .lua that I should download and put in the account folder?
I don't know much about addons so sorry if I cannot help in that context