GitXplorerGitXplorer
d

d2bs

public
14 stars
13 forks
1 issues

Commits

List of commits on branch master.
Unverified
de7b3e5cfd0938f24a4f5550e4bb521687eae5b0

Add README.md

dds-hwang committed 9 years ago
Unverified
ffc972b9b2edc1f8eee75951239c1377f82f95d0

me.charflags oog flags for hc and dead, extending getState from 159 to 183

committed 9 years ago
Unverified
e7e2778b1c421ba5768e067364cb35071149a2a5

fix getNext for missiles

committed 9 years ago
Unverified
86b49f7d1e51c231cb1bab2f8c801d4eaa40f9ce

socket fixes

committed 10 years ago
Unverified
06da88efd4fd68668346126a5261a260c5079a23

Fix screen hook Image

committed 10 years ago
Unverified
ce73d980c62859c0e5caea7bf92e83523b161cf2

adding missing files

committed 10 years ago

README

The README file for this repository.

d2bs

D2BS, short for Diablo 2 Botting System, uses the open source Javascript engine named 'SpiderMonkey' to execute user scripts inside of Diablo 2. It's mirror of official svn repo (https://app.assembla.com/spaces/d2bs/wiki/Home)

How it works

D2BS core

JS script

function main() {
   var pickit = new Pickit("items.ini"); // assume the default items file
   
   // we won't check what act we're in because we don't care
   // we'll do whatever we need to in whatever act we're in
   
   // this is from the Town Manager library, and according to
   // the documentation it restocks the TP and ID scrolls as well as repairs and heals
   Town.Restock();
   
   Town.Waypoint.Use(101); // here we're taking the waypoint to durance of hate 2
   waitForArea(101); // we're gonna wait until we're in durance 2
   precast();
   
   var stairs = findStairs(102); // find the stairs that lead to durance 3
   moveTo(stairs); // I should be checking to make sure it found the stairs, but I'll assume it did
   takeStairs(stairs);
   waitForArea(102); // wait until I'm in durance 3

   moveTo(x,y); // here I'd replace x,y with some coordinates I find that are where I want them to be: near meph, but not too close

   if(!checkSwitch()) { // if we're not on the right switch, do that first
      switchTab();
   }
   if(!checkSkills()) { // if our skills don't check out, fix 'em
      precast();
      switchToSkills();
   }
   attack(); // kill mephisto!
   pickit.grabItems(); // grab whatever he dropped if we want it

   var portal = findPortal(); // now I'll find the portal to act 4
   moveTo(portal);
   portal.interact();
   quitGame();
}

Current Version

commit ffc972b9b2edc1f8eee75951239c1377f82f95d0
Author: bobode <bobode@080cfd25-d5d9-4c59-82ea-70d02a200d8b>
Date:   Mon Feb 22 02:01:02 2016 +0000

    me.charflags oog flags for hc and dead, extending getState from 159 to 183
        
	    git-svn-id: https://subversion.assembla.com/svn/d2bs@1856 080cfd25-d5d9-4c59-82ea-70d02a200d8b