how to show the onlineplayer in website...

Results 1 to 8 of 8
  1. #1
    Account Upgraded | Title Enabled! pengsaizhen is offline
    MemberRank
    Feb 2012 Join Date
    276Posts

    ! how to show the onlineplayer in website...

    who have the db and website....plz give me the link/


  2. #2
    Proficient Member Canic is offline
    MemberRank
    Feb 2010 Join Date
    159Posts

    Re: how to show the onlineplayer in website...

    Its sql ~
    Something like
    Code:
    SELECT nCount FROM StatisticsData..tSameTimeChar WHERE nWorld = 0 ORDER BY nIndex DESC

  3. #3
    Account Upgraded | Title Enabled! Krum is offline
    MemberRank
    Aug 2012 Join Date
    286Posts

    Re: how to show the onlineplayer in website...

    Quote Originally Posted by Canic View Post
    Its sql ~
    Something like
    Code:
    SELECT nCount FROM StatisticsData..tSameTimeChar WHERE nWorld = 0 ORDER BY nIndex DESC
    ^ Not that sql.
    Code:
    SELECT nCharNo FROM w00_Character..LoggedInChars WHERE nAdminLevel = 0 ORDER BY nExp DESC

  4. #4
    Account Upgraded | Title Enabled! pengsaizhen is offline
    MemberRank
    Feb 2012 Join Date
    276Posts

    Re: how to show the onlineplayer in website...

    Quote Originally Posted by Bellum View Post
    ^ Not that sql.
    Code:
    SELECT nCharNo FROM w00_Character..LoggedInChars WHERE nAdminLevel = 0 ORDER BY nExp DESC
    have the LoggedInChars sql and store process?xd

  5. #5
    Proficient Member Canic is offline
    MemberRank
    Feb 2010 Join Date
    159Posts
    But my SQL is this one from the optool and works with the word exe. The logged in char table isn't originally added from os

    Send from my Nexus 4 with Tapatalk.

  6. #6
    Account Upgraded | Title Enabled! Krum is offline
    MemberRank
    Aug 2012 Join Date
    286Posts

    Re: how to show the onlineplayer in website...

    Quote Originally Posted by pengsaizhen View Post
    have the LoggedInChars sql and store process?xd
    English please.


    Quote Originally Posted by Canic View Post
    But my SQL is this one from the optool and works with the word exe. The logged in char table isn't originally added from os

    Send from my Nexus 4 with Tapatalk.
    Well if u say urs work then it should, i never tried it tho. But the one from LoggedInChars works but it's on server restart, if u restarted the server while the player is still in the game and he dced, the row will stay in the table. But if he logged out, the row will disappear, it's dumb.

  7. #7
    Proficient Member Canic is offline
    MemberRank
    Feb 2010 Join Date
    159Posts

    AW: how to show the onlineplayer in website...

    Quote Originally Posted by Bellum View Post
    English please.




    Well if u say urs work then it should, i never tried it tho. But the one from LoggedInChars works but it's on server restart, if u restarted the server while the player is still in the game and he dced, the row will stay in the table. But if he logged out, the row will disappear, it's dumb.
    This problem don't happen at mine

    Send from my Nexus 4 with Tapatalk.

  8. #8
    Account Upgraded | Title Enabled! Krum is offline
    MemberRank
    Aug 2012 Join Date
    286Posts

    Re: AW: how to show the onlineplayer in website...

    Quote Originally Posted by Canic View Post
    This problem don't happen at mine

    Send from my Nexus 4 with Tapatalk.
    Ok then i think ur sql is better than mine.



Advertisement