Country Flags

Everything technical and nerdy stuff here plz !

Country Flags

Postby wurst » 06.29.09

Oki guys, maybe u seen it allready.
Theres nationalflags within the stats somehow:

national_wurst.png


So WTF? Are we nationalists now?
No, sure no but the machine collect the data by using php geoip extension in combination with maxmind geoip files.

SvaRox coded a B3 plugin for that, on connect the Players get located.

I made a little Import to locate all the 94.000 clients that were in DB before.
Everythings done, so allmost all users have a Localisation.

Plans:
1.) Show the visitor on the stats the Distance to the Player hes just watching (maybe nice for making friendship)
2.) Find a senseful way to allow users remove their Flag and/or Localisation Info (Privacy/Political Reasons...)

btw:
the plugin has some ingame options, for sure svarox can inform u and/or zip it somewhere...
Image
User avatar
wurst
Godlike
 
Posts: 4648
Joined: 07.15.08
Location: Behind U
-----tdm:  
nick: [dswp]GewitterOma
skill: 1122.83
kills: 25960
deaths: 19847
ratio: 1.30
-----bomb:  
nick: [dswp]GewitterOma
skill: 812.172
kills: 3885
deaths: 3541
ratio: 1.09

Re: Country Flags

Postby SKracht » 06.29.09

I like it!

:o
User avatar
SKracht
Ingame Mod
 
Posts: 437
Joined: 05.08.09
Location: Germany

Re: Country Flags

Postby wurst » 06.29.09

kewl thx :mrgreen:

btw: 34 couldnt be resolved yet...
Image
User avatar
wurst
Godlike
 
Posts: 4648
Joined: 07.15.08
Location: Behind U
-----tdm:  
nick: [dswp]GewitterOma
skill: 1122.83
kills: 25960
deaths: 19847
ratio: 1.30
-----bomb:  
nick: [dswp]GewitterOma
skill: 812.172
kills: 3885
deaths: 3541
ratio: 1.09

Re: Country Flags

Postby SvaRoX » 06.29.09

You can know a player's location ingame by typing !locate <playername> (as usual you can use part of the player name or player ID too).
For those who care about their privacy, as Wurst said we are working on a way to prevent players from being located (both ingame and on stat pages).
ut4_he_tennis_v0.1
-------------------------
"We are talking about computers here, compared to those I can read women like a book ;P"
Unclefragger
User avatar
SvaRoX
Leader
 
Posts: 1972
Joined: 11.29.08

Re: Country Flags

Postby wurst » 06.29.09

dont be afraid, it woult take a very, very, veeeeeeery big bomb to hit you according to that position it gives back...
Image
User avatar
wurst
Godlike
 
Posts: 4648
Joined: 07.15.08
Location: Behind U
-----tdm:  
nick: [dswp]GewitterOma
skill: 1122.83
kills: 25960
deaths: 19847
ratio: 1.30
-----bomb:  
nick: [dswp]GewitterOma
skill: 812.172
kills: 3885
deaths: 3541
ratio: 1.09

Re: Country Flags

Postby SvaRoX » 06.29.09

!nuke wurst :D
ut4_he_tennis_v0.1
-------------------------
"We are talking about computers here, compared to those I can read women like a book ;P"
Unclefragger
User avatar
SvaRoX
Leader
 
Posts: 1972
Joined: 11.29.08

Re: Country Flags

Postby XTJ7 » 06.29.09

svarox, I need !rlnuke, you can do it!
<XTJ7> !penis
<CuntBot> XTJ7, your penis is 23.3 cm long. 8=========D
<XTJ7> !8ball do i rock?
<CuntBot> XTJ7: OH YEAH !
<BEH> !8ball you lieing too?
<CuntBot> BEH: Totally not.
<BEH> -_-''
User avatar
XTJ7
Kanzlerin
 
Posts: 1063
Joined: 07.24.08
Location: Germany
-----tdm:  
nick: [dswp]xtj7
skill: 753.35
kills: 98
deaths: 95
ratio: 1.03

Re: Country Flags

Postby Samtron » 06.29.09

Nice work SvaRoX and wursti! I will check out the !locate command the next time I'm on the battlefield... The nearest-player-feature sounds cool, from the flash world map I know that at least screek is like me from Berlin, too.
Image
User avatar
Samtron
Godlike
 
Posts: 1296
Joined: 01.08.09
Location: Berlin, Germany
-----tdm:  
nick: Samtron
skill: 584.92
kills: 316
deaths: 269
ratio: 1.17

Re: Country Flags

Postby AimMe » 06.29.09

I know who's closest player to me. One meter from me, in same room on his laptop i see Natirips. :D Plz don't !rlnuke him since i'll get damage!

Nice work wurst and svarox!
Image
User avatar
AimMe
Godlike
 
Posts: 2318
Joined: 09.28.08
Location: Solar System

Re: Country Flags

Postby SvaRoX » 06.29.09

Thx =)
XTJ7 wrote:svarox, I need !rlnuke, you can do it!

!rlnuke ok no problem, if someone could give me some nuke activation code :) What scares me most is the debugging part ;p
Btw I coded a mass slap/mass nuke plugin some times ago to slap a team in particular or the whole server, but I didn't uploaded because it's useless and dangerous... Imagine a !mnuke all 1000 on a 30ppl server, with 1 second pause between each nuke, that would nuke people for about 8 hours non stop :D (ok I could constraint the amount parameter :p)
ut4_he_tennis_v0.1
-------------------------
"We are talking about computers here, compared to those I can read women like a book ;P"
Unclefragger
User avatar
SvaRoX
Leader
 
Posts: 1972
Joined: 11.29.08

Next

Who is online

Users browsing this forum: No registered users and 0 guests

Misc