kolton / d2bot-with-kolbot

d2bot game manager by D3STROY3R with kolbot libs by kolton for d2bs
345 stars 334 forks source link

Socketing Monarchs, making spirit, pickit, charconfig #254

Open IronMaXxX opened 7 years ago

IronMaXxX commented 7 years ago

Hey guys, I'am a little confused, my chars pick massive ammounts of 0soc and 4soc Monarchs, most the time my chars carry 2 monarchs, 1x 0soc and 1x 4soc. They create spirit in monarchs, most the time I have a lot of 0/4-soc monarchs on mule, also some spirits <35fcr...

I set charconfig and pickit like this: charconfig:

Config.Cubing = true; // Set to true to enable cubing.
Config.Recipes.push([Recipe.Socket.Shield, 447, Roll.NonEth]); // Socket Monarch
[...]
Config.MakeRunewords = true; // Set to true to enable runeword making/rerolling
Config.Runewords.push([Runeword.Spirit, 447]); // Monarch
Config.KeepRunewords.push("[type] == shield || [type] == auricshields || [type] == sword # [fcr] == 35");

pickit:

[name] == monarch && [quality] == normal && [flag] != ethereal # [enhanceddefense] >= 0 && ([sockets] == 0 || [sockets]==4) # # [maxquantity] == 1  // only 1 moarch in inventory

Do you know what's wrong? My toons also roll insights in eth. CVs, without stashing multiple (un)socketed CVs or auralvl <17. How can I avoid stashing multiple monarchs on chars and mules?

If I want to add a mana statement (keep if >100 mana) at charconfig is the following line correct?

Config.KeepRunewords.push("[type] == shield || [type] == auricshields || [type] == sword # [fcr] == 35 && [maxmana] >= 100");

Thanks in advance!

yharahuts commented 7 years ago

They create spirit in monarchs, most the time I have a lot of 0/4-soc monarchs on mule, also some spirits <35fcr...

As I understand, runeword roll works like cubing: you do not need to add base item to your pickit, bot will keep it himself. I.e., when cubing rings you do not add [name]==ring && [quality]==magic to pickit.

Because you have [sockets] == 0 || [sockets]==4, bot will keep (and stash and mule) any 4 sock monarch (even with runeword inside, even if runeword dont fit your KeepRunewords cfg). Try to remove [sockets]==4, maybe that will help.

most the time my chars carry 2 monarchs

One as a base for cubing (0sock), one as a base for runeword (4sock). maxquantity won't work since keeping of these isn't affected by pickit, but by runeword and cubing code.

I can be wrong.

IronMaXxX commented 7 years ago

Thanks Legless, as I use my toons to cube monarchs and roll spirits I commented monarchs in pickit. I will tell you in a few hours/days if it works.

yharahuts commented 7 years ago

@IronMaXxX You should only comment 4sox monarchs, since cubing will need a base item.

i.e. use this in your pickit: [name] == monarch && [quality] == normal && [flag] != ethereal # [sockets] == 0 # # [maxquantity] == 1

IronMaXxX commented 7 years ago

Oh yeah, thanks for repeating this... I misread your first post... pickit changed, let's see what happens...

I noticed something strange with my pickit and the itemlog... pickit:

// unid. stormshield  // (145...148def unid)
[name] == monarch && [quality] == unique # [defense] >= 145

itemlog (.txt)

[22:21:23] <xxxxx> <Sold> (unique) Stormshield (81) | Monarch | Defense: 493 | Chance to Block: 75% | Smite Damage: 133 to 158 | Required Strength: 156 | Required Level: 73 | Indestructible | +35% Faster Block Rate | 25% Increased Chance of Blocking | +356 Defense (Based on Character Level) | +30 to Strength | Cold Resist +60% | Lightning Resist +25% | Damage Reduced by 35% | Attacker Takes Lightning Damage of 10

I double checked my pickit, there is no second line with [name] == monarch && [quality] == unique in it, I wonder why the bot id'd this one, got some unid'd already this ladder...