Jump to content


discord bot - wotbot

stats blitzstars discord bot open source github python discord.py wotbot

  • Please log in to reply
81 replies to this topic

b48g55m #41 Posted 22 November 2017 - 03:34 PM

    Junior Sergeant

  • Player
  • 18105 battles
  • 211
  • [U_T_D]
  • Member since:
    10-11-2015

View PostMyrheii, on 22 November 2017 - 01:53 PM, said:

thx for explanations.

platoon post/join working fine.

 

yeah, i can see them flying by now, had taken one with @coen1974 and it was so much fun, hope to do more.

i am planning to add the possibility the specify the platoon tier as 1-10/count-in/rating :)


...

b48g55m #42 Posted 23 November 2017 - 10:29 PM

    Junior Sergeant

  • Player
  • 18105 battles
  • 211
  • [U_T_D]
  • Member since:
    10-11-2015

More clan statistics

 

 

?clanreadstats clan_name

 

?clanreadstats clan_name

 

as usual, if you leave the clan_name empty, your discord name will be tried as WG player name and clan determined from the wg data.

 

 

 

 

 


Edited by b48g55m, 23 November 2017 - 10:58 PM.

...

b48g55m #43 Posted 25 November 2017 - 12:59 AM

    Junior Sergeant

  • Player
  • 18105 battles
  • 211
  • [U_T_D]
  • Member since:
    10-11-2015

Road to unicum

 

How long will it take to improve your winrate:

 

?unicum

 

 

The formula is visible here: https://github.com/v...s/unicum.py#L57

feel free to check and comment.


Edited by b48g55m, 26 November 2017 - 11:57 AM.

...

b48g55m #44 Posted 26 November 2017 - 11:58 AM

    Junior Sergeant

  • Player
  • 18105 battles
  • 211
  • [U_T_D]
  • Member since:
    10-11-2015

?unicum Road to unicum command now realtime, no more 24h delay.

?readstats Readstats command now also shows damage, not only winrate.


Edited by b48g55m, 26 November 2017 - 12:02 PM.

...

Myrheii #45 Posted 26 November 2017 - 08:18 PM

    Lance-corporal

  • Player
  • 8960 battles
  • 16
  • [BWALK]
  • Member since:
    03-10-2017

hi b48g55m

I did configurate one channel to be the updates-channel in my server.

but i didn't receive any notification of ur brilliant update (?unicum)

Was it an error in my setup, or did u skip this notification by your own ?.

 

Once again, thx 4 ur work.

 


Edited by Myrheii, 26 November 2017 - 08:29 PM.


b48g55m #46 Posted 26 November 2017 - 09:15 PM

    Junior Sergeant

  • Player
  • 18105 battles
  • 211
  • [U_T_D]
  • Member since:
    10-11-2015

View PostMyrheii, on 26 November 2017 - 08:18 PM, said:

hi b48g55m

I did configurate one channel to be the updates-channel in my server.

but i didn't receive any notification of ur brilliant update (?unicum)

Was it an error in my setup, or did u skip this notification by your own ?.

 

Once again, thx 4 ur work.

 

 

Oh, i haven't done any news yet through the new system. Seems like i should do it :)

 


...

Myrheii #47 Posted 27 November 2017 - 03:10 AM

    Lance-corporal

  • Player
  • 8960 battles
  • 16
  • [BWALK]
  • Member since:
    03-10-2017
Yes, it could be good for testing updates-channel :)

b48g55m #48 Posted 27 November 2017 - 04:52 PM

    Junior Sergeant

  • Player
  • 18105 battles
  • 211
  • [U_T_D]
  • Member since:
    10-11-2015

:)

 

As for the ?unicum and helping to improve, this is what ?readstats is doing - showing you your partial progress. I could make ?unicum to go to 1-2% up, rather then 5% (actually, i do two steps - first i go to first round decimal (say from 44.2 to 45%), then i add 5%). Problem is, that some people have so low WR, that it doesn't matter how small percentage you add, it would never get there, as their overall winrate is perhaps long term even. So probably i can say that the ?readstats is for everyone who like to track winrate (and newly also damage), then the ?unicum command is for people who figured out how to play better and like to improve even more.

 

Notice my stats:

- the long term (5%) is absolutely not doable as i never played for stats but rather for fun: To get to 61 wr (+5.33%), you need to play 14218 battles with current 90day wr of 66.62 or can play 2049 battles with 100% winrate.

 

- the shortterm stats are doabble: To get to 56 wr (+0.33%), you need to play 462 battles with current 90day wr of 66.62 or can play 112 battles with 100% winrate.

But i don't care. I mean, i do care now, but I also think, that some clans recruitment policies (60%WR, 1500DMG) make no sense for overall account and should be treated on individual basis, say per tier or per tank, as account stats can easily be ... gamed: (for example, play A20 for your super unicum status)....

 

 

 

 

 

 

 

 


...

mrpgilbert #49 Posted 27 November 2017 - 11:45 PM

    First Sergeant

  • Player
  • 29017 battles
  • 6,203
  • [AFK]
  • Member since:
    03-05-2013
Yup, that's the thing about stats in game. I'll never get my JPanther lifetime WR anywhere near my 90 day WR, because I played 749 games as a total dingbat with no premium time to grind the next in line. Enjoying it now, though. :)

Denoobing member of the Active Frontline Klan - and proud of it.

Be nice to me..

http://www.blitzstar...r/eu/mrpgilbert


b48g55m #50 Posted 02 December 2017 - 12:06 AM

    Junior Sergeant

  • Player
  • 18105 battles
  • 211
  • [U_T_D]
  • Member since:
    10-11-2015

Players count on servers:

 

?servers

 


Edited by b48g55m, 02 December 2017 - 05:29 PM.

...

b48g55m #51 Posted 02 December 2017 - 05:31 PM

    Junior Sergeant

  • Player
  • 18105 battles
  • 211
  • [U_T_D]
  • Member since:
    10-11-2015

Denoob your stats one tier at a time

 

?denoob

 

?denoob 5

 

?denoob 3 the_honour

 


...

mrpgilbert #52 Posted 02 December 2017 - 06:51 PM

    First Sergeant

  • Player
  • 29017 battles
  • 6,203
  • [AFK]
  • Member since:
    03-05-2013

View Postb48g55m, on 02 December 2017 - 05:31 PM, said:

Denoob your stats one tier at a time

 

?denoob

 

?denoob 5

 

?denoob 3 the_honour

 

 

This is excellent, and only previously available from maxra.de, which has one of the creakiest UI out there.

Denoobing member of the Active Frontline Klan - and proud of it.

Be nice to me..

http://www.blitzstar...r/eu/mrpgilbert


b48g55m #53 Posted 02 December 2017 - 09:23 PM

    Junior Sergeant

  • Player
  • 18105 battles
  • 211
  • [U_T_D]
  • Member since:
    10-11-2015

View Postmrpgilbert, on 02 December 2017 - 06:51 PM, said:

 

This is excellent, and only previously available from maxra.de, which has one of the creakiest UI out there.

 

Thank you. Plenty of work done today. DMG has now been added to stats of clans too. So all diff stats now calculate WR and DMG.

I should put some battles in, to see what happens :)

 

edit: ehhhm, looks like i did already :)

 


Edited by b48g55m, 02 December 2017 - 09:27 PM.

...

b48g55m #54 Posted 03 December 2017 - 12:09 AM

    Junior Sergeant

  • Player
  • 18105 battles
  • 211
  • [U_T_D]
  • Member since:
    10-11-2015

Winrate

 

per popular demand, command winrate only shows winrate, damage, battles per tier and total:

 

?winrate

 

 

 

and psssst, there is new optional percentage parameter for denoob, but in order to use it you must fill in all parameters:

 

?denoob tier name percentage

 

?denoob 5 b48g55m 2

 

(if not set, by default it is 5%) so you still can do this:

 

?denoob 7

 


Edited by b48g55m, 03 December 2017 - 07:20 AM.

...

Myrheii #55 Posted 06 December 2017 - 06:12 PM

    Lance-corporal

  • Player
  • 8960 battles
  • 16
  • [BWALK]
  • Member since:
    03-10-2017

Hi. New problem since this afternoon.

when typing ?readstats, i get stats but this error is displayed:

Rating diff: Error code: 409, try re-save.

i did resave with ?savestats, and tried again after a few games. I've got the same error 409.

hope it's nothing bad.



b48g55m #56 Posted 07 December 2017 - 07:58 PM

    Junior Sergeant

  • Player
  • 18105 battles
  • 211
  • [U_T_D]
  • Member since:
    10-11-2015
I think this is WG issue. What you see is the server response. I have now tested several times and all worked OK, see my screenshots.

Attached Files

  • Attached File   Screenshot from 2017-12-07 20-56-21.png   69.88K
  • Attached File   Screenshot from 2017-12-07 20-56-12.png   70.65K

Edited by b48g55m, 07 December 2017 - 10:35 PM.

...

Myrheii #57 Posted 07 December 2017 - 11:27 PM

    Lance-corporal

  • Player
  • 8960 battles
  • 16
  • [BWALK]
  • Member since:
    03-10-2017

No more problems. Yes, seems to be WG link to blitzstats.

Thx again 4 ur big work on this excellent bot.



b48g55m #58 Posted 09 December 2017 - 01:11 AM

    Junior Sergeant

  • Player
  • 18105 battles
  • 211
  • [U_T_D]
  • Member since:
    10-11-2015

Glad to hear that.

 

Plenty of under the hood work done this week - switched to async http (python-aiohttp) for blitzstars queries, switched from simple debug with print() to built in logging facility (python-logging). Also, i keep on adding aliases to commands, especially when i observe that people make either simple mistakes or presume that command is called something else. 53 servers using wotbot now.

 

Most favorite commands, since i started counting usage frequency last Sunday (you can see it via ?botstats):

 

readstats

unicum

denoob

mastery

 

Plus plenty of colliding commands (?play...) meant for other bots (marked as command_doesnt_exist on the screenshot below).

Attached Files

  • Attached File   Screenshot from 2017-12-09 02-08-40.png   43.32K

...

b48g55m #59 Posted 10 December 2017 - 09:12 PM

    Junior Sergeant

  • Player
  • 18105 battles
  • 211
  • [U_T_D]
  • Member since:
    10-11-2015

New commands:

 

?clanwinrate

 

lists players and sorts by winrate

 

 

 

?clantopplayers

 

top players for  Mastery ACE medal, winrate and damage per tier.

 

 


Edited by b48g55m, 10 December 2017 - 09:44 PM.

...

b48g55m #60 Posted 16 December 2017 - 11:46 AM

    Junior Sergeant

  • Player
  • 18105 battles
  • 211
  • [U_T_D]
  • Member since:
    10-11-2015

The readstats command is the most favorite one. People use it to keep track of their progress. When you track multiple accounts (yours or your friends) you can use readstatsmany , which is very useful. The typing, specially on mobile device, can be tedious. So here is new command:

 

Statslist

It allows you to shortcut all the typing and put names into a list, which you can read stats for later on.

 

?statslist

 

With no argument, it shows you your stored list:

 

 

You can save the list with

 

?statslist save name1 name2 name3

 

this overwrites the previous save.

 

 

If you just want to add new name to your list, use

 

?statslist add name5 name6 name7

 

 

?statslist

 

You can also clear the list completely:

 

?statslist clear

 

 

 

ReadStatsList

 

now, when you have people in your list, see their stats easily:

 

?readstatslist

 

 

 

 

And one more command:

 

Sometimes you check stats of a new player, perhaps random platoon mate and later on try to remember who it was. You can see list of who you track stats for:

 

?liststats

 

 

 

 

So liststats and statslist sound similar but do two different things:

 

liststats - see who you track

statslist - list management for fast statst with readstatslist


...




5 user(s) are reading this topic

0 members, 4 guests, 1 anonymous users