View Bug Report | ||||||||||||||
|
Notes | Sort Options |
By: Baertram - 07/31/22 04:59 AM |
Thanks for the detailed info, I'll have a look if the level passed in is not working anymore. Hopefully it will be an easy fix. |
By: Baertram - 07/31/22 06:51 AM |
I've tested this ingame with an itemlink of a rubbedite dagger CP160 (tb -> merTorchbug): /tb FCOIS.CreateFCOISUniqueIdString(nil,nil,nil,"|H1:item:43535:366:50:0:0:0:0:0:0:0:0:0:0:0:0:1:0:0:0:0:0|h|h") Returns [1]43535,160,1,0,1,0,0,0,,0 So the level 160 is in as 2nd parameter. Are you sure you did enable the level checkbox at the settings menu of FCOIS uniqueIds to be included into the unique ID? |
By: Baertram - 07/31/22 06:51 AM |
I'll try th same with a crafted rubedite dagegr in my bag, using bagid and slotindex |
By: Baertram - 07/31/22 06:53 AM |
Crafted one which was added as bagid 1 slotIndex 5: /tb FCOIS.CreateFCOISUniqueIdString(nil,1,5,nil) [1]43535,160,1,0,1,0,0,1,3816622778,0 Level is 160 again, so all okay. Will see if transferring this to the SavedVars file somehow get's corruted then |
By: Baertram - 07/31/22 07:20 AM |
I've found the error. If you change the FCOIS unique ID settings for the parts to include (level, quality, ...) it will not reset the "last cached uniqueId string" for the same item. e.g. the string for the rubedite dagger is build and includes the level. You change the level afterwards in the settings to not be relevant anymore. After that you unmark the dagger and mark it again -> the created uniqueID string still contains the cached level allthough it was disabled. So maybe you had enabled the level in the settings and thus the string was not containing the level properly. I'll reset the cache as you change the settings now and have a look at the cached data too so that different levels, quality etc. also will need to invalidate the cache for that itemId. |
By: Baertram - 07/31/22 07:50 AM |
Hi Again, could you please logout of the game, backup your SavedVariables (especially FCOIS) and then try this beta version of FCOIS. It should fix the bug with the changed "level" (or other) settings of FCOIS uniqueIDs. https://github.com/Baertram/FCOItemS.../heads/PTS.zip Please only extract the FCOItemSaver folder to your live/AddOns folder and remove/delete teh original live/AddOns/FCOItemSaver folder there first (do not simply overwrite!). I think the bug you described only happened as you had changed the criteria of the FCOIS uniqueIds in the FCOIS settings and then marked any item where the bagId and slotIndex did not change (like FCOIS unique criteria says "exclude level", craft 2 daggers of different level, mark 1, both get marked, change FCOIS unique criteria to include the level, remove markers, mark 1 dagger, both get marked again due to cached data. Thanks for your feedback if it works as expected now. BR Baertram |