Skip to content
Jesse Michelsen edited this page Mar 10, 2020 · 6 revisions

How to set up DeepStats and GheedsFortune.com integration

Update your kolbot with necessary files

There are files in this fork that don't exist in the base kolbot repo that you will need to report stats to Gheedsfortune. This is a diff showing all the changes you need locally: https://github.com/jmichelsen/d2bot-with-kolbot-and-gheeds/compare/dca8906..c5ff233

You can copy just the green pieces into their respective files locally, and then download the files that are missing entirely from your local kolbot into place where they are listed in the above diff comparison.

Get your API Key

Hop over to https://GheedsFortune.com/accounts/login/ to sign up. Once you sign up, you'll be directed to your profile page which contains your API key. Copy that, and place it into your char config file. Here's an example:

File: Paladin.YourChar.js

	Scripts.UserAddon = true; // !!!YOU MUST SET THIS TO FALSE IF YOU WANT TO RUN BOSS/AREA SCRIPTS!!!

       // DeepStats item logging and reporting
	Config.DeepStats.StatsEnabled = true;
		Config.DeepStats.API.Token = "YOURAPI KEY HERE";
		Config.DeepStats.SOJReportsEnabled = true;
		Config.DeepStats.DCloneReportsEnabled = true;
		Config.DeepStats.FileLogOnly = false;

In this example, StatsEnabled is true, to start logging. Setting that to false turns off all the deepstat logging functionality. Config.DeepStats.SOJReportsEnabled = true; and Config.DeepStats.DCloneReportsEnabled = true; are also set to true in this example. This will send a report to gheedsfortune when SOJ sales occur on your server, and this updates the Diablo Clone Hunt page. These are optional params but help everyone :)

The last option Config.DeepStats.FileLogOnly = false;, if enabled, will only log item data to your local filesystem, to kolbot/data/deepstats/profilename.dump.json. You won't see any items logged to gheedsfortune.com under your account if this is enabled.