Jump to content

‚Point‘

Premium
  • Posts

    217
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by ‚Point‘

  1. i got the following error at my ch-online status and my homepage:
     

    Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/customers/webs/xxx/xxx/inc/status.inc.php on line 30 Warning: mysql_query(): Access denied for user 'xxx'@'localhost' (using password: NO) in /var/customers/webs/xxx/xxx/inc/status.inc.php on line 30 Warning: mysql_query(): A link to the server could not be established in /var/customers/webs/xxx/xxx/inc/status.inc.php on line 30 Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/customers/webs/xxx/xxx/inc/status.inc.php on line 30 

    status.inc.php is the following:

    <div class="sidebar_middle_fix2">
    <?php
        $ip = array("xxx","xxx","xxx");
        $portlist=array(21002, 3306, 21002); // Ports
    
        $ip1 = @fsockopen($ip[0], $portlist[0], $errno, $errstr, 1);
            if ($login_status) {
                echo '<div class="server_status on"><p>Channel 1</p>... ist online!</div>';
            } else {
                echo '<div class="server_status off"><p>Channel 1</p>... ist offline!</div>';
            }
        @fclose($login_status);
        
        $ip2 = @fsockopen($ip[1], $portlist[1], $errno, $errstr, 1);
            if ($db_status) {
                echo '<div class="server_status on"><p>Channel 2</p>... ist online!</div>';
            } else {
                echo '<div class="server_status off"><p>Channel 2</p>... ist offline!</div>';
            }
        @fclose($db_status);
        
        $pi3 = @fsockopen($ip[2], $portlist[2], $errno, $errstr, 1);
            if ($patch_status) {
                echo '<div class="server_status on"><p>Channel 3</p>... ist online!</div>';
            } else {
                echo '<div class="server_status off"><p>Channel 3</p>... ist offline!</div>';
            }
        @fclose($patch_status);
    
        $players_online_24 = mysql_fetch_object(mysql_query("SELECT COUNT(last_play) as count FROM player.player WHERE DATE_SUB(NOW(), INTERVAL 1 DAY) < last_play"))->count;
        if($players_online_24 > 0) {
            echo '<div class="server_status on"><p>Spieleranzahl</p>' . $players_online_24 . '</div>';
        }else{
            echo '<div class="server_status off"><p>Spieleranzahl</p>0</div>';
        }
    ?>
    </div>

     

    Looking for help please :(

  2. Am 25.7.2016 um 00:21 schrieb Denis:

    It should work

     

      Unsichtbaren Inhalt anzeigen

     

    #include "../UserInterface/PythonSkill.h"
    /*
    stuff...
    */

    const char * CItemData::GetName() const
    {
        CPythonSkill::SSkillData * c_pSkillData;
        bool Skills = CPythonSkill::Instance().GetSkillData(GetSocket(0), &c_pSkillData)

        char szText[1024];
        
        switch (GetType())
        {
            case ITEM_TYPE_POLYMORPH:
                return m_ItemTable.szLocaleName;
                break;
            case ITEM_TYPE_SKILLBOOK:
            case ITEM_TYPE_SKILLFORGET:
                if(Skills)
                {
                    sprintf(szText, "%s - %s", m_ItemTable.szLocaleName, c_pSkillData->strName.c_str());
                    return szText;
                }
                else
                    return m_ItemTable.szLocaleName;
                break;
            default:
                return m_ItemTable.szLocaleName;
                break;
        }

    }

     

     

    Thank you very much, in which file does i have to add?

  3. Hi guys,

    I got 2 Problems on my server the i need to get fixxed. So im looking for an developer who can fix the following 2 buggs for money.

    Please send me PN to get in contact.

    1.   1.  .gif

    2. I cant put the Pet in the Transportbox for it. The Items does swap the place if i drag item on other.

     

    Please send me if you can fix and want to earn something :)

     

    Nice Regards
    Fabio

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.