Open parifuture opened 5 months ago
so as shortcut I created a function that is called after you are sorting the affix_list generic list. Thinking I can quickly search for data in text file, but I cannot find the generated file anywhere. I am calling the function inside ForceDrop.cs in the InitList function. Any suggestions?
private static void WriteAffixNamesToFile(System.Collections.Generic.List<string> affixNames)
{
try
{
// Specify the file path and name
string filePath = "sortedAffixNames.txt";
using (System.IO.StreamWriter file = new System.IO.StreamWriter(filePath))
{
foreach (string name in affixNames)
{
file.WriteLine(name);
}
}
Main.logger_instance.Msg("Affix names have been written to " + filePath);
}
catch (System.IO.IOException e)
{
Main.logger_instance.Msg("An error occurred while writing to the file: " + e.Message);
}
}
If you want to try actual mod, i upload a debug version here : https://www.mediafire.com/file/jiz2v7p3xkkzsy4/LastEpoch_Hud.rar/file
So we can search for affix like we do in normal crafting
wowza....this is insane update. UI looks much better. Thanks for sharing.
Oh I noticed 1 thing I wanted to drop Cradle of the Erased and I don't see an legendary option when I pick shield, it just says base item. Something wrong with that if condition :) ![Uploading shield.png…]()
Hud_Manager.cs line 2340, "Subtype == item_type" should be replace by "unique.baseType == item_type"
Hi first thank you so much for building an awesome plugin. It is allowing me to test so many builds before I can start grinding in the online version.
my nice to have request is the ability to search inprefix/suffix windows. espcially because the name of the affixes are different from how they show up in game. It will be helpful to have full text search capability that allows me to let say for example search for "bleed" and the data in the select box is filtered. Thank you again for listening and for making such a useful mod. Cheers!