Not from my feed.[SWAM]Sander wrote:
What i want and know is not possible (in the feed from bf2s) is the possibility to show online/offline status on my website and the server-map where our members are playing.
yes this is made clear to me by the other posts. Still i can see some great online/offline stats on webpages by making use of gamemonitor queries.
My question is if someone has some code or pointers to get this also done on my page with ip/ map playing etc.
tnx in advance
My question is if someone has some code or pointers to get this also done on my page with ip/ map playing etc.
tnx in advance
The only service that I'm aware of that does this sort of thing, is Game-Monitor.com. It cost money to subscribe. See their site for more info: Premium Services
The stats are not updating. Like the EA score and the Sigs are not working. Any wrong Chuy?
hey here is a thing i made for php nuke.... not sure where or who to give this to it is free i just made it work with nuke .....
you can get it here
http://www.crazyfirst.com/downloads/leaderb_13.zip
you can get it here
http://www.crazyfirst.com/downloads/leaderb_13.zip
Okay I got the stats working http://www.swamcrew.nl
Now what i really want is instead of ranking number to show up on my site ie. 1 until 9.
I want to show a picture of a persons rank. How have you got this working?
Does anyone want to show me some code to get the picture instead of the number?
Really tnx for the help and merry christmas to you all.
Now what i really want is instead of ranking number to show up on my site ie. 1 until 9.
I want to show a picture of a persons rank. How have you got this working?
Does anyone want to show me some code to get the picture instead of the number?
Really tnx for the help and merry christmas to you all.
Get the images and name them soemthing like rank_1.gif, rank_2.gif, rank_3.gif, etc. Then in your code use something like this:[SWAM]Sander wrote:
Okay I got the stats working http://www.swamcrew.nl
Now what i really want is instead of ranking number to show up on my site ie. 1 until 9.
I want to show a picture of a persons rank. How have you got this working?
Does anyone want to show me some code to get the picture instead of the number?
Really tnx for the help and merry christmas to you all.
echo "<img src=\"path/rank_" . $rankVar . ".gif\">";
I have the online/offline status working on my leaderboard using the free service of bf2tracker.com.
So what i did is i get all data from this feed (bf2s.com) and merge just the online/offline status data from the bf2tracker.com feed. The feed from bf2s.com will update every 2 hours and the online/offline status will update live (on every visit). The result is a leaderboard which includes a online/offline status.
So what i did is i get all data from this feed (bf2s.com) and merge just the online/offline status data from the bf2tracker.com feed. The feed from bf2s.com will update every 2 hours and the online/offline status will update live (on every visit). The result is a leaderboard which includes a online/offline status.
ok...
Tnx a lot for the tip.Wil check it out immediatelyriptide2k wrote:
I have the online/offline status working on my leaderboard using the free service of bf2tracker.com.
So what i did is i get all data from this feed (bf2s.com) and merge just the online/offline status data from the bf2tracker.com feed. The feed from bf2s.com will update every 2 hours and the online/offline status will update live (on every visit). The result is a leaderboard which includes a online/offline status.
Offcourse.... duhh tnx for the enlightment :-) This helps a lot.Psycho wrote:
Get the images and name them soemthing like rank_1.gif, rank_2.gif, rank_3.gif, etc. Then in your code use something like this:[SWAM]Sander wrote:
Okay I got the stats working http://www.swamcrew.nl
Now what i really want is instead of ranking number to show up on my site ie. 1 until 9.
I want to show a picture of a persons rank. How have you got this working?
Does anyone want to show me some code to get the picture instead of the number?
Really tnx for the help and merry christmas to you all.
echo "<img src=\"path/rank_" . $rankVar . ".gif\">";
Having problems getting spm and wlr to show just getting 0's..Not sure what is missing or not updating.
http://www.sb-bf2.com/sbostats.php
http://www.sb-bf2.com/sbostats.php
Can you provide any information on what you have done to troubleshoot the problem or do I need to get out my crystal ball to devinate the problem?
Seriously though, the first thing you should do is some basic debugging. I'm guessing you are using the class to return an array with all of the data and building your page from that. So have the page write out the total conents of the array to the page so you can see if those vales are being returned. Just do this:
echo "<pre>";
print_r ($ArrayName);
echo "</pre>";
If those missing values ARE included int he data (and I suspect they are) double check that you are correctly calling those values. Remember PHP is case sensitive: $value != $Vallue. Using the bit of code above will also display all of the key names of the array as well.
Also, it would be nice if you gave BF2s.com a plug on the page that you have your leaderboard. It would be common coutesy: http://repeat-offenders.org/modules.php … aderboard#
Seriously though, the first thing you should do is some basic debugging. I'm guessing you are using the class to return an array with all of the data and building your page from that. So have the page write out the total conents of the array to the page so you can see if those vales are being returned. Just do this:
echo "<pre>";
print_r ($ArrayName);
echo "</pre>";
If those missing values ARE included int he data (and I suspect they are) double check that you are correctly calling those values. Remember PHP is case sensitive: $value != $Vallue. Using the bit of code above will also display all of the key names of the array as well.
Also, it would be nice if you gave BF2s.com a plug on the page that you have your leaderboard. It would be common coutesy: http://repeat-offenders.org/modules.php … aderboard#
Last edited by Psycho (2006-01-04 09:50:02)
I keep a 12 hour log long log file of all the accesses from any IP addy. If you have more than 3 hits for the last 6 hours, it returns an error. Eventually, I'll include the remain duration of your "ban", but there is no harm in just trying again and again as I do not count those as "accesses" since you're not really causing me any trouble.
BTW, if you making a GUI type thing, you might want to investiage replaceing the Yahoo Widgets that no longer work since I disabled the sigs...
BTW, if you making a GUI type thing, you might want to investiage replaceing the Yahoo Widgets that no longer work since I disabled the sigs...
is there a super easy way for people who dont really code much.. or at all.. or anyone can guide me.. casue this sounds like high level coding to me..
Oh comon, it already is SUPER easy thanks to chuy. Just get whoever did your website (I assume they know PHP) to do it.
Simple example:
That'll output something like this:
Simple example:
Code:
<?php require('bf2s-mlb.php'); $mlb->get('3907599,33499225,43391991,43528056,43537677,43809966,43812519,43907767,43911930,43916852,43919456,43959068,43970874,44010215,44249023,44260977,45013934,48235526,49578552,61547570,61558580'); $all_data = $mlb->getList(); foreach ($all_data as $data) { echo $data['NICK'] . ' has a score of ' . $data['SCORE'] . '<br />'; } ?>
Code:
)-SiN-(_Paranoia has a score of 60698 John_Matrixx has a score of 36215 )-SiN-(_Pi has a score of 35251 )-SiN-(_JackRuby has a score of 31343 )-SiN-(_2xShitMusket has a score of 27376 )-SiN-(_ScarFace has a score of 22526 Rodan2000 has a score of 21039 )-SiN-(_Viper007Bond has a score of 19479 TFS|SnArF has a score of 19264 )-SiN-(_VenoM has a score of 18216 )-SiN-(_Heartsbanex has a score of 17970 )-SiN-(:uberWOOT has a score of 16536 )-SiN-(Max666 has a score of 13224 )-SiN-(_Milo209 has a score of 11059 )-SiN-(_SnArF has a score of 6282 )-SiN-(FastEddie has a score of 6034 )-SiN-(AsFan has a score of 5144 )-SiN-(Doctor has a score of 4607 )-SiN-(_Rodan2000 has a score of 3900 )-SiN-(Munchem[420] has a score of 3683 )-SiN-(_OaKTowN has a score of 2360
Last edited by Viper007Bond (2006-01-07 07:25:46)
i did it , used MAMBO , i dont have the option adding php i dont think .. it uses html...is there a html verison of this ? an easy copy paste code , edit with having the right PID #'s.. ???
i only know how to adding like mods or something like this if they use the
-------REPLACE THIS LINE----------
With whatever ur adding
---------------DELETE THIS-----------
ect..
get it .. havnt u seen those mods written like that.. much easier to understand..but this is people that knows php from heart.. i know html... thats it.. and know how to edit php when its highly detailed guides.
where do i put the sample for the php.. where in the php file i place it?? middle top , bottom , anywhere dont matter?
how do i get a images to show up , or some sort.. i gotta upload them to my server? is there some image kit i can download somewhere? or a skin thats already done for me i can just simplly add?
i only know how to adding like mods or something like this if they use the
-------REPLACE THIS LINE----------
With whatever ur adding
---------------DELETE THIS-----------
ect..
get it .. havnt u seen those mods written like that.. much easier to understand..but this is people that knows php from heart.. i know html... thats it.. and know how to edit php when its highly detailed guides.
where do i put the sample for the php.. where in the php file i place it?? middle top , bottom , anywhere dont matter?
how do i get a images to show up , or some sort.. i gotta upload them to my server? is there some image kit i can download somewhere? or a skin thats already done for me i can just simplly add?
Last edited by Snakekilla (2006-01-08 05:23:17)
Thought I'd point out this thread to anyone keeping an eye only on this thread rather than the forums as a whole:
BF2 stats WordPress plugin that uses this XML feed: http://forums.bf2s.com/viewtopic.php?id=9851
BF2 stats WordPress plugin that uses this XML feed: http://forums.bf2s.com/viewtopic.php?id=9851
I have downloaded this files on this forum and i have add a view more options
I all ready add to sort modes extra
sort by status ( % of current rang to upgrade )
sort by rank ( From the best players to the lower level players
And a view extra frames aswell
{RANKN} // output is like Private or First Class Private
{NEXTR} // output is your next rank where your playing for, if you are private your next rank would be First Class Private
{COLOR} // The color of the status bar to next rank,
{PER} // The percentage of the completion of the current rank,
And i have a handy version of my own index.php
This is very use full if you have a lots of members on the list like me and if a member have a new account then you can change it easly cause now you can find with PID is by a Member
Here is a exemple of what i made http://www.oyl-clan.nl/bf2/test.php
Greetz =DXD=GaTeCRaSHeR
I all ready add to sort modes extra
sort by status ( % of current rang to upgrade )
sort by rank ( From the best players to the lower level players
And a view extra frames aswell
{RANKN} // output is like Private or First Class Private
{NEXTR} // output is your next rank where your playing for, if you are private your next rank would be First Class Private
{COLOR} // The color of the status bar to next rank,
{PER} // The percentage of the completion of the current rank,
And i have a handy version of my own index.php
Code:
$xinix = '43606713'; $gatecrasher = '46790951'; $shadow = '49122030'; $ace = '49568034'; $alwin = '57574157'; $at4 = '45601778'; $deox = '44529249'; $eliteforce = '46197784'; $focus = '45494309'; $iam = '47774279'; $levi = '58482941'; $mathi = '44824467'; $remd = '59088255'; $sing = '43438122'; $stim = '58880366'; $jan = '44359791'; $thomp = '44404241'; $snor = '45920638'; $mlb->get("$gatecrasher,$xinix,$shadow,$ace,$alwin,$at4,$deox,$eliteforce,$focus,$iam,$levi,$mathi,$remd,$sing,$stim,$jan,$thomp,$snor");
Here is a exemple of what i made http://www.oyl-clan.nl/bf2/test.php
Greetz =DXD=GaTeCRaSHeR
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!
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!
i use Xfire
TRUE,
Ok you win
Ok you win