Download
(3 Kb)
Download
Updated: 08/14/17 02:59 PM
Compatibility:
Horns of the Reach (3.1)
Updated:08/14/17 02:59 PM
Created:10/11/15 09:41 AM
Monthly downloads:26
Total downloads:3,246
Favorites:4
MD5:
Categories:Developer Utilities, Utility Mods
Dumper
Version: 7
by: Ayantir [More]
Based on the original Garkin's Dumper.

Dumper dumps useful things in order to easily get some data, editing wiki pages or update addons
All dumps are in Lua and accessible throught Dumper.lua in SavedVars

If you fork this addon, please take care to do not leak any global !

TODO : items (hard)

& others ?

don't have ideas for now. If you made a quick & Dirty dump for your usage, code is greatly apreciated. Same for improvements.
Only static dumps please, no Leaderbords dumps or those kind of things.



Usage :
  1. DISABLE ALL ADDONS
  2. Set the game language to the desired output
  3. Type a command


Commands :


/gd : Dump the _G table : dump is divided into 5 parts :
  • tables
  • protected (functions)
  • private (functions),
  • (public) functions
  • constants




/sounds : Dump the SOUNDS table

Lua Code:
  1. key = value




/achiev : Dump the achievements

Lua Code:
  1. [1026] =  -- GetAchievementId()
  2.     {
  3.         ["subCategory"] = 5, -- loop of numSubCatgories in GetAchievementCategoryInfo()
  4.         ["posInList"] = 2, -- loop of numAchievements in GetAchievementCategoryInfo()
  5.         ["achievName"] = "Recipe Card", -- GetAchievementInfo()
  6.         ["criterions"] =
  7.         {
  8.             [1] = -- loop of GetAchievementNumCriteria()
  9.             {
  10.                 ["numRequiredCrit"] = 10, -- GetAchievementCriterion()
  11.                 ["descriptionCrit"] = "Learn 10 Provisioning Recipes.", -- GetAchievementCriterion()
  12.             },
  13.         },
  14.         ["description"] = "Learn 10 Provisioning Recipes.",  -- GetAchievementInfo()
  15.         ["category"] = 5, -- loop of GetNumAchievementCategories()
  16.         ["numCriteria"] = 1, -- GetAchievementNumCriteria()
  17.     },



/keeps : Dump the AvA keeps

Lua Code:
  1. for i=1, 300 do
  2.     if zo_strformat(SI_TOOLTIP_KEEP_NAME, GetKeepName(i)) ~= "" then
  3.         GLOBAL_DUMPER[i] = zo_strformat(SI_TOOLTIP_KEEP_NAME, GetKeepName(i))
  4.     end
  5. end


/books : Dump the Lore library -- A character with unlocked Edeitic Memory is required to dump this 2nd category


Lua Code:
  1. DUMP =
  2. {
  3.     ["Shalidor's Library"] = -- loop in GetNumLoreCategories() + GetLoreCategoryInfo()
  4.     {
  5.         ["Glenumbra Lore"] = -- loop of numCollections in GetLoreCategoryInfo() + GetLoreCollectionInfo()
  6.         {
  7.             [1] = -- loop of numBooks in GetLoreCollectionInfo()
  8.             {
  9.                 ["bookNumber"] = 7, -- GetLoreBookInfo()
  10.                 ["title"] = "The Code of Mauloch", -- GetLoreBookInfo()
  11.             },
  12.         },
  13.     },
  14. }



/poi : Dump the POI of the current map


Lua Code:
  1. DUMP =
  2. {
  3.     [395] = --GetCurrentMapZoneIndex()
  4.     {
  5.         [1] = --loop of GetNumPOIs()
  6.         {
  7.             ["icon"] = "/esoui/art/icons/poi/poi_ruin_incomplete.dds", --GetPOIMapInfo()
  8.             ["normalizedY"] = 0.7787200212,--GetPOIMapInfo()
  9.             ["normalizedX"] = 0.0869828537,--GetPOIMapInfo()
  10.             ["name"] = "Paragon's Remembrance", --GetPOIInfo()
  11.             ["poiType"] = 13,--GetPOIMapInfo()
  12.         },
  13.         ["zoneName"] = "Wrothgar", --GetZoneNameByIndex()
  14.     },
  15. }


/mapindex : Dump the Map Indexes


Lua Code:
  1. key = name

/zoneindex : Dump the Zone Indexes


Lua Code:
  1. key = name


Lua Code:
  1. DUMP =
  2. {
  3.     [337] = --collectibleId
  4.     {
  5.         ["name"] = "Lodorr's Crown", -- GetCollectibleInfo()
  6.         ["categoryType"] = 5, -- GetCollectibleInfo(), CollectibleCategoryType
  7.         ["purchasable"] = false, -- GetCollectibleInfo(), true = can be bought in ESO Crown Store
  8.         ["description"] = "The metal is warm to the touch.", -- GetCollectibleInfo()
  9.     },
  10. }
======
v7
- API bump

======
v6
- API bump , few commands added

======
v5
- API bump , few commands added

======
v4
- API bump

======
v3
- Added /mapindex to dump the mapIndexes
- Added /zoneindex to dump the zoneIndexes
- Added /collectibles to dump the collectibles

======
v2
- Added /poi to dump POI of the current map.

======
v1
- Initial release
Optional Files (0)


Archived Files (6)
File Name
Version
Size
Uploader
Date
6
3kB
Ayantir
05/31/17 12:53 PM
5
3kB
Ayantir
10/05/16 09:26 PM
4
2kB
Ayantir
06/01/16 01:01 AM
3
2kB
Ayantir
02/09/16 05:11 PM
2
2kB
Ayantir
10/20/15 07:59 PM
1
2kB
Ayantir
10/11/15 09:41 AM


Post A Reply Comment Options
Unread 02/12/16, 09:54 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
I wrote a complete Library for this, LibSkillsFactory., but why not.
Report comment to moderator  
Reply With Quote
Unread 02/12/16, 02:40 AM  
silentgecko
 
silentgecko's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 18
Uploads: 0
you could add to dump abilities

wrote myself a little (not released) addon for it, based on garkins comment.

Code:
local savedVars = self.savedVariables.data
    local lang = GetCVar("language.2")
    local list = savedVars.abilities or {}

    for abilityId = 1, 100000 do
        if DoesAbilityExist(abilityId) then
            list[abilityId] = list[abilityId] or {}
            list[abilityId][lang] = GetAbilityName(abilityId)
        end
    end
    --write back to savedvars
    savedVars.abilities = list
Report comment to moderator  
Reply With Quote
Unread 02/09/16, 05:12 PM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
Thanks for the comment

- API Bump & Few dumps added for v3.
Feel free to ask anything useful to dump.
Last edited by Ayantir : 02/09/16 at 05:12 PM.
Report comment to moderator  
Reply With Quote
Unread 01/08/16, 11:07 AM  
Asmodean
 
Asmodean's Avatar

Forum posts: 0
File comments: 6
Uploads: 0
Great tool. Surprised there are no comments :o

Thanks a lot for sharing.
Last edited by Asmodean : 01/08/16 at 11:07 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: