[Release] Mu Core Basic Online Counter

Results 1 to 18 of 18
  1. #1
    Just me AncestraL is offline
    MemberRank
    May 2012 Join Date
    ArgentinaLocation
    274Posts

    [Release] Mu Core Basic Online Counter

    Hello there!

    Maybe a lot of people is looking for this..
    Simple Online Player Counter


    <center><font color="red" size="6">SERVER NAME </font><font color="lime" size="6">
    <?

    $online = $core_db2->Execute( "Select memb___id from MEMB_STAT where ConnectStat='1'" );
    echo "

    ONLINE PLAYERS:
    ".number_format( $online->RecordCount( ) )."";

    ?></font></center>
    Step By Step:

    1) Open notepad, copy this code, save as "online.php"
    2) Go Mu core, Add module, "online.php", name "Online Counter"
    3) Go Mu core, Add page, select "Online Counter", Give SQL access.
    4) Go Mu core, check if it s working.
    5) Enjoy

    Demo? Its on my website fully working.


  2. #2
    Am i? ScriptKid is offline
    MemberRank
    Oct 2006 Join Date
    $Location="??";Location
    1,810Posts

    re: [Release] Mu Core Basic Online Counter

    a little fix on your SQL Script my dear friend. If the server is using 2 DB like MuOnline and Me_MuOnline they need this
    CHECK THE RED BOLD TEXT
    <center><font color="red" size="6">
    SERVER NAME
    </font><font color="lime" size="6">
    <?

    $online = $core_db2->Execute( "Select memb___id from
    Me_MuOnline.dbo.
    MEMB_STAT where ConnectStat='1'" );
    echo "

    ONLINE PLAYERS:
    ".number_format( $online->RecordCount( ) )."";

    ?></font></center>
    and that should work :D

  3. #3
    Just me AncestraL is offline
    MemberRank
    May 2012 Join Date
    ArgentinaLocation
    274Posts

    re: [Release] Mu Core Basic Online Counter

    Unless they are using another db name ;)

    But all work anyway

  4. #4
    Apprentice HELL FIRE is offline
    MemberRank
    May 2012 Join Date
    11Posts

    re: [Release] Mu Core Basic Online Counter

    hmmm if i would multiply the effort you have putted to make this by x100 than i could give this release a

    1/10 rating

  5. #5
    Just me AncestraL is offline
    MemberRank
    May 2012 Join Date
    ArgentinaLocation
    274Posts

    re: [Release] Mu Core Basic Online Counter

    Quote Originally Posted by hell fire View Post
    hmmm if i would multiply the effort you have putted to make this by x100 than i could give this release a

    1/10 rating
    b a s i c

  6. #6
    Account Upgraded | Title Enabled! zarahlee is offline
    MemberRank
    Mar 2012 Join Date
    C:\ProgramFilesLocation
    685Posts

    re: [Release] Mu Core Basic Online Counter

    thansk for this share it help... this is basic means you need to update if you want more feature hehe i can get into Advance ^^

    can you add this.

    Total Guild
    Total Character
    Total Account
    Total Online on Web


    thanks :)
    Last edited by zarahlee; 26-05-12 at 03:43 AM.

  7. #7
    Just me AncestraL is offline
    MemberRank
    May 2012 Join Date
    ArgentinaLocation
    274Posts

    re: [Release] Mu Core Basic Online Counter

    Quote Originally Posted by zarahlee View Post
    thansk for this share it help... this is basic means you need to update if you want more feature hehe i can get into Advance ^^

    can you add this.

    Total Guild
    Total Character
    Total Account
    Total Online on Web


    thanks :)
    yes i have a better update, with a huge difference with this crap coming.

  8. #8
    -( . ) ( . )- clerigz is offline
    MemberRank
    Mar 2012 Join Date
    1,365Posts

    re: [Release] Mu Core Basic Online Counter

    Sir do you have a change name module in mu core 1.8?

  9. #9
    -( . ) ( . )- clerigz is offline
    MemberRank
    Mar 2012 Join Date
    1,365Posts

    re: [Release] Mu Core Basic Online Counter

    hello sir how to put this online count with this template? sa21.png

  10. #10
    High'nLows 19871986 is offline
    MemberRank
    Sep 2010 Join Date
    istanbulLocation
    802Posts

    re: [Release] Mu Core Basic Online Counter

    @clerigz search 'Forgot your password?' in index.php and call online.php

  11. #11
    Novice alaca is offline
    MemberRank
    Jun 2013 Join Date
    2Posts

    re: [Release] Mu Core Basic Online Counter

    THANKSSSSSSSSSSSSSSSSS!!!!!!!!! VERY MUCH Sorry my bad english :DDDD Testing in sql 2005 :D Mu-Core Type conexion odbc :D Work 100%%%%

  12. #12
    -( . ) ( . )- clerigz is offline
    MemberRank
    Mar 2012 Join Date
    1,365Posts

    re: [Release] Mu Core Basic Online Counter

    what i mean sir how to put the online count under the server time
    sa21.png

  13. #13
    Member raidenutz is offline
    MemberRank
    Oct 2005 Join Date
    iliaLocation
    86Posts

    re: [Release] Mu Core Basic Online Counter

    dont shows me anything please help

  14. #14
    Member raidenutz is offline
    MemberRank
    Oct 2005 Join Date
    iliaLocation
    86Posts

    re: [Release] Mu Core Basic Online Counter

    Fatal error: Call to a member function Execute() on a non-object in C:\xampp\htdocs\statistics.php on line 4

  15. #15
    Account Upgraded | Title Enabled! awesomo is offline
    MemberRank
    Dec 2004 Join Date
    213Posts

    re: [Release] Mu Core Basic Online Counter

    Thanks.

  16. #16
    Apprentice lucasabbud is offline
    MemberRank
    Jun 2011 Join Date
    20Posts

    re: [Release] Mu Core Basic Online Counter

    Quote Originally Posted by raidenutz View Post
    Fatal error: Call to a member function Execute() on a non-object in C:\xampp\htdocs\statistics.php on line 4
    Could someone solve that problem?
    I have the same

  17. #17
    Proficient Member m1nd3 is offline
    MemberRank
    Dec 2015 Join Date
    (local)Location
    175Posts

    re: [Release] Mu Core Basic Online Counter

    Some one can tell, how to fix this error? I'm using mvcore :)
    Fatal error: Call to a member function Execute() on a non-object in C:\xampp\htdocs\online.php on line 6

  18. #18
    Enthusiast cristitm is offline
    MemberRank
    Sep 2018 Join Date
    29Posts

    re: [Release] Mu Core Basic Online Counter

    thanks , works perfect, i just took the code and add it on my index.php from template

    just one small question,

    when server its off, it always show me its 1 player online...



Advertisement