Author | Post | |||
quangntenemy |
To theblacksheep, Inferno or Erik I'm writing a script to display my rank @ tbs (something like Sheep's !tbs command). I'm wondering if there's a special page to do that quickly or I'll have to read and extract the information from userstats.php which would be boring and waste of traffic? |
|||
26.03.2006 02:06:31 |
|
|||
theblacksheep |
I can write a small script for that. Do you just need the number of challs solved and the rank or any other statistics? tbs |
|||
Edited by theblacksheep on 26.03.2006 10:32:48 | ||||
26.03.2006 09:23:24 |
|
|||
theblacksheep |
Ranking That scripts gives you the rank and the amount of solved challenges for every user. [Rank : Solved Challenges] If you want me to add something, tell me. tbs |
|||
26.03.2006 10:45:29 |
|
|||
Phas(retired) |
Hi! I also need: * Total number of challenges: (310) * Unread news count * Unread forum posts count * Unread private messages count Of course, all those values only for the logged user, something like: http://www.bright-shadows.net/userdata.php?cookie=XXXXXXXXXXXXXXXXXXXXXX returning RANK:CHALLS_SOLVED:TOTAL_CHALLS:UNREAD_NEWS:UNREAD_FORUM:UNREAD_PM 1:303:310:1:1:0 My program tbsnet.exe will do the rest. It shows a small window alerting me when: - New challenges are uploaded - I miss position(s) in the ranking - There are new posts, PMs or news The program installs an icon in the notification area (near the windows clock) and checks those values every X minutes (you can configure it, default 5 mins). Phas. |
|||
26.03.2006 11:10:41 |
|
|||
Plasmator |
Hey, How about this really cool thing called : RSS Feeds |
|||
26.03.2006 12:16:50 |
|
|||
quangntenemy |
Thanks, time to write the script now @Phas: when u finish that program and every user uses it we'll have a DDoS attack @ tbs |
|||
26.03.2006 12:30:48 |
|
|||
theblacksheep |
Ok, that's what I have done so far: http://www.bright-shadows.net/userdata.php If you are logged in and you haven't specified an username the data looks like this: USER:RANK:CHALLS_SOLVED:TOTAL_CHALLS:UNREAD_NEWS:UNREAD_FORUM:UNREAD_PM If you have specified an username you'll get the following data: USER:RANK:CHALLS_SOLVED:TOTAL_CHALLS Everything should work except for the UNREAD_PM. I don't know why so far but the number can differ from the actual one. It is going to be fixed as soon as I have figured it out. In case there any problems with the data leave a message. tbs |
|||
26.03.2006 15:57:58 |
|
|||
pvcuong |
Can we have the total number of users also? |
|||
26.03.2006 16:30:50 |
|
|||
theblacksheep |
UPDATE If you are logged in and you haven't specified an username the data looks like this: USER:RANK:TOTAL USERS:CHALLS_SOLVED:TOTAL_CHALLS:UNREAD_NEWS:UNREAD_FORUM:UNREAD_PM If you have specified an username you'll get the following data: USER:RANK:TOTAL USERS:CHALLS_SOLVED:TOTAL_CHALLS There is still the problem with the PM's tbs |
|||
Edited by theblacksheep on 26.03.2006 20:43:53 | ||||
26.03.2006 20:38:03 |
|
|||
JackPo |
what happened to this script? is it gone permanently? |
|||
28.06.2006 02:03:45 |
|