Giter Site home page Giter Site logo

isid0re / sololeveling Goto Github PK

View Code? Open in Web Editor NEW
67.0 13.0 37.0 1.34 MB

The original multi-class single character leveling script for Kolbot. Blizzhackers / Kolbot from level 1 to 99. After the initial setup, the bot will operate without user involvement.

Home Page: https://buymeacoffee.com/isid0re

License: GNU General Public License v3.0

JavaScript 100.00%
kolbot blizzhackers character d2bs d2bot autoplay diablo2

sololeveling's Introduction

SoloLeveling

this project is no longer active-- and no longer works with the current versions of Kolbot.

SoloLeveling is the original multi-class single character leveling script for Kolbot. The overall goal of the project is to be the easiest to use and fastest leveling script for any character class.

NOTE: This script is designed to be only run from https://github.com/blizzhackers/kolbot. Most errors occur from using the wrong Kolbot repo installation.

If you enjoy using SoloLeveling consider supporting me at buymeacoffee.com/isid0re.

How SoloLeveling came to exist and where its going

Standing on the shoulders of giants - Sir Isaac Newton

Autoplay bots have been around for a while, so the concept of a kolbot based leveling script isn't new. What previously existed were sorceress based leveling bots focused on MF farming: Sonic, AutoPlay, and AutoSorc, respectively. Each on of those built on eachother to create a method that worked for what most botters want, a fast script that can get to hell and MF the key areas for profit.

That wasn't what I wanted or needed. I play solo with limited time for gaming, therefore I needed a way to level up my characters and gear them up by themselves so I had a character ready to use when I wanted to play the character, regardless of the class.

Initially, I wanted a paladin to try and do Ubers, but I didn't want to level up a paladin. At the same time the covid pandemic was in full swing and I had become aware of the speedrunner community. With the lack of a non-sorceress leveling script and new found knowledge of speedrunner methods to level quickly, I started a new hobby learning to code. Thus, the process of making my own leveling script for all classes was born.

I'm not a coder or programmer, but I do have a background in structured thought. So I started by looking at the sorceress based scripts to see if they could be modified. The results showed it was not an ideal solution. Therefore, I started building off the quest.js script of regular kolbot and attempted to keep it with as minimal modifications as possible.

With lots of questions asked on blizzhackers discord initially, I started adding in functions to fix problems with walking scripts, such as the act 5 monster doors, summoner telepad portals, and objects blocking the pathing movements.

Prior to the SoloLeveling, leveling scripts either used static or algebraic lines to evaluate tiers. I didn't like that approach as it lead to over emphasising certain resists or attributes, so I created the rating system dynamictiers.js. It was the creation of my own dynamictier functions when SoloLeveling truly became its own script. It was that point, when I decided I could really make it fully automated and something that went beyond what currently existed.

Since inception I've added in completely new functions that have become standard operating for walking bots, a methodology that allowed the bot to be driven completely from the profile without any file edits, a truly dynamic autoequip scoring, autoequipping for charms, implemented baalwave skipping, and real time diablo lightning avoidance.

Using trial and error over the course of its development the bot has grown to its current status and it will continue to get better. It is a far cry from my original single file script. While I've brought innovation and a novel approach to using kolbot, I have been fortunate to have been advised by some of the major thought leaders of blizzhackers: Jaenster, DZIK, Nishimura_Katsuo, macohan, Laz, Fa-b, and Noah in one way or another. Their guidance has really helped improve my programming skills and understanding of botting.

I never had planned to release this bot to the public as it was for my own personal hobby project. It became public because I didn't know how to setup a github repo and inadvertantly made it available to others. Since it became public domain I rolled with it and others started to take notice. SoloLeveling has always been a personal hobby project and not something planned or developed for recognition of the community. There has never been a team of developers for SoloLeveling either, but there have been both users of the script and code developers who saw SoloLeveling's potential and submitted PRs for bug fixes, builds, and quality of life improvements. Since its popularity has grown after the Kolbot-Forever youtube video, others have decided to make their own versions based off my script.

I am content to just work on my little project and complete the original goal: the easiest to use and fastest leveling script for any character class. I believe i have succeeded in the first part with the fully profile driven mechanics. As for the fastest leveling script, I continue to try out different methods, build designs, and script sequences that can work with kolbot.

Thank you all for your appreciation of SoloLeveling and continued support. I am truly flattered by the attention my hobby project has gained.

Features

  • Operates in Hell difficulty within 24 hours
  • Includes character build options for final respec
  • Plays and finishes the game through Act 5 Hell
  • Hires class/build specific mercenary
  • Fully configured Autoequip for bot and mercenary (includes inventory charms)
  • Makes and equips CTA and spirit shield on swap
  • Will add and use sockets (for ex. PDiamonds to Moser's, Ral to Andariel's Visage)

Available Characters and Builds

Amazon Sorceress Necromancer Paladin Barbarian Druid Assassin
Javazon Cold Poison Hammerdin Singer Wind Trapsin
Witchyzon BlizzBaller Bone Smiter Frenzy Elemental Bumper
Bumper Meteorb Summon Bumper Whirlwind Fury Socket
Socket Blova Bumper Socket Bumper Rabies
Lightning Socket Socket Bumper
Bumper Socket
Socket

Frequently Asked Questions

Q: Why isn't the bot making the build I selected?

A: The bot follows a set build progression. As it progresses, it will respecialize 2 times transitioning from a start build to a leveling build, ending at the selected finalbuild.

Q: The bot has beaten diablo (classic) / baal, so why isn't moving on to the next difficulty?

A: The bot will only progress once it has reached a minimum minimum character level (33 for normal and 65 for nightmare) and will not start the next difficulty with negative resistances. If the bot is more than 5 levels higher than the minimum character level and has not reached the required resistances, it will automatically move to the next difficulty.

Q: How can I run more than one of the same class?

A: Simply append a number after the class name. For example, if you want to run 5 sorceresses just name the profiles: SCL-SORC-1, SCL-SORC-2, SCL-SORC-3, SCL-SORC-4, SCL-SORC-5. Example Profile Names are listed at the bottom of the install guide.

Q: HELP!!! There an error when starting the bot?

A: There was a bad installation OR the profile settings are wrong. First verify that you using the kolbot version linked the install guide below. Next, confirm you have installed all the files into their proper locations (including overwriting the existing _customconfig.js and default.dbj). Finally, verify the profile name and infotag follow the format of the install guide's instructions.

Install Guide

Step Instructions
1. Download Kolbot here: github.com/blizzhackers/kolbot. blizzhackers github
2. Click the green button to Download SoloLeveling. enter image description here
3.a Copy and paste the following: default.dbj, D2BotSoloLevelingEntry.dbj, D2BotSoloCleaner.dbj, and the entire \libs folder into \d2bs\kolbot.
3.b A successful installation will show 2 new files in the folder and look similar to the second image extract into
4.a Select and Input a profile name. See the Possible Profile Name Choices below for a list of available options. set profile name
4.b Optional Input your account name. If no name than a random account is created.
4.c Optional Input your account password. If no name than a random password is created.
4.d Optional Input your character name. If no name than a random name is created. enter character name
5. Select Entry Script D2BotSoloLevelingEntry.dbj. Select Entry Script
6. Input your Info Tag Information. See Available Characters and Builds for a a list of options.

Make sure the spelling matches the listed builds and there are no trailing spaces.
enter image description here
7. Ensure your Game Path, Key List, Realm, Mode are all set on the settings you want to use then click Apply.
8. Run the Bot.
9. Enjoy!

Possible Profile Names

Prefix Description
HCCNL Hardcore Classic NonLadder
HCCL Hardcore Classic Ladder
HCNL Hardcore Expansion NonLadder
HCL Hardcore Expansion Ladder
SCCNL Softcore Classic NonLadder
SCCL Softcore Classic Ladder
SCNL Softcore Expansion NonLadder
SCL Softcore Expansion Ladder
Suffix Description
ZON Amazon Class
SORC Sorceress Class
NECRO Necromancer Class
PAL Paladin Class
BARB Barbarian Class
DRU Druid Class
SIN Assassin Class

Example Profile Names

  • SCL-PAL would make a softcore expansion ladder paladin
  • HCL-SIN would make a hardcore expansion ladder assassin
  • SCNL-SORC would make a softcore expansion nonladder sorceress
  • HCNL-DRU would make a hardcore expansion nonladder druid
  • SCCL-NECRO would make a softcore classic ladder necromancer
  • HCCL-NECRO would make a hardcore classic ladder necromancer
  • SCCNL-PAL would make a softcore classic nonladder paladin
  • HCCNL-SORC would make a hardcore classic nonladder sorceress

Discord

Join me on Discord. Link is here: https://discord.gg/q7tME8RAHh -- NO LONGER ACTIVE

Support SoloLeveling

This is a hobby project that I'm doing in my spare time. So if you enjoy using SoloLeveling consider supporting me at buymeacoffee.com/isid0re.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GPL-3.0

Banner Image

The banner for SoloLeveling was graciously provided by Patricia Dias.

sololeveling's People

Contributors

e-n-g avatar isid0re avatar talmandev avatar thebguy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sololeveling's Issues

"Status" Info on D2Bot (aka Kolbot)

Please update the code that the current state of the char (area, lvl, gold,...) is shown up in the "Status" tab on D2Bot.
It seems stuck at "Make Game Delay (3s)".

CLassic + LOD Check + Config

[Enhancement]
Maybe implement a check if the char is on classic or expansion and then there could be a individual config for each one.
It is for example not neccessary to do a towerrun with lvl 19 in act2 already.. you dont get any runes in classic nor experience.

Need custom picking function

Ashampoo_Snap_2020年11月21日_09h23m22s_005_

BOT didn’t store ZOD in the chest, but took it out as garbage

I lost ZOD

Zod Rune (1)
Can be Inserted into Socketed Items

Weapons: Indestructible
Armor: Indestructible
Helms: Indestructible
Shields: Indestructible

Required Level: 69
Area: Chaos Sanctuary
Line: SoloLeveling #1

Some feedback

First things first. Thanks for using time to create these scripts. Its nice to have another autoleveler for other classes than sorceress available. Ive been using the Necro leveler and have made a few observations.

  1. It stalls a few seconds before talking to anyone in town. Not such a big deal but when it talks to 3 nps each time it ports to town it really adds up.
  2. Speaking of porting to town, it does this an awful lot. Im talking if it finds any blue/yellows on ground. Which is quite often. Adding to issue in number 1 it is slow going. I started this profile at 5pm and its now 2am as I left him to his own devices after watching for the first hour and than last half hour before pausing it.
  3. I noticed that bot filled up stash with some large weapons for merc, armors and helm but never equipped the merc with them. Merc had no items equipped before I paised and checked things out at 2am. I clean the stash out and equipped the best that was stashed and turned the bot back on.
  4. 9 hours into running script and it just now completed cube run. Maybe its just bad luck on my end but I would have thought it would have been further. He started piecing the staff back together and then had a failed to use portal error and left game.
  5. Upon returning, the bot than started the run back up by starting with countess in act 1. Not sure why but I left it and will check again in a few hours to see where its at.

Im using necro and edited the configuration file to end up with a summon build. The setup was on a fresh copy of kolbot. Followed your install direction exactly.

Im here to adjust whatever you need me to and u will continue to give more feedback when I have it. My plan is to startup another necro tomorrow with another build and watch it. Ill start new thread on that as well when I find odd behavior.

Thanks again. Im excited to test your other builds and can beta test others for you if you're working on other builds. Just let me know. H

bug: can't go to nightmare

After creating the room, exit the game immediately and display SoloLeveling: run completed. Character Level: 24. Running script again!

The error seems to have come from Attack.js

This problem only occurs in sorc

interact issue with black.mpq

There r some problems with interacting NPC with using black mode(changed mpq or direct txt or both, u know. dont know how can i say) to reduce cpu resources.
In act1, killed andariel and tried to interact warriv but if it failed(high possibilities), there comes "couldn't access the level", and in the next room, character tries to use waypoint to get to act2. and it fails ofc.
U have any idea about this or should i not use the black mode? Also server is not good anyway to deal with interact. If it could't interact right in the first game there will be much more problems.

reference to undefined property stringArray error

Hello,

Iam getting this error pretty mucht every time.

D2BS 16468: [Strict Warning] Code(162) File(c:\kolbot\d2bs\kolbot\libs\sololeveling\functions\ntipoverrides.js:159) reference to undefined property stringArray[i]
Line: (null)

It is preventing the bot form continuing.
This is happening in at hepasto.
It pick up the hammer and afterwards i get this message.
The bot leaves the game and starts over.

I have checked the code at the mentioned line
rval.line = stringArray[i].file + " #" + stringArray[i].line;

I can only assume it is the space that is messing up somehting " #"

Error at Duriel

Hi Isid0re,
I use 4 bots with your scripts but they are stuck at Duriel.
They don't take the staff from the stash and then place it in the orifice.

Error in SoloLeveling (pather.js #817) useUnit: Unit not found. ID: 100 (Area: 66, Ping:0, Game: )

Ps: I love your script and look forward to your future updates, Good Job m8.

Meteorb script...

Hey man idk if you can help me or someone else, but i been trying to make a sorc with these solo leveling scripts, and i keep setting the end build to meteorb but EVERY time it uses the first respec after the starter build even when i have the meteorb script set and the //'s taken out it still keeps loading the blizzballer and using the blizz baller skills...its starting to get very frustrating and just wanted to see if you can help me?

2 Errors

hi, i followed your guide, and when my bot enters a game i get 2 errors.

  1. Error in sorceress."mycharactername".js(line 304): respecOne is not defined
  2. [error (o)] Finle(kolbot/libs/common/config.js:95) Error: Config.init: Error in character config.
    im new to botting so im not sure what any of this means.

Pickit Tier (Tier) error!

Pickit Tier (Tier) error! Line # 1 Entry: undefined (SoloLeveling) Error message: Items is not defined

Keep refreshing

for nec

SoloLeveling Paladin

Hey,

tonight i gave my Paladin an Anni. Locked the Inventory for it but i think he still dropped it. Is there any Line that he doesnt take an Anni?

Fail to launch bot on a fresh install.

The following Errors show up:
First off: Error in sorceress.levelme.js(line62): Config.Hephasto is undefined.
I can just comment that one out, and line 63 as well, since they don't work.

Then we get Error in ntipoverrides.js(line19): itemString.toLowerCase(...).includes is not a function

We also get File(kolbot\libs\common\config.js:95) Error: Config.init: Error in character config.
Probably because LoadConfig.call() failed

pal blocked by a wine barrel.

Pal wants to open the chest in the room, but the door is blocked by a wine barrel.

Difficulty in hell

Loop
move retry1
move retry2
move retry3

Sorc is stuck at hire merc on a2 (classic)

The sorc is stuck at the hire merc screen on act 2. It seems to not close it properly. When i manually clicked "close", then the bot continues fine....

PS: I try classic here

stuck at diablo

not really an issue, more of a question, but is it common for a sorc to get stuck at diablo? it never has enough money and uses pots so fast it runs out halfway through opening seals, then it just goes to hit things. i let the but go for a whole night to see if it would eventually get through it, but it didnt, it was just leaving when it almost dies and then going back in, over and over again. is there something i can do to help it finish the area and move on?

Not pressing trade / repair

Hello I just started using this script, and watching my characters I noticed they will talk to akara / charsi in A1 but not actually select trade / repair from either of them so they'll just stand there for a while.

Could I have done something wrong or is anyone getting this issue?

How could I fix?

Thanks in advance

Stuck in a loop in act 2

I've been running the bot as a necromancer and watching it run in a loop for about an hour now. The bot gets stuck in the Maggot Lair trying to skip mobs, goes to town and restarts the routine by going to the waypoint and running through everything again. During "skipping ", the bot keeps spamcasting amp damage or just stands still.

I tried pausing the script, entering the portal manually and then continuing the script, but it would throw an error on useWaypoint and create a new game.

I also noticed that whenever starting a new game, bot goes to countess and apparently fails to kill countess almost immediately after starting the fight, and that it completely skipped quest 5 in act 1.

Stop hitting Barrels

Please remove the Barrels from hitting.

What would be good instead is open the graves on Tower (Countess) and just there... because often there will be 10fcr rings/amulet inside.

java & trap

first thank you for your effort and working on this project. great stuff.

if you have time to add amazone and assasin that would be great.

regards.

Missing Solo.necromancer config file

Hi, I noticed there's a few new builds available. But unlike sorceress and paladin which has the solo.paladin config file, necromancer does not have it

sorc stop in act4

Ashampoo_Snap_2020年12月6日_13h51m33s_007_
here Twice.

Error in SoloLeveling (default.dbj #79) too much recursion

Error in TownChicken.js (town.js #2231) Town.visitTown: Failed to go back from town

Error in SoloLeveling (sololeveling.js #2174

Hey
My Paladin Hammerdin(hell) came to act 3 travical and there comes up with this error

09:08:02 (pal leveling) [Game: Hchgfhfg372//Fgbh (15:12)] [Level: 83 (50.51%)] [XP: 3686639] [Games ETA: 11]
09:21:18 (pal leveling) Error in SoloLeveling (sololeveling.js #2174) target is undefined (Area: 83, Ping:125, Game: Hchgfhfg373)
09:21:18 (pal leveling) [Game: Hchgfhfg373//Fgbh (13:02)] [Level: 83 (53.52%)] [XP: 2401183] [Games ETA: 15]
09:32:36 (pal leveling) Error in SoloLeveling (sololeveling.js #2174) target is undefined (Area: 83, Ping:78, Game: Hchgfhfg374)
09:32:36 (pal leveling) [Game: Hchgfhfg374//Fgbh (11:04)] [Level: 83 (56.20%)] [XP: 2142255] [Games ETA: 16]
09:45:08 (pal leveling) Error in SoloLeveling (sololeveling.js #2174) target is undefined (Area: 83, Ping:78, Game: Hchgfhfg375)
09:45:08 (pal leveling) [Game: Hchgfhfg375//Fgbh (12:16)] [Level: 83 (60.68%)] [XP: 3577921] [Games ETA: 9]
09:59:49 (pal leveling) Error in SoloLeveling (sololeveling.js #2174) target is undefined (Area: 83, Ping:79, Game: Hchgfhfg376)
09:59:49 (pal leveling) [Game: Hchgfhfg376//Fgbh (14:27)] [Level: 83 (66.11%)] [XP: 4345469] [Games ETA: 6]
10:02:00 (pal leveling) [Game: Hchgfhfg377//Fgbh (01:56)] [Level: 83 (66.66%)] [XP: 437752] [Games ETA: 61]

He then begins a new game: andy-Lower Kurast-travincal and then this error comes up and it happens over and over and the bot does no progression

Bot crashes as it enters Act 1 Normal.

This is probably a minor thing im missing as its 1am, and I need some shut eye.
But i'll put it out here regardless.
I've set up a Wind Druid to go forth and prosper - but i get this message about 5 seconds after it enters the game.
"starting run" appears above his head, and then it crashes completely.

00:52:47 (*****) Window has unexpectedly exited... starting profile
00:52:50 (*****) Crash Info: Script: no entry Area: Rogue Encampment

any help much appreciated. Thanks in advance!

Blizzard unlocking the seal, there are still remaining mobs not cleared

act4 diablo

Error in SoloLeveling (pather.js #818) useUnit: Unit not found. ID: 566 (Area: 103,

Is it possible to add custom picking
Burning Essence of Terror
Twisted Essence of Suffering
Festering Essence of Destruction
Charged Essence of Hatred

I want to convert to Meteorb

thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.