miscellaneous

Forum > Miscellaneous > Bots4 Statistics
Reply To Thread (login)
Emanuel [51]
2010-12-22 09:28:42
[13 years, 341 days ago]

Another script for Firefox + Greasemonkey or Chrome.

It will replace the logo (sorry Deadmaster!) with a box with some random statistics about your trains and fights. The box can be (very) customized, to begin with it has drag & drop (with right-click) so you can put it wherever you want (its position will be saved between page loads of course).

A new link/button is added on the left, right under hall of fame, on that page you can change the name of the tabs in the box, and also add/remove stats that will be displayed in each tab.

http://userscripts.org/scripts/show/87427

Some example stats:

Total trains: 17
Train win rate: 100.000%
Train avg length: 19.153 seconds
Train win max xp: 13,013
Train avg damage: 68.695

Screenshot: http://s3.amazonaws.com/uso_ss/11429/large.jpg?1286494789


 
Intsecuris [82]
2010-12-22 09:30:05
[13 years, 341 days ago]

Log time: 0h 26m 46s
Total trains: 54
Total fights: 0
Xp rate: 1,945,510/h
Time to level: 2h 52m 46s

Looks great!


 
dragonrose [33]
Head Moderator
2010-12-22 11:05:11
[13 years, 341 days ago]

<3333333333333333333333333333333


 
ForThePeople [64]
2010-12-22 12:19:32
[13 years, 341 days ago]

Very Enjoyable


 
Emanuel [74]
2011-02-28 07:47:36
[13 years, 273 days ago]

Added support for energy:

Total fights: 33
Energy gained: 391
Energy rate: 2,908/h
Avg energy gain: 11.8


 
Shadowfax [85]
2011-02-28 09:56:15
[13 years, 273 days ago]

This thread has Shadowfax's seal of approval


 
Emanuel [74]
2011-03-02 05:26:56
[13 years, 271 days ago]

Until an official and better fix is implemented, I've put a link to the fight history on the statistics page. This will allow you to train/fight while checking the fight history, without breaking any links.


 
Ecoueses [54]
2011-03-03 12:31:19
[13 years, 270 days ago]

oi Emanuel, if i remember well, you have developed some bots fight calculator, do you planing to make some new, or just share the old one if none trainer stats have changed?


 
Ecoueses [54]
2011-03-03 12:32:10
[13 years, 270 days ago]

oi Emanuel, if i remember well, you have developed some bots fight calculator, do you planing to make some new, or just share the old one if none trainer stats have changed?


 
Emanuel [74]
2011-03-03 17:15:47
[13 years, 269 days ago]

I already made one: http://userscripts.org/scripts/show/87798


 
spud [94]
2011-03-03 23:25:45
[13 years, 269 days ago]

That's something I've been wanting to play around with, thanks for posting!

Nub question but how do you install/run the script? Do you have to have greasemonkey installed to run it?


 
spud [94]
2011-03-03 23:30:54
[13 years, 269 days ago]

Ah, logging in I assume will bring up a few options which could help :) Now to wait for them to send the activation email *yawn*


 
Emanuel [74]
2011-03-04 05:01:08
[13 years, 269 days ago]

To install you simply click "Install" :)

You'll need Firefox with Greasemonkey or Google Chrome.


 
Takusic [131]
2011-03-04 23:40:42
[13 years, 268 days ago]

mine is now about its height downward on the page and I can no longer switch between overview trains fights and experience. I am simply stuck on overview. Hmm


 
Takusic [132]
2011-03-05 14:58:52
[13 years, 267 days ago]

I tried to reinstall it to fix it and now it just doesn't show up at all. =( That thing gets handy when you get used to it and now I miss it. NOOOOOOOOOOO!!!


 
Emanuel [75]
2011-03-05 18:26:37
[13 years, 267 days ago]

Press ctrl+shift+j and see if it shows any error messages.


 
Takusic [132]
2011-03-05 18:46:52
[13 years, 267 days ago]

Wow it looks like there are a ton of errors.


 
Takusic [132]
2011-03-05 19:11:38
[13 years, 267 days ago]

So I guess its telling me component is not available. I'll try to get it working later I guess.


 
Caruso [61]
2011-03-09 06:33:35
[13 years, 264 days ago]

You got it to work? I cant get mine to work, i get the message "Component is not available"


 
d3s0 [58]
2011-03-09 06:41:58
[13 years, 264 days ago]

Klaida: Component is not available
Pirminis failas: file:///C:/Users/Off/AppData/Roaming/Mozilla/Firefox/Profiles/oxps0rlh.default/gm_scripts/bots4_statistics/bots4_statistics.user.js
Line: 27


 
d3s0 [58]
2011-03-09 06:42:14
[13 years, 264 days ago]

oh, "klaida" means "error"


 
Caruso [61]
2011-03-09 06:47:46
[13 years, 264 days ago]

yeah i get same message :)


 
d3s0 [58]
2011-03-09 06:50:47
[13 years, 264 days ago]

FF 3.6.13


 
Caruso [62]
2011-03-09 07:10:05
[13 years, 264 days ago]

I am using FF 3.6.2 Windows7 64bit, if that is any help to the problem :)


 
Aqua Regia [67]
2011-03-09 07:47:17
[13 years, 264 days ago]

I think I know how to fix this, and I will as soon as I get time. In the meantime, use Google Chrome :)

(I'm Emanuel btw)


 
d3s0 [58]
2011-03-09 07:50:56
[13 years, 264 days ago]

with chrome it works fine, getting problems with FF :P


 
Caruso [70]
2011-03-09 17:46:42
[13 years, 263 days ago]

Yep, working nicely with Chrome :)


 
Aqua Regia [94]
2011-03-15 06:32:17
[13 years, 258 days ago]

Should be working with Firefox again, let me know if it isn't.


 
d3s0 [62]
2011-03-15 07:22:36
[13 years, 258 days ago]

Now it works :) GJ Emanuel ;)

~Off


 
Training [50]
2011-03-18 00:39:16
[13 years, 255 days ago]

When I click on the "install" button it opens a page of text. How do i get it?


 
Jans [69]
2011-03-18 03:14:23
[13 years, 255 days ago]

Do you use Chrome or Firefox+Greasemonkey?


 
Training [52]
2011-03-18 03:54:04
[13 years, 255 days ago]

I use firefox


 
Jans [69]
2011-03-18 03:55:47
[13 years, 255 days ago]

Ok, and do you have greasemonkey installed? Otherwise Emanuel's script wont do anything.


 
Training [52]
2011-03-18 03:56:48
[13 years, 255 days ago]

I have never heard of greasemonkey before =O


 
Jans [69]
2011-03-18 03:57:43
[13 years, 255 days ago]

https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/


 
Training [52]
2011-03-18 03:58:54
[13 years, 255 days ago]

Okay installed and reset firefox


 
Jans [69]
2011-03-18 04:00:10
[13 years, 255 days ago]

Cool, now you should be able to install Ema's script :)


 
Training [52]
2011-03-18 04:00:56
[13 years, 255 days ago]

Okay I got it, thank you so much.


 
Emanuel [106]
2011-04-02 08:47:00
[13 years, 240 days ago]

If you don't have the same name on your bot and owner, the stats related to wins (win rate, win max xp etc.) have stopped working.

This has been fixed, and all you have to do is reinstall the script.


 
Voxymaus [136]
2011-04-02 08:50:26
[13 years, 240 days ago]

Great, thanks for fixing this so fast (:


 
Ihatedex [126]
2011-04-02 09:02:33
[13 years, 240 days ago]

Thanks for fixing it :D. Did you get my Inbox or did you notice it yourself? :).


 
Emanuel [106]
2011-04-02 09:04:14
[13 years, 240 days ago]

Voxymaus notified me on IRC.


 
Emanuel [106]
2011-04-02 12:29:46
[13 years, 240 days ago]

This time everyone has to reinstall.

Thank you Ender :P


 
Ihatedex [126]
2011-04-02 12:41:48
[13 years, 240 days ago]

What happened to it? Lol.


 
Emanuel [106]
2011-04-02 12:43:12
[13 years, 240 days ago]

"The workshop link now shows how many unspent stat points you have."

That's what happened :P

It was my fault though.


 
Ihatedex [126]
2011-04-02 12:44:38
[13 years, 240 days ago]

Oh haha I didn't even notice xD.


 
Skeith [66]
2011-04-02 15:09:02
[13 years, 240 days ago]

This is great! Thank you, Emanuel!


 
Invalid User [29]
2011-04-03 06:07:27
[13 years, 239 days ago]

Not sure if this is worth reporting, but it would appear that when going from high experience income to low experience income produces a negative number for xp rate.

BOTS4 Statistics - Invalid User
OverviewTrainsFightsExperience
Total xp: 253,689
Xp rate: -522,172/h
Train win max xp: 3,241
Fight win max xp: 26,592
Xp to level: 76,188


 
Emanuel [107]
2011-04-03 07:35:32
[13 years, 239 days ago]

What does your log time say? Does this happen a lot?


 
Spazz [79]
2011-04-03 08:01:55
[13 years, 239 days ago]

this is pretty awesome.


 
Invalid User [31]
2011-04-03 16:16:40
[13 years, 238 days ago]

>What does your log time say? Does this happen a lot?

The log time and several other values read negative. After about an hour, it corrected itself, but I haven't been able to reproduce it.


 
Emanuel [110]
2011-04-04 12:28:13
[13 years, 238 days ago]

Fixed a bug with Bots4 Statistics, Bots4 Train List and Bots4 Bmail Sound where it would use your clan's name to store data instead of your bot's name.

So if you're planning on joining/leaving clans a lot, or if you have several bots in the same clan, you should reinstall if you don't want to experience some buggy shit :P


 
Spazrael [28]
2011-04-16 13:19:08
[13 years, 226 days ago]

bump for awesomeness


 
Emanuel [133]
2011-05-05 10:13:58
[13 years, 207 days ago]

Fixed a bug with block rate.


 
kenson [59]
2011-05-05 10:26:34
[13 years, 207 days ago]

I'm level 59, it only showed "2" when i won two battles. Please update if possible :P


 
kenson [59]
2011-05-05 10:26:54
[13 years, 207 days ago]

I have 1,009 total wins


 
Emanuel [133]
2011-05-05 10:36:24
[13 years, 207 days ago]

Huh?


 
kenson [60]
2011-05-05 10:37:05
[13 years, 207 days ago]

It's not showing the Stats correctly. I am using Google Chrome


 
Cerberus [113]
2011-05-05 10:38:20
[13 years, 207 days ago]

the script only shows your total fights for the session. not your total fights in general


 
kenson [60]
2011-05-05 10:39:16
[13 years, 207 days ago]

ah.


 
SaiyanZ [105]
2011-05-25 15:01:20
[13 years, 187 days ago]

I used this for a day. Today it disappeared. The extension is enabled. I uninstalled and installed again but still not showing up? Using Chrome.


 
Emanuel [138]
2011-05-25 15:35:30
[13 years, 186 days ago]

Press ctrl+shift+j, does it show any error messages?


 
SaiyanZ [106]
2011-05-25 15:58:57
[13 years, 186 days ago]

It shows this error:

Uncaught TypeError: Cannot read property '1' of undefined


 
Emanuel [138]
2011-05-25 16:00:41
[13 years, 186 days ago]

Any line number?


 
SaiyanZ [106]
2011-05-25 16:01:55
[13 years, 186 days ago]

Oh here's the full line.

chrome-extension://jhgigljmnajikpdklkejccieebkedpgk/script.js:255Uncaught TypeError: Cannot read property '1' of undefined


 
Emanuel [138]
2011-05-25 16:05:59
[13 years, 186 days ago]

In the console, type:

localStorage.clear()

That should reset everything and fix the problem, at least for now.. Let me know if it stops working again.


 
SaiyanZ [106]
2011-05-25 16:08:48
[13 years, 186 days ago]

Thanks. Working fine for now.


 
ReZyper [21]
2014-09-20 17:02:11
[10 years, 67 days ago]

Mine doesn't do anything... Many of the scripts doesn't.. And the hotkey script freezes my fights after first line..

Why could this be?


 
Esvrainzas [134]
2014-10-25 09:49:31
[10 years, 33 days ago]

After happening this to me and re-installing the statistics script by tampermonkey, it doesn't work.


 
Emanuel [168]
2014-11-12 16:34:25
[10 years, 14 days ago]

https://chrome.google.com/webstore/detail/bots4-statistics/gbnbmjnkldagimbghegplcgilpcomknb

http://pasteboard.co/1EBA3r5T.png


 
ActiveX [256]
Head Moderator
2014-11-12 16:37:29
[10 years, 14 days ago]

<3333333333333333333333


 
Nosferatu [267]
2014-11-12 18:17:49
[10 years, 14 days ago]

OMFG, YOU ARE AWESOME!!!


 
Trio [358]
2014-11-12 22:23:52
[10 years, 14 days ago]

Fantastic!


 
Emanuel [168]
2016-05-15 08:55:47
[8 years, 195 days ago]

This has been broken for quite some time, but I just fixed the version that's on the Chrome Webstore (version 0.1.1).


 
TheCause [390]
2016-05-15 08:59:55
[8 years, 195 days ago]

nice Em. might update although i never had any issues with the previous one, everything still working fine for me


 
l Alpha l [99]
2016-05-15 09:19:03
[8 years, 195 days ago]

Fight sim?


 
Zord [61]
2016-08-05 09:50:56
[8 years, 113 days ago]

Mine doesn't do anything at all... Why could that be?


 
Bird [2]
2016-08-05 20:46:25
[8 years, 112 days ago]

^Pretty sure it's been broken for a long time now.


 
Emanuel [168]
2016-09-06 12:43:31
[8 years, 81 days ago]

It's not broken, unless you're using the link from the first post. The version in Chrome Webstore should work: https://chrome.google.com/webstore/detail/bots4-statistics/gbnbmjnkldagimbghegplcgilpcomknb


 
Forum > Miscellaneous > Bots4 Statistics
Reply To Thread (login)