• 0

    posted a message on Getting the new cooking professions ranks
    wow, how aggravating. thanks for the info, guys. i wonder if they'll make these linkable at some point, tho with multiple skill levels it seems unlikely.

    if they like this kind of functionality (multiple concurrent specialties on a tradeskill) i'm a little concerned this might end up in other tradeskills... :(
    Posted in: Lua Code Discussion
  • 0

    posted a message on Getting the new cooking professions ranks
    i don't have mop. i'm trying to update things using the ptr w/o mop. do i need mop to access these "way of" cooking recipes? when you specialize, do you get a new cooking profession id? can you get all 6 specialties at the same time or do you have to swap them out and level one at a time? can you link these ways to other players like a normal tradeskill?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Getting the new cooking professions ranks
    so i'm trying to get gw to work with the new cooking levels... am i reading correctly that you use GetTradeSkillLine() to check for which category each recipe falls in?

    if they like this, i wouldn't be surprised to see it end up in other trade skills.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Getting the new cooking professions ranks
    can you link cooking skills with these specialties? if so, then there's got to be something embedded in the tradeskill link i would think. if not, then it's a good bet it'll only be accessible when the skill is live.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Figuring out workings of third party addons hard as hell?
    honesty, gnomeworks confuses me sometimes, too.
    Posted in: General Chat
  • 0

    posted a message on libpt's dataminer
    update: it seems to work for me now... dunno what changed.

    also, the wowhead data now includes detailed info on stack counts for mills and prospects. woot.
    Posted in: Lua Code Discussion
  • 0

    posted a message on libpt's dataminer
    just tried again to see if maybe it was change to wowhead... no luck.

    i get data for the page, but if i copy and paste that data to a file (x.html) and then open that file, i get a "tooltip" page instead of the normal webpage with all the extra columns and such.

    namely, this data i need that's missing:
    new Listview({template: 'item', id: 'milled-from', name: LANG.tab_milledfrom, tabs: tabsRelated, parent: 'lkljbjkb574', extraCols: 
    [Listview.extraCols.count, Listview.extraCols.percent], sort:['-percent', 'name'], computeDataFunc: Listview.funcBox.initLootTable, data: [{"classs":7,"id":8839,"level":47,"name":"6Blindweed","slot":0,"source":[2],"subclass":9,count:57574,outof:57577},{"classs":7,"id":4625,"level":41,"name":"6Firebloom","slot":0,"source":[2],"subclass":9,count:44029,outof:44032},{"classs":7,"id":8845,"level":47,"name":"6Ghost Mushroom","slot":0,"source":[2,5],"sourcemore":[{"n":"Lhara","t":1,"ti":14846}],"subclass":9,count:9408,outof:9409},{"classs":7,"id":8846,"level":50,"name":"6Gromsblood","slot":0,"source":[2,5],"sourcemore":[{"n":"Vi'el","t":1,"ti":16015,"z":618}],"subclass":9,count:13278,outof:13280},{"classs":7,"id":8836,"level":44,"name":"6Arthas' Tears","slot":0,"source":[2],"subclass":9,count:18029,outof:18032},{"classs":7,"id":8838,"level":46,"name":"6Sungrass","slot":0,"source":[2],"subclass":9,count:63076,outof:63091},{"classs":7,"id":8831,"level":42,"name":"6Purple Lotus","slot":0,"source":[2],"subclass":9,count:57889,outof:57903}]});
    this along with all the other Listview blocks...

    i'll see about setting up irc, but i'm not really "at my computer" at the moment.
    edit: maybe i'll try it on my mac. i'm thinking it might be related to different installed libs and interactions with the web...
    Posted in: Lua Code Discussion
  • 0

    posted a message on libpt's dataminer
    Quote from Elkano
    just tried it myself and it's working fine here :/
    what do you reget as return from the call?


    so you used the latest libpt's "getpage()" function on that itemID and it gave you a page that included the "milled-from" data?

    hmm...
    Posted in: Lua Code Discussion
  • 0

    posted a message on libpt's dataminer
    i don't know if libpt's data scanner serves its own purposes, but the code used to get data from wowhead doesn't work for me. it used to.

    basically, i know squat about how one goes about collecting data from a web site. so i just copied the basic code from the libpt miner. i'm basically calling "getpage()" which takes a url and gives you a big text string representation of the html page located at that address.

    i'm querying by itemID. so i call getpage("http://www.wowhead.com/item=39340")

    so if you look at the html source of the page in a browser, there is a group of "listview" tables ("milled-from" or example).

    http://www.wowhead.com/item=39340

    but the results from getpage() don't contain that info. it USED to, but i'm thinking maybe there's some token being fed to the server that indicates the browser i'm using to assist in formatting. that's the only reason i can figure why one means of collecting the data fails where the other succeeds.
    Posted in: Lua Code Discussion
  • 0

    posted a message on libpt's dataminer
    i believe they've shared data with norganna. not sure if they're into sharing with others or what. since they get scraped anyways, you'd think a low bandwidth version of their data would save everybody a ton of trouble.

    i'm wondering if my problem is related to them trying to detect my browser so they can format appropriately (like for a phone or something). the data i'm not getting is the tabbed columns of things like milling data (view a pigment and then collect which herbs it comes from).
    Posted in: Lua Code Discussion
  • 0

    posted a message on libpt's dataminer
    so i have a dataminer based mostly on libpt's dataminer. it scrapes wowhead to get data.

    it seems that the data i get using the "getpage()" function is not the same as the data i get if i use my browser and view source. namely, the missing data is the data i'm hoping to get.

    anybody familiar with the libpt dataminer code?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Profession leveling addon
    that's an ancillary goal for gnomeworks. it can kind of do it, sort of, but it could be better.

    there's no "optimize" button, but you can pre-plot your skillups based on current costs from the ah and your available inventories.

    if you visit a trainer, it will record the levels at which you can attain new abilities and it knows the skill up chance for all skills, so it can predict the skillups for each queue'd item. as you queue things, it will guess at the level you'll be when you've executed the entire queue. this level will be used to "unlock" the skills you have recorded from the trainer and the window will color things appropriately based on the estimated level.

    the biggest problem is that gw's pricing scheme isn't quite as automated as i'd like -- you have to manually jigger some things to see if it's cheaper. because a reagent might have multiple ways to generate it, the ideal path might include a mix of different techniques... it's actually pretty complicated when include things like milling and disenchanting...
    Posted in: Addon Ideas
  • 0

    posted a message on Dressing Room with stats
    at one point, i hacked my local wowequip to tie into pawn ratings. the itemlist could then be sorted by your pawn scores to narrow down the search for upgrades... wasn't too hard. just in case dridzt is feeling ambitious...
    Posted in: Addon Ideas
  • 0

    posted a message on Calling LoadAddOn in OnEnable breaks some ADDON_LOADED calls?
    Quote from pigmonkey
    Okay, once more. I need to work on my explanations.

    The event is never registered at all. This is especially troubling with AceEvent, because after it thinks it registered it, it will not try again for any subsequent addons yet it will never receive any calls to pass on to the addons.

    And also remember that this is not necessarily in your addon. If you are registering the event and someone else is loading the addon and you both use Ace, there is a chance that you will be affected.


    indeed, i was breaking auctioneer by trying to load it during an ADDON_LOADED event in lsw.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Calling LoadAddOn in OnEnable breaks some ADDON_LOADED calls?
    when the change first occurred, they simply wouldn't register. not sure if that's been changed.

    if your addon interacts with other addons, it seems like ensuring they're loaded as part of your initialization makes sense.
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.