Jump to content

Ferrari

Resident
  • Content Count

    436
  • Joined

  • Last visited

  • Feedback

    0%

Community Reputation

48

4 Followers

About Ferrari

  • Rank
    Поставил палатку

Информация

  • Пол
    Мужчина
  • Город
    Киев

Контакты

  • Skype
    Ferrari
  1. Не видно букв,и так на всех нпц
  2. Не отображается сервер при выборе,ошибок никаких нет,порты открыты,на логин коннектится,Hexid присутствует. AcceptNewGameServer = true
  3. Не отображается сервер при выборе,ошибок никаких нет,порты открыты,на логин коннектится,Hexid присутствует. AcceptNewGameServer = true
  4. ну в принципе оттуда откуда и весь народ,а по факту всегда вписывал в бд гс вместо хексида,а здесь пишет ошибку,
  5. ------------------------------------------------ Sunshine Core - free java development team WwW.Sunshine-Core.Ru - © 2015. ------------------------------------------------------------------------------- ==============================================================-[ Boot Manager ] Boot: Initializing Logging. Boot: Creating Boot Folders and Files. Boot: All Directories and Files Created! Boot: Initializing Configs. =====================================================-[ Network Configuration ] Loading: ./config/network/network.properties Loading: ./config/network/hexid.txt ====================================================-[ Sunshine Configuration ] Loading: ./config/sunshine/customize.properties Loading: ./config/sunshine/donate.properties ========================================================-[ Main Configuration ] Loading: ./config/main/areas.properties Loading: ./config/main/ban.properties Loading: ./config/main/gameserver.properties Loading: ./config/main/respawns.properties Loading: ./config/main/altgame.properties Loading: ./config/main/custom.properties Loading: ./config/main/clans.properties Loading: ./config/main/entities.properties Loading: ./config/main/communityboard.properties Loading: ./config/main/enchant.properties Loading: ./config/main/options.properties Loading: ./config/main/other_settings.properties Loading: ./config/main/geodata.properties. Loading: ./config/main/warehouse.properties Loading: ./config/main/pvp_settings.properties Loading: ./config/main/services.properties Loading: ./config/main/security.properties Loading: ./config/main/rates.properties Loading: ./config/main/skills.properties Loading: ./config/main/inventory.properties Loading: ./config/main/vote.properties Loading: ./config/main/manor.properties Loading: ./config/main/id_factory.properties ======================================================-[ Events Configuration ] Loading: ./config/main/seven_signs.properties Loading: ./config/main/castle_siege.properties Loading: ./config/main/olympiad.properties Loading: ./config/main/lottery.properties Loading: ./config/main/fortsiege.properties Loading: ./config/events/pccaffe.properties ========================================================-[ Chat Configuration ] Loading: ./config/chat/chat.properties =====================================================-[ Filters Configuration ] [iNFO 13:48:23]: Loaded 708 Filter Words. ==============================================-[ Administration Configuration ] Loading: ./config/administration/gm_access.properties Loading: ./config/administration/developer.properties [WARN 13:48:23]: L2Properties: Missing property for key - Developer [WARN 13:48:23]: L2Properties: Missing property for key - AltDevNoQuests [WARN 13:48:23]: L2Properties: Missing property for key - ShowValidCheck [WARN 13:48:23]: L2Properties: Missing property for key - ExperementalMode ========================================================-[ Mods Configuration ] Loading: ./config/mods/champion_mobs.properties Loading: ./config/mods/jail.properties Loading: ./config/mods/wedding.properties Loading: ./config/events/fun_events.properties Loading: ./config/mods/classmaster.properties Loading: ./config/mods/classes.properties Loading: ./config/mods/classes_armor.properties ==============================================================-[ Boot Manager ] Boot: Config Sucessffully Loaded. Boot: Preparations Done. Staring GameServer! Работа: "Игрового сервера" завершена некорректно . . . "Игровой сервер" отключен! . . . Для продолжения нажмите любую клавишу . . .
  6. Никто тебе за просто так своего не даст,я тоже когда то просил,а в итоге просил дольше чем делал.
  7. этот html там и находится у меня вот этого нет. SHOW_PREMIUM_STATE_ON_ENTER = Boolean.parseBoolean(servicesSettings.getProperty("ShowPAStatusOnEnter", "true")); if (activeChar.getPremiumService() > 0L) { if (System.currentTimeMillis() > activeChar.getPremiumService()) { activeChar.setPremiumService(0L); } else { activeChar.setPremiumService(activeChar.getPremiumService()); if (Config.SHOW_PREMIUM_STATE_ON_ENTER) { activeChar.showPremiumState(false); } }
  8. ну и каким образом его засунуть в дп без ядра?если там должны считаться рейты вместе с ПА,и табличка должна появляться только при наличии ПА?
  9. Ребят помогите всунуть такую штуку
  10. прости за не скромный вопрос,а куда это?)
  11. а если вот такое ? } if (event.equals("premium1")) { getPremiumState(player); if (st.getQuestItemsCount(premiumItemId) >= premiumItemCount) { st.takeItems(premiumItemId, premiumItemCount); addPremiumService(1, player); return "PremiumAccount-Success.htm"; } return "PremiumAccount-NoItems.htm"; } if (event.equals("premium2")) { getPremiumState(player); if (st.getQuestItemsCount(premiumItemId) >= (premiumItemCount * 2)) { st.takeItems(premiumItemId, premiumItemCount * 2); addPremiumService(3, player); return "PremiumAccount-Success.htm"; } return "PremiumAccount-NoItems.htm"; } if (event.equals("premium3")) { getPremiumState(player); if (st.getQuestItemsCount(premiumItemId) >= (premiumItemCount * 3)) { st.takeItems(premiumItemId, premiumItemCount * 3); addPremiumService(7, player); return "PremiumAccount-Success.htm"; } return "PremiumAccount-NoItems.htm"; } if (event.equals("premium4")) { getPremiumState(player); if (st.getQuestItemsCount(premiumItemId) >= (premiumItemCount * 3)) { st.takeItems(premiumItemId, premiumItemCount * 3); addPremiumService(24 * 14, player); return "PremiumAccount-Success.htm"; } return "PremiumAccount-NoItems.htm"; } if (event.equals("premium5")) { getPremiumState(player); if (st.getQuestItemsCount(premiumItemId) >= (premiumItemCount * 3)) { st.takeItems(premiumItemId, premiumItemCount * 3); addPremiumService(24 * 30, player); return "PremiumAccount-Success.htm"; } return "PremiumAccount-NoItems.htm"; } return htmlText; } private static void getPremiumState(L2PcInstance player) { try (Connection con = DatabaseFactory.getConnection()) { PreparedStatement statement = con.prepareStatement("SELECT premium_service FROM account_premium WHERE account_name=?"); statement.setString(1, player.getAccountName()); ResultSet chars = statement.executeQuery(); PremiumService = chars.getInt("premium_service"); chars.close(); statement.close(); } catch (Exception e) { } } private static void addPremiumService(int hours, L2PcInstance player) { try (Connection con = DatabaseFactory.getConnection()) { Calendar finishtime = Calendar.getInstance(); finishtime.setTimeInMillis(System.currentTimeMillis()); finishtime.set(Calendar.SECOND, 0); finishtime.add(Calendar.HOUR, hours); PreparedStatement statement = con.prepareStatement("UPDATE account_premium SET premium_service=?,enddate=? WHERE account_name=?"); statement.setInt(1, 1); statement.setLong(2, finishtime.getTimeInMillis()); statement.setString(3, player.getAccountName()); statement.execute(); statement.close(); } catch (SQLException e) { _log.info("EventPremiumNpc: Could not increase data"); } } }
  12. не кто больше не поможет?=)
  13. делал премиум нормально компилил,без проблем
  14. теперь такая ошибка [javac] Compiling 1760 source files to C:\source\build-ant-core\classes [javac] C:\source\java\l2s\gameserver\network\clientpackets\EnterWorld.java:314: error: method setPremiumService in class L2Character cannot be applied to given types; [javac] activeChar.setPremiumService(0L); [javac] ^ [javac] required: int [javac] found: long [javac] reason: actual argument long cannot be converted to int by method invocation conversion [javac] C:\source\java\l2s\gameserver\network\clientpackets\EnterWorld.java:319: error: cannot find symbol [javac] if (Config.SHOW_PREMIUM_STATE_ON_ENTER) [javac] ^ [javac] symbol: variable SHOW_PREMIUM_STATE_ON_ENTER [javac] location: class Config [javac] C:\source\java\l2s\gameserver\network\clientpackets\EnterWorld.java:321: error: cannot find symbol [javac] activeChar.showPremiumState(false); [javac] ^ [javac] symbol: method showPremiumState(boolean) [javac] location: variable activeChar of type L2PcInstance [javac] 3 errors BUILD FAILED C:\source\build_core.xml:30: Compile failed; see the compiler error output for details. Total time: 11 seconds
×
×
  • Create New...