kolton / d2bot-with-kolbot

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

Finally FIXED the MH + Auto/FastPick #3199

Open Oesterluca opened 1 month ago

Oesterluca commented 1 month ago

Hey Guys, just wanted to present you my final working result on the big issue for playing manual and using both MH and AutoPick/FastPick

Let me guide you:

  1. get the latest version of Kolbot!

  2. follow the path and insert your char config (soreceress.xxx.js) here: d2bs\kolbot\libs\manualplay\config

  3. Open your char config and set line 26: Scripts.UserAddon = true;

  4. Set Config.FastPick = true;

  5. follow the path d2bs\kolbot and open your default.dbj

  6. line 48 to line 60 will be this:

    // SoloPlay runs in it's own thread - check to ensure it exists in the files if (getScript("D2BotSoloPlay.dbj") && FileTools.exists("libs/SoloPlay/SoloPlay.js")) { load("libs/SoloPlay/SoloPlay.js"); getScript(true).stop(); // kill this thread return true; }

    // map mode runs in it's own thread if (getScript("d2botmap.dbj")) { load("libs/manualplay/main.js"); getScript(true).stop(); // kill this thread return true;

  7. mark the lines and exchange them for this and save the file:

    // SoloPlay runs in it's own thread - check to ensure it exists in the files if (getScript("D2BotSoloPlay.dbj") && FileTools.exists("libs/SoloPlay/SoloPlay.js")) { load("libs/SoloPlay/SoloPlay.js"); getScript(true).stop(); // kill this thread return true; }

    // Blanc if (getScript("d2botblank.dbj")) { load("libs/manualplay/main.js"); }

    // map mode runs in it's own thread if (getScript("d2botmap.dbj")) { load("libs/manualplay/main.js"); getScript(true).stop(); // kill this thread return true; }

  8. Change your Entry Script to: D2BotBlank.dbj

If there are any issues, hit me up :) Its working perfect for me!

Basicly its just, if u use EntryScript Blank, the new lines in the default.dbj force it to load the manualplay Config which includes the MH, the Useraddon does the rest by activating the fastpick. :)

theBGuy commented 1 month ago

This code is unrelated to this repo, but also why wouldn't you just run mapmode with Config.ManualPlayPick enabled? This isn't an issue