[Help] How can I add one panel that shows the current GM online in my server?

Results 1 to 8 of 8
  1. #1
    Member rocerao is offline
    MemberRank
    Nov 2007 Join Date
    51Posts

    [Help] How can I add one panel that shows the current GM online in my server?

    Hi all, how can I add one panel in my mu web 0.8 that shows the current online GMs ?
    thanks for the atention


  2. #2
    Mankind=Greed! djspankman is offline
    MemberRank
    Jan 2005 Join Date
    330Posts

    Re: [Help] How can I add one panel that shows the current GM online in my server?

    First you need to create tables and things like that and a query would be nice...
    something like this
    $query = "SELECT GM Name from Character Where CtlCode=32 WHERE connectstat=1 order by Name desc";
    $result = mssql_query($query);

    or something similar....that above will probably not work but yeah. It's a good start I guess :P

  3. #3
    Account Upgraded | Title Enabled! stivnnik is offline
    MemberRank
    Oct 2006 Join Date
    Bulgaria, SofiaLocation
    265Posts

    Re: [Help] How can I add one panel that shows the current GM online in my server?

    Quote Originally Posted by rocerao View Post
    Hi all, how can I add one panel in my mu web 0.8 that shows the current online GMs ?
    thanks for the atention

    Just you have to be good at PHP & Mssql

  4. #4
    Member rocerao is offline
    MemberRank
    Nov 2007 Join Date
    51Posts

    Re: [Help] How can I add one panel that shows the current GM online in my server?

    But can anyone help me with this code ?
    I'll be very happy if anyone can help me with this ^^

  5. #5
    Account Upgraded | Title Enabled! Jahte is offline
    MemberRank
    Aug 2007 Join Date
    LatviaLocation
    316Posts

    Re: [Help] How can I add one panel that shows the current GM online in my server?

    Learn MSSQL language.

  6. #6
    Member kopinits is offline
    MemberRank
    May 2007 Join Date
    BrasilLocation
    89Posts

    Re: [Help] How can I add one panel that shows the current GM online in my server?

    put this code where you want to show who is online.

    <?
    $sql = "SELECT C.Name from Character C inner join memb_stat m on c.accountid = m.memb___id inner join accountcharacter ac on c.accountid = ac.id
    Where c.CtlCode=32 and ac.gameidc = c.name and m.connectstat=1 order by C.Name desc";
    $row = mssql_query($sql);
    while ($sql = my=ssql_fetch_array($row)){
    echo $sql["Name"]."<br>";
    }
    ?>

  7. #7
    Member rocerao is offline
    MemberRank
    Nov 2007 Join Date
    51Posts

    Re: [Help] How can I add one panel that shows the current GM online in my server?

    Thanks a lot man, but can you create one simple designed table of showing this for I put in my web, like one aditional page, that the users enter in http:// mysiteadress/onlinegms section?

  8. #8
    Member rocerao is offline
    MemberRank
    Nov 2007 Join Date
    51Posts

    Re: [Help] How can I add one panel that shows the current GM online in my server?

    In my site my mu web 0.8 don't have the section who is online, can anyone that have this script and page can post it for me ? for I add this feature in my mu web 0.8 ?
    And where can I put this code that you have pass to me kopoints ?
    thanks for the atention



Advertisement