What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[PLUGIN] BuddyStats - Stats and Remote Control

jimmy06

Member
Joined
May 12, 2010
Messages
817
Reaction score
18
BuddyStats - Track and control your bot from everywhere! (Android & iOS Support)

Ever wanted to check how is your bot doing while you are at work, school, on a trip or simply AFK? Now its fairly simple!

What this plugin does?
This plugin will allow you to track and control your bots and see how are they doing while you are at work / school or simply afk.
Plugin will track all important stats you might be interested in and also logs all items you picked up!

Features
- Tracking of your bot stats
- Remote Control (Start, Stop, Profile Switching)
- Multi-botting support
- Live Screenshots of your bots
- iOS and Android Support!

Suport us and get exclusive features:

( ~ 1.00 EUR / 1 USD )

Exclusive Features so far:

  • remote profile switching


Website: BuddyStats.com




List of Tracked Stats (more stats will be added in the future):
- Class
- Level + XP/hr
- Paragon Level + XP/hr *new*
- Total Gold
- Gold Per Hour
- Deaths Count
- Active profile Name
- Looted items


Upcoming Features:
- None

Installation Guide:
1) Delete any old BuddyStats folder THIS IS IMPORTANT.
2) Download the plugin and extract it to the DemonBuddy/Plugins/BuddyStats folder (or if the .zip contains WebStats folder, just put it in plugins ofcourse :) )
3) Register on our website
4) Log in, go to Profile and copy paste your API Key into Buddystats Config Window.
5) Start the bot and enable the plugin!

Password Resets
Please reset your password here

Website Changelog:

Fixed screenshot button and Profile loading. This also should have fixed stopping and starting the bot.

Changelog:

v0.40
- Fixed XP/h for XP/h > 2.14 Billion
- Updated "Request a feature URL"

v0.31
- Switched from TortoiseSVN

v0.15
- Made auto updating easier to manage. This means the version number looks older then the prior one ignore this and continue please :)
This should also stop the hourly crash though this is not tested.

Current
Developers: Jimmy06

Old
Developers: Guga, Creedo
 

Attachments

Last edited:
Known issues and possible solutions:

1) NotSupportedException
ERROR:
[10:57:58.807 D] Exception while enabling plugin WebStats: System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See <loadFromRemoteSources> Element for more information.
at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
at System.Reflection.Assembly.LoadFile(String path)
at GugaPlugin.GugaPlugin.OnEnabled() in e:\Demon\Plugins\BuddyStats\WebStats.cs:line 56
at Zeta.Common.Plugins.PluginContainer.set_Enabled(Bo olean value)
SOLUTION:
Go to your BuddyStats folder, right click on WebStatsPackets.dll file and go to properties and click on the Unblock button.
View attachment 122812

2) Device Registration not working on Android / feature X is working on my desktop browser but not on my phone
Please try the following:
- Delete App cache and data from the Android Settings.

- Make sure you are on the latest version.
- Try pairing again.
- Log out and back in
- Your profile should show "Premium" now.

3) Profiles arent selectable from the Bot view
Make sure you put the desired profile xml files directly into the /Profiles folder, not into subfolders.

4) Known issues (you dont need to report them, we are working on it)
 
We've found an issue with YAR and Demonbuddy that is causing the

Code:
System.IO.FileLoadException: Mixed mode assembly is built against version 'v2.0.50727' of the
 runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

error this unfortunately is not under my control. We are looking at a fix though all the same :-)

Ok I think I've found a work around for this.

make a copy of the file *****.config

236676704bb6b3038a633e5724b3dcfc.gif


Then rename it to "Demonbuddy.exe.config"
2f77871cf91350ee46b95e5f8a8fc790.gif
 
Attempt to run latest demonbuddy with Trinity, Adventurer and BuddyStats plugins causing error

Demonbuddy v1.1.3010.460 started
Logging in...
T: H:
Attached to Diablo III with pid: 9716
Flashing window
[Adventurer] (1.3.4.21) initialized.
Exception thrown when initializing BuddyStats. Plugin is now disabled. Stack trace is as follows.System.IO.FileLoadException: Could not load file or assembly 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28' or one of its dependencies. A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)
File name: 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28' ---> System.IO.FileLoadException: Could not load file or assembly 'SharpSVN.dll' or one of its dependencies. A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)
File name: 'SharpSVN.dll'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at BuddyStatsD3Plugin.GugaPlugin.CurrentDomain_AssemblyResolve(Object sender, ResolveEventArgs args)
at System.AppDomain.OnAssemblyResolveEvent(RuntimeAssembly assembly, String assemblyFullName)


at BuddyStatsD3Plugin.GugaPlugin.OnInitialize()
at Zeta.Common.Plugins.PluginManager.ReloadAllPlugins(String pluginsDirectory, Boolean reloadOnFileChange)



[Trinity 2.14.45.1] Initialized v2.14.45.1
[Adventurer] (1.3.4.21) enabled.
[Trinity 2.14.45.1] OnEnable start
[Trinity 2.14.45.1] Loading BattleTag Settings
[Adventurer] Plugin is up-to-date.
[Trinity 2.14.45.1] Configuration file loaded
[Trinity 2.14.45.1] Configuration loaded successfully.
[Trinity 2.14.45.1] Loading Avoidance Data
[Trinity 2.14.45.1] ENABLED: Trinity v2.14.45.1 now in action!
Setting up Trinity Logging
Current bot set to Order Bot
Loaded profile Adventurer - Greater Rift
 
Attempt to run latest demonbuddy with Trinity, Advent turer and BuddyStats plugins causing error

More then likely I really uploaded the wrong file. Check the main folder for sharpsvn.dll and move it to the Buddystats folder. I'll try and upload the correct one asap.
 
More then likely I really uploaded the wrong file. Check the main folder for sharpsvn.dll and move it to the Buddystats folder. I'll try and upload the correct one asap.

The .dll is in the BuddyStats folder. When I copied sharpsvn.dll to the main DemonBuddy folder, there were still errors, but much less of them

Demonbuddy v1.1.3010.460 started
Logging in...
T: H:
Attached to Diablo III with pid: 9716
Flashing window
[Adventurer] (1.3.4.21) initialized.
Exception thrown when initializing BuddyStats. Plugin is now disabled. Stack trace is as follows.System.IO.FileLoadException: Could not load file or assembly 'SharpSvn.dll' or one of its dependencies. A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)
File name: 'SharpSvn.dll'
at BuddyStatsD3Plugin.GugaPlugin.OnInitialize()
at Zeta.Common.Plugins.PluginManager.ReloadAllPlugins(String pluginsDirectory, Boolean reloadOnFileChange)



[Trinity 2.14.45.1] Initialized v2.14.45.1
[Adventurer] (1.3.4.21) enabled.
[Trinity 2.14.45.1] OnEnable start
[Trinity 2.14.45.1] Loading BattleTag Settings
[Adventurer] Plugin is up-to-date.
[Trinity 2.14.45.1] Configuration file loaded
[Trinity 2.14.45.1] Configuration loaded successfully.
[Trinity 2.14.45.1] Loading Avoidance Data
[Trinity 2.14.45.1] ENABLED: Trinity v2.14.45.1 now in action!
Setting up Trinity Logging
Current bot set to Order Bot
Loaded profile Adventurer - Nephalem Rift
 
Last edited:
The .dll is in the BuddyStats folder. When I copied sharpsvn.dll to the main DemonBuddy folder, there were still errors, but much less of them

Nope that's correct check the second post about blocked
 
The image attachment is missing and I can't find anything related to block or unblock in the file properties.

I'm on W10 x64 if that matters.
 
I am getting this error

Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\Connection.cs(164,30) : warning CS0168: The variable 'e' is declared but never used
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\Connection.cs(207,30) : warning CS0168: The variable 'e' is declared but never used
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\Connection.cs(226,30) : warning CS0168: The variable 'e' is declared but never used
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\Connection.cs(247,34) : warning CS0168: The variable 'e' is declared but never used
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\Connection.cs(332,38) : warning CS0168: The variable 'e' is declared but never used
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(74,17) : error CS0433: The type 'SvnInfoEventArgs' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(75,17) : error CS0433: The type 'SvnWorkingCopyVersion' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(76,17) : error CS0433: The type 'SvnWorkingCopyClient' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(76,62) : error CS0433: The type 'SvnWorkingCopyClient' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(77,17) : error CS0433: The type 'SvnClient' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(77,50) : error CS0433: The type 'SvnClient' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(82,17) : error CS0433: The type 'SvnRevertArgs' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(82,42) : error CS0433: The type 'SvnRevertArgs' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(83,30) : error CS0433: The type 'SvnDepth' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(99,25) : error CS0433: The type 'SvnUriTarget' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(99,49) : error CS0433: The type 'SvnUriTarget' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(113,28) : error CS0433: The type 'SvnException' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(197,17) : error CS0433: The type 'SvnClient' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(197,40) : error CS0433: The type 'SvnClient' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(200,13) : error CS0433: The type 'SvnWorkingCopyClient' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(200,58) : error CS0433: The type 'SvnWorkingCopyClient' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(201,13) : error CS0433: The type 'SvnWorkingCopyVersion' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
Compiler Error: C:\Users\Magnus\Documents\Demonbuddy\Plugins\BuddyStats\WebStats.cs(426,37) : error CS0433: The type 'SvnClient' exists in both 'SharpSvn, Version=1.8009.3299.43, Culture=neutral, PublicKeyToken=d729672594885a28' and 'SharpSvn, Version=1.8008.3178.19, Culture=neutral, PublicKeyToken=d729672594885a28'
 
Update:
Login is possible, no data shown... bot is running for a while...



i have a problem..
i cannot login in webinterface (changed the password, but login not working)
in the app (there i'm in...) i don't see the bot...

no errors in logfile...
 
Last edited:
So when I startup the bot after a fresh install of BuddyStats, It builds all of the plugin stuff in the BuddyStats folder. Unfortunately, it doesnt allow me to edit the config file, nor does it show up under the plugin tab on the bot.

I am not receiving any errors from the bot and I think the only thing I need to do is add my API to the config file. If anyone has an idea what should be done please let me know.
 
So I looked through the log and it appears much like the one posted above. It talks about a variable 'e' not being used which i believe is the API I spoke about before. I remember about a year ago when I used the BuddyStats plugin I would have to associate the API from the website into the plugin itself, but currently I can't find that anywhere in the BuddyStats plugin folder. I have attached my Log so that you can check it out when you get a chance.


Log---> View attachment 6728 2016-05-05 18.41.txt
 
Your using ezupdater right. If so you could try deleting the sharpsvn.dll from the Buddystats folder. The problem you have is its double loading sharpsvn.dll
 
Thanks Jimmy,

I believe we are getting there. All of the errors that I could see for the BuddyStats are now gone. The issue I am now having is the website isn't updating the stats from the bot. Most current log has been uploaded.

Log --> View attachment 11716 2016-05-05 19.21.txt
 
So I did everything got rid of BuddyStats folder made new one and downloaded the plug in and was able to put in the API key, it says No Active bot found...
 
So I did everything got rid of BuddyStats folder made new one and downloaded the plug in and was able to put in the API key, it says No Active bot found...

More sure you disable and re-enable the plugin after changing the api key :)
 
Back
Top