Welcome to the RaGEZONE - MMORPG development forums.

Total On

This is a discussion on Total On within the Rose Online forums, part of the MMO and MMORPG Developments category; Hey, i am making a new CMS for Arcturus and its going well... But i need to know the code ...

Results 1 to 10 of 10
  1. #1
    -HelKinG | C++ Aprentice
    Rank
    Member +
    Join Date
    Apr 2007
    Posts
    257
    Liked
    1

    Exclamation Total On

    Click
    Hey, i am making a new CMS for Arcturus and its going well... But i need to know the code for Total On for arcturus...
    I'll give mine so you can see what i have done:

    Code:
    <?php
    $fp = fsockopen("localhost", 29300);
    if ($fp) {
        $rdata = fread($fp, 2056);
        $data = split('\|', $rdata);
            
        foreach ($data as $value) {
            $row = split(':', $value);
            switch ($row[0]) {
            case 'usercount':
                echo 'There are currently <b>' . $row[1] . '</b> users connected:<br />';
                break;
            case 'users':
                $users = split(',', $row[1]);
                $first = true;
                foreach ($users as $user) {
                    if (!$first) echo ', ';
                    if (substr($user, 0, 4) == '[GM]') {
                        echo '<span style="color: green"><b>' . $user . '</b></span>';
                    }else{
                        echo $user;
                    }
                    $first = false;
                }
                break;
            }
        }
       
        fclose($fp);
    }
    ?>
    Please tell me what's wrong here...
    Last edited by helderpostiga1; 05-09-07 at 03:14 PM.

    www.PTGamerZ.info - Streams, Tutorials, How tos, Guides, Discussion...

  2. #2
    TGN Studio's
    Rank
    Member +
    Join Date
    Jan 2007
    Posts
    950
    Liked
    9

    Re: Total On

    At the moment i don't belive that it logs to the database. 90% of the rose servers lie about how many are on if they have a script. Thats why ours don't show any.

    I'm working on somethings to report this but no luck atm.

  3. #3
    -HelKinG | C++ Aprentice
    Rank
    Member +
    Join Date
    Apr 2007
    Posts
    257
    Liked
    1

    Re: Total On

    it reads the worldserver port, not connect to the database

    www.PTGamerZ.info - Streams, Tutorials, How tos, Guides, Discussion...

  4. #4
    Member
    Rank
    Member
    Join Date
    Jan 2005
    Posts
    82
    Liked
    0

    Re: Total On

    Quote Originally Posted by lCON View Post
    At the moment i don't belive that it logs to the database. 90% of the rose servers lie about how many are on if they have a script. Thats why ours don't show any.

    I'm working on somethings to report this but no luck atm.
    As of now we have one working on my privte server btw you can also read it from the database in real time.

  5. #5
    TGN Studio's
    Rank
    Member +
    Join Date
    Jan 2007
    Posts
    950
    Liked
    9

    Re: Total On

    On Acturus files ?
    Hrm I would like to know what you did cause it did not come stock that way.
    And were not talking OsIrose Or OsRose

  6. #6
    Member
    Rank
    Member
    Join Date
    Jan 2005
    Posts
    82
    Liked
    0

    Re: Total On

    Quote Originally Posted by lCON View Post
    On Acturus files ?
    Hrm I would like to know what you did cause it did not come stock that way.
    And were not talking OsIrose Or OsRose
    Yes i am speaking about the Acturus files and yeah they did not come stocked that way hehe added a few things to it along with some new stuff in admin control panel.

  7. #7
    TGN Studio's
    Rank
    Member +
    Join Date
    Jan 2007
    Posts
    950
    Liked
    9

    Re: Total On

    Well the only way it works with them files is if you edit the config file but the spot you need to edit screws up the lang pack for some strange reason..

    Icon@tribalgamingnet.com Please enlighten me. thats my msn btw

  8. #8
    You don't know me.
    Rank
    Alpha Member
    Join Date
    Apr 2006
    Location
    Illinois
    Posts
    1,778
    Liked
    0

    Re: Total On

    Enlighten you? This isn't the World of Warcraft section, NERRRRD. :)

  9. #9
    TGN Studio's
    Rank
    Member +
    Join Date
    Jan 2007
    Posts
    950
    Liked
    9

    Re: Total On

    Blow Me fag No body said shit about world Of WarCraft Kthx.
    And yes enlighten Me {Means tell me how it was done for people who don't understand normal eng} And if you refer to releasing i help a ton around here
    I don't normally ask for help.

  10. #10
    You don't know me.
    Rank
    Alpha Member
    Join Date
    Apr 2006
    Location
    Illinois
    Posts
    1,778
    Liked
    0

    Re: Total On

    It was a WoW joke, get over it.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •