got the stats queried from inside phpbb!

Everything technical and nerdy stuff here plz !

got the stats queried from inside phpbb!

Postby wurst » 07.27.08

hey guys, this is great, i just got some table from xlr stats called between forums header and footer, including all css etc.

the rest of the playerstats lay in different tables with global primary keys.
so when im boring i go and biuld some nice listings here...

look it, isnt it nice?

http://www.dswp.de/maps_stats.php
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: got the stats queried from inside phpbb!

Postby SanHolo » 07.27.08

Nice! Really nice!
There is no god.
User avatar
SanHolo
Godlike
 
Posts: 369
Joined: 07.20.08
Location: Switzerland

Re: got the stats queried from inside phpbb!

Postby wurst » 07.27.08

ej and XTJ7 has allready started to write us some nice interesting outputs.

hope he succeeds soon, so we have that machine fully integrated in page style, beeing able to run filters and comparisons that the original xlr cant throw out.
(like a kill/death ratio, connected to the weather, daytime or ...)
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: got the stats queried from inside phpbb!

Postby XTJ7 » 07.28.08

I extended the XLR interface just a little, so now the rank is being calculated in realtime in everyones profiles there. Just search for your name and then you can see your rank even if your not in the Top20 (like me! :D).

Then im already thinking about how to link the forum profiles to the XLR profiles. With that we could do quite interesting things, like group ranks not based on posts, but based on rounds played for example.
Any ideas? :)
<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: got the stats queried from inside phpbb!

Postby wurst » 07.29.08

je, the matching should be the biggest prob.
i cant see any proof way to have them automatically assigned.

with the rights: we have clients.group_bits
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: got the stats queried from inside phpbb!

Postby XTJ7 » 07.29.08

Well, I guess there we just have to extend the B3 a bit. So that users can enter !authforum XTJ7 for example and then in the database this relationship will be saved. Other ways like doing the authing in the forum might result in some jerks stealing Top20 players nicks to look good. Then we are in trouble cause we need to prove it's not them. Authing this inside the actual game seems the only way for a proper solution and shouldn't actually be that hard to do.

I will look into the B3 in the next days and then write a plugin that allows us to do the authing this way. Then we could theoretically even do things like show the player his private messages from the forum inside the game. It's so nice to be a programmer, limitless options :D
<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: got the stats queried from inside phpbb!

Postby wurst » 07.29.08

hm, maybe the users could be asked to give it in the form
Code: Select all
!authforums mail@host.com

username could be assumed as playername, allthough there will be sure issues with special caracters ^^

then use the phpbb registration scripts to sign him up with random key, sent in activation mail.
so were sure and we have a playerid for the username.
aditionally, its much more save against them spambots then any captcha or math test :mrgreen:

an aditional column with player id in phpbb users could show the xlr content relative easy in playerprofile.
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


Who is online

Users browsing this forum: No registered users and 0 guests

Misc

cron