kolton / d2bot-with-kolbot

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

Follower dont Pick Potions only belt #1621

Open jlz06 opened 5 years ago

jlz06 commented 5 years ago

I play manual bot(manual+3bot) Bot pick potion only belt, not inventory. Buffer is't working. My manual bot play with d2botmap.dbj, no script. I just wont bot keep potions in inventoy. Please help~~

follower Scripts.Follower = true; // Potion settings Config.UseHP = 75; Config.UseRejuvHP = 20; Config.UseMP = 20; Config.UseRejuvMP = 0; Config.UseMercHP = 75; Config.UseMercRejuv = 0; Config.HPBuffer = 4; Config.MPBuffer = 4; Config.RejuvBuffer = 4;

Config.Inventory[0] = [1,1,1,1,1,1,1,1,1,0];
Config.Inventory[1] = [1,1,1,1,1,1,1,1,1,0];
Config.Inventory[2] = [1,1,1,1,1,1,1,1,1,1];
Config.Inventory[3] = [1,1,1,1,1,1,1,1,1,1];

Config.BeltColumn[0] = "hp";
Config.BeltColumn[1] = "hp";
Config.BeltColumn[2] = "hp";
Config.BeltColumn[3] = "rv";

Config.MinColumn[0] = 3;
Config.MinColumn[1] = 3;
Config.MinColumn[2] = 3;
Config.MinColumn[3] = 0;

[name] == minormanapotion [name] == lightmanapotion [name] == manapotion [name] == minorhealingpotion [name] == lighthealingpotion [name] == healingpotion [name] == greaterhealingpotion [name] == superhealingpotion [name] == greatermanapotion [name] == supermanapotion [name] == rejuvenationpotion [name] == fullrejuvenationpotion [name] == gold # [gold] >= 1

DarkHorseDre commented 5 years ago

which ENTRY script and game script are the followers running? some leeching scripts dont have pickit lines - do yours pick any potions from the ground?

jlz06 commented 5 years ago

Follower use D2botfollow.dbj script,add minor potions.

// Pickit config. Default folder is kolbot/pickit.
Config.PickitFiles.push("pots.nip");
Config.PickRange = 40; 
Config.FastPick = false;
DarkHorseDre commented 5 years ago

I also asked you two other questions bro.

jlz06 commented 5 years ago

I use only Scripts.Follower = true; Followers working well. only problem can't pick potions in inventory. Follower's command "p" is not working.

DarkHorseDre commented 5 years ago

when you send 'P' command, follower doesn't pick? no errors on their client? have you checked the ScriptErrorLog.txt and d2bs.log?

do the other follower commansds work?

when picking items follower should say "Picking items." if you're not seeing this text it makes me wonder if any of the commands are working?

please link to the followers config.

jlz06 commented 5 years ago

Other command working well. I press "p" follower pick gold but potion. Always they pick potions automatically in belt, not inventory. I want always they pick potions from ground into inventory with buffersize.

DarkHorseDre commented 5 years ago

ok so youre saying they pick enough pots to fill belt but not inventory, despite you setting buffer = 4

I assume inventory isnt full?

when followers shop, do they buy potions to fill buffer?

jlz06 commented 5 years ago

I assume inventory isnt full? Inventoy empty. when followers shop, do they buy potions to fill buffer? In town I command "talk akara", bot just meet akara don't buy pots. and just stand center of town, wait my order.

DarkHorseDre commented 5 years ago

ok this is weird as follower.js looks as if it does townchores and pickit

When you issue the command "3" does the follower go to shop and do town chores?

please link to the character config for your followers using a site like pastebin.com

jlz06 commented 5 years ago

Press "3" follower fill tome and buy potion only into belt NOT inventory.

https://pastebin.com/F2q8vLMG

DarkHorseDre commented 5 years ago

I had a look and I'm out of ideas - your setup seems right for collecting 4 pots in buffer.

Funnily enough I noticed one of my sorcs not using buffer last night and will look into it later, but I've customised quite a bit so I probably broke something..

Maybe someone else can help ya, soz :\