kolton / d2bot-with-kolbot

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

Lord de seis and Infector of Souls #2930

Open bub1hu opened 3 years ago

bub1hu commented 3 years ago

Hello

I use the program for Classic running and my problem is that after opening the seal (Lord De Seis, Infector of Souls) they often do not attack the characters in time. (think the movement of the characters has been optimized for teleport) they try to go to the position but they can't and just stand. This is quite dangerous in hardcore. Is there possibly a setting where the characters attack immediately after the two super unic appear and don’t look for a position?

Thank you for your help

Spink2019 commented 3 years ago

I have the same issue. Just decided to try classic botting. Hopefully some smart people will read this. :)

gtoilet commented 3 years ago

in your diablo.js and diablohelper.js , there are the this.vizierSeal this.infectorSeal

there is , Pather.moveTo ...... determines where your guy tries to get back to before starting to attack just depends what the layout is

the newest zip from github has this that you can enable

this.NoTele(true)

so after your in cs they only walk around

Spink2019 commented 3 years ago

in your diablo.js and diablohelper.js , there are the this.vizierSeal this.infectorSeal

there is , Pather.moveTo ...... determines where your guy tries to get back to before starting to attack just depends what the layout is

the newest zip from github has this that you can enable

this.NoTele(true)

so after your in cs they only walk around

Thanks for reply.

I found... this.vizierSeal this.infectorSeal

this.seisSeal = function () { print("Seis layout " + this.seisLayout); this.followPath(this.seisLayout === 1 ? this.starToSeisA : this.starToSeisB);

    if (!this.openSeal(394)) {
        throw new Error("Failed to open de Seis seal.");
    }

    if (this.seisLayout === 1) {
        Pather.moveTo(7771, 5196);
    } else {
        Pather.moveTo(7798, 5186);
    }

    if (!this.getBoss(getLocaleString(2852))) {
        throw new Error("Failed to kill de Seis");
    }

    return true;
};

this.infectorSeal = function () { print("Inf layout " + this.infLayout); this.followPath(this.infLayout === 1 ? this.starToInfA : this.starToInfB);

    if (!this.openSeal(392)) {
        throw new Error("Failed to open Infector seals.");
    }

    if (this.infLayout === 1) {
        delay(1);
    } else {
        Pather.moveTo(7928, 5295); // temp
    }

    if (!this.getBoss(getLocaleString(2853))) {
        throw new Error("Failed to kill Infector");
    }

    if (!this.openSeal(393)) {
        throw new Error("Failed to open Infector seals.");
    }

    return true;
};

What do I change the Pather.moveTo? I also cannot find a this.NoTele in the Diablo or DiabloHelper script. I think I have the newest one. I also looked it up online and searched for that phrase and didnt find it. I may be ignorant. :)

gtoilet commented 3 years ago

it depends on the seal layout and where you want them to go and wait for the seal mob to spawn = what you change the pather.moveto(.....

the notele you can just put in the script after cs portal like this below

function Diablo() {

this.NoTele = function() { if (me.area == 108) { Config.NoTele = true } return false; };

// start ...... ..... ..... `this.NoTele(true)

Attack.clear(25, 0, false, this.sort);
this.infectorSeal();
this.seisSeal();
Precast.doPrecast(true);
            delay(4500);
this.vizierSeal();`
Spink2019 commented 3 years ago

I dont know what numbers to put. I just want my chars to stop running through the mobs and getting stuck/hit hard. I am fine with them moving closer to the seals boss. Just want them to stop walking past/through the boss/mobs. How do I know what numbers to put?

What are you saying here? Attack.clear(25, 0, false, this.sort); this.infectorSeal(); this.seisSeal(); Precast.doPrecast(true); delay(4500); this.vizierSeal();`

gtoilet commented 3 years ago

lower number means they back track less ... but COULD miss some strays higher number they may back track more ... but will miss LESS strays

open in game bs console with alt+home type me.x < gives x location type me.y < gives y location for you to change where they go after seal click to wait for mobs to spawn , you change these numbers to what you want if (!this.openSeal(392)) { throw new Error("Failed to open Infector seals."); }

if (this.infLayout === 1) {
    delay(1);
} else {
    Pather.moveTo(7928, 5295); // temp

each layout has 2 different paths make sure you change the right ones when you do

What are you saying here? Attack.clear(25, 0, false, this.sort); this.infectorSeal(); this.seisSeal(); Precast.doPrecast(true); delay(4500); this.vizierSeal();`

i was showing you how to implement the noTele

Spink2019 commented 3 years ago

type me.x < gives x location type me.y < gives y location

Where does this show up? It is not working for me. Console is pulled up and I type that info. Nothing. Im sorry I suck. :)

gtoilet commented 3 years ago

when you first join game push together alt+home brings up the console where you can then type me.x < will give you x me.y < will give you y

like you would enter commands in dos it will print cords after you send the me.x/y

image

Spink2019 commented 3 years ago

Got it!

I am only seeing Seis layout 1...

this.seisSeal = function () { this.followPath(this.seisLayout === 1 ? this.starToSeisA : this.starToSeisB, this.sort);

    if (this.seisLayout === 1) {
        Pather.moveTo(7771, 5196);
    } else {
        Pather.moveTo(7798, 5186);
    }

    if (!this.getBoss(getLocaleString(2852))) {
        throw new Error("Failed to kill de Seis");
    }

    if (Config.FieldID) {
        Town.fieldID();
    }

    return true;
gtoilet commented 3 years ago

Pather.moveTo(7771, 5196); > is one layout

Pather.moveTo(7798, 5186); > is other layout

one is a 2 other is a 5

Spink2019 commented 3 years ago

After doing some testing I think I may know which each one is.

one is a 2 other is a 5? Now I am really confused! lol

gtoilet commented 3 years ago

when i said 2 and 5 .... thats the layout that from star to seis seal looks like

image

Spink2019 commented 3 years ago

This layman finally got it! Thanks!