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

CowStats 3.0 (Honorbuddy web monitor) - HonorBuddy >= 1.945

WTB Jabber support instead of HTTP :-)

Just wondering, as I found one of my "old" web projects that made use of xmpp. What kind of app do you need? Because I can see a few possibilities:
- A stupid IM bot chatting on event / periodically
- Replacing AJAX by XMPP over BOSH (xmpp on keep-active http connection)
 
Which browser are you using, and which version? (ex. Internet explorer 7 / Firefox 3 / ...)

I have no problem using chrome (windows and linux) or firefox (latest release, both OS)

Using Firefox and chrome on my Main comp. Everything updates the same but the pic will stay the same. Happens on average between 15-30mins
 
Back to my original question, have set everything up, but once I access the auth page I enter the correct details (I think) and then it loads up the webpage, but doesnt show screenshots or any info about gold/kills at all. thoughts?



restart honorbuddy and it should fix it :) (ctrl+f5) and reload the page.

Did not work for me. Index.htm keeps beeing blank (no stats/images reported)

edit: got it working. No idea how. I changed the port from 1234 to 1235 in the config.txt i THINK
 
Last edited:
Hmm having alot of problem with this plugin... The HTTP server is running and I follow your install guide pretty well, but then i enter http://localhost:8080/auth.htm and click submit I am sent to http://localhost:80/index.htm(my own http server) I see the index file but is does not load anything from HB... What have I done wrong? HB crashes if I use CowStats_http

[CowStats<WWW>]: Connection closed.
[CowStats<WWW>]: Connection closed.
[CowStats<WWW>]: Could not send file...System.Net.HttpListenerException: Det angivne netv?rksnavn er ikke l?ngere til r?dighed
ved System.Net.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 size)
ved CowStats.Server.ListenerCallback(IAsyncResult ar) i c:\Users\god\Desktop\HB stuff\HB 1.9.4.5\Plugins\CowStats_http\Server.cs:linje 108
Det angivne netv?rksnavn er ikke l?ngere til r?dighed
System
ved System.Net.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 size)
ved CowStats.Server.ListenerCallback(IAsyncResult ar) i c:\Users\god\Desktop\HB stuff\HB 1.9.4.5\Plugins\CowStats_http\Server.cs:linje 108

Edit: Have now tryed Chrome, Firefox, safari and IE nothing works :(
 
Last edited:
Now HB has stop crashing when i use CowStats_http. but I still cant see anything, the windows is just black. Have now tryed Chrome, Firefox, safari and IE nothing works
 
Last edited:
Is it me or this slows the bot?

When I have this in the Plugins folder, not enabled, times between actions of the bot increases dramatically.
 
Is it me or this slows the bot?

When I have this in the Plugins folder, not enabled, times between actions of the bot increases dramatically.

It will slow it down a bit as long as it reads memory. Should be fine when you use a refresh rate around 20s. But still, I've been using it at one refresh/second without trouble. Might cause trouble if used with CC that relies a lot on LUA/mem read, duno.
 
It will slow it down a bit as long as it reads memory. Should be fine when you use a refresh rate around 20s. But still, I've been using it at one refresh/second without trouble. Might cause trouble if used with CC that relies a lot on LUA/mem read, duno.

Just wanted to say THANK YOU for this awesome plug-in! Really easy to setup and get going with. I use 5s from work all day and I've ever had an issue (it's running on IIS7 if that matters).

Only enraging part now is when I see my mage strafe into 2 other mobs after using frost nova and then die in the worst spot knowing I can't do anything except hope the RNG works to my advantage so I don't keep dying! :)
 
Im getting ConnectionHandler.cs Line: 421 Error: 'Styx.Logic.Inventory.InventoryManager' does not contain a definition for 'LowestDurability' When i start honor buddy up and I have no idea what is wrong in the line. Could you shed any light? Thanks! Line 421 stats.durability = InventoryManager.LowestDurability;
 
think 1.9.5.0 broke this awesome plug in...wtb update!!



or i kick a puppy!!!
 
Updated for 1.9.50.

Didn't test it but should be fine... Tell me how it works.

By the way, as Znuffie suggested, it might be interesting to use Jabber as remote server.

Advantages:
- does not depend on any remote server storing your data
- faster (BOSH > AJAX)
- allow remote access to the bot even if you're behind a firewall
- very easy to set up: create a jabber account on a server (ex. jabber.org, takes 30 seconds), set its user/passwd infos in cowstats, and you're ready to rock.

Cons:
- takes a bit of time to implement
- I'm not even sure people are using the current version and would use that new feature
- I actually got 2 "thanks" and 5 dollars (thank you very much, you'll recognise yourself :))
=> If you'd like to see that wonderful feature, might be great to tell me what you think about it.

Note:
Jabber = XMPP protocol, which is used on facebook's chat and gmail's too, for example. And yes, it WILL support live screenshots. I did some tests about this and you can display a binary picture without hosting it somewhere.
 
Keeps on giving me [CowStats]: Oops, server socket is null, cannot pulse!
 
so znuffie/cowdude,
i registered on jabber,set it as my user name pass in the plug in (btw,the username becomes [email protected],right?)
now how am i suppoed to monitor it?can download a jabber client on my iphone i guess..

wtb walkthrough!!!!!plz
 
I have no idea if/how the change would affect me. A feature is a feature however. Currently I only run this on a second computer here at work that runs wow for me. (my lil workhorse)

But to be apple to access it from my iphone and halt it later in the evening would be nice.
 
Last edited:
It will slow it down a bit as long as it reads memory. Should be fine when you use a refresh rate around 20s. But still, I've been using it at one refresh/second without trouble. Might cause trouble if used with CC that relies a lot on LUA/mem read, duno.

Was slowing it to an awful point for me, but the thing is that I wasn't even monitoring it in a browser. Just had the plugin running and that's it. I will test a bit more these days and I'll give some more feedback.

Updated for 1.9.50.

Didn't test it but should be fine... Tell me how it works.

By the way, as Znuffie suggested, it might be interesting to use Jabber as remote server.

Google Talk. That's all you need =)

so znuffie/cowdude,
i registered on jabber,set it as my user name pass in the plug in (btw,the username becomes [email protected],right?)
now how am i suppoed to monitor it?can download a jabber client on my iphone i guess..

wtb walkthrough!!!!!plz

Stick to Google Talk. It's easier for newbies :-)


I have no idea if/how the change would affect me. A feature is a feature however. Currently I only run this on a second computer here at work that runs wow for me. (my lil workhorse)

But to be apple to access it from my iphone and halt it later in the evening would be nice.

"Abble" (took me 2 minutes to figure that one out, considering you had iphone in the same sentence)

If cowdude can manage it, maybe we'll soon see that option :-)
 
Mkay, just tested this again. If I have the plugin enabled, the navigation in the bot will slow down a lot.

Every step he takes (read: click-to-move), he pauses for like half a second.

From the logs, I'm guessing it's because of the loot tracker. Any way to have it check for loots just when the bot is actually looting? Not every X seconds.
 
Mkay, just tested this again. If I have the plugin enabled, the navigation in the bot will slow down a lot.

Every step he takes (read: click-to-move), he pauses for like half a second.

From the logs, I'm guessing it's because of the loot tracker. Any way to have it check for loots just when the bot is actually looting? Not every X seconds.

As far as I know, there's no such event in HB. And well, that one surely slows the bot down as it scans your whole inventory using LUA. And even worse, it's not 100% reliable. "Hey mon, I looted a hearthstone, look!"
 
I'm getting this error:

[CowStats]: Could not start server: An attempt was made to access a socket in a way forbidden by its access permissions

I think it's caused by the HB client crashing without cowstats sending a Socket.Close() message? Is the addon run on the same thread as HB or a seperate one? Could get it to poll in its main loop to see if HB is still alive and if not send a Close()?
 
I'm getting this error:

[CowStats]: Could not start server: An attempt was made to access a socket in a way forbidden by its access permissions

I think it's caused by the HB client crashing without cowstats sending a Socket.Close() message? Is the addon run on the same thread as HB or a seperate one? Could get it to poll in its main loop to see if HB is still alive and if not send a Close()?

Check that you don't have any firewall blocking the socket port (Windows firewall, mcafee, ...). The error message telling you that the port is unavailable is a bit different, and the plugin manages to gracefully close the socket when you close HB.

As far as I remember, I'm using the native async socket server and each connection is forked as a new thread.
 
Back
Top