GatherStorage.lua

  •  
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Moving Gatherer files to subdirectory for Gatherer specifically in order to make room for other Gatherer related addons or modules within the Gatherer trunk (Addresses GATH-18)
Moving Gatherer files to subdirectory for Gatherer specifically in order to make room for other Gatherer related addons or modules within the Gatherer trunk (Addresses GATH-18)
  1. … 294 more files in changeset.
-updated Readme.txt (including change log)…
-updated Readme.txt (including change log)

-various miscellaneous clean-up details

-GatherUtil.lua: changed the wait time between items in the refresh cycle from 1 second to 5 seconds

  1. … 6 more files in changeset.
updated ZoneGatherNodes() to return more data…
updated ZoneGatherNodes() to return more data

added a "removed" count as the 2nd return from RemoveGather() that provides a count of how many nodes were removed from the DB

added a check on load, to remove any deprecated nodes from the database
added a check on load, to remove any deprecated nodes from the database
removed a stray debug call left in accidentally in rev 605
removed a stray debug call left in accidentally in rev 605
Fix error that pops up sometimes when hearthing across continents/worlds, and the current (cached) player location hasn't yet been synched to the new physical player location.
Fix error that pops up sometimes when hearthing across continents/worlds, and the current (cached) player location hasn't yet been synched to the new physical player location.
  1. … 1 more file in changeset.
Fixes for deleting marked items from the report. Fix cleanup of unused nodes in HUD, detect minimap display stopped, and hide HUD. Change API.AddGather and Storage.AddNode to allow adding of DB nodes.…
Fixes for deleting marked items from the report. Fix cleanup of unused nodes in HUD, detect minimap display stopped, and hide HUD. Change API.AddGather and Storage.AddNode to allow adding of DB nodes. Enable GUI setup notification callbacks for any interested addons that may wish to add items to the Gatherer config screen.

  1. … 4 more files in changeset.
an attempt to prevent the problem that was causing erasure of the entire node DB table
an attempt to prevent the problem that was causing erasure of the entire node DB table
fixing trac #139, if we can't lookup a node position, bail before trying to send it out…
fixing trac #139, if we can't lookup a node position, bail before trying to send it out

This handles the case of negative X and Y positions, which AddNode won't process.

Long term we need to handle negative coordinates, because Blizzard apparently has stuff in those places sometimes.

  1. … 1 more file in changeset.
Fix incorrect references to Gatherer.Reports to the correct Gatherer.Report instead.
Fix incorrect references to Gatherer.Reports to the correct Gatherer.Report instead.
Reporting search functionality now mostly working. Results now show up when you perform a search. Need to get report scrolling and the marking/actioning working still
Reporting search functionality now mostly working. Results now show up when you perform a search. Need to get report scrolling and the marking/actioning working still
  1. … 5 more files in changeset.
void…
void

Added an optional argument to both RemoveNode and RemoveGather called playerName, which takes a single player name, or a special source, and uses it to conditionally remove the node only if the source field has the arg in its list and the source field is emptied by the removal of the arg. If the source field is not emptied by the removal, then the node is not removed from the DB, but the arg is removed from the source field list.

void…
void

added RemoveNode( continent, zone, gatherId, index ) and RemoveGather( continent, zone, gatherId )

(addresses #131)changed source list so that it supports a list of player names that have shared the node…
(addresses #131)changed source list so that it supports a list of player names that have shared the node

There are still 4 types for the source field (REQUIRE, IMPORTED, <name list>, nil) where nil is confirmed). If the node is not yet confirmed, then it can be confirmed if the incoming source is a different type than the node's current source field. This change simply prevent multiple spammers from confirming a bad node.

  1. … 2 more files in changeset.
void…
void

-commented out GetRawDataTable() again

-removed Gatherer.Storage.Clear() as it was redundant

-removed collectgarbage() call from ClearDatabase() because the new incremental GC cycle means it is unnecessary

fixed a potential bug in Gatherer.Storage.AddNode() that would occur when it was passed a zone token instead of an index

(fixes #104)changed recording of Power Crystal nodes so that all colours are recorded and displayed as a single node type…
(fixes #104)changed recording of Power Crystal nodes so that all colours are recorded and displayed as a single node type

-The key to these changes is the data table hacks performed by GatherSpecialCases.lua. Everything done in this file should always be commented very thoroughly.

-GatherConfig.lua: The MakeGui function was changed to pull it's displayed names from Gatherer.Util.GetNodeName(), it was also changed so that each unique name (on a per gather type basis) is only displayed once

-Gatherer.Util.GetNodeName() was changed to return a category name if the objectId matches a category token, or else the node name from Gatherer.Nodes.Names

  1. … 8 more files in changeset.
updated Astrolabe library to revision 34
updated Astrolabe library to revision 34
  1. … 13 more files in changeset.
void…
void

Added a missing End on line 292 and fixed the indenting around there too.

changed some functions to be more consistant with the rest of the storage library in that they will fail without generating an error message if the specified node does not exist into the database
changed some functions to be more consistant with the rest of the storage library in that they will fail without generating an error message if the specified node does not exist into the database
Add svn:keywords to most file, change svn:eol-style to native, add Manifest system to validate installation
Add svn:keywords to most file, change svn:eol-style to native, add Manifest system to validate installation
  1. … 32 more files in changeset.
Add gather sharing/comms options to configuration and add back in inspected opacity functionality.
Add gather sharing/comms options to configuration and add back in inspected opacity functionality.
  1. … 3 more files in changeset.
removed an old gather type conversion that was being performed on gathering events passed from Swag
removed an old gather type conversion that was being performed on gathering events passed from Swag
  1. … 1 more file in changeset.
implemented code to scan current version DBs when they are read in from the SV file for node ids that need to be remapped
implemented code to scan current version DBs when they are read in from the SV file for node ids that need to be remapped
  1. … 1 more file in changeset.
updates to the returns of some functions
updates to the returns of some functions
-cleaned up some old files and code that are no longer needed…
-cleaned up some old files and code that are no longer needed

-renamed the Mapping sub-object to MapNotes

-moved the Minimap and Worldmap note templates into their respective XML files

-GatherMapNotes.lua and GatherMiniNotes.lua are now loaded via their respective XML files since they cannot function without those files

  1. … 16 more files in changeset.
moved Minimap drawing functions into GatherMiniNotes.lua
moved Minimap drawing functions into GatherMiniNotes.lua
  1. … 10 more files in changeset.
(fixes #93) added a lookup for the gather type by node id if an invalid gatherType is passed to AddNode
(fixes #93) added a lookup for the gather type by node id if an invalid gatherType is passed to AddNode
-potential fix for some nodes not being recorded correctly (actually it's a display problem due to a bad gather type token being passed by swag)
-potential fix for some nodes not being recorded correctly (actually it's a display problem due to a bad gather type token being passed by swag)

moved branches/3.0 to trunk
moved branches/3.0 to trunk
  1. … 231 more files in changeset.