LagAbuse.com

General Section => General Discussions => Feedback => Topic started by: peshmerge on May 22, 2015, 19:47

Title: Country Flag
Post by: peshmerge on May 22, 2015, 19:47
I'd like to see where the players are from, it would be fun.

Like this.

(http://i.imgur.com/UrkEafx.png)

thanks.
Title: Re: Country Flag
Post by: DatFace on May 22, 2015, 20:22
Please axplain me that "fun" feeling ;D

Anyway, i don't think its possible (i guess is hard to code something like that) but IF its possible, it would be great for the top 3 or 5.
Title: Re: Country Flag
Post by: Ayd.Mev on May 22, 2015, 20:51
lol i m from turkey guys!!!
Title: Re: Country Flag
Post by: peshmerge on May 22, 2015, 21:33
Haha xD It shouldnt be hard, exactly like the PSR taken from database. It could use some kind of code to take country status from IP Adress.
Title: Re: Country Flag
Post by: div.ide on May 22, 2015, 22:47
I don't think it wouldn't be that hard to code, since hostbot already has geolocation integrated (remember good old !from command?) which does precisely that - translates IP into country code. It would, however, require recoding bot to keep track of and pass additional info into database, and I guess altering database structure can sometimes be tedious. Adding one more column into stat page web interface is quite trivial, if you have the data stored.

There's one major problem though. The whole geolocation thing is very faulty and inconsistent, frequently yielding wrong country or no country at all. Besides, you either track everyone, or no one, so "top 3" kind of idea doesn't really work, on the backend side at least.
Title: Re: Country Flag
Post by: Lagi on May 22, 2015, 22:50
I don't think it wouldn't be that hard to code, since hostbot already has geolocation integrated (remember good old !from command?) which does precisely that - translates IP into country code. It would, however, require recoding bot to keep track of and pass additional info into database, and I guess altering database structure can sometimes be tedious. Adding one more column into stat page web interface is quite trivial, if you have the data stored.

There's one major problem though. The whole geolocation thing is very faulty and inconsistent, frequently yielding wrong country or no country at all. Besides, you either track everyone, or no one, so "top 3" kind of idea doesn't really work, on the backend side at least.
True, bot still thinks im from Ukraine. For like 2 years by now, and I've never been there at all.
Title: Re: Country Flag
Post by: jeandarc on May 22, 2015, 23:02
Guys your stupidity makes me throw out, i dont even know from where to start
Title: Re: Country Flag
Post by: Astaroth on May 23, 2015, 14:24
I doubt anyone will make it - why would you need to see (on the stats page) where are they from?

I'm not saying I'm against it, just nobody will make it happen.
Title: Re: Country Flag
Post by: Jimmy on May 23, 2015, 14:27
I doubt anyone will make it - why would you need to see (on the stats page) where are they from?

I'm not saying I'm against it, just nobody will make it happen.
National intolerance in making