↑ ↓

Компил Гейм Сервера

Тема в разделе "Помощь", создана пользователем Yumor1, 25 сен 2019.

  1. TopicStarter Overlay
    Offline

    Yumor1

    6
    0
    4
    Кредиты:
    $483,07
    Репутация:
    0
    Что за ошибка ?
    Вот строка где error
    owner.shout();
    SM_SYSTEM_MESSAGE message = new SM_SYSTEM_MESSAGE(shout.getMessageId(), true, owner.getObjectId(), param);

    PacketSendUtility.broadcastPacket(owner, message, 30);

    shouts.clear();
    shouts = null;

    }
    Лог
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] C:\AionGenesis\Aiongenesis\svn\trunk\gameserver\src\gameserver\services\NpcShoutsService.java:136: error: reference to SM_SYSTEM_MESSAGE is ambiguous, both constructor SM_SYSTEM_MESSAGE(int,Object...) in SM_SYSTEM_MESSAGE and constructor SM_SYSTEM_MESSAGE(int,boolean,int,Object...) in SM_SYSTEM_MESSAGE match
    [javac] SM_SYSTEM_MESSAGE message = (new SM_SYSTEM_MESSAGE(shout.getMessageId(), true, owner.getObjectId(), param));
    [javac] ^
    [javac] Note: C:\AionGenesis\Aiongenesis\svn\trunk\gameserver\src\gameserver\cache\HTMLCache.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 1 warning
     
  2. Offline

    romanz Ефрейтор

    452
    111
    74
    Кредиты:
    $35.458.894.857,19
    Репутация:
    20
     
  3. TopicStarter Overlay
    Offline

    Yumor1

    6
    0
    4
    Кредиты:
    $483,07
    Репутация:
    0
    Понял . Спасибо