Players online : On web display

Results 1 to 5 of 5
  1. #1
    @work onyourrisk is offline
    MemberRank
    Jan 2008 Join Date
    IndiaLocation
    706Posts

    Players online : On web display

    Hi ,

    As i seen the release of criss i got an idea about how to make players online list that show which players are currently online at website.

    Well , i written a small php script that show players name that are online now , you can edit it further and make it as your need like you can add players level , RB , Login date etc.

    HOW TO Configure the given file :

    $dbname="<Your ODBC : Put Login202 if dont know properly>"; Put your odbc db name here
    $user="sa"; Put your login ( if didnt changed leave sa here )
    $pass="< Your sa password mine was : onyourrisk >"; Put your mssql sa password

    HOW TO USE : ( As many new people in forums now a days )

    1) Download any web server [ I will recommend Wamp 2.0c ]
    2) Then Install it that are simple steps .
    3) Now got to your www path [ " C:\wamp\www " for wamp ]
    4) Make a new folder name it anything you like .
    5) copy the script i enclosed and paste there in the new folder .
    6) DONE !!! Start wamp server
    7) open your web browser type "localhost/ <your folder name> "
    8) You will see the names of player online .

    Special Thanks to : criss , divyang .
    Attached Files Attached Files
    Last edited by onyourrisk; 10-02-10 at 06:02 PM. Reason: Forgot to enclose attachment


  2. #2
    Ŋ cvrdheeraj is offline
    MemberRank
    Jul 2006 Join Date
    IndiaLocation
    1,210Posts

    Re: Players online : On web display

    Just a PHP Page?

  3. #3
    Goodbye chrissdegrece is offline
    MemberRank
    Oct 2009 Join Date
    GreeceLocation
    1,015Posts

    Re: Players online : On web display

    I don't want to disappoint you but, for showing "ONLINE" users there is something missing here.

    How to process the .mir file and update the DB? I don't think there is any "online" field in the CharInfo table.

    And btw, NEVER EVER EVER EVER use your SA account in website!!!!!
    Last edited by chrissdegrece; 11-02-10 at 09:11 AM.

  4. #4
    @work onyourrisk is offline
    MemberRank
    Jan 2008 Join Date
    IndiaLocation
    706Posts

    Re: Players online : On web display

    OK , I will start work on that mir file and update data .

    And i will mind about sa user thanks for that .

  5. #5
    Account Upgraded | Title Enabled! Mrgentle is offline
    MemberRank
    Oct 2007 Join Date
    IndiaLocation
    593Posts

    Re: Players online : On web display

    sa=rape



Advertisement