Small recipe retrieval change.
This little query change should make it so there is no need for redundant fail/succeed/component rows for the same item in a recipe entry.
In zone\tradeskills.cpp GetTradeRecipe() Replace: Code:
qlen = MakeAnyLenString(&query, "SELECT item_id,successcount FROM tradeskill_recipe_entries" Code:
qlen = MakeAnyLenString(&query, "SELECT item_id,successcount FROM tradeskill_recipe_entries" Code:
qlen = MakeAnyLenString(&query, "SELECT item_id,failcount FROM tradeskill_recipe_entries" Code:
qlen = MakeAnyLenString(&query, "SELECT item_id,failcount FROM tradeskill_recipe_entries" |
This has now been added to Revision 702 on the SVN.
|
All times are GMT -4. The time now is 01:21 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.