How to check people online?

Results 1 to 8 of 8
  1. #1
    Member Vaxieus is offline
    MemberRank
    Dec 2007 Join Date
    PolandLocation
    25Posts

    How to check people online?

    Got problem, want to make PHP script which show how many there is people online on my server, but dont know where is this save?
    Searched, but did not find, maybe its to easy ;P.


  2. #2
    Elite Member divinedignity is offline
    Member +Rank
    Oct 2006 Join Date
    203Posts

    Re: How to check people online?

    write "/online" ingame ...

  3. #3
    Elite Member wielkimarduk is offline
    Member +Rank
    Sep 2006 Join Date
    PolandLocation
    218Posts

    Re: How to check people online?

    Quote Originally Posted by divinedignity View Post
    write "/online" ingame ...
    All knows commands /online or /active he whnat make how many ppl are online in his website at php code. Read first post then you make reply.

  4. #4
    aka Reb3lzrr Boarderkoen is offline
    Grand MasterRank
    Aug 2006 Join Date
    boskoopLocation
    669Posts

    Re: How to check people online?

    KOSP has that function (beta?)

  5. #5
    Grand Master Flohle is offline
    Grand MasterRank
    Oct 2006 Join Date
    GermanyLocation
    1,942Posts

    Re: How to check people online?

    well yes, with KOSP beta you can show it, you just need the php script
    (like Bushido did in his WebPage Release http://forum.ragezone.com/f315/web-s...hanger-338157/ . With this page you can see who is online and how many ) :sweatdrop

  6. #6
    Elite Member divinedignity is offline
    Member +Rank
    Oct 2006 Join Date
    203Posts

    Re: How to check people online?

    Omg sry for your bad english. But he didn't say that he want to use it for his website.
    PHP-script can be used anywhere ...

  7. #7
    Sorcerer Supreme crosenblum is offline
    Member +Rank
    Apr 2007 Join Date
    Burnsville, MNLocation
    417Posts

    Re: How to check people online?

    Well there is the original way, which was to use the statistics table, so as to see how many of each type of class, player there was on.

    However with the beta version of the kosp/kocp, it adds log files.

    That can be read via php, to update the database.

    I have used it myself to keep, me up to date when people last logged in.

  8. #8
    Member Vaxieus is offline
    MemberRank
    Dec 2007 Join Date
    PolandLocation
    25Posts

    Re: How to check people online?

    Hmm, ok thanks for advices, but do I need to install KOSP?
    KOSP must read this values from somewhere too.
    Is this saved somewhere in DB?

    @crosenblum
    I see two stat tables.
    First in kal_auth its - AuthStatistics
    Second in kal_db its - Statistics
    After I've logged in my server I did not see any changes. These stats tables were still empty.

    @divinedignity
    Thanks for trying ;).


    My second problem its with server status.
    I use PHP function fsockopen, but I must set delay for this function. When I set 2 seconds my page is generated two seconds longer what is not to accept for me.
    Now I've set 0.1, its 10ms, but its still slowing page loading time.

    I will see how its written on KalSiteX scripts, I dont want to use his scripts, beacuse I am writing all on myself.



Advertisement