Psycho
Member since 2005
+44|6990|Kansas, USA

NM156 wrote:

Good news guys... Wojjie over at game-monitor.com has put together a sweet deal on the online buddy list.

http://www.game-monitor.com/subscribe.php?package=buddy

The Buddy List (Small) option has the ability to track 3 buddy lists, with 20 in each, for a total of 60 users! $3.95/mo or $39.95/yr. For a little bit more, you can track your server, with all the bells and whistles.

Doesn't get any better than that!
Free sounds better to me. There is already a free XML feed from BF2tracker that will allow you to see when the people in your group are online. I will be adding that feature to my BF2S leaderboard with some other features and then releasing that (http://repeat-offenders.org/modules.php … eaderboard)

As for server tracking, that is almost ready as well! See here: http://repeat-offenders.org/bf2test/new … 2stat2.php

Last edited by Psycho (2006-01-12 09:15:26)

Viper007Bond
Moderator Emeritus
+236|7019|Portland, OR, USA

You know your "next rank" thing isn't working, right?

Besides that, lookin' good. GOnna do something like that for my clan soon.
https://bf3s.com/sigs/044900892044e7fc95e599e832a086ae9bcd7efb.png
Psycho
Member since 2005
+44|6990|Kansas, USA

Viper007Bond wrote:

You know your "next rank" thing isn't working, right?

Besides that, lookin' good. GOnna do something like that for my clan soon.
It IS working in IE and it WAS working previously in FireFox. I made some changes recently and didn't go back and check it in FireFox.

[EDIT (11:11PM CT): Fixed! It was as simple as adding a non-breaking space. I must have removed it thinking it wasn't needed.]

Last edited by Psycho (2006-01-12 10:05:03)

aclure
Member
+0|6894|Dallas, TX
I am looking for a way to put the stats for members under there username in their profile page and the posts in the forum.
Psycho
Member since 2005
+44|6990|Kansas, USA

aclure wrote:

I am looking for a way to put the stats for members under there username in their profile page and the posts in the forum.
Well, you don't give us much to go on. For instance, what kind of site/forum are you currently running?

It can be done, but since you are asking the question I am asuming you do not have the background to do it yourself (i.e. scripting and database).

Personally I would create a new table in the database with columns for userID (linked to the main userID), BF2PlayerID, and then separate columns for each particular stat. You would need to have a page that is called regularly, such as a leaderboard page, or an automated function to capture the XML feed on a regular basis which will update the stat columns in the new table. Then, of course, you will need to modify any page that you want that data to appear in to pull the appropriate rows from the new table and display the data.

It's not hard, but would take some time and would be a little different from site to site depending on the kind of site being run (PHPNuke, MAMBO, etc.)

Last edited by Psycho (2006-01-12 12:54:38)

NM156
The H4xor Mod
+161|7060|North Texas
Game-Monitor.com has added another buddy plan to their subscription.

Buddy List (Tiny) - 50 buddies, $24.95/yr (That's $2 a month!)
NM156
The H4xor Mod
+161|7060|North Texas

Psycho wrote:

Free sounds better to me. There is already a free XML feed from BF2tracker that will allow you to see when the people in your group are online.
Their feed does not include what server the player is on. Please explain to me, what good this is?
Psycho
Member since 2005
+44|6990|Kansas, USA

NM156 wrote:

Psycho wrote:

Free sounds better to me. There is already a free XML feed from BF2tracker that will allow you to see when the people in your group are online.
Their feed does not include what server the player is on. Please explain to me, what good this is?
Uh, with their PlayerID, you just make their name a link which will pull up their BF2S stats page and it shows what server they are on.

Look at the page another user posted previously in this thread: http://bf2.tschumiweb.ch

If any of those poeple are online the green light will be displayed. Click their name and you will see where they are playing. Seems simple enough to me. But it looks like you may have a financial interest in people signing up at game-monitor. Not knocking it - people are free to spend their money on whatever they want. But, my method will give me everything I need for $0.00.

Last edited by Psycho (2006-01-12 16:11:56)

NM156
The H4xor Mod
+161|7060|North Texas
Yeah well, he's linking to BF2s.com's stats page, which is fine. Me personally, I want that player status info on my own web page. I don't want to have to rely on someone else's page.

You don't think something like this is worth $2.00 a month? That's less money then I've spent on toll road fees, driving around Dallas... in a single day.

Psycho wrote:

But it looks like you may have a financial interest in people signing up at game-monitor. Not knocking it - people are free to spend their money on whatever they want. But, my method will give me everything I need for $0.00.
I have zero financial interest in GM.. I made a suggestion to them to add a more affordable solution for those that want to add these features to their own web sites. If I want the player status on my site, I'm going to have to pay for it.

By the way... Bf2Tracker doesn't track unranked servers. So there's another drawback to the free service. You get what you pay for I guess..

Last edited by NM156 (2006-01-12 16:29:11)

XiLLiON
Member
+0|6893
Thanks alot dude, sometimes I like to showoff my stats <3
Viper007Bond
Moderator Emeritus
+236|7019|Portland, OR, USA

Psycho wrote:

Viper007Bond wrote:

You know your "next rank" thing isn't working, right?

Besides that, lookin' good. GOnna do something like that for my clan soon.
It IS working in IE and it WAS working previously in FireFox. I made some changes recently and didn't go back and check it in FireFox.

[EDIT (11:11PM CT): Fixed! It was as simple as adding a non-breaking space. I must have removed it thinking it wasn't needed.]
Ah, nice!

Now to just fix your other issues.

http://validator.w3.org/check?verbose=1 … eaderboard
https://bf3s.com/sigs/044900892044e7fc95e599e832a086ae9bcd7efb.png
Psycho
Member since 2005
+44|6990|Kansas, USA

Viper007Bond wrote:

Psycho wrote:

Viper007Bond wrote:

You know your "next rank" thing isn't working, right?

Besides that, lookin' good. GOnna do something like that for my clan soon.
It IS working in IE and it WAS working previously in FireFox. I made some changes recently and didn't go back and check it in FireFox.

[EDIT (11:11PM CT): Fixed! It was as simple as adding a non-breaking space. I must have removed it thinking it wasn't needed.]
Ah, nice!

Now to just fix your other issues.

http://validator.w3.org/check?verbose=1 … eaderboard
Thanks, but I could give a rats ass if my page is W3C validated. The web has never adhered to standards and the different web browsers all interpret some of the standards differently and don't even adhere to some of them at all. All I care is that the page displays how I want it to.
chuyskywalker
Admin
+2,439|7061|"Frisco"

Psycho wrote:

The web has never adhered to standards and the different web browsers all interpret some of the standards differently and don't even adhere to some of them at all. All I care is that the page displays how I want it to.
True, but that's half the point. Why would the browser makers give a "rats ass" about compliance if the code that people use doesn't meet spec anyway?. Why should they? It's a chicken and egg dilema. Of course, perfect validation is a true pipe-dream, but aspiring towards that goal is a worthy cause.
Psycho
Member since 2005
+44|6990|Kansas, USA

chuyskywalker wrote:

Psycho wrote:

The web has never adhered to standards and the different web browsers all interpret some of the standards differently and don't even adhere to some of them at all. All I care is that the page displays how I want it to.
True, but that's half the point. Why would the browser makers give a "rats ass" about compliance if the code that people use doesn't meet spec anyway?. Why should they? It's a chicken and egg dilema. Of course, perfect validation is a true pipe-dream, but aspiring towards that goal is a worthy cause.
Don't get me wrong. I would love for all browsers to be 100% compliant. It would make web design much, much easier. I hate having to test pages in several browsers to ensure tht everything looks correct in each. But, compliance will not be driven by the builders. It needs to be driven by the browser makers.
chuyskywalker
Admin
+2,439|7061|"Frisco"

Psycho wrote:

I would love for all browsers to be 100% compliant.

Psycho wrote:

It would make web design much, much easier. I hate having to test pages in several browsers to ensure tht everything looks correct in each. But, compliance will not be driven by the builders. It needs to be driven by the browser makers.
That's wrong. Complaince will be driven by the builders, because we demand it. A good part of demanding it is the arguement, "look, we've done our part. It's valid, now make your shit do it's part and show it correctly."

It's only the voices of thousands upon thousands of pissed off developers and site makers that are getting MS to update IE. In the case of Firefox, the builders and developers are one in the same. And, in the case of Opera, many of the people who work there were originally builders, for example Anne.
patrickgamer
Member
+0|6893

chuyskywalker wrote:

Note: There is a small bug where the last hover number, if long enough, might fall off the display. I'm aware, and trying to find a fix.
Couldn't you just make a check for the mouse's location, and if it's beyond 75% of the leftmost frame, to just ofset the number?  or if you want to get fancy, you could write an equation that offset's the number by an amount determined by the mouse's position/distance from the centerpoint of the display.
aclure
Member
+0|6894|Dallas, TX
I am running phpBB and have a block on the front page that shows my clan status but i am new to the php coding and have been trying to get the stats for each person. I am aware that i need a db that will link back to the users on the board but just don't know how to code it. If you would like to see what I have done goto [url=http://bf2.copoa.org]=NX= Clan[/url].

Last edited by aclure (2006-01-13 12:56:38)

chuyskywalker
Admin
+2,439|7061|"Frisco"

patrickgamer wrote:

chuyskywalker wrote:

Note: There is a small bug where the last hover number, if long enough, might fall off the display. I'm aware, and trying to find a fix.
Couldn't you just make a check for the mouse's location, and if it's beyond 75% of the leftmost frame, to just ofset the number?  or if you want to get fancy, you could write an equation that offset's the number by an amount determined by the mouse's position/distance from the centerpoint of the display.
I discussed this bug with the author of the flash file I am using for display of the graphs -- turns out it's a bug on his fault / macromedia and he hasn't been able to fix it ever.

It's probably not going to get fixed anytime soon, I apologize.
freguz
Member
+0|6964|Sweden

NM156 wrote:

Yeah well, he's linking to BF2s.com's stats page, which is fine. Me personally, I want that player status info on my own web page. I don't want to have to rely on someone else's page.


By the way... Bf2Tracker doesn't track unranked servers. So there's another drawback to the free service. You get what you pay for I guess..
Me also likes the idea of getting all info from a nice XML feed, award-rank-ribbon list included.

I used to snatch some values from GM html page but Wojciech blocked me out :-P So i now use the BF2Tracker feed... but as you said, not all info is available.

Anyone with creative ideas to get hold of all stats?


Here is my little stat page www.plan9.se click the +klanstats to se the list, sorted after Global Scores

/Freguz

Last edited by freguz (2006-01-16 14:06:12)

Viper007Bond
Moderator Emeritus
+236|7019|Portland, OR, USA

Just thought I'd show off my work: http://www.sinclan.net/bf2s/

Thanks to aTi|Sanders for the template. I based mine on his, but made it valid HTML (many errors in his) and improved on it some as well.

Mine also uses MySQL for caching the data rather than parsing a cached XML document on each page load. Another script does use chuy's API to get and parse the data, but then the script immediately stores it to the DB for use by my display script. I did this because at some point in the future, I'll be wanting to tie in extra data like online/offline or perhaps a link to a forum profile. I also feel that doing a MySQL query is friendlier on the server than parsing an XML document on every page load.

The other reason I used MySQL was so that I could more easily sort the data, rather than having to do complex array sorting. You can see the result of that here: http://www.sinclan.net/bf2s/index_phpsort.php Note that I hadn't coded the rank progress code yet before I abandoned the PHP sorting (see next paragraph), hence why they're all at 50%.

However, in the BF2S IRC channel, it was pointing out to me that I could use the JS used here to live sort the tables, so in the end, MySQL wasn't as big as an advantage as I had hoped, but I still think it was worth the effort.

Anyway, comments are welcome.
https://bf3s.com/sigs/044900892044e7fc95e599e832a086ae9bcd7efb.png
chuyskywalker
Admin
+2,439|7061|"Frisco"

Viper007Bond wrote:

However, in the BF2S IRC channel, it was pointing out to me that I could use the JS used here to live sort the tables, so in the end, MySQL wasn't as big as an advantage as I had hoped, but I still think it was worth the effort.

Anyway, comments are welcome.
You'll also want to know that parsing a file (cached) is probably a lot faster than connecting to, querying, and parsing mysql results. Files are really fast.
Viper007Bond
Moderator Emeritus
+236|7019|Portland, OR, USA

Damnit, you're right. I just added timers. Well, fuck.

Still, I'll probably be wanting to tie in data from other source(s) to the PIDs listed, so rather than having to combine the data, I think this may just be easier.

Good to know parsing vs. query though for the future.
https://bf3s.com/sigs/044900892044e7fc95e599e832a086ae9bcd7efb.png
Psycho
Member since 2005
+44|6990|Kansas, USA

Viper007Bond wrote:

Note that I hadn't coded the rank progress code yet before I abandoned the PHP sorting (see next paragraph), hence why they're all at 50%.
I noticed that your progress bars are "overstated" for the lower percentages. For example, one states 4.08%, but the actual progress bar is around 25%. You chould use layers so that the progress bar is acurately displayed for the percentage.

And, this is a suggestion only, number columns are generally displayed right justified and I would also suggest formatting the non-ratios with commas (e.g. 1,000 not 1000). Now you just need to add totals at the bottom.
Viper007Bond
Moderator Emeritus
+236|7019|Portland, OR, USA

Psycho wrote:

Viper007Bond wrote:

Note that I hadn't coded the rank progress code yet before I abandoned the PHP sorting (see next paragraph), hence why they're all at 50%.
I noticed that your progress bars are "overstated" for the lower percentages. For example, one states 4.08%, but the actual progress bar is around 25%. You chould use layers so that the progress bar is acurately displayed for the percentage.
I see you're using the shittiest browser in the world, IE.

This is how it looks in Firefox:

https://img203.imageshack.us/img203/3152/sinbf2s9bg.png

I'll try to get it looking right in retarded IE.

Edit: Seems the bar is going to at least the end of the text no matter what in IE. Chuy has the same problem here on BF2S even. Oh well, fuck IE. You shouldn't be using it anyway.

As for the number formatting, we're only dealing with 4 or 5 digits here, so personally I think no comma makes it look cleaner. Plus, a comma is used for a decimal point in a lotta the world.

Last edited by Viper007Bond (2006-01-20 12:02:27)

https://bf3s.com/sigs/044900892044e7fc95e599e832a086ae9bcd7efb.png
Viper007Bond
Moderator Emeritus
+236|7019|Portland, OR, USA

chuyskywalker wrote:

You'll also want to know that parsing a file (cached) is probably a lot faster than connecting to, querying, and parsing mysql results. Files are really fast.
Hmm, for fun, I threw together one based on your API rather than MySQL. It doesn't seem to be too much faster:

http://www.sinclan.net/bf2s/index_chuy.php
http://www.sinclan.net/bf2s/index.php

But still, ya, I thought I had noticed it being really slow, but I guess it was just actually my internet connection or something.
https://bf3s.com/sigs/044900892044e7fc95e599e832a086ae9bcd7efb.png

Board footer

Privacy Policy - © 2024 Jeff Minard