D2BotMuleLog
Info
It's a D2BS starter script which allow to log the items from inventory, stash and the equipped ones (including merc) to text files, then to show them in the <Char Viewer>
tab of the manager.
How to set up
In kolbot/libs/systems/mulelogger/LoggerConfig.js fill out LogAccounts
LogAccounts: {
/* Format:
"account1/password1/realm": ["charname1", "charname2 etc"],
"account2/password2/realm": ["charnameX", "charnameY etc"],
"account3/password3/realm": ["all"]
To log a full account, put "account/password/realm": ["all"]
realm = useast, uswest, europe or asia
Enter Individual entries are separated with a comma below
*/
"exampleAcc/pa33word3/realm": ["all"],
},
! the realm should be written with lowercase letters (see line 16), otherwise you'll get an error in OOG.js
LogGame: ["", ""], // ["gamename", "password"]
At the first run set the next variables (lines 10-17):
LogNames: true, // Put account/character name on the picture
! set false if you wanna use your item images ...(related to SaveScreenShot: true)
LogItemLevel: true, // Add item level to the picture
LogEquipped: false, // include equipped items
LogMerc: false, // include items merc has equipped (if alive)
SaveScreenShot: false, // Save pictures in jpg format (saved in 'Images' folder)
AutoPerm: true, // override InGameTime to perm character
IngameTime: rand(180, 210), // (180, 210) to avoid RD, increase it to (7230, 7290) for mule perming
LogEquipped - will be logged all items, but the potions/tomes or other low level items will be skipped from log - see skipItem function from core/Item.js.
In case of logging all the chars (the visible 8), at the end the d2 will be reset to main screen, re-login and after rechecking the first char it will be closed automatically by the manager and the related profile, too. This isn't working in case of setting a single mule char, when you have to stop that profile manually.
The profile doesn't need all fields completed:
- Location coordinates only if Visible is checked
there will be automatically created in ...\mules\ the "Realm\Account" subfolders. Charnames will be ordered alphabetically.
the logging info for items includes the shapes and other details and you'll see on mouse over the image of the item (other than the screenshots from Images folder):
and with R-click you have these option for saved items:
You'll have that info in the "Char Viewer" tab of the manager console as long as you keep those log files in ...\mules\ folder. Those will be automatically loaded at every D2Bot.exe start, but there is an option in Settings > Refresh Char View, to reload the logging files. Every item is saved on different line, so you can edit those logging files easily with any txt/code editor of choice. See IDE-Setup for code editors.
It will be saved in ...\logs\MuleLog.json the current account and the current charname. This have to be edited or removed in case of crashes when some chars were omitted from logging. At the end of full account logging, that file is deleted automatically.
Searching for Items
In the left box of <Char Viewer>
tab, select the branch (Realm or Account) where you are trying to find the item. Use the right-bottom search box. It accepts regular expressions, so you can search for just about anything as long as the query is correctly written.
The account/charname will be logged automatically (and help you in searching items) and you'll see on mouse over the item list, the "account / charname" in top-left of that image if in the manager Settings is activated the option
If you wanna save the image (check R-click options) of an item without having this info,
.
You will find the images near D2Bot.exe in the subfolder \images , the same location for screenshots made during the logging.
Optional Mule Viewer
Check @rivx mule view project and download MuleView-v0.3.zip which allows you to view the logged files saved with d2bs. original shared topic
Dropper
It's a free public dropper - limedrop, included in the default branch (master = trunk) of repository
- browser link [https://github.com/blizzhackers/kolbot/tree/master]
- download link for TortoiseSVN [https://github.com/blizzhackers/kolbot/trunk/]
- check the discord limedrop channel:
Diabase & D2bs
@Nedadded some changes to Diabase to work with D2BS
- download using SVN Checkout... -> (https://github.com/Nedkali/DiaBaseV1/trunk)
- create a subfolder ...\d2bs\kolbot\MuleInventory\
- you have the option to not use the Diabase function which overwrite the files, using Utilities > Verify logging files, and it's enough to replace the default libs\MuleLogger.js with Mulelogger on gist - which will create the both log files for the default D2BS Char Viewer (in mules\realm\account) and Diabase(in MuleInventory).