Results 1 to 5 of 5
  1. #1
    Newbie matt's Avatar
    Join Date
    Feb 2018
    Location
    Poland
    Posts
    13

    Lightbulb Players online section

    Hi!
    I have a suggestion to add a section to the page For example:
    PHP Code:
    <?php
    //Script by matt([GM]Flatron), on server Shaiya Aurora, all rights reserved xD
    $host 'DB-HOST'//your db host e.g 127.0.0.1
    $dbuser 'DB-USER'//your db login e.g Shaiya
    $dbpass  'DB-PASS'//your db pass e.g Shaiya123
    $database 'PS_UserData'//name of database with info about char

    // connecting to the database
    $conn = @odbc_connect("Driver={SQL Server};Server=$host;Database=$database"$dbuser$dbpass) or die("Error when connecting to the database!");

    // checking who is on
    $result = @odbc_exec($conn,"SELECT * FROM PS_UserData.dbo.Users_Master WHERE Online=1"); //or Leave=1  etc


    // initiation
    $online = @odbc_num_rows($result);


    // show how is online
    echo "<table><tr><td colspan=2>Online players: </td><td>".$online."</td></tr></table>";

    @
    odbc_close($conn);

    ?>
    Or with nickname, or not, idk xd

    Regards!

    not yet 80, but almost

  2. #2
    EG | Administrator Jiren's Avatar
    Join Date
    Jan 2018
    Posts
    15
    this looks nice *pretends to understand*
    I'll show it to uzc and see what he says

    In any case, this wuldnt be a priority at this point of the server.

    Thanks!

  3. #3
    Newbie matt's Avatar
    Join Date
    Feb 2018
    Location
    Poland
    Posts
    13
    What are you working on? I can help, I know something xD

    not yet 80, but almost

  4. #4
    [Dev] Shaiya UZC's Avatar
    Join Date
    Jan 2018
    Posts
    102
    We need more testings.

    Portals not working. Where is it, where is it suppose to go, etc.
    Maps/Zones with issues. Blocked paths, no mobs in 'supposed to be zone', inexistent portal, etc.
    Drops not working? Where, who, how, what.

    This server is supposed to be like OS. But maybe there were updates in OS that made ours bad.
    For example, yesterday I'v found that Dios Exiel didn't have a single drop, because there are 4 Dios Exiels and only 1 of those has. So, i needed to change it to the current one and set up a simple AI for it.
    Like that.. if you find anything, just let us know and we will try to fix it asap.

  5. #5
    Newbie matt's Avatar
    Join Date
    Feb 2018
    Location
    Poland
    Posts
    13
    clear, if I find something that I will let you know

    not yet 80, but almost

Posting Permissions

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