Sign In To Proceed 435v5c

Don't have an ? 473g1v

osu! to create your own !
forum

osu!Bancho stats and logs! 6n6f1u

posted
Total Posts
129
Topic Starter
Yep, it's your stereotypical channel stats but with a nice osu! twist.

The design is a little yucky right now but I'm working on it! I just don't have time tonight to make it anymore osu!like but it's certainly better than it was before!

Index can be found here http://osu.corin.me/stats/

Pick your channel and away you go, channel stats are set to regenerate every 5 mins so it's always up to date.

Also if you want your nick and ava and whatever up, just request it and I'll get it done when I can.

Most channel pages are translated into their native languages so be warned, you may not understand them all.

Logs can be found here: http://osu.corin.me/logs
this. is. gold.
Pretty nifty. If only I ever spoke in #osu or anywhere.
Topic Starter
Updated slightly, we now have public logs too.

http://osu.corin.me/logs

They're updated every 30 mins or so so expect gaps between times.

I'll be working on a script that pulls the dates and such and hides all the s/parts/quits to make it less cluttered nd shit

Enjoy :D
Interesting stuff xD

Also:

Poor slaps, nobody likes him/her. He/She was attacked 2 times.
For example, like this:
* mintong89 slaps slaps slaps slaps slaps slaps zenki

rofl

xsrsbsns wrote: 2u6f59

Interesting stuff xD

Also:

Poor slaps, nobody likes him/her. He/She was attacked 2 times.
For example, like this:
* mintong89 slaps slaps slaps slaps slaps slaps zenki

rofl
Baka!
Use UTF-8 please, ignore s and Quits on channels suchs as #announce

edit: actually, ignore s and Quits and Parts on every channel
Corin you should me there.
Topic Starter

thelewa wrote: 3sk2w

Use UTF-8 please, ignore s and Quits on channels suchs as #announce

edit: actually, ignore s and Quits and Parts on every channel
Yeah I know, I sometimes forget to set UTF-8 on certain channels and like I said, I'm working on the s/parts/quits.

theowest wrote: tpu

Corin you should me there.
Done
Topic Starter
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>#finnish osu!Bancho:ssä, tilastot laatinut: Corin</title>
<style type="text/css" title="softgreen">

It's already in utf-8 silly lewa

EDIT: OHHH YOU MEAN THE LOGS.

Yes that'll be done once I poke someone about something :D
I've seen worse in #portuguese.
Nice
Is that even a word? lol


(on #osu)

XPJ38 wrote: 364g3l

Is that even a word? lol


(on #osu)
it's the method for link formatting in-game
I know but that's not a word.
I think it consider a word pretty much anything
sdfsdf asdafaf sfdfsfsf asdrgadrg can be a phrase and sdfsdf a word
if it has letters it is a word /logic???
Topic Starter
Any word is a word.
even yifffuckingyiff can be a word.

#osu stats changed to generate hourly rather than every 5 mins.

The sheer load managed to keep creating more and more instances of itself where one hadn't finished and the cronjob ran again and kept going like that till it ruined the system. gg
Most used word in #spanish:

Ok.

Anyway, me too :'(
Topic Starter

Nokeru-Chan wrote: 6c6d3j

Most used word in #spanish:

Ok.

Anyway, me too :'(
ed. :p
I use this every day, it would be nice to have some of our avatar back at least.
and maybe add more emoticons, remove some common word names (What & Where never talks in our channel, they have obviously said something, but not of any significance.) and maybe extend some of the lists, it would be nice to see beyond just 5 list items.

It's kind of sad how people call me theo instead of writing my full name, I'm sure I'd be on the top 5 if theo was included.

edit: merge s when they change their name, could be done manually on request o:
I love how the word frequency list tells the entire story of #german: "nicht schon wieder" / "not (this shit) again" (#1, 3 and 6 in frequency, and in the proper order as well)
Primula_old
It seems that xXGrekXx's shift-key is hanging: 25.3% of the time he/she wrote UPPERCASE.
For example, like this:
<xXGrekXx> :O
Lol..
Topic Starter

theowest wrote: tpu

I use this every day, it would be nice to have some of our avatar back at least.
and maybe add more emoticons, remove some common word names (What & Where never talks in our channel, they have obviously said something, but not of any significance.) and maybe extend some of the lists, it would be nice to see beyond just 5 list items.

It's kind of sad how people call me theo instead of writing my full name, I'm sure I'd be on the top 5 if theo was included.

edit: merge s when they change their name, could be done manually on request o:
If I find an efficient way to get the avatar from the names, sure, there is currently a way to do it but I need to find a way to resolve say
http://osu-ppy-sh.jeuxcrack.net/u/639270 to the name Corin and grab the avatar from https://s.ppy.sh/a/639270.jpg it'll be extremely simple.

If someone knows a nice way to do this or a primitive cURL with regex and perl method, I'd gladly snap it up and implement it.

As for requests of merging nicks, it'd take about a day worth of recaching all the files to do it, I might have a request sort of thing and I do it at the end of every month but right now this what the cache folder looks like:
That's 3684 files that would have to be regenerated :p

But yeah like I said, if anyone knows a non-primitive way of resolving it without storing it locally, I'll implement it.
For anyone reading logs from here:
If you want to get rid of the Quits, s and Parts message, simply use this program https://dl.dropboxcontent.com/u/211 ... leaner.exe
Drag and drop a text file over this program, and it'll create clean text file. Useful for reading logs from #osu.
Topic Starter

Marcin wrote: 411m5q

For anyone reading logs from here:
If you want to get rid of the Quits, s and Parts message, simply use this program https://dl.dropboxcontent.com/u/211 ... leaner.exe
Drag and drop a text file over this program, and it'll create clean text file. Useful for reading logs from #osu.
I already have the regex and the cleaner built.
I'm building a php wrapper to show the logs and have a date selector too along with fixes for UTF-8.

Here http://osu.corin.me/logs/temptest
Anything in that dir has been scrubbed.

Once the wrapper is finished, I'll scrub them all and build a script that rsyncs the files and scubs it automatically.
Btw; last log from #polish for ex. is from #polish_20130604.log ... is everything working fine?
Topic Starter
Zertap pointed it out to me that the rsync had stopped working.

Just realized I forgot to uncomment the rsync cronjob >.>

All should be good now
can you do an update on all the channels? some are gone and there are new ones aswell
Topic Starter

silmarilen wrote: 3y5n4j

can you do an update on all the channels? some are gone and there are new ones aswell
Will do.


The log viewer will be out by the end of today/in a few hours.

Just talking to the guy about it now.
Topic Starter
All done! It looks ugly for now but
http://osu.corin.me/logs/
It works :D

Just swapping out the rsync script to add it to specific folderz
umm can you give "automated" avatar ? (well, you can't automate it for "underscore" and "space" based name... D:)
http://s.ppy.sh/a/ID
(or something)
which ID can be obtained from the profile page itself
  while(!(EOF)) {
%line = %fo->$readLine
if ($str.match("^var Id = *",%line,r)) {
%uid = $int($str.chop($str.mid(%line,13,$length(%line)),2))
// this is not php or what code, picked from KVIrc
break;
}
}


(if cant, can you "re-" me?)
Topic Starter

Rei Hakurei wrote: 4f2a6p

umm can you give "automated" avatar ? (well, you can't automate it for "underscore" and "space" based name... D:)
http://s.ppy.sh/a/ID
(or something)
which ID can be obtained from the profile page itself
  while(!(EOF)) {
%line = %fo->$readLine
if ($str.match("^var Id = *",%line,r)) {
%uid = $int($str.chop($str.mid(%line,13,$length(%line)),2))
// this is not php or what code, picked from KVIrc
break;
}
}


(if cant, can you "re-" me?)
....... and this is actually what I needed.

I'll get this shoved in today.
Topic Starter
Aaand completely forgot about the scripts, should be fine now.
Can you make stats for other channels? That would be really nice of you.
Topic Starter

Nanika133 wrote: f2u52

Can you make stats for other channels? That would be really nice of you.
Am I missing any? It should be generating stats for all channels... Have a look at http://osu.corin.me/stats

Let me know if I'm not logging a channel or two.
Turkish ;_;
#arabic is not there, #bulgarian #cantonese #chinese are missing too...
Topic Starter

UnderminE wrote: 1z4r1y

Turkish ;_;

Nanika133 wrote: f2u52

#arabic is not there, #bulgarian #cantonese #chinese are missing too...
Done and done, they are currently generating so it will take a little while to go through all 250 odd days.

Also added #english too.

EDIT: All done.
#romanian is also missing.

Corin wrote: 3wt1n

UnderminE wrote: 1z4r1y

Turkish ;_;

Nanika133 wrote: f2u52

#arabic is not there, #bulgarian #cantonese #chinese are missing too...
Done and done, they are currently generating so it will take a little while to go through all 250 odd days.

Also added #english too.

EDIT: All done.
Thankies <3
Topic Starter

Mirailine wrote: 413g34

#romanian is also missing.
Done: http://osu.corin.me/stats/romanian.html
Yeah, thanks alot :3
i dont know which channel this shows http://osu.corin.me/stats/english.html but its not #english
Topic Starter

silmarilen wrote: 3y5n4j

i dont know which channel this shows http://osu.corin.me/stats/english.html but its not #english
Logfile = "/logops/osu/#ctb_*.log"

whoops, should be fixed.
You know what, we should link these stat pages in channels as an auto/start message. Like when you open a channel, there will be an auto-message with an explanation and the stats page-link. It would bring some activity within IMO. Activity is not a problem for crowded channels (#osu, #modhelp etc) but less-crowded ones.
Topic Starter
I could make a bot for that but it's down to peppy if he'd let me make it.

If he built it into Bancho as it does with the messages when a s a channel it'd be far more easier however I can make a bot that does all kinds of shit IE can PM you the link to the stats/logs of the channel you're in just by doing .stats or . a channel.

But I think peppy said no to the last one.
Well last one is the same as coming and finding the link here, I suggested it for new players (mostly foreign) who don't browse forums at all.

Maybe we can ask peppy about the first one.
I think the website is down :/
Topic Starter
Nope? Working fine here.

Corin wrote: 3wt1n

Nope? Working fine here.
i think he meant that the stats arent updating
Topic Starter
all fixed, I moved a lot of shit around and reorganized stuff so there was a permdenied issue.
Patched and working once more~
bigbadwolf666_old
avater don't work (at least for #italian stats)
the logs dont seem to work anymore, im just getting this when i try to select a channel
Topic Starter
php broke, I was pissing about with php execution in certain dirs and forgot about that one >.>

Should work fine now.


this don't work :c
any idea why the logs in skandinavian doesn't work?
Seems like all logs/quotes are completely freezed and not updated since Wednesday. (there are no logs from Thursday and today)
Did something bad happened? :I

EDIT: okay nvm
Topic Starter
It's temporarily not generating stats, the logs are fine juts not being sync'd to the log folders, I need to work on a few things on it because at the moment it's pushing full load on my servers U and I have an inkling that the HDD is on its last legs due to constant IO.

Anyways once I finish my build-scripts I'll finish the stats stuff, but I'll re-enable log syncing for now.

Saten wrote: 5e2b6d

any idea why the logs in skandinavian doesn't work?
It doesn't? o.O

EDIT: Oh re-read
Topic Starter
Herro!

So what I did to counter this issue is put more load on it to ease off the big burden!

So there's a few new things; one is that that stats are now split into 2 sections.
Yearly and combined.

Combined will be filed in the same place as normal however they will be generated once a day only. Not every hour, this will generally ease off the load

Yearly will be filed in http://osu.corin.me/stats/yearly/ so you can view the past stats of 2013 and this years current stats.
Before you moan that /np counts as an action, I'm aware I just can't tell what changed.

2014's yearly stats will now be generated every 10 mins once again but is more likely to be changed to 20 in the near future.

Logs have started syncing once again as normal aaand I think that's all! Enjoy :D
And all the avatars are back !
Grats \:D/
Topic Starter

Didou wrote: 6za3k

And all the avatars are back !
Grats \:D/
Yeup, automatically adding themselves and updating, there's a few glitches here and there but the majority of it works!
Topic Starter
Did a quick but fairly decent modification
Thanks to peppy pointing out to me that the osu!API can get uid's; avatars no longer are cached locally on the server but use your current osu! one directly so it'll never be out of date!

This will lower load and generation times greatly meaning I can re-enable #osu's combined stats generation!

#osu's 2014 statistics will be generated hourly
#osu's combined statistics will now be generated daily rather than whenever it feels like it.

Have fun!

Also if anyone wants it a copy of the UID cache can be found here: http://corin.me/uid_cache It's always up to date.
Format is name:UID
seasonS

Vext wrote: 36395j

Pretty nifty. If only I ever spoke in #osu or anywhere.
True
Topic Starter
So I did a few changes which is why this was down for a few days.

1: I moved everything to a new dedi so now instead of #osu taking 3 hours and 10 mins to generate on combine stats and dragging a load of other shit down because of; it takes 10 mins and drags nothing down with it. 2x E5's are nice.
So now I once more re-enabled #osu combined stats.

2: I redid the way I have logs laid out. While moving everything I somewhat was confused and had to ask myself what the fuck I was doing.
Every night it would rsync the logfiles over to another directory. So it used to copy them and overwrite, for some reason rsync didn't like checking if the files were the exact same in both destinations so what it did was overwrote them ALL so that's every channel, copying 500 files ($chancount * 500) every night which I'm sure the HDD did not like.
It's a very dumb thing to do, especially seeing as the old dedi itself was not very powerful and low on HDD space (45GB total in logs * 2 due to them being in 2 locations).

So now I replaced that shit with something much more simplistic. I created a symlink to the actual files and every night at 12.01AM it'll create a symlink for that day bringing the overall HDD load to 0 and bringing down space requirements.

This also gave another boon; the logs are now updated in realtime so you don't have to wait an hour for that stuff to update anymore.
Looking back I knew how to do all this back then and I'm wondering why I didn't do it. Oh well.

Anyways, enjoy. \o\ Everything should be overall faster

TL;DR
Chan stats generate zoom zoom now
Chan stats are back up
#osu combined now works
Logs are updated in realtime
I was wondering about the eternal maintenance ....
Welp, I pretty much didn't expect a complete update lol, gg, keep going \:D/
Topic Starter

marcostudios wrote: g181c

http://osu-ppy-sh.jeuxcrack.net/u/-MasterCraft- is banned

http://osu-ppy-sh.jeuxcrack.net/u/Mastercraft2012 was the name before the namechange
There's a lot that can go wrong there. Because peppy removed the "previous name" on the profile it's hard to see if they're banned or they changed their nickname or whatever.
Tempted to have a submission feature for this as it needs to be done manually (can be automated however later on).
At the same time I can't prove all this stuff.

plus the cache needs to be regenerated for it to take effect too. so yeah.


:c
Topic Starter
Caused by networking outage and corin panicing, unfortuantly there's no backlog, but it's fixed.
This is glorious. A new stalking tool for me! :>

Is it possible to search for specific s?
Topic Starter

Granger wrote: 4d605j

This is glorious. A new stalking tool for me! :>

Is it possible to search for specific s?
Not really, other than CTRL + F and just what channels you chat in most :P
The logs don't work anymore.
It says 'File not found' >.<
Topic Starter
Fixed, I think I just hit another Y2K type bug. Huh.
Either way it fucked over my whole webserver for no reason. All fixed :D
[-Sophie-]_old
Some directories are broken with a file not found
also, why isn't my avatar showing up?
Looks like that bug is back!
Can't view the whole site. "File not found."
Topic Starter
aaaaaaaaaaaaaaaaaa

Yeah I'm fixing it now, it's caused by my rewrite including the indexes as php for no reason, most other things work.... sorta.

You can still go directly to the pages though.

Corin wrote: 3wt1n

You can still go directly to the pages though.
nope
Topic Starter

Howl wrote: 17g5

Corin wrote: 3wt1n

You can still go directly to the pages though.
nope
You're going directly to the index, that's technically not a page. If you want stats,
http://osu.corin.me/stats/channelnamehere
For 2014 stats
http://osu.corin.me/stats/yearly/2014/channelnamehere
IE
http://osu.corin.me/stats/yearly/2014/ctb


EDIT: nmlol fixed.
Alright, thanks!
Looks like this would be pretty difficult to run... Would be hard ;___;

CanadianPaws wrote: f551l

Alright, thanks!
Looks like this would be pretty difficult to run... Would be hard ;___;
i think corin use pisg
Topic Starter

marcostudios wrote: g181c

CanadianPaws wrote: f551l

Alright, thanks!
Looks like this would be pretty difficult to run... Would be hard ;___;
i think corin use pisg
A heavily modified version of pisg yes. The only real hard part is the magnitude resources it uses.
muh 2015
show more
Please sign in to reply.

New reply 1b384i