Announcement

Collapse
No announcement yet.

Getting w/l and points from the database to my website

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Getting w/l and points from the database to my website

    Heya!

    TW main site has list of people who has made the most points in TW. Could someone provide me with the script that gets the points from the ss database?

    And better yet a script that gets the points for a certain player?

    Thanks.

  • #2
    Well the latest scores can be found from http://subspace.inet.fi/.
    megaman89> tsunami taught me that 1 shouldnt have used it
    L K> taught u what?
    megaman89> how to suck

    9:WiL> im gonna with my league \o/
    9:Graner <ZH>> you mean win?
    9:WiL> being on plade i forgot how to spell it

    Comment


    • #3
      :grin: Thanks tahkis.. but how I get those scores to show in my website. With some script it can be done so I dont have to update the site every time I make a kill in ss.. just like in TW main site.

      Comment


      • #4
        It won't happen. I've seen many people ask and none of them got permission.

        Comment


        • #5
          Well it would probably be possible with some php coding that just rips it from the tw site or something like that.
          sdg

          Comment


          • #6
            The top 3 players and squads you see on the main page isn't updated in real time. It's done manually taken from the link you were just given.

            Comment


            • #7
              Originally posted by 50% Packetloss
              It won't happen. I've seen many people ask and none of them got permission.
              :/ I have seen many squad sites having this..

              like www.bloodsquad.com

              Comment


              • #8
                That is a nice website!

                p.s.: your avatar confuses me ...
                I don't know how to put this but I'm kind of a big deal...

                Comment


                • #9
                  Just parse the scores from tw.org with a php script.
                  fopen website u want to get thes cores from(trenchwars.org) and extract all info u need.

                  or use snoopy to extract text >> http://sourceforge.net/projects/snoopy/

                  with snoopy:

                  PHP Code:
                  <?php
                      

                    
                  include "Snoopy.class.php";
                    
                  $snoopy = new Snoopy;
                      
                    
                  $snoopy->fetchtext("http://www.trenchwars.org/");
                    
                  $str $snoopy->results;

                    
                  $start strpos($str'(FDT)');

                    
                  $last strpos($str'Western');
                      
                    
                  $str substr($str$start+6$last-$start-7);

                    echo 
                  $str;


                  ?>
                  demo >> http://evul.projektas.lt/test
                  Last edited by Evul Fly; 06-15-2005, 04:55 AM.
                  2:Zung> Does this 2h mean 1h56 min foreplay & 3 pushes & a stare?
                  2:renzi> lol no
                  2:renzi> would fuck, blowjob/handjob, fuck, finger, etc

                  Comment

                  Working...
                  X