irclog2html for #wowroster on 20061218

02:09.55*** join/#wowroster Nickthestick86 (n=Nickthes@64-148-244-255.lightspeed.snantx.sbcglobal.net)
02:10.08Nickthestick86anyone here? I got a question
02:56.53Anaxentcheck out the new trailer for BC  http://infragilisguild.com/index.php?name=ForumsPro&file=viewtopic&p=381#381
05:34.49*** join/#wowroster Anaxent (n=Anaxent@ip68-3-142-242.ph.ph.cox.net)
05:34.49*** mode/#wowroster [+o Anaxent] by ChanServ
05:35.10Anaxentwhats up guys
06:13.02Zanix|awayhi
06:13.17Zanixtoo bad I missed chris
06:35.39*** join/#wowroster Zanix_ (n=Zanix@71-221-151-133.bois.qwest.net)
07:15.28*** mode/#wowroster [+o Zanix] by ChanServ
07:17.15Anaxentyes it is too bad, but mathos was here for a bit and PleegWat got alot acrossed
07:17.53Anaxentand if you have logs in dev chan you can see
07:18.17AnaxentPleegWat, has made the changes needed to get the framework working with no errors
07:19.54Zanixcool
07:22.28Anaxentso how were pictures
07:27.09AnaxentI had to take them last week
07:27.19Anaxenthttp://infragilisguild.com/index.php?name=ForumsPro&file=viewtopic&t=137
07:28.12ZanixIve seen that vid
07:39.21Zanixcoolness
08:14.10*** join/#wowroster Orphis (n=Orphis@sop06-1-82-228-251-21.fbx.proxad.net)
09:26.11*** join/#wowroster Zanix_ (n=Zanix@71-221-151-133.bois.qwest.net)
09:32.01*** mode/#wowroster [+o Zanix] by ChanServ
12:49.09Liandrahm, interesting: http://serenityguild.eu/roster-beta/addon.php?roster_addon_name=recipe&proffilter=Engineering&filterbox=bomb
12:49.21Liandrasome recipes are there twice
12:49.29Liandrawith the ingredients in a different order
13:07.38PleegWatI notice
13:07.51PleegWatNoone really knows how recipe works though
13:08.26PleegWatIt's probably a data issue basically. Different persons having it, and it's stored for each one
13:08.31PleegWatand not all with the same recipe order
13:10.28Liandracould you alphabetise the ingredients then? that might help
13:10.54Liandraeither in CharacterProfiler.lua or in the db/website :)
13:11.28PleegWatThe ingredients are caught in a string
13:11.38Liandraah, that makes it a bit harder
13:11.46PleegWatOr at least, they used to be in a single tring in CP
13:11.53PleegWatThey're in an array starting 2.0
13:12.06PleegWatBut we're converting back to string for 1.7.2 to save on code rewrites
13:12.46Liandracould you order the array by something (alphabet?) in CP 2.0?
13:13.25Liandrathat might fix iths
13:13.26PleegWatWe probably could order it, but that wouldn't help with all the current data in the system
13:15.46PleegWatYeah, we're currently still storing it in the order CP catches it
13:16.09PleegWatOrdering it probably wouldn't fix the bug completely and as I said noone really knows how recipe works anymore
13:16.16PleegWatExpect it fixed in R2
13:16.27PleegWatcause that's a full rewrite
13:16.32Liandraok, sounds good
13:16.36Liandrajust trying to help out here :)
13:18.13PleegWatMeanwhile you could try going into phpmyadmin and manually fixing the recipes so all records with the same recipe name have the same tooltip/reagents
13:19.52Liandranot going to bother with that; just playing around with the beta now, and when the new version is released, i'll throw everything away and install a fresh roster
13:20.17PleegWatic
13:20.37Liandraas Anaxent recommended, since there won't be a beta -> release automatic upgrade path :)
13:23.46Liandrai can't find any pattern in which items do have a full tooltip and which items don't, in http://www.serenityguild.eu/roster-beta/addon.php?roster_addon_name=equipview
13:23.58PleegWatNeither can us and calvin
13:24.01PleegWatIt's a CP error
13:24.04PleegWatThat's about all we know
13:24.34Liandrais the tooltip data exported from the game to the database and used from there?
13:24.41PleegWatyes
13:24.54Liandraso not retrieved from an external source based on item name
13:25.01PleegWatno
13:25.05PleegWatIt's caught from the game
13:25.18Liandratoo bad i don't have my CharacterProfiler.lua datafile here at work
13:30.37PleegWatLet's see if I've got you some recipe data
13:31.42PleegWatSorry, I don't have any recipe data yet
13:34.24Liandramysql> select * from roster_recipes limit 1\G
13:34.28Liandra<PROTECTED>
13:34.46Liandrashould be able to split that by <br> and order it alphabetically, i guess?
13:35.19PleegWatyeah
13:35.26PleegWatNot sure if mysql can do taht
13:35.42PleegWatWould take some work if you have to loop all records through PHP
13:36.08Liandrawell, cough, with a proper table layout, mysql could do it for you :)
13:36.22Liandrabut like this, no
13:36.30PleegWatIt always used to be a string
13:36.40PleegWatMost probably it'll be a seperate table in 2.0
13:36.57PleegWatWe're dealing with inconsistent static data at time
13:37.15PleegWatBut hopefully we'll be able to store static data only once in seperate tables in 2.0
13:39.42Liandrahrm, this is weird
13:39.43Liandrahttp://serenityguild.eu/bomb.txt
13:40.10PleegWatIt'll be pulling DISTINCT records without the member_id
13:40.32Liandrawhat is the reason that there is no unique constraint (if there's such a thing) on recipe_name?
13:40.59PleegWat$query= "SELECT distinct recipe_tooltip, recipe_name, recipe_type, item_color, skill_name, reagents, recipe_texture, level, 1 difficulty FROM `".ROSTER_RECIPESTABLE."` WHERE `skill_name` = '$skill_name' ".($search==''?'':" AND (recipe_tooltip LIKE '%".$search."%' OR recipe_name LIKE '%".$search."%')");
13:41.22PleegWatIt's stored completely seperately per character
13:41.32PleegWatDunno the history
13:41.56PleegWatBut every character in roster 1x has a complete personal set of data
13:41.59Liandrait sounds highly unlikely that there could be identical recipe_name rows with different ingredients
13:42.07PleegWatBesides the guild table everything is keyed on member_id
13:42.34PleegWatThe query I pasted is the one used to fetch recipes
13:43.08PleegWatit's in lib/recipes.php
13:43.29PleegWatIt might be possible to fiddle with it so it only returns each recipe name once
13:43.41Liandrasounds like bad database design if you need 'distinct' to make sure recipes are unique
13:44.01PleegWatIt is
13:44.02Liandraone should check if there is a recipe with that name already before inserting a recipe :)
13:44.14PleegWatThat just isn't how the system was built
13:44.15Liandrawhat if you remove "reagents, " from that query?
13:44.20PleegWatIt stores the recipe keyed on character
13:44.20Liandraoh wait, i can try that myself
13:44.35PleegWatYou'll get errors cause it requests the reagents later on
13:44.51Liandrahrmph
13:45.03Liandrait should get the reagents, but not use them for distinct
13:45.27PleegWatprobably
13:45.27Liandracan you do SELECT reagents, DISTINCT <other stuff> FROM ... ?
13:45.34PleegWatBut I'm not sure waht the syntax is
13:47.07PleegWatI THINK you can do distinct over a single field
13:49.08PleegWatbut it doesn't seem to be in the mysql manual
13:49.38PleegWatYou could fetch the reagents afterward probably
13:50.29Liandrain the code, how do you access a value in a resultset from a query? by name of the column?
13:51.02PleegWatyes
13:51.19Liandraphew, so i can rearrange the columns in the SELECT without the code breaking
13:51.28PleegWatWell, actually there are 2 fetch methods. One allows you to fetch by name, the other by the index in the SELECT
13:51.31PleegWatBut we always use the name
13:51.50Liandra/pat :)
13:52.16Liandrai tried SELECT reagents, DISTINCT <the rest of the query> but that gave a SQL error :(
13:52.34PleegWatTry DISTINCT(recipe_name),<the rest>
13:53.56Liandrano cookies
13:54.16PleegWatI think you're gonna need subqueries then
13:54.22PleegWatTried not fetching the reagents at all yet?
13:54.56PleegWatWe definitely need static data tables in R2
13:54.58Liandraa colleague suggests starting by SELECT DISTINCT recipe_name INTO temptable; and then using that temp table
13:55.16Liandrawhat exactly do you mean by static data tables?
13:55.32PleegWatMight be better to say environment data
13:55.43Liandrahow is that data obtained/updated?
13:55.45PleegWatSplit stuff that only changes in patches from stuff that changes allt he time
13:55.53Liandrametadata :)
13:55.55PleegWatIt's all from CP in the end
13:56.06Liandrabut yes, that sounds good
13:56.23Liandratreat some CP data as (almost) static, and the rest as highly volatile
13:56.25PleegWatBut not store all recipes each character has, but have a recipe table with all recipes we've ver seen
13:56.37PleegWatBut cause of bad data and changing data, you'd need to account for differences
13:56.56LiandraMooncloth Bag recipe changing from 2 mooncloth needed to 1 mooncloth needed
13:57.01PleegWatyeah
13:57.15PleegWatAnd a guy with bad data stating it needs 2 runecloth
13:57.31Liandrauser accounts could help in that
13:57.49Liandraif a user account with the "trusted" flag uploads new 'static' data, the old version is overwritten
13:57.55Liandrafor example
13:58.21PleegWatI'd been thinking myself of storing 2-5 examples of each and use a scoring system to determine what is relyable data
13:59.18Liandrasounds good too, if you can get it to work :)
14:01.28Liandramore stable too, if you have enough people uploading the correct data
14:02.04PleegWathopefully
14:06.38Liandrapersonally, I'd probably make one table with items, one table with recipes, and one connecting table with recipe_id, item_id, count
14:06.57Liandrato solve this particular problem
14:06.59PleegWatFor reagents?
14:07.04PleegWatWe'd probably would
14:07.13PleegWatThe new reagent array includes item_id's, I think
14:07.17Liandrathe item table would hold reagents, but also all other items
14:07.36PleegWatcourse
14:07.52Liandrathere are some recipes which require another crafted item, to upgrade it
14:07.57LiandraOnyxia's Cloak for example
14:07.59PleegWatThe problematic thing is how to do skills properly
14:08.09PleegWatCause skills can change with talents, and the numbers change in the tooltips too
14:08.28Liandraskills, like Heroic Strike and Fireball?
14:08.46PleegWatBasically we'd be building a small thottbot or allakhazam with items and recipes.
14:09.02PleegWatBut we wouldn't be able to be unique on skills that change with talents without hardcoding talents.
14:09.14PleegWatAnd hardcoding is something we definitely don't want
14:10.55PleegWatWell, we could put the whole talent build into the skill's unique field but we don't want that either
14:12.13Liandrafixed!
14:12.15Liandrawell, patched
14:12.50PleegWathow'd you do it?
14:13.11Liandrai inserted this line on line 122 of recipe.php:
14:13.11Liandra$query .= " GROUP BY recipe_name";
14:13.18Liandrabefore the switch($sort)
14:13.26PleegWathm
14:13.30Liandrabut that's a dirty mysql hack which should not be recommended
14:13.42Liandrabecause mysql chooses a random row of all the ones with the same recipe_name
14:13.45PleegWatyeah, it did say in the mysql that DISTINCT is processed with group by
14:13.55PleegWatyeah, but since the rows should be unique anyway
14:13.59Liandrathis is not valid SQL, it only works in MySQL
14:14.10Liandraif you migrate to postgres, pg will tell you to sod off :)
14:14.10PleegWatIf it works in 1.7.2 it's fine with me
14:14.44Liandrahttp://www.serenityguild.eu/roster-beta/addon.php?roster_addon_name=recipe&proffilter=Engineering&filterbox=bomb
14:19.14Liandrawell, it works for a mysql backend
14:19.49PleegWatwe're rewriting for R2. That will hopefully need less hacks for being set up better
14:25.13Liandraif i can help out with any design stuff, i'll be glad to help
14:25.21Liandrabut currently i don't really have any time for coding
14:26.54PleegWatWell, theres some decisions already made, mainly about the volatile data
14:26.59PleegWatWe'll be doing multiguild
14:27.26PleegWatWe'll split the guild member table in 2, one for generic character data and one that is specific to the guild membership
14:28.35PleegWatThen all sorts of character data can go into the char table, including PUG raid group joiners and PVP opponents if there's addons that get that data
14:40.50Liandrasounds good
14:41.03Liandrai'm a bit afraid for one thing though
14:41.33Liandramalevolent people who edit their CharacterProfiler.lua data file and change their player name into someone else's
14:47.22PleegWatThat could be a problem now
14:47.26PleegWatBut R2 will have auth
14:48.07*** join/#wowroster Sylphid|work (n=gamesand@64.6.15.110.outfitters.com)
15:31.46*** join/#wowroster Mathos (n=Mathos@mail.smtware.com)
15:31.46*** mode/#wowroster [+o Mathos] by ChanServ
15:34.16*** join/#wowroster Mathos (n=Mathos@mail.smtware.com)
15:34.16*** mode/#wowroster [+o Mathos] by ChanServ
16:25.59*** join/#wowroster Anaxent (n=Anaxent@209-250-16-194.convergentaz.net)
16:25.59*** mode/#wowroster [+o Anaxent] by ChanServ
16:26.19Anaxentgood morning
17:56.32*** join/#wowroster sepeck (n=sepeck@054.172-78-65.ftth.swbr.surewest.net)
21:13.58*** join/#wowroster iafhq (n=iafhq@24-216-66-15.dhcp.stls.mo.charter.com)
21:15.03iafhqhi, I dont have CharacterProfiler.lua or PvPLog.lua  why is that?
21:29.21*** join/#wowroster Sylphid (n=gamesand@64.6.6.6.outfitters.com)
21:53.50Anaxenthave you downloaded them yet
21:54.07Anaxentthey are seperate addons that ae installed into the wow addon directorys
22:57.08iafhqnope, not yet may I get a link?
23:01.40*** join/#wowroster Sylphid|work (n=gamesand@staff-110.outfitters.com)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.