What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Plugin] StrongboxCrafter

I've had some interest in the example code I provided
so i've converted that to a plugin
it's all hardcoded without any user settings, so any changes require coding
currently it does the following:

transmutes normal strongboxes
augments if a positive affix is missing

strongbox type specific:
magic arcanist strongbox - uses alteration until additional normal items or additional item quantity affix is found
magic jewllers strongbox - uses alteration until extra rare items affix is found
magic gemcutters - uses alteration until extra gem quality affix is found

avoids opening any box with the following affixes:
ice nova
firestorm
thunder herald
explodes nearby corpses
revive nearby monsters

if it has one of the above affixes and is magic, will use alterations until it is safe

once a box is safe, it will be opened. so be careful with hardcore characters :)

View attachment 162761
Hey Nepthys, spliffermaster ,
GREAT WORK!
Thank you so much for this.

Edit,
I derped forgot to add spliffermaster.
 
Last edited:
hey guys

thanks for all the suggestions and additions.
i'll upload some more stuff this evening, testing it right now. doin better settings, blacklisting affixes and maybe i have to to get the values for the affixes. stay tuned ;)
 
hey guys

thanks for all the suggestions and additions.
i'll upload some more stuff this evening, testing it right now. doin better settings, blacklisting affixes and maybe i have to to get the values for the affixes. stay tuned ;)

Nice, I can't wait :)
 
@fabcard, no need to upload yet.. bot not working. will be able to finish my testing when bot is up again

@mrfuture, depends on your settings. when the alteration-process takes longer than your stuck detection alert, this will end up in logging out after few alteration-attempts. i increased my stuck detection to at least 30sec.
so each alteration-attempt takes 1-3 seconds and you have to set the stuck detection limit to x*3seconds, based on your attempts. this should work, but have not tested this on this special case.
 
As I am completely coding bit illiterate, how difficult would it be to add using orb of chances to strongboxes, to pursuit turning them into unique boxes. Currently PoE has 3 different boxes available, so only these 3 boxes would require such treatment to begin with.

Empyrean Apparatus - Cartographer's Strongbox
Kaom's Cache - Armourer's Strongbox
Perandus Bank - Jeweller's Strongbox

Cheers for plugin and bot itself. It is just working beautifully as of late.
 
fisuska, see attached. I have not tried it yet, might not even compile. I will look later.

View attachment StrongboxRadius.cs

the piece of code added is:
private bool chanceForUniques = true; //wimm set to false to not try chancing
.
.
.
//TRANSMUTE OR CHANCE NORMAL
if (chest.Rarity == Rarity.Normal)
{
Log.ErrorFormat("[StrongboxRadiusTask] NORMAL CHEST, TRANSMUTATION or CHANCING? [wimm]");

await Coroutines.OpenInventoryPanel();

if (chanceForUniques && (chest.Name == "Cartographer's Strongbox" || chest.Name == "Armourer's Strongbox" || chest.Name == "Jeweller's Strongbox"))
{
Log.ErrorFormat("[StrongboxRadiusTask] ATTMPTING CHANCING, GOOD LUCK [wimm] ");
var ErrorChance = LokiPoe.InGameState.InventoryPanel.UseItemOnObject("Orb of Chance", chest);
if (ErrorChance != Loki.Game.LokiPoe.InGameState.UseItemError.None)
{
Log.ErrorFormat("[StrongboxRadiusTask] Chance Orb returned => {0} [wimm].", ErrorChance );
}
else
{
Log.ErrorFormat("[StrongboxRadiusTask] CHANCED, RESTARTING CHEST LOGIC [wimm]");
await Coroutine.Sleep(Utility.LatencySafeValue(250));
goto ChestLogic;
}

} else
{
var ErrorTransmute = LokiPoe.InGameState.InventoryPanel.UseItemOnObject("Orb of Transmutation", chest);
if (ErrorTransmute != Loki.Game.LokiPoe.InGameState.UseItemError.None)
{
Log.ErrorFormat("[StrongboxRadiusTask] Transmute Orb returned => {0}.", ErrorTransmute);
}
else
{
Log.ErrorFormat("[StrongboxRadiusTask] TRANSMUTED, RESTARTING CHEST LOGIC");
await Coroutine.Sleep(Utility.LatencySafeValue(250));
goto ChestLogic;
}
}

wimm
 
Necroing this thread as I've been using the plugin for awhile. Wanted to start using Vaal Orbs but I don't think OP ever got that far. Does someone have a modified version that does?
 
Hello friends

Any chance someone to update this for 2.0, please?
Thanks in advance.
 
wimm,
Remember when I asked about those unique strongboxes, but which ever folder I looked into I could not find this strongboxradius.cs file you edited there. At least for me, there was no such file inside plugin folder.
 
PHP:
Compiler Error: warning CS2029: Invalid value for '/define'; '' is not a valid identifier
Compiler Error: c:\Users\xxxxxxxxxxxxxxx\Plugins\StrongBoxCrafter\StrongBoxCrafter.cs(8,12) : error CS0234: The type or namespace name 'Utilities' does not exist in the namespace 'Loki' (are you missing an assembly reference?)
Compiler Error: c:\Users\xxxxxxxxxxxxxxxx\Plugins\StrongBoxCrafter\StrongBoxCrafter.cs(19,16) : error CS0234: The type or namespace name 'v3' does not exist in the namespace 'Loki.Bot' (are you missing an assembly reference?)
Compiler Error: c:\Users\xxxxxxxxxxxxxxxxxxxxxxx\StrongBoxCrafter\StrongBoxCrafterSettings.cs(1,16) : error CS0234: The type or namespace name 'Settings' does not exist in the namespace 'Loki.Bot' (are you missing an assembly reference?)
Compiler Error: c:\Users\xxxxxxxxxxxxxxxxxxxxxx\Plugins\StrongBoxCrafter\StrongBoxCrafterSettings.cs(2,12) : error CS0234: The type or namespace name 'Utilities' does not exist in the namespace 'Loki' (are you missing an assembly reference?)
Compiler Error: c:\Users\xxxxxxxxxxxxxxxxxxxxxxxx\Plugins\StrongBoxCrafter\StrongBoxCrafterSettings.cs(10,45) : error CS0246: The type or namespace name 'JsonSettings' could not be found (are you missing a using directive or an assembly reference?)
Compiler Error: c:\Users\xxxxxxxxxxxxxxxxxxx\Plugins\StrongBoxCrafter\StrongBoxCrafter.cs(103,16) : error CS0246: The type or namespace name 'JsonSettings' could not be found (are you missing a using directive or an assembly reference?)

Throws up compiler errors for me D:
 
sometime can't open
Rotation Message

[ItemCrafterTask] Moving towards box at position {472, 1274}.
[LatencyTracker] LowestLatency: 206
[StrongboxCrafter] Upgrade this box to magic.
[ItemCrafterTask] Using Orb of Chance on Strongbox.
[LatencyTracker] HighestLatency: 206
[LatencyTracker] HighestLatency: 236
[LatencyTracker] HighestLatency: 239
[StrongboxCrafter] Found Strongbox at position Strongbox.
[StrongboxCrafter] Upgrade this box to magic.
[ItemCrafterTask] Using Orb of Chance on Strongbox.
[StrongboxCrafter] Found Strongbox at position Strongbox.
[StrongboxCrafter] Upgrade this box to magic.
[ItemCrafterTask] Using Orb of Chance on Strongbox.
[StrongboxCrafter] Found Strongbox at position Strongbox.
[StrongboxCrafter] Upgrade this box to magic.
[ItemCrafterTask] Using Orb of Chance on Strongbox.
[LatencyTracker] HighestLatency: 240
[StrongboxCrafter] Found Strongbox at position Strongbox.
[StrongboxCrafter] Upgrade this box to magic.
[ItemCrafterTask] Using Orb of Chance on Strongbox.
[LatencyTracker] HighestLatency: 267
[StrongboxCrafter] Found Strongbox at position Strongbox.
[StrongboxCrafter] Upgrade this box to magic.
[ItemCrafterTask] Using Orb of Chance on Strongbox.
[StrongboxCrafter] Found Strongbox at position Strongbox.
[StrongboxCrafter] Upgrade this box to magic.
[ItemCrafterTask] Using Orb of Chance on Strongbox.
[StrongboxCrafter] Found Strongbox at position Strongbox.
[StrongboxCrafter] Upgrade this box to magic.
[ItemCrafterTask] Using Orb of Chance on Strongbox.
[StrongboxCrafter] Found Strongbox at position Strongbox.
[StrongboxCrafter] Upgrade this box to magic.
[ItemCrafterTask] Using Orb of Chance on Strongbox.
[StrongboxCrafter] Found Strongbox at position Strongbox.
[StrongboxCrafter] Upgrade this box to magic.
[ItemCrafterTask] Using Orb of Chance on Strongbox.
[StrongboxCrafter] Found Strongbox at position Strongbox.
[StrongboxCrafter] Upgrade this box to magic.
[ItemCrafterTask] Using Orb of Chance on Strongbox.
[StrongboxCrafter] Found Strongbox at position Strongbox.
[StrongboxCrafter] Upgrade this box to magic.
[ItemCrafterTask] Using Orb of Chance on Strongbox.
[LatencyTracker] LowestLatency: 229
[LatencyTracker] HighestLatency: 229
[StrongboxCrafter] Found Strongbox at position Strongbox.
[StrongboxCrafter] Upgrade this box to magic.
[ItemCrafterTask] Using Orb of Chance on Strongbox.
[StuckDetection] {463, 1287} => 9
[StuckDetection] bounds: {58, 175}
[StuckDetection] TimeInInstance: 00:05:43.4429882
[StuckDetection] TimeInArea: 00:05:43.4434489
[LatencyTracker] AverageLatency: 231
[StrongboxCrafter] Found Strongbox at position Strongbox.
[StrongboxCrafter] Upgrade this box to magic.
 
sometime can't open
Rotation Message
[..]

Working on this issue.. I encountered a similar situation when the bot was "disturbed" during crafting and did not open inventory panel to use any kind of orb. Did you watch the bot and what was his state at this time? Inventory Panel opened or closed?
 
Back
Top