DataStore_Crafts

DataStore_Crafts is part of the DataStore series.

Its purpose is to scan and store data related to Tradeskills & Recipes for all your characters, and act as a data abstraction layer for client addons, which no longer have to scan or store this information.

More information can be found on the main page : DataStore

Specific details (usage/scope) will be posted later as separate pages on this project.

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of Thaoky Thaoky Nov 20, 2010 at 13:17 UTC - 0 likes

    After the game is patched and the client cache is cleaned, the tradeskill pane will not be able to list all professions at once. You can see that just a bunch of crafts are listed, totally uncategorized.

    The test you posted actually tests the very first line, and if the line is not a header, it simply skips the scan, as it will be incomplete anyway. This is true for all primary and secondary professions (although I'll have to dig further for archaeology).

    If you have a specific concern about this, just PM me :)

    Thaoky

  • Avatar of ArkasAest ArkasAest Nov 14, 2010 at 22:57 UTC - 0 likes

    hi, just got the updated r28 version of DataStore_Crafts and i am wondering something..

    	local skillName, skillType = GetTradeSkillInfo(1)	-- test the first line
    	if skillType ~= "header" then return end				-- skip scan if first line is not a header.
    

    will the above fail if you only have the supporting skills and not a primary/secondary skill?

    ie someone doesnt choose a main prof but does have the fishing/cooking/first aid skills..

    since it always checks index one i am wondering if the behavior is what you wanted..

    thanks in advance

  • 2 comments

Facts

Date created
Jun 29, 2009
Category
Last update
Jul 24, 2014
Development stage
Release
License
All Rights Reserved
Curse link
DataStore_Crafts
Reverse relationships
1
Downloads
794,803
Recent files
  • R: 5.4.007 for 5.4.8 Jul 24, 2014
  • A: r53 for 5.4.0 Oct 06, 2013
  • A: r52 for 5.4.0 Oct 06, 2013
  • A: r51 for 5.4.0 Sep 17, 2013
  • A: r50 for 5.4.0 Sep 11, 2013

Authors