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

[Plugin] DemonStats

My420Time

New Member
Joined
Nov 21, 2012
Messages
29
Reaction score
0
Version 5 Update:
Put some more work into this today and brought back screenshots. Enjoy and don't forget to leave me some feedback if your having issues.

Old Post:
Version 4 Update:
So, I put some more work into this and figured I would share again. I moved away from using Socks and instead I am using .net's own HttpListener. Currently I have screenshots removed due to limitations on the code but will bring them back later. For now it is a dead simple web server with a upnp client. If your router supports upnp it will try and map port 5050 for you automatically. You can no longer DDoS DB anymore no matter how fast you refresh.

Original:
Well, first off let me say that this is an early release and probably has issues as I created this around 4AM last night. I wanted a way to view my stats without having to send my data off to some online server to be aggregated with everyone else's. Very simply this creates a socks webserver on your computer using port 5050. Once that is up it writes to the index.html and screenshot.jpg files in the webroot folder. The index.html file is updated on pulse so the stats are always up to date. Currently I have the screenshot thread taking a screenshot every 5 minutes. Anyone is welcome to pick apart the code and use it as they wish. If you have any questions while doing so just ask. The code is pretty sloppy right now.

Also, one last note: You can DDoS DB with this plugin if you refresh too fast and make DB crash! I will probably add some more protection for refreshing too fast in the future but right now... meh.
 

Attachments

Last edited:
This is what i been looking for. Will test right now. :) Expect for my feed back.
 
I will probably add a upnp client into this later on in the development so that you don't have to open the port in your router. So far I have only crashed from spamming refresh on the webpage or spamming disable/enable really really fast. XD Not great at HTML or I would attempt to make it look pretty too.
 
Been working on this a bit more today, will probably have an update "soonish" depending on how the day goes.
 
hi, it looks very nice, but can you tell me how to use it, how can I check this from my smartfone?
 
hi, it looks very nice, but can you tell me how to use it, how can I check this from my smartfone?

Visit this website:
What Is My IP Address? Lookup IP, Hide IP, Change IP, Trace IP and more...

Once you have your external IP address(Going to use 12.34.56.78 as an example) you would visit the link below. Keep in mind you can change the port number in the .cs file.. I was working on a config window but have been busy. Also, you will need to open the port 5050 in your router's firewall so that it is accessible via the internet. If you are on the same LAN you can use your PC's IP address or your external IP address if you enabled the port in your router.

http://12.34.56.78:5050
 
Thanks a lot, this is working very well for me. I love that you don't need to upload your info to any server.

For the future maybe you could work something like Username / psw control in. And some kind of protection against DDoSing yourself.

Thanks a lot again for the plugin as it is right now, really helpful.

EDIT:
Oh and maybe there would be a way to send your information to your own server (if you already have one) so you wouldn't need to open any ports on your own PC?
 
Updated the plugin last night!

Thanks a lot, this is working very well for me. I love that you don't need to upload your info to any server.

For the future maybe you could work something like Username / psw control in. And some kind of protection against DDoSing yourself.

Thanks a lot again for the plugin as it is right now, really helpful.

EDIT:
Oh and maybe there would be a way to send your information to your own server (if you already have one) so you wouldn't need to open any ports on your own PC?

Working on the Username and Password options today. Have also been thinking about how to send it to your own server easily. I might go with the FTP route where it uploads an html file and screenshot files to your personal website. If I don't go that route will have to write something for it to talk with on your server instead. Which in itself wouldn't be that hard but I am not the greatest at PHP.
 
The plugin is really nice. Haven't tested the new version yet, but keep up the good work. It is always good to know how your bot is doing. Thank you.
 
Ending up leaving the password and username out of version 5 but it will be in the next one hopefully.
 
What about more than one instance of DB? It tries to use the same port and it crashes, I guess. I don't really want to make a copy od DB and change the port there. I hope you'll find a way.
 
What about more than one instance of DB? It tries to use the same port and it crashes, I guess. I don't really want to make a copy od DB and change the port there. I hope you'll find a way.


I only have 1 account but that should be easy to get around as well. Will write a GUI for changing the port and have it save those settings per character.
 
I tried your plugin with the current beta of DB and as soon as I enable it from the plugin tab DB crashes.

Make sure you are on the version 5. That is the only reason it would crash after taking a screenshot. Version 4 had a bug in it that would crash if there wasn't already a certain file created but that was fixed.
 
Just updated from v3 to v5. At startup it gives me an error saying that I don't have a UPnP-enabled router. I checked and the UPnP is enabled in my router, the port I chose is opened as well. DB works fine after closing the dialog box, but I can't connect to my computer. It worked fine before you updated the way it creates the server.
 
Just updated from v3 to v5. At startup it gives me an error saying that I don't have a UPnP-enabled router. I checked and the UPnP is enabled in my router, the port I chose is opened as well. DB works fine after closing the dialog box, but I can't connect to my computer. It worked fine before you updated the way it creates the server.

That message just means my code couldn't talk to your router and automatically open the port for you. Everything else should run just the same. You are connecting with the IP address and not localhost correct?
 
That message just means my code couldn't talk to your router and automatically open the port for you. Everything else should run just the same. You are connecting with the IP address and not localhost correct?
Yes, that's right. I will look more into that tomorrow.
 
if I try to put a tickbox in to make this work with the latest DB it just freezes my whole demonbuddy, no errors....
 
Back
Top