Too many recipes?

Quick and easy way to see what recipes your character is missing

Moderators: zeryl, Teta68

Too many recipes?

Postby Teta68 » Wed Oct 29, 2008 9:53 pm

When using the addon, you will see that there are too many recipes listed. The extraineous recipes are copies/doubles. There is nothing you can do about it, it is because Allakhazams database is f**ked up again.
I will leave the addon as is for now, but if Allakhazam doesn't fix this problem in the next few days, I will try and fix it in the addon.

Regards,

Teta
I break for giant Cyber-Hamsters.
User avatar
Teta68
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 72
Joined: Fri Jan 19, 2007 12:15 pm
Location: Sweden

Too many recipes?

Postby Ulminia » Wed Oct 29, 2008 11:17 pm

..... easyist way .... get an array of all the recipie item id's addthem in a local file ... use your script to call the info for each item id... neet huh if you wana try this i can have a list for you in a day i think ....
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: Too many recipes?

Postby Teta68 » Wed Oct 29, 2008 11:23 pm

I've contemplated something like that, but in a database table. Unfortunately, that also implies maintenance to keep the table updated every time a new item is found or updated in Allakhazams database. I do not want to do that, I have enough other things to do :P

I was more thinking in the line of cleaning up the data from Allakhazam when I do the lookup. Removing all duplicates from an array is not so difficult.

Regards,

Teta
I break for giant Cyber-Hamsters.
User avatar
Teta68
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 72
Joined: Fri Jan 19, 2007 12:15 pm
Location: Sweden

Too many recipes?

Postby cwpc » Wed Oct 29, 2008 11:36 pm

is it at all possible to pull the data from other sources - Like Wowhead, or crafters tome?
Image
Image
Image
User avatar
cwpc
WR.net Expert
WR.net Expert
 
Posts: 151
Joined: Wed Jun 13, 2007 9:07 pm
Location: The Edge of Insanity

Too many recipes?

Postby Ulminia » Wed Oct 29, 2008 11:52 pm

yes cretting and array and stripdup or what ever the function is would work perfect... and as for updates in the game not that hard just re release and install.lib.php with new item data for your data base lol but the array check soulds better lol
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: Too many recipes?

Postby tuigii » Thu Oct 30, 2008 5:59 am

Better yet : instead of created huge php language file for every possible item : why not creating an SQL table and stash every items / recipes in it.
Leave the table empty to start with.
When the addon find a "new" recipes, and they aren't "local" then make a call to Allakhazams for the lookup, and stash it in the table.

This approach will also be appreciates cheated by Allakhazam, who get hit really hard with all these massive requests ^^
ur Roster servers will handle the load also more easier : just some simple SQL requests.
No big PHP file language files to manage neither.

If troubles : make it possible to reset / empty the SQL table and also : rewrite the lookup function so it accepts more then one lookup-source (as Allakhazams now is) - if these exists.

"Just my tow cents" ;-)
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Too many recipes?

Postby Teta68 » Thu Oct 30, 2008 2:06 pm

tuigii wrote:---8<---
When the addon find a "new" recipes, and they aren't "local" then make a call to Allakhazams for the lookup, and stash it in the table.
---8<---

I have thought about this way of working, but the only way the addon can find a "new" recipe is by searching Allakhazam. The addon is called Missing Recipes, so I need to know the recipes wowroster can't find on a character.

Regards,

Teta
I break for giant Cyber-Hamsters.
User avatar
Teta68
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 72
Joined: Fri Jan 19, 2007 12:15 pm
Location: Sweden

Re: Too many recipes?

Postby tuigii » Thu Oct 30, 2008 3:34 pm

Teta68 wrote:...but the only way the addon can find a "new" recipe is by searching Allakhazam....


:? Sorry for not making clear that is an something quiet logic.
(I'm using the same approach with my rewrite of the actual 2.0.0 "reputations" - see elsewhere on this forum).
New recipes (or reputations for that matter) aren't known by your chars by default, except when they are learned.
I very well understood that your addons shows things that you (chars) don't know yet - and not the other way around.

So let me add this : "one in a while, let's say one in 24 hours, your addon should sync with an external reference - in this case Allakhazam (or who ever)"

This will speedup overall WoWRoster site performance.
Of course, I said "24 hrs" because I presume that Blizzard (read : Allakhazam ) will not add every day new recipes (neither reputations, my sync is ones a week).

I'll finish up my "reputations" so you can see how I implemented it.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Too many recipes?

Postby Teta68 » Thu Oct 30, 2008 3:40 pm

Yeah, that sounds good... I'll have a go at it and let you know how I'm doing.

Regards,

Teta
I break for giant Cyber-Hamsters.
User avatar
Teta68
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 72
Joined: Fri Jan 19, 2007 12:15 pm
Location: Sweden

Re: Too many recipes?

Postby GemDog » Wed Feb 10, 2010 10:02 am

did this die out or planed for next roster release?
Image
User avatar
GemDog
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Sat Jan 31, 2009 8:57 am

Re: Too many recipes?

Postby Teta68 » Thu Feb 11, 2010 11:16 am

I haven't been working on this addon anymore for a while now. That's because I'm kinda waiting on what is going to happen with the new WoW expansion and RL is taking up most of my time as well.

Anyway, it's not dead, but it's sleeping (deeply).

Regards,

Teta
I break for giant Cyber-Hamsters.
User avatar
Teta68
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 72
Joined: Fri Jan 19, 2007 12:15 pm
Location: Sweden

Re: Too many recipes?

Postby GemDog » Thu Feb 11, 2010 2:47 pm

Thanks for getting back to me, I hope its not in a coma thought :o
Image
User avatar
GemDog
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Sat Jan 31, 2009 8:57 am


Return to Missing Recipes

Who is online

Users browsing this forum: No registered users and 0 guests

cron