Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed many magic numbers and using Enums instead. #228

Open
wants to merge 326 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
326 commits
Select commit Hold shift + click to select a range
599b407
Merge pull request #12 from CrazyCasta/TestVer
kolton Aug 10, 2012
e1cf66f
D2BotChannel.dbj/D2BotFollow.dbj/D2BotLead.dbj/D2BotMuleLog.dbj - add…
kolton Aug 10, 2012
1bd8b83
hotfix
kolton Aug 10, 2012
ca3814a
town tweaks
kolton Aug 10, 2012
21352fa
jslint'd OOG.js, small fix in D2BotMule.dbj
kolton Aug 10, 2012
fdf24cf
version 1.0.1.4
noah- Aug 11, 2012
43b6401
Town.js fix for repeated logging
kolton Aug 11, 2012
ec2832a
Merge branch 'TestVer' of https://github.com/kolton/d2bot-with-kolbot…
kolton Aug 11, 2012
e94280e
Add check for realm.class.profile.js and class.profile.js.
Aug 12, 2012
2ec2928
Merge branch 'TestVer' of https://github.com/CrazyCasta/d2bot-with-ko…
Aug 12, 2012
6ec6ca5
Merge pull request #13 from CrazyCasta/TestVer
kolton Aug 12, 2012
95a3316
Update Readme.txt
noah- Aug 14, 2012
6098bc4
aug 16.
kolton Aug 15, 2012
fceeea6
Update d2bs/kolbot/libs/bots/ShopBot.js
DetectiveSquirrel Aug 20, 2012
f35715e
Merge pull request #14 from MrSithSquirrel/TestVer
kolton Aug 21, 2012
38ee06a
Added eth transparency and made item search over 9000 times faster
noah- Aug 21, 2012
1b54d04
Console: Line color fix, clear option Item Log/Char; Items: Clear Lis…
noah- Aug 25, 2012
215463f
Item Searching now uses standard regular expressions, no more '+' use…
noah- Aug 25, 2012
ac718de
fixed the listview clear, images save as full quality .pngs you have …
noah- Aug 25, 2012
1eb4f3c
D2BotLead.dbj - added TorchSystem and torch muling
kolton Aug 28, 2012
ad9eb90
torch mule hotfix for lobby chat
kolton Aug 29, 2012
c425ebc
disable orgtorch by default
kolton Aug 31, 2012
ce62ac3
uninterruptible muling test
kolton Aug 31, 2012
1f82bea
added mule filter
kolton Aug 31, 2012
24e12c6
sep 03
kolton Sep 3, 2012
a8481d6
reverted d2bs core due to crashes
kolton Sep 4, 2012
4e23e23
Add timeout config for DiabloHelper.
Sep 10, 2012
c976db5
Several minor updates to scripts.
Sep 10, 2012
98a99b0
Add error messages to help find configuration mistakes.
Sep 10, 2012
72735d7
Fix muling in D2BotFollow.dbj.
Sep 10, 2012
58dd26a
Fix D2BotMuleLog.dbj to handle Connecting... state properly.
Sep 10, 2012
c9162f3
Small tweaks to improve OOG reliability.
Sep 10, 2012
fbae114
Fix to not try to tp from Uber Tristram.
Sep 10, 2012
bd6583d
Add fix to make sure WPs are loaded.
Sep 10, 2012
3b7bfba
Add area clearing to Rusher.
Sep 10, 2012
72880d4
Add check for both spots of Hratli (and code to do the same for other…
Sep 10, 2012
f49aae9
Add Synch scripts.
Sep 10, 2012
b14b21a
Merge branch 'TestVer' of https://github.com/kolton/d2bot-with-kolbot…
Sep 10, 2012
439d1a2
Merge pull request #21 from CrazyCasta/TestVer
kolton Sep 10, 2012
e613ad8
sep. 10
kolton Sep 10, 2012
aafa029
Wakka.js - Added a check to see if they have already moved onto baal.
RyansGit Sep 11, 2012
125c7a5
Minor Update
RyansGit Sep 11, 2012
e2a5aa9
Fix that YGM caught in DiabloHelper.js.
Sep 11, 2012
4c32031
Fixed transmuting and cubing string.
RyansGit Sep 11, 2012
10cd617
Added GetFade option for OrgTorch.js
RyansGit Sep 11, 2012
2a71237
Minor gamble fix, relates to act 4 only.
RyansGit Sep 11, 2012
39bcce0
Merge pull request #23 from CrazyCasta/TestVer
kolton Sep 13, 2012
d9d731e
Minor Fix
RyansGit Sep 13, 2012
d4797d7
Merge branch 'TestVer' of https://github.com/kolton/d2bot-with-kolbot…
RyansGit Sep 13, 2012
dae7a75
Updated
RyansGit Sep 13, 2012
9fab1bb
Updated Tristramleech and TravincalLeech and added them to all of the…
RyansGit Sep 13, 2012
6b33db9
Merge pull request #22 from YourGreatestMember/TestVer
kolton Sep 13, 2012
b65012c
sep. 13
kolton Sep 13, 2012
0049fb5
fix for fix
kolton Sep 13, 2012
5624dec
sep 15
kolton Sep 15, 2012
1998010
town fix
kolton Sep 16, 2012
fb716c8
Added script for clearing Undergroud Passage level 2. It is a level 8…
mnikic Sep 23, 2012
c35c71b
Added ability to tell bot to heal curse, or poison when in town. Adde…
mnikic Sep 29, 2012
6d382f5
Merge pull request #24 from mnikic/TestVer
kolton Sep 29, 2012
fc6bf33
fixed a .net crash
noah- Oct 18, 2012
2e3288d
Nov 2.
kolton Nov 4, 2012
7ce9782
blacklist hotfix
kolton Nov 5, 2012
23daf89
lowgold hotfix
kolton Nov 5, 2012
33e5d26
nov 6
kolton Nov 6, 2012
762be17
nov 9
kolton Nov 8, 2012
8a8c577
packet casting off by default
kolton Nov 9, 2012
3d7e2dc
mfswitch hotfix
kolton Nov 9, 2012
1ce102d
CollMap hotfix. The bot can move once again.
kolton Nov 9, 2012
04486f7
BattleOrders bugfix
kolton Nov 9, 2012
7ac0384
nov 10
kolton Nov 10, 2012
d3a99cf
mulelog fix
kolton Nov 10, 2012
e66c0ff
19. nov
kolton Nov 19, 2012
abd758d
test fix for paladin attacks
kolton Nov 21, 2012
e4ee5cf
25. nov
kolton Nov 25, 2012
e855cba
30. nov.
kolton Nov 30, 2012
75ebf39
char config hotfix
kolton Nov 30, 2012
dd8269e
pather fix
kolton Dec 1, 2012
140092f
BaalAssistant.js - Added new script which makes BaalHelper and AutoBa…
RyansGit Dec 2, 2012
960e05f
Multi-Channel Announcements added.
RyansGit Dec 2, 2012
07fcfef
Baal.js - Parsed through jslint courtesy of Kolton.
RyansGit Dec 2, 2012
9a52d7e
Merge pull request #27 from YourGreatestMember/TestVer
kolton Dec 2, 2012
8daf5a8
BaalAssistant.js hotfix.
RyansGit Dec 2, 2012
34a36db
BaalAssistant.js - Hotfix modified more.
RyansGit Dec 3, 2012
2082d4c
04. dec
kolton Dec 4, 2012
5863046
starter hotfix
kolton Dec 5, 2012
aed5bd4
RushThread.js: safe tp @ andariel, ancients; safe movement @ travincal
Dec 7, 2012
af2cb86
Added Sharptooth slayer script
mnikic Dec 7, 2012
030866e
Change the color of the item shown in the messages:Trying to make ro…
mnikic Dec 7, 2012
78e337d
Merge pull request #29 from cuss/TestVer
kolton Dec 7, 2012
68b6ba1
Merge pull request #30 from mnikic/TestVer
kolton Dec 7, 2012
dce15b7
Merge pull request #28 from YourGreatestMember/TestVer
kolton Dec 7, 2012
1687439
dec 09
kolton Dec 9, 2012
8598946
Merge branch 'master' of https://github.com/kolton/d2bot-with-kolbot
kolton Dec 9, 2012
2cbd9b3
restoring lost pull from Loshmi
kolton Dec 9, 2012
f62443a
11 dec
kolton Dec 11, 2012
f65a6a1
14. dec
kolton Dec 14, 2012
ec83cf8
hotfixes
kolton Dec 14, 2012
a01ea37
dec 15.
kolton Dec 15, 2012
13e2a32
17. dec
kolton Dec 17, 2012
100c473
YGM - 18th of December
RyansGit Dec 18, 2012
d0fd771
Merge pull request #33 from YourGreatestMember/master
kolton Dec 18, 2012
698b20e
20. dec
kolton Dec 20, 2012
6ffdc6a
Merge branch 'master' of https://github.com/kolton/d2bot-with-kolbot
kolton Dec 20, 2012
77b0b3c
22.dec.
kolton Dec 21, 2012
c4cce15
automule hotfix
kolton Dec 22, 2012
405f4c9
automule hotfix 2 (respects enabledProfiles in TorchMule)
kolton Dec 22, 2012
9810315
temp version launch
kolton Jan 23, 2013
510a74e
fixpack 1
kolton Jan 24, 2013
c8a94fe
temp 2
kolton Jan 26, 2013
9138bb3
Jan 27, fixed some cdkey errors, profile swap
noah- Jan 27, 2013
5e8fadf
temp 3
kolton Jan 28, 2013
069cffd
Merge branch 'Temp' of https://github.com/kolton/d2bot-with-kolbot in…
kolton Jan 28, 2013
b022de1
Fixed a profile add problem.
noah- Jan 28, 2013
2c5857e
Fixed profile add error - correct release version.
noah- Jan 28, 2013
9cd5455
Fixed another profile concurrency problem.
noah- Jan 29, 2013
a476010
d2bot profile rename fix
kolton Jan 29, 2013
45f5d9a
fixed null exception error
noah- Jan 30, 2013
66cb401
profile editor null exception
noah- Jan 30, 2013
f70222a
temp 4
kolton Feb 4, 2013
403bd41
Merge branch 'Temp' of https://github.com/kolton/d2bot-with-kolbot in…
kolton Feb 4, 2013
409d3db
added missing file
kolton Feb 4, 2013
8d4f7a7
temp 5
kolton Feb 10, 2013
f59333a
pally doll dodge hotfix
kolton Feb 10, 2013
cb21614
pather hotfix
kolton Feb 10, 2013
b671f2b
removed pickit minification
kolton Feb 10, 2013
f5f19d2
temp 6
kolton Feb 16, 2013
2d83d80
temp 7
kolton Mar 6, 2013
eff46e7
temp 8
kolton Mar 24, 2013
24b60f1
Check if in town before starting, submitted by texxxmex
noah- Jun 12, 2013
c9aa71d
Assassin shockweb spam
Supericy Jul 14, 2013
dd6fd1c
announce game when joining
Supericy Jul 29, 2013
b970b81
temp 9
kolton Aug 5, 2013
57bfadc
fixed invalid recipe format bug
kolton Aug 6, 2013
3f07442
more hotfixes
kolton Aug 7, 2013
49955f2
cubing fix
kolton Aug 11, 2013
db07d7e
D2Bot -
noah- Aug 16, 2013
78d7fcb
fixes
kolton Aug 20, 2013
51952b5
unit fname error fix
kolton Aug 21, 2013
de90e7d
added drop info log to Cubing.js
kolton Aug 21, 2013
a3a5d75
Merge pull request #38 from Supericy/Temp
kolton Aug 24, 2013
da7a165
fixes
kolton Aug 24, 2013
58f68fc
tweaks n fixes
kolton Aug 29, 2013
192ac1d
mini update
kolton Sep 6, 2013
6c94633
temp 10
kolton Sep 27, 2013
7ba5640
town fix
kolton Sep 27, 2013
c88c37a
compatible ObjectListView.dll
kolton Sep 27, 2013
9d5defd
fixes
kolton Sep 27, 2013
790cab5
strict warning fix
kolton Sep 27, 2013
5712eea
fixes and tweaks
kolton Sep 30, 2013
23c96f4
collmap fix
kolton Oct 1, 2013
7172e5d
fix pack
kolton Oct 1, 2013
3d92321
rusher/rushee revamp
kolton Oct 24, 2013
4c351b7
rush/misc tweaks
kolton Oct 24, 2013
18117cd
more rusher/rushee tweaks
kolton Oct 25, 2013
b682b73
fixpack
kolton Oct 26, 2013
c82de3e
removing obsolete code
kolton Oct 26, 2013
7abb805
Fixed two typos in MapThread.js
alogwe Nov 9, 2013
0100705
Initial commit of the AutoBuild system. See committed
alogwe Nov 26, 2013
95cadde
Removed restrictions of number of points for skills (1) and stats (5)…
alogwe Nov 26, 2013
512ea42
adding GetKeys script
kolton Nov 26, 2013
ba3e979
included cubing and runeword files into the build template so recipes…
alogwe Nov 27, 2013
853f19b
Added me.realm string into the log file name for those that use the s…
alogwe Nov 28, 2013
e9e3cc4
removed default.dbj check from heartbeat
kolton Dec 14, 2013
a766709
Merge pull request #50 from alogwe/Temp
kolton Dec 17, 2013
3bccfac
uscgmatthew Dec 17, 2013
faa01f5
uscgmatthew Dec 17, 2013
d68c47a
D2BotChannelMaster.dbj
uscgmatthew Dec 18, 2013
8f405cf
uscgmatthew Dec 18, 2013
a7d3255
Merge pull request #53 from uscgmatthew/Temp
kolton Dec 19, 2013
9dc4c9d
fix for non-english locale systems
imbalanced Dec 29, 2013
46d12cb
Merge pull request #54 from imbalanced/Temp
noah- Dec 29, 2013
b1fa9c9
fix for non-english locale systems
imbalanced Dec 29, 2013
39749ed
Merge pull request #55 from imbalanced/Temp
noah- Dec 29, 2013
96c9724
code clean up
imbalanced Dec 29, 2013
d2629ad
added delay before joining a mule game
imbalanced Dec 29, 2013
861339e
Merge pull request #56 from imbalanced/Temp
noah- Dec 29, 2013
c7a2670
Update Config.js
noah- Dec 31, 2013
3f12637
Update D2BotLead.dbj
noah- Jan 4, 2014
697788b
Update D2BotFollow.dbj
noah- Jan 4, 2014
80cbf26
Update D2BotFollow.dbj
noah- Jan 4, 2014
3e96951
Update D2BotChannel.dbj
noah- Jan 4, 2014
86d1c5e
fix barb low mana attack when unit is immune
demkca Jan 6, 2014
a48848f
Merge pull request #59 from demkca/Temp
noah- Jan 6, 2014
360dbf3
Added conditional include()'s to AutoBuild files. This should fix the…
alogwe Jan 7, 2014
5599a6d
Add a LogEquipped option that will include equipped items and
demkca Jan 8, 2014
1167f72
Add LogMerc option to also log equipment the merc has on.
demkca Jan 8, 2014
95af9f5
Merge pull request #60 from demkca/Temp
kolton Jan 15, 2014
75a7c56
Merge pull request #61 from alogwe/Temp
kolton Jan 15, 2014
90f3ead
Merge pull request #1 from kolton/Temp
imbalanced Jan 19, 2014
258ad18
minor fix
imbalanced Jan 19, 2014
516812b
uscgmatthew Jan 23, 2014
4d8d5c0
Merge pull request #66 from uscgmatthew/Temp
noah- Jan 25, 2014
8d35c6d
Merge pull request #65 from imbalanced/Temp
noah- Jan 25, 2014
6571cbc
Small Belt Management Tweak
Jan 26, 2014
219bd5e
uscgmatthew Jan 26, 2014
53715cf
Merge pull request #68 from uscgmatthew/Temp
kolton Jan 26, 2014
eb6d06a
Merge pull request #67 from hecuba/Temp
kolton Jan 26, 2014
0a81ab5
minor cleanup
kolton Feb 1, 2014
67cca09
Updated readmes
kolton Feb 1, 2014
727298c
joinGame error handling in automule
kolton Feb 11, 2014
83baee7
Add new Beetleburst script option for Coldworm.js
Feb 11, 2014
947ea68
Add brackets to single-line if statement.
Feb 11, 2014
f01bb0e
Merge pull request #69 from SamuelMS/master
kolton Feb 13, 2014
03c90b1
Update 1.4 core
kolton May 15, 2014
dd8b0b1
May 21 update
kolton May 21, 2014
d76905f
removed some obsolete code
kolton May 21, 2014
febfba9
autoequip fixes
kolton May 22, 2014
abce6aa
ladder reset hype fix pack
kolton May 24, 2014
6a9066f
aufiequip fixup
kolton May 25, 2014
09d3ee9
autoequip again
kolton May 25, 2014
9bbb15e
necro fix
kolton May 25, 2014
926e6c1
diablo helper fix
kolton May 31, 2014
8aaf00c
Update 1.4 core
kolton Jun 3, 2014
9de537e
jun 3
kolton Jun 3, 2014
a048697
jun 10
kolton Jun 10, 2014
0d06372
jun 19
kolton Jun 19, 2014
57fff02
master update
kolton Nov 24, 2014
2c2b5de
added a new character config option
cuss Nov 25, 2014
1d4a5d7
fix a check for cain quest
cuss Nov 25, 2014
c1671a7
Tristram.js - check for and do Cain quest if needed
cuss Nov 25, 2014
8534ba9
Merge pull request #97 from cuss/master
kolton Nov 25, 2014
903b5ae
fix missed ; in Tristram.js
cuss Nov 27, 2014
f141bfe
mule fix
kolton Nov 29, 2014
17969ca
rusher meph fix
kolton Nov 29, 2014
b598841
Merge pull request #99 from cuss/master
kolton Nov 29, 2014
b9d8b8e
a few fixes to Tristram.js
cuss Nov 30, 2014
6ff397e
Merge remote-tracking branch 'upstream/master'
cuss Nov 30, 2014
af853e8
03 dec merge
kolton Dec 3, 2014
2faa282
Merge pull request #102 from cuss/master
kolton Dec 3, 2014
c2fe4d3
14.dec
kolton Dec 14, 2014
fced0c1
updated with latest core15 stuff
kolton Dec 28, 2014
760afe8
typos in Attack.txt
cuss Dec 29, 2014
3d98654
Merge remote-tracking branch 'upstream/master'
cuss Dec 29, 2014
e1966a0
typo in kolton.nip
cuss Dec 29, 2014
f174f2a
Merge pull request #109 from cuss/master
kolton Jan 17, 2015
8d25290
Jan 17.
kolton Jan 17, 2015
db6911c
1. Feb
kolton Feb 1, 2015
ba9acb7
Update to 1.14d compatible binaries
noah- Jun 26, 2017
144d623
Latest build
noah- Jun 26, 2017
ad5cb89
D2BS bug fix + D2Bot Update 17.7.1.100
noah- Jul 1, 2017
9028c14
D2BS bug fix + D2Bot Update 17.7.1.100
noah- Jul 1, 2017
9839cf8
D2Bot - fixed Key/Schedule editor crash
noah- Jul 1, 2017
6e24e3e
D2Bot: Bugfix - cdkey increment
noah- Jul 1, 2017
a563277
D2Bot: Always set RDBlock to false
noah- Jul 1, 2017
4d14672
Fixed a bug with auto update
noah- Jul 1, 2017
e6eb677
D2Bot 17.7.1.400
noah- Jul 2, 2017
ff64ec1
Fixed bug with not being able to clear Item Log
noah- Jul 2, 2017
b143f66
D2Bot 17.7.2.100
noah- Jul 2, 2017
3d8c937
Reworked Changes
cr3nox Jul 10, 2017
4cb8640
updated some errors
cr3nox Jul 10, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified D2Bot.exe
Binary file not shown.
192 changes: 8 additions & 184 deletions Readme.txt
Original file line number Diff line number Diff line change
@@ -1,187 +1,11 @@
DDDDDDDDDDDDD 222222222222222 BBBBBBBBBBBBBBBBB OOOOOOOOO TTTTTTTTTTTTTTTTTTTTTTT
D::::::::::::DDD 2:::::::::::::::22 B::::::::::::::::B OO:::::::::OO T:::::::::::::::::::::T ###### ######
D:::::::::::::::DD 2::::::222222:::::2 B::::::BBBBBB:::::B OO:::::::::::::OO T:::::::::::::::::::::T #::::# #::::#
DDD:::::DDDDD:::::D 2222222 2:::::2 BB:::::B B:::::BO:::::::OOO:::::::OT:::::TT:::::::TT:::::T #::::# #::::#
D:::::D D:::::D 2:::::2 B::::B B:::::BO::::::O O::::::OTTTTTT T:::::T TTTTTT######::::######::::######
D:::::D D:::::D 2:::::2 B::::B B:::::BO:::::O O:::::O T:::::T #::::::::::::::::::::::::#
D:::::D D:::::D 2222::::2 B::::BBBBBB:::::B O:::::O O:::::O T:::::T ######::::######::::######
D:::::D D:::::D 22222::::::22 B:::::::::::::BB O:::::O O:::::O T:::::T #::::# #::::#
D:::::D D:::::D 22::::::::222 B::::BBBBBB:::::B O:::::O O:::::O T:::::T #::::# #::::#
D:::::D D:::::D 2:::::22222 B::::B B:::::BO:::::O O:::::O T:::::T ######::::######::::######
D:::::D D:::::D2:::::2 B::::B B:::::BO:::::O O:::::O T:::::T #::::::::::::::::::::::::#
D:::::D D:::::D 2:::::2 B::::B B:::::BO::::::O O::::::O T:::::T ######::::######::::######
DDD:::::DDDDD:::::D 2:::::2 222222BB:::::BBBBBB::::::BO:::::::OOO:::::::O TT:::::::TT #::::# #::::#
D:::::::::::::::DD 2::::::2222222:::::2B:::::::::::::::::B OO:::::::::::::OO T:::::::::T #::::# #::::#
D::::::::::::DDD 2::::::::::::::::::2B::::::::::::::::B OO:::::::::OO T:::::::::T ###### ######
DDDDDDDDDDDDD 22222222222222222222BBBBBBBBBBBBBBBBB OOOOOOOOO TTTTTTTTTTT
_____ ____ _____ _______ _____ ______ ______ _____
| __ \___ \ / ____|__ __| __ \ / __ \ \ / /___ \| __ \
| | | |__) | (___ | | | |__) | | | \ \_/ / __) | |__) |
| | | |__ < \___ \ | | | _ /| | | |\ / |__ <| _ /
| |__| |__) |____) | | | | | \ \| |__| | | | ___) | | \ \
|_____/____/|_____/ |_| |_| \_\\____/ |_| |____/|_| \_\
This is the MASTER (also known as TRUNK) branch.

DISCLAIMER:
D2BOTSHARP, A GAME MANAGER FROM D2BOT, ALL RIGHTS RESERVED
BY USING THIS SOFTWARE, YOU AGREE TO ITS END USER LICENSE AGREEMENT
The package contains 3 distinct components:
D2BS - core
D2Bot# - manager
kolbot - script library

END-USER LICENSE AGREEMENT FOR D2BOTSHARP IMPORTANT PLEASE READ THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT CAREFULLY BEFORE CONTINUING WITH THIS PROGRAM INSTALL: D2BOT End-User License Agreement ("EULA") is a legal agreement between you (either an individual or a single entity) and D2BOT. for the D2BOT software product(s) identified above which may include associated software components, media, printed materials, and "online" or electronic documentation ("SOFTWARE PRODUCT"). By installing, copying, or otherwise using the SOFTWARE PRODUCT, you agree to be bound by the terms of this EULA. This license agreement represents the entire agreement concerning the program between you and D2BOT, (referred to as "licenser"), and it supersedes any prior proposal, representation, or understanding between the parties. If you do not agree to the terms of this EULA, do not install or use the SOFTWARE PRODUCT.
If you want to contribute to kolbot code, make sure you use JSLint for final polish.
If you want to contribute to d2bs/d2bot#, come to irc.synirc.net/d2bs and ask around.

The SOFTWARE PRODUCT is protected by copyright laws and international copyright treaties, as well as other intellectual property laws and treaties. The SOFTWARE PRODUCT is licensed, not sold.

1. GRANT OF LICENSE.
The SOFTWARE PRODUCT is licensed as follows:
(a) Installation and Use.
D2BOT grants you the right to install and use copies of the SOFTWARE PRODUCT on your computer running a validly licensed copy of the operating system for which the SOFTWARE PRODUCT was designed [e.g., Windows 95, Windows NT, Windows 98, Windows 2000, Windows 2003, Windows XP, Windows ME, Windows Vista].
(b) Backup Copies.
You may also make copies of the SOFTWARE PRODUCT as may be necessary for backup and archival purposes.

2. DESCRIPTION OF OTHER RIGHTS AND LIMITATIONS.
(a) Maintenance of Copyright Notices.
You must not remove or alter any copyright notices on any and all copies of the SOFTWARE PRODUCT.
(b) Distribution.
You may not distribute registered copies of the SOFTWARE PRODUCT to third parties. Evaluation versions available for download from D2BOT's websites may be freely distributed.
(c) Prohibition on Reverse Engineering, Decompilation, and Disassembly.
You may not reverse engineer, decompile, or disassemble the SOFTWARE PRODUCT, except and only to the extent that such activity is expressly permitted by applicable law notwithstanding this limitation.
(d) Rental.
You may not rent, lease, or lend the SOFTWARE PRODUCT.
(e) Support Services.
D2BOT may provide you with support services related to the SOFTWARE PRODUCT ("Support Services"). Any supplemental software code provided to you as part of the Support Services shall be considered part of the SOFTWARE PRODUCT and subject to the terms and conditions of this EULA.
(f) Compliance with Applicable Laws.
You must comply with all applicable laws regarding use of the SOFTWARE PRODUCT.

3. TERMINATION
Without prejudice to any other rights, D2BOT may terminate this EULA if you fail to comply with the terms and conditions of this EULA. In such event, you must destroy all copies of the SOFTWARE PRODUCT in your possession.

4. COPYRIGHT
All title, including but not limited to copyrights, in and to the SOFTWARE PRODUCT and any copies thereof are owned by D2BOT or its suppliers. All title and intellectual property rights in and to the content which may be accessed through use of the SOFTWARE PRODUCT is the property of the respective content owner and may be protected by applicable copyright or other intellectual property laws and treaties. This EULA grants you no rights to use such content. All rights not expressly granted are reserved by D2BOT.

5. NO WARRANTIES
D2BOT expressly disclaims any warranty for the SOFTWARE PRODUCT. The SOFTWARE PRODUCT is provided 'As Is' without any express or implied warranty of any kind, including but not limited to any warranties of merchantability, noninfringement, or fitness of a particular purpose. D2BOT does not warrant or assume responsibility for the accuracy or completeness of any information, text, graphics, links or other items contained within the SOFTWARE PRODUCT. D2BOT makes no warranties respecting any harm that may be caused by the transmission of a computer virus, worm, time bomb, logic bomb, or other such computer program. D2BOT further expressly disclaims any warranty or representation to Authorized Users or to any third party.

6. LIMITATION OF LIABILITY
In no event shall D2BOT be liable for any damages (including, without limitation, lost profits, business interruption, or lost information) rising out of 'Authorized Users' use of or inability to use the SOFTWARE PRODUCT, even if D2BOT has been advised of the possibility of such damages. In no event will D2BOT be liable for loss of data or for indirect, special, incidental, consequential (including lost profit), or other damages based in contract, tort or otherwise. D2BOT shall have no liability with respect to the content of the SOFTWARE PRODUCT or any part thereof, including but not limited to errors or omissions contained therein, libel, infringements of rights of publicity, privacy, trademark rights, business interruption, personal injury, loss of privacy, moral rights or the disclosure of confidential information.


_ _ _____ ___________ _____ ___ ___ ___ _ _ _ _ ___ _
| | | / ___| ___| ___ \/ ___| | \/ | / _ \ | \ | | | | |/ _ \ | |
| | | \ `--.| |__ | |_/ /\ `--. | . . |/ /_\ \| \| | | | / /_\ \| |
| | | |`--. \ __|| / `--. \ | |\/| || _ || . ` | | | | _ || |
| |_| /\__/ / |___| |\ \ /\__/ / | | | || | | || |\ | |_| | | | || |____
\___/\____/\____/\_| \_|\____/ \_| |_/\_| |_/\_| \_/\___/\_| |_/\_____/

Getting Started:

Make sure your directory is setup accordingly.

.../D2Bot dir/
in the initial directory these files must exist
Folder: D2BS
File: D2Bot.exe
File: profile.ini
File: d2bot.log

.../D2Bot dir/D2BS/
in your D2BS folder, make sure the following exist
File: D2BS.dll
File: D2M.dll
Folder: ex: kolbot

.../D2Bot dir/D2BS/scripts.../
in your initial scirpts folder you must have
Folder: data <--- THIS IS MANDATORY!
File: D2BotLead.dbj
File: D2BotFollow.dbj
File: Any other starters you want


D2BotSharp API (available from js)

the D2Bot.js file holds the current functions available from js to D2Bot
they include functions that
-write to console
-write to item log
-increment various values
-receive game data
-set status

D2BotSharp Usage
Some functions you can call from the console
>>start # // this will start a particular profile based on name
>>stop # // this will stop a particular profile based on name
>>start all // this will start all profiles
>>stop all // this will stop all profiles
>>add // this will create new profile for you to fill out
>>del # // this will delete a profile
>>send #1 msg #2 // this will send a string message to profile designated by #1 and will also send an id designated by #2
You can use >>send to add your own api to d2bot#, for example, with a windows message handler from scripts you can receive any command from d2bot#

Buttons
Start // This will start a highlighted (selected) profile, you may select multiple profiles and it will start them
Stop // This will stop a highlighted (selected) profile, you may select multiple profiles and it will stop them
Edit // This will open a profile editor for already created profiles
Add // This will open a a new profile for you to edit
Duplicate // This will create a copy of a profile
Delete // This will delete a profile
Save // this will save the current run info on all the profiles

Right Click Profile
Increment CDKEY // manually go to next key or skip current key


Note: all buttons are responsive to multiple profile selections, you do not have to select 1 at a time.

Task Bar
File: Start ALL // this will start all profiles
File: Stop ALL // this will stop all profiles
File: Save // this will save the current run info on all profiles

Tools: Start Hidden // this will start d2 completely hidden, you won't even notice that you are botting!
Tools: Hide All // this will hide all currently visible d2's started from d2bot#
Tools: Show All // this will un-hide all d2's started form d2bot#
Tools: Edit // Same as above
Tools: Add // Save as above

d2bot.log
This file will hold information on disabled cdkeys, inuse cdkeys and timestamp when they were used

How to reorder your profiles?
Drag and drop them to where you want them to go!

How to add cdkeys:
In profile editor, type the cdkeys as shown:
example.mpq
exmaple2.mpq
exmaple3.mpq
...
etc

Runs/Key This is how many runs before d2 will load a new cdkey, if you are not using any additional cdkeys, set it to -1

Parameters For all profiles, you should use -w (unless you want to bot / load in full screen).
Other Flags include:
-direct -txt
-ns
-lq
-skiptobnet

ex: -w -ns -lq
note: do not use -title and do not use -cachefix

Explanation of Profile Editor:
Name: this is the name of your profile
Account: account of your bot
Password: pass of your bot account
Character: the character you want to bot (case sensitive)
Game Name: prefix for game, if you are a leecher it does not matter
Game Pass: game password, if you are a leecher it does not matter
Difficulty: Hell, Nightmare, Norm
Mode: Battlenet Singleplayer
Entry Script: This is your starter file, unless you are using something custom, choose D2BotLead or D2BotFollow
NOTE: Entry Script also determines your scirpts folder, so if you are using yamb, you need to pick the starter from your yamb directory
Diablo Path: Choose any diablo 2 file, this can be game.exe game1.exe etc... you can use multiple game.exe's from the same d2 folder (incase you are using proxycap)

How to Resize:
drag and drop corners

Note: You also need a data folder in your scripts directory, this will hold game info for your characters
JSLint options for kolbot code: http://pastebin.com/4t5J9QpL
Binary file modified d2bs/D2BS.dll
Binary file not shown.
Binary file removed d2bs/D2BS.exe
Binary file not shown.
Binary file added d2bs/D2BS.pdb
Binary file not shown.
Binary file removed d2bs/D2M.dll
Binary file not shown.
Binary file removed d2bs/js32.dll
Binary file not shown.
77 changes: 48 additions & 29 deletions d2bs/kolbot/D2BotBlank.dbj
Original file line number Diff line number Diff line change
@@ -1,45 +1,64 @@
// Blank starter used for testin

const D2BOT_JOIN = 1;
const D2BOT_GAMEINFO = 2;
const D2BOT_REQUESTGAME = 3;

var isUp = "no";

function main() {
include("json2.js");
include("OOG.js");

addEventListener('copydata', RecieveCopyData);
include("common/misc.js");

var handle,
isUp = "no";

this.copyDataEvent = function (mode, msg) {
var obj;

switch (msg) {
case "Handle":
handle = mode;

break;
}

switch (mode) {
case 3: // request game
obj = JSON.parse(msg);

if (me.gameReady) {
D2Bot.joinMe(obj.profile, me.gamename.toLowerCase(), "", me.gamepassword.toLowerCase(), isUp);
}

break;
case 4:
// Heartbeat ping
if (msg === "pingreq") {
sendCopyData(null, me.windowtitle, 4, "pingrep");
}

break;
}
};


addEventListener('copydata', this.copyDataEvent);

while (!handle) {
delay(100);
}

DataFile.updateStats("handle", handle);
delay(500);
D2Bot.init();
load("tools/heartbeat.js");

if (!FileTools.exists("data/" + me.profile + ".json")) {
DataFile.create();
}

while (true) {
if (me.ingame) {
if (isUp === "no") {
isUp = "yes";
}
isUp = "yes";
} else {
isUp = "no";
}

delay(1000);
}
}

function RecieveCopyData(msgID, msg){
switch(msgID) {
case D2BOT_GAMEINFO:
print("Recieved Game Info");
[gameName, gamePass, difficulty] = msg.split('/');
break;
case D2BOT_JOIN:
[nextGame, gamePass, isUp] = msg.split('/');
break;
case D2BOT_REQUESTGAME:
D2Bot.joinMe(msg, me.gamename, "", me.gamepassword, isUp);
break;
}
}
Loading