Download
(20Kb)
Download
Updated: 09-25-24 02:40 PM
Pictures
File Info
Compatibility:
The War Within (11.0.2)
Updated:09-25-24 02:40 PM
Created:09-20-24 03:39 PM
Downloads:59
Favorites:0
MD5:
11.0.2

XCooking : NomiResearch  New this week!

Version: 11.0.2.56647.1
by: Xrystal [More]

Introduction

With The War Within adding to the alt friendly environment with the ability to level how you like with alts. I thought I would look through my arsenal of characters and see if a particular skill would benefit more with a certain character. And, so, it was discovered that Pandas get a bonus to eating and cooking. So .. My two Panda characters are now hunter (monk) and chef ( shaman ).

I loved the ability to just gather, craft and sell my way through a game ( *cough* Star Wars Galaxies ) so hopefully I will be able to do something similar with at least these two characters.

What is it ?

This addon helps you to keep track of your Legion Level Cooking Research via Nomi's Test Kitchen in Dalaran. It works from several event triggers on login and when you use the Work Order Recipe Screens when talking to Nomi. Because the pending work order details are only available when accessing those screens, the information is stored in the saved variables file and timing recalculated for an estimated delivery time until the next work order recipe screen you use. Those screens will also help reset the views on the main addon window as there is nothing to confirm NOTHING is ready and NOTHING has been ordered outside of those screens.

The main addon window also houses the list of quests you need to complete to start the Nomi Kitchen Research. 4 quests are known, but the initial 2 appear to be one or the other, so you will likely only see details for 3. It also shows how many ingredients you have available in your accessible areas ( inventory, bank, reagent bank, warband bank ) and any Legion recipes that include those ingredients. Some will be discoverable but some will be found outside of the Kitchen. The Crafting Window gives you the information for that. And finally, the Work Order Status and Pending Orders pages. And then the last tab will let you close the window.

/nomi or /xcnr will open the window. Opening the window will start some of the data grabbing that requires the tradeskill frame to be open by quickly opening and closing it and then processing the data. Other data gathering is done via a variety of log in events.


Credit Where it's Due

It was during my search around for how to complete my Legion Cooking ( I had forgotten about the research after all this time ) that I stumbled across Nomi Cakes on Curse ( https://legacy.curseforge.com/wow/addons/nomicakes ) created by Semlar that had been destroyed by the changes in Dragonflight. That was 10 days ago and I think my version inspired and assisted ( data wise ) by Semlar is now ready for public access.


Localizations

By default the few lines of localized texts are in English. But, by simply creating a file and adding the translations in you can add a new language to the mix. Just let me know if it messes up the display due to the length of some words if this is considered.

Updates

Bugs - I will definitely look into any that I see or others report
Classic Version - I don't play classic and Legion isn't in Classic yet, so if and when that happens, people are free to make a Classic Friendly version.

Anything else is a case by case situation but I doubt I will need to change anything while Nomi's Legion Cooking Test Kitchen exists.

Support Links
Bug Reports
Feature Requests

--------------------
-- 11.0.2.56647.1
--------------------
* NomiSlash.lua
* Localization.lua
> Used the Chat Messaging System to display the help rather
than simple print statements ( which I use for debugging purposes )

* NomiResearch.lua
* Localization.lua
- Changed/Introduced the tabs relating to work order shipments

* WorkOrders.lua
* Templates.xml
> Adjusted/Added the frame details for the tabs mentioned above along with resizing
of the font to a smaller one.
> Added functionality to handle no pending shipments and nothing due on the display screen.

* QuestList.lua
> For some reason only one of the introductory quests are available to my characters now ( the name ) , for some reason.
- So I have added a check to not display the line if the details don't exist for the quest in question.

--------------------
-- 11.0.2.56647.0
--------------------
* New Addon

NOTE:
I have tried to cover every eventuality - which is handy with 12 alts of varying cooking skill levels. And I think
I have managed to stop blatant problems from surfacing.
There might also be a time display glitch when the next shipment turns up and the display tries to update
both the old shipment and the new shipment.

IMPORTANT:
I have not done any combat related testing at all as I am assuming that this is being used when not in combat.
The frame is not shown by default when you first log in so in combat login issues shouldn't surface anyway.
But if you spot something that happens that does cause an issue then please let me know.



Files:
* DataCenter.lua - Holds the preset data that is used throughout the addon
* Localization.lua - Currently only English language, and minimal. But, with a check for the value of addonNS.Locale
you can override the addonNS.Translate table with localized values.
* Templates.lua and Templates.xml - Handles the UI requirements

* Ingredients.lua - Handles the stock procedures for the various ingredients used in Nomi's Tests
* Recipes.lua - Handles the management of the various recipes you can acquire and learn from doing research.
* QuestList.lua - Handles the display of the quest chain that unlocks Nomi so you do the work orders.
* WorkOrders.lua - Handles the display in each session within Nomi's work order system.

* NomiSlash.lua - Handles the use of the slash command. Not much there at the moment /nomi help to see the options
* NomiResearch.lua - Nomi's Kitchen and handles the display of the various elements that makes up the addon


* ReadMe.txt - A basic explanation of what the addon was designed to do
* PatchNotes.txt - This file which will hold the patch notes if and when it needs updating.
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
11.0.2.56647.0
18kB
Xrystal
09-20-24 03:39 PM


Post A Reply Comment Options
Unread 09-25-24, 05:33 AM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6007
File comments: 288
Uploads: 30
All WorkOrders Ready Test Results..

Not good. Apparently my attempts to update the frame within the same play session didn't work.

It still kept the last updated version of the pending orders and the status was as if it was still at the status before.

A reload fixed it though, which is good at least.

My hunter will have her orders ready by the end of the day so will have to have another think about this some more.

Edit:
Good News Everybody.
My fake pending orders and status setups made testing and editing to get the process more streamlined.

To reset/clear the pending and status screens after a complete pickup of the orders, simply go to one of the work order screens when talking to Nomi. When it does it's pending order check it will reset the status table and pending orders saved variables table so that when you next visit the appropriate tab it will refresh the screen correctly. Update will be uploaded shortly. Gonna set up a short order to test proper gameplay before signing it off as working as expected.
__________________


All Level 70 Characters:
Demon Warlock
Resto Druid
Disc Priest
Resto Shaman
Survival Hunter
Augment Evoker
Frost Mage
Vengence Demon Hunter
Rogue ( was subtlety )

Brewmaster Monk (TR)
Prot Paladin (TR)
Blood Death Knight ( TR)

As you can see I am missing a warrior

And .. I don't have all the allied races covered. Time Runner time when it happens again

Last edited by Xrystal : 09-25-24 at 06:31 AM.
Report comment to moderator  
Reply With Quote
Unread 09-22-24, 07:31 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6007
File comments: 288
Uploads: 30
What Happens if you had a bunch of ready orders ..

Jumped on my hunter to sort out her auction stuff and got the debug text reminding me shes one of the characters with Nomi access.

Similarly, the next shipment info was pulling up the earliest available order ready for pick up ( I had to access Nomi's Work Order pages to get that pending order list and every order - 12 of them - were ready to pick up ) and repeatedly does so despite many reloads.

Now, a side effect of picking up all work orders after getting a work order list is that the next list will be empty which, skips the updating of the pending list frame. This of course would correct itself with the next order created. It also doesn't trigger the shipment events that triggers the update to the status page.

So, more testing needed to see if I can get these frames cleared to avoid confusion at a later date.

Okay, some debug testing later and when you do the work order process with Nomi it will update the list like normal. Except it will empty the old orders out once it fails to get any pending shipments.
When you next switch to the pending frame it will be empty.

Similarly, I have also updated the status and pending pages to empty the display text if the appropriate table is empty - which SHOULD be a sign that there is nothing there. But, just in case I have set the empty one up to show 24 capacity and 0 pending and 0 ready. So, another test run, the shaman should have a bunch of options available to pick up and the hunter has sent off a ton. At most 2-3 days to test the all picked up changes.
__________________


All Level 70 Characters:
Demon Warlock
Resto Druid
Disc Priest
Resto Shaman
Survival Hunter
Augment Evoker
Frost Mage
Vengence Demon Hunter
Rogue ( was subtlety )

Brewmaster Monk (TR)
Prot Paladin (TR)
Blood Death Knight ( TR)

As you can see I am missing a warrior

And .. I don't have all the allied races covered. Time Runner time when it happens again

Report comment to moderator  
Reply With Quote
Unread 09-22-24, 07:28 AM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6007
File comments: 288
Uploads: 30
Looking Good So Far

Well, I had 3 results to pick up when I logged in today.

The addon correctly calculated that 3 work orders must no longer be pending. And continued to refresh the time frame when displaying the pending frame again. Eventually users will have to visit Nomi to start up some more work orders, and at that point a new list will be generated and used.

I think I got to the bottom of the Queenfish mystery yesterday. Today the items to collect were Black Barracuda ( according to the pending values ) with Wildfowl Eggs next in line after collection.

So, I collected it, and checked to see what the debug message said. It still said barracuda, like the Queenfish all the time I was online yesterday. This time I logged out and back in and it correctly updated to Wildfowl Eggs. Will see if my theory pans out tomorrow.

I also noticed that the Status values are a little wacky when they have ready to pick up items.

Pending = 20
Ready = 3
Max = 24

And 20 - 0 - 24 after the pickup.

But, it has just dawned on me that this doesn't take into available work orders you can request. I may do that calculation and add that option as well.
__________________


All Level 70 Characters:
Demon Warlock
Resto Druid
Disc Priest
Resto Shaman
Survival Hunter
Augment Evoker
Frost Mage
Vengence Demon Hunter
Rogue ( was subtlety )

Brewmaster Monk (TR)
Prot Paladin (TR)
Blood Death Knight ( TR)

As you can see I am missing a warrior

And .. I don't have all the allied races covered. Time Runner time when it happens again

Report comment to moderator  
Reply With Quote
Unread 09-21-24, 07:20 PM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6007
File comments: 288
Uploads: 30
Coming Soon - need some more testing

In response to my findings earlier today I have spent some time tearing apart the shipment system to find the best way to get the information to you in a useful and hopefully more accurate state.

That said ..

I have replaced the Next Shipment Frame with a Shipment Status Frame.
It will hold the number of Orders Possible ( 24 ) and how many are ready to pick up and how many are still waiting to be shipped out. Along with the due time of the next shipment.

I have added a Pending Shipments Frame that will hold the list of pending shipments.
Because the ready time is based on the last refresh of the data I have done a bit of maths magic to get it hopefully reasonably accurate.
Unlike the next shipment timing needing a more updated value, I have decided to only update the pending
information when the work order system is being used ( it triggers the full update list ) which will also set a time that it was made. These values are stored in the saved variable file and replaces the previous values. This saved variable file is then used to update the frame whenever you switch back to it or log in again.

When you first log in, the pending shipment information will be blank, until you have accessed the work order menus when talking to Nomi. After then it will either use the stored values or the active values depending on the situation.

Now, when it is using the stored values, the due time could be totally out of wack and need to be recalculated, so, using the Due Time stored and the current time, we can calculate how long before it's ready... or .. if it's either ready already or already picked up since that data was updated. This would be your sign to visit Nomi and pick up the goodies, or refresh the data.

If there is anything else you have noticed that should be considered let me know so I can see if it is something that can be included in the next update.
__________________


All Level 70 Characters:
Demon Warlock
Resto Druid
Disc Priest
Resto Shaman
Survival Hunter
Augment Evoker
Frost Mage
Vengence Demon Hunter
Rogue ( was subtlety )

Brewmaster Monk (TR)
Prot Paladin (TR)
Blood Death Knight ( TR)

As you can see I am missing a warrior

And .. I don't have all the allied races covered. Time Runner time when it happens again

Report comment to moderator  
Reply With Quote
Unread 09-21-24, 11:57 AM  
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 6007
File comments: 288
Uploads: 30
Multiple Shipments Ready To Pickup

Obviously during testing I didn't hit this hurdle, but I knew with a day away that at least some of the 24 orders I set up in my last test session would be ready. I was not wrong.

When I looked at the Next Shipment window it said Fatty Bearsteaks were over an hour away. Considering I had been away from the game for nearly 24 hours I thought that was fishy. So went to Dalaran and did a quick debug to see what the GARRISON_LANDINGPAGE_SHIPMENTS event was seeing. Apparently it was 1 entry for 5 shipments of Fatty bearsteaks research results. I was wondering what would happen when I ordered a 5 lot of the same item.

Once I had collected those the Next Shipment page then showed up Cursed Queenfish for just under an hour. I am guessing it had somehow tagged on that timer.

So, another multi day test run, with extra code in. I've added the facility to list multiple shipments that might be ready in a new tab page. As I suspect that it will have a list of all of them.

Edit:
Scratch that. I might have mixed up the Cursed Queenfish with something else. It's currently telling me that that is ready in 4hrs but the pending information is saying it's Black Barracuda, which I just picked up when it said Queenfish then too. hmm .
It's possible that the Shipments Ready Count isn't linked to the details for the item that is Next. More investigation needed.

Edit2:
It appears that Cursed Queenfish is the last item on the pending order list, and the timing is for the item at the top of the list. Ergo. We can't use the Next Shipment Info to get the details of the next order to arrive apart from it's timing. So, that Next Shipment page will just contain the valid details.

shipmentCapacity, - Total Available - 24 in my case
shipmentsReady, - How many are Ready - 0
shipmentsTotal, - How many are Pending - 18
timeleftString - Time before the next shipment - 3hrs

As to the pending order details. I forgot about the fact that the options disappear from the list when you don't have any ingredients. Which means, you won't be able to see any pending orders for those items, or even for any items. I will see if I can tell it to show the option anyway so that it can still be used to display the information I have added but not cause an issue because its being displayed.

Edit 3:
Well that idea didn't pan out. I just placed a new order to see if that showed up on the next shipment.
It didn't. So .. new theory is as follows:

You have 24 orders you can make
They go in a pending list and limit the number of orders you can make.
At some point one will be shipped. This then gets removed from the pending list and become the next delivery. Allowing you to order more.

This is the only thing that makes sense with what I am seeing.
Things would be so much easier if you could access the work order windows whenever you want rofl.
__________________


All Level 70 Characters:
Demon Warlock
Resto Druid
Disc Priest
Resto Shaman
Survival Hunter
Augment Evoker
Frost Mage
Vengence Demon Hunter
Rogue ( was subtlety )

Brewmaster Monk (TR)
Prot Paladin (TR)
Blood Death Knight ( TR)

As you can see I am missing a warrior

And .. I don't have all the allied races covered. Time Runner time when it happens again

Last edited by Xrystal : 09-21-24 at 02:45 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: