kolton / d2bot-with-kolbot

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

Crafting blood gloves problem. #2295

Open adamveg opened 4 years ago

adamveg commented 4 years ago

Hello. I have problem with bot when it comes to craft blood gloves. Bot never ever pick a base gloves, only runes and ruby. Even when i left one in inventory, he toss it away.

chriseng440 commented 4 years ago

Mine does same, doesn't keep any gloves or nef runes, i just made a post on it.

Tekmat commented 4 years ago

Ill mess with this later today and let you know what i find.

chriseng440 commented 4 years ago

sounds good, thanks On Saturday, February 29, 2020, 04:47:26 PM EST, Tekmat notifications@github.com wrote:

Ill mess with this later today and let you know what i find.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

adamveg commented 4 years ago

Mine does same, doesn't keep any gloves or nef runes, i just made a post on it.

Ill mess with this later today and let you know what i find.

Did you figure out how make this work ?

Tekmat commented 4 years ago

I worked with it and it works fine for me, But after it crafted the glove it threw it on the ground. I was like WTF. Reason is it didn't meet my requirement's for keeping that type of glove, It had no ias which is not what i wanted. I watched it collect the flawless rubys and transmute the 3 to a perfect, grabbed a jewel and kept it and a pair of vampirebone gloves which is what it calls for and the nef rune. You will have to check your nip files and see if it keeps crafted items if so modify them to what stats your looking for so it doesnt discard it on the ground.. I also had to add this to my char config which was missing. Config.Recipes.push([Recipe.Blood.Gloves, "Vampirebone Gloves"]); // Craft Blood Gloves You have to enable cubing also Config.Cubing = true And i also enabled this not sure if it mattered or not. Config.Recipes.push([Recipe.Gem, "Flawless Ruby"]); // Make Perfect Ruby If you can see this image i posted you can see it crafted it as shown on the console. [img]https://i.imgur.com/62XvSkl.png[/img]

Any questions ill try and help the best i can. Just noticed it doesn't keep rare jewels for crafting, Not a biggy to me.

adamveg commented 4 years ago

I worked with it and it works fine for me, But after it crafted the glove it threw it on the ground. I was like WTF. Reason is it didn't meet my requirement's for keeping that type of glove, It had no ias which is not what i wanted. I watched it collect the flawless rubys and transmute the 3 to a perfect, grabbed a jewel and kept it and a pair of vampirebone gloves which is what it calls for and the nef rune. You will have to check your nip files and see if it keeps crafted items if so modify them to what stats your looking for so it doesnt discard it on the ground.. I also had to add this to my char config which was missing. Config.Recipes.push([Recipe.Blood.Gloves, "Vampirebone Gloves"]); // Craft Blood Gloves You have to enable cubing also Config.Cubing = true And i also enabled this not sure if it mattered or not. Config.Recipes.push([Recipe.Gem, "Flawless Ruby"]); // Make Perfect Ruby If you can see this image i posted you can see it crafted it as shown on the console. [img]https://i.imgur.com/62XvSkl.png[/img]

Any questions ill try and help the best i can. Just noticed it doesn't keep rare jewels for crafting, Not a biggy to me.

For jewels i tried add this to picklist, but its not working, just keeps all jewels unid. [Type] == jewel && [quality] == magic # [level] >= 40 //BLUE CRAP JOOL

For gloves, to pick and keep bases, i try something like that, [name] == sharkskingloves && [quality] == magic # [itemlevelreq] >= 40 // but its says that itemlvlreq command is incorrect. Do you know which command force to keep gloves with 50 def or 50lvl req ?

Tekmat commented 4 years ago

Do you have a jewel pickup inside you pickit nip file? For it to keep good jewels? your sharkskin glove you could try [name] == sharkskingloves && [quality] == magic # # [maxquantity] == 4
Yup would pickup 4 sharkskin gloves and leave them unid. This is what i was doing just to gather the gloves for crafting myself manually

try this not sure if it will throw a error [name] == sharkskingloves && [quality] == magic # [Level] >= 50

adamveg commented 4 years ago

Do you have a jewel pickup inside you pickit nip file? For it to keep good jewels? your sharkskin glove you could try [name] == sharkskingloves && [quality] == magic # # [maxquantity] == 4 Yup would pickup 4 sharkskin gloves and leave them unid. This is what i was doing just to gather the gloves for crafting myself manually

try this not sure if it will throw a error [name] == sharkskingloves && [quality] == magic # [Level] >= 50

This command with jewels almost work, [Type] == jewel && [quality] == magic # [level] >= 40 //BLUE CRAP JOOL. But sadly bot throw every jewels lower than 40, only keeps 40. Strange, because i thought he will keep from 0 to 40. And still, bastard use my GG jewels, like 15/15 which are in my perfection.nip. I need to force him to use only those 40lvl below. I tried change something in crafting and cubing js. but nothing change at all.

Tekmat commented 4 years ago

you have this >= greater or equal to, so assuming it's atleast 40 and higher and keeps it <= less than or equal to, it should keep 40 and under try this, [Type] == jewel && [quality] == magic # [level] <= 40

let me know how it goes but don't think that helps with bot using your gg jewels to craft Like i said i would collect all craft mats then manually craft the glove myself as i couldn't get the crafting to work either, but then again i could check the unid jewels to see if they where any good lol

adamveg commented 4 years ago

.. >= greater or equal to <= less than or equal to try this, [Type] == jewel && [quality] == magic # [level] <= 40

Ok done, gonna test it. But still, how im supose to force bot to use one of these to crafting ? He just pick kinda randomly. In crafting js its this - // Check whether item can be used for crafting CraftingSystem.validItem = function (item) { switch (item.itemType) { case 58: // Jewel return NTIP.CheckItem(item) === 0; // Use junk jewels only }

And strange thing, that in cubing,js he takes jewels case 643. break; case Recipe.Blood.Gloves: this.recipes.push({Ingredients: [Config.Recipes[i][1], 613, 643, 581, 381, 335, 451], Level: 49, Index: Recipe.Blood.Gloves}); ^^^ I added those numbers with vampire and shark gloves. Witout it its like this one case Recipe.Blood.Boots: this.recipes.push({Ingredients: [Config.Recipes[i][1], 614, 643, 581], Level: 71, Index: Recipe.Blood.Boots});

Maybe this makes some difference ?

%%%%% I quess i should separate ({Ingredients: [Config.Recipes[i][1], 613, 643, 581, 381, 335, 451], Level: 49, Index: Recipe.Blood.Gloves}); to diffrents picks maybe too ?

Tekmat commented 4 years ago

Yea i see you added those number's in the top, I thought i read on the net not to try to craft more than 1 item as i see you have belt and gloves ah scratch that i seen heavy gloves read wrong on item ntitemtalias.dbl

adamveg commented 4 years ago

Yea i see you added those number's in the top, I thought i read on the net not to try to craft more than 1 item as i see you have belt and gloves

I try test it tomorrow. But if you or someone else try what i suggest here, share results :) Gn, gl :)

Tekmat commented 4 years ago

Yea i see you added those number's in the top, I thought i read on the net not to try to craft more than 1 item as i see you have belt and gloves

I try test it tomorrow. But if you or someone else try what i suggest here, share results :) Gn, gl :)

Cya

Tekmat commented 4 years ago

syntax error Trigger item: Jewel [Type] == jewel && [quality] == magic # [level] <= 40

curious happen to know the ilvl of them low level jewels?

adamveg commented 4 years ago

syntax error Trigger item: Jewel [Type] == jewel && [quality] == magic # [level] <= 40

curious happen to know the ilvl of them low level jewels?

I manage to run it without syntax error ( forgot type ] in confind end). Need atleast 1-2h to test if he craft, and what he craft :)

**%%%% Bot keep gloves and jewels unid...

adamveg commented 4 years ago

syntax error Trigger item: Jewel [Type] == jewel && [quality] == magic # [level] <= 40

curious happen to know the ilvl of them low level jewels?

Holy damn... when i was in work, my bot tried to mix sharkskin gloves + vampire gloves + spectum + rune nef + ruby..... wasted 8h in one game, trying to do this ;D

Tekmat commented 4 years ago

syntax error Trigger item: Jewel [Type] == jewel && [quality] == magic # [level] <= 40 curious happen to know the ilvl of them low level jewels?

Holy damn... when i was in work, my bot tried to mix sharkskin gloves + vampire gloves + spectum + rune nef + ruby..... wasted 8h in one game, trying to do this ;D

lol

Tekmat commented 4 years ago

My blood glove craft works great, Just dont forget to put in nip file what crafted gloves to keep or it will toss them, i use this [type] == gloves && [quality] == crafted # [ias] >= 20 Would keep every 20ias glove it crafted, you can add str, dex how much cb you want About the jewel's it uses, i haven't figured that out as it still uses what jewels i have

adamveg commented 4 years ago

My blood glove craft works great, Just dont forget to put in nip file what crafted gloves to keep or it will toss them, i use this [type] == gloves && [quality] == crafted # [ias] >= 20 Would keep every 20ias glove it crafted, you can add str, dex how much cb you want About the jewel's it uses, i haven't figured that out as it still uses what jewels i have

Which type of gloves bot use to craft ? My keep use sharskin sadly, and i dont know how to force him to use better one - vampire gloves :P

adamveg commented 4 years ago

In Craftingsystem.js is line - // LLD Crafting

        // Caster Belt set, char lvl 29
        // Light Belt classid 345, shopped at nightmare Elzix
        // Sharkskin Belt classid 391, shopped at nightmare Elzix
        //{BaseItems: [345, 391], Ingredients: [615, 643, 561], SetAmount: 2, Type: "crafting"},

        // Runeword Making

        // Spirit Runeset + Hel
        //{BaseItems: [29, 30, 31], Ingredients: [616, 618, 619, 620, 624], SetAmount: 2, Type: "runewords"},

        // Misc. Cubing

        // Reroll rare Diadem
        //{BaseItems: [421], Ingredients: [601, 601, 601], SetAmount: 1, Type: "cubing"}

Maybe i can add line with ingredients i want (451) or i can edit there is some js ? Didnt found any called ingredients etc... :/

Tekmat commented 4 years ago

do you have this in your char config ? mine didn't had to add it Config.Recipes.push([Recipe.Blood.Gloves, "Vampirebone Gloves"]); // Craft Blood Gloves add that line if you dont have it

dont forget to enable cubing run your bot and see if he collects the flawless rubys and makes perfects, and collects nef runes and jewel and vampirebone glove let me know if does

adamveg commented 4 years ago

do you have this in your char config ? mine didn't had to add it Config.Recipes.push([Recipe.Blood.Gloves, "Vampirebone Gloves"]); // Craft Blood Gloves add that line if you dont have it

dont forget to enable cubing run your bot and see if he collects the flawless rubys and makes perfects, and collects nef runes and jewel and vampirebone glove let me know if does

Yes, i did it as you said few days ago. Bot collect nef runes, rubys fine, but dunno why, he leave jewels and vampire gloves unid. Gloves i might understand why, because i set this ----- [name] == VampireboneGloves && [quality] == magic # [defense] >= 50. And from what i see, those gloves have already 60 def unid. Thought he gonna id it anyway, because its base for crafting, but not... Sadly, this doesnt work, dunno why, [name] == VampireboneGloves && [quality] == magic # [itemlevelreq] <= 49 //. This would be much better i belive.

Also i added this to cubing.js, it might be bad... break; case Recipe.Blood.Gloves: this.recipes.push({Ingredients: [Config.Recipes[i][1], 613, 643, 581], Level: 40, Index: Recipe.Blood.Gloves});

            break;
        case Recipe.Blood.Gloves:(["Vampirebone Gloves"])
            this.recipes.push({BaseItems: [451], Ingredients: [Config.Recipes[i][1], 613, 643, 581], Level: 40, Index: Recipe.Blood.Gloves});

Level 40+ req, right ?

Tekmat commented 4 years ago

remove this or edit it out with a // [name] == VampireboneGloves && [quality] == magic # [defense] >= 50

the bot should automatically pickup vampirebone gloves up if you have this enabled Config.Recipes.push([Recipe.Blood.Gloves, "Vampirebone Gloves"]) enabled and yea it keeps them unid. im still working on the jewel part mine picks them up and yes keeps it unid

adamveg commented 4 years ago

remove this or edit it out with a // [name] == VampireboneGloves && [quality] == magic # [defense] >= 50

the bot should automatically pickup vampirebone gloves up if you have this enabled Config.Recipes.push([Recipe.Blood.Gloves, "Vampirebone Gloves"]) enabled and yea it keeps them unid. im still working on the jewel part mine picks them up and yes keeps it unid

[Type] == jewel && [quality] == magic # [itemlevelreq] >= 20 This one id jewels, but still cant do trick with vampirebone gloves....

adamveg commented 4 years ago

remove this or edit it out with a // [name] == VampireboneGloves && [quality] == magic # [defense] >= 50

the bot should automatically pickup vampirebone gloves up if you have this enabled Config.Recipes.push([Recipe.Blood.Gloves, "Vampirebone Gloves"]) enabled and yea it keeps them unid. im still working on the jewel part mine picks them up and yes keeps it unid

Got something new ? :)