-
Notifications
You must be signed in to change notification settings - Fork 160
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
Add DeepStats core functionality without external backend #44
base: mainline
Are you sure you want to change the base?
Conversation
This is a skeleton feature. It does not have any backend attached so you must build your own backend to recieve the data
This will check your chars skill allocation and estimate the build you are running
You guys are of course under no obligation to merge this, but I wanted it available in case it's useful to anyone. |
I think this is good, agree it shouldn't point to any default server |
@@ -383,6 +383,7 @@ var DataFile = { | |||
experience: 0, | |||
deaths: 0, | |||
lastArea: "", | |||
lastAreaID: 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding lastAreaID
will then also appear in current logging which should be fine but I think you wanted to avoid that.
You could also maybe use sdk.js instead to parse the ID from string.
DeepStats.create(); | ||
} | ||
|
||
string = Misc.fileAction("data/deepstats/" + me.profile + ".dump.json", 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bit worried about the potential file size.
This has the scaffolding and some example code to make POST requests from kolbot when items drop, as well as when SOJs are sold or Diablo walks.
For DeepStat file writes, a sample of the output is included.
In the stats, every item is given a unique ID. It follows the same format as the unique ID given by mulelogger, except it has a timestamp prepended to it: