Jump to content

Question

Posted

Hello ka8os anoiga to eclipse na paw na Peraso ena javacode tou Ventic to perano ola ok...vlepw to EnterWorld to arxeio error..alla auto den to pira3a..gt den evala tipota mesa.t ginete?mhpws 3erei kaneis?

15 answers to this question

Recommended Posts

  • 0
Posted

nato...

 

88183040.png

 

 

kai na o code

Index: /Server/Ventic's_IL_GS/java/net/sf/l2j/Config.java

===================================================================

--- /Server/Ventic's_IL_GS/java/net/sf/l2j/Config.java (revision 331)

+++ /Server/Ventic's_IL_GS/java/net/sf/l2j/Config.java (revision 332)

@@ -307,4 +307,5 @@

    public static boolean  ENABLE_PMREFUSAL_COMMAND;

    public static boolean  ANNOUNCE_RAID_RESPAWN;

+    public static boolean  ANNOUNCE_CASTLE_LORDS;

   

    /** Event Settings Parameters */

@@ -1706,4 +1707,5 @@

                BLOW_BACK_RATE                  = Integer.parseInt(Modifications.getProperty("BackBlow", "70"));

                ANNOUNCE_RAID_RESPAWN            = Boolean.parseBoolean(Modifications.getProperty("AnnounceRaidRespawn", "False"));

+                ANNOUNCE_CASTLE_LORDS            = Boolean.parseBoolean(Modifications.getProperty("AnnounceCastleLords", "False"));

            }

            catch (Exception e)

Index: /Server/Ventic's_IL_GS/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java

===================================================================

--- /Server/Ventic's_IL_GS/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (revision 294)

+++ /Server/Ventic's_IL_GS/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (revision 332)

@@ -34,4 +34,5 @@

import net.sf.l2j.gameserver.datatables.MapRegionTable;

import net.sf.l2j.gameserver.handler.AdminCommandHandler;

+import net.sf.l2j.gameserver.instancemanager.CastleManager;

import net.sf.l2j.gameserver.instancemanager.ClanHallManager;

import net.sf.l2j.gameserver.instancemanager.CoupleManager;

@@ -46,4 +47,5 @@

import net.sf.l2j.gameserver.model.L2World;

import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;

+import net.sf.l2j.gameserver.model.entity.Castle;

import net.sf.l2j.gameserver.model.entity.ClanHall;

import net.sf.l2j.gameserver.model.entity.Couple;

@@ -254,4 +256,9 @@

sendPacket(new NpcHtmlMessage(1, serverNews));

}

+

+ if (Config.ANNOUNCE_CASTLE_LORDS)

+ {

+ notifyCastleOwner(activeChar);

+ }

 

/**

@@ -521,3 +528,18 @@

    activeChar.setPledgeClass(pledgeClass);

}

+

+ private void notifyCastleOwner(L2PcInstance activeChar)

+ {

+ L2Clan clan = activeChar.getClan();

+

+ if (clan != null)

+ {

+ if (clan.getHasCastle() > 0)

+ {

+ Castle castle = CastleManager.getInstance().getCastleById(clan.getHasCastle());

+ if ((castle != null) && (activeChar.getObjectId() == clan.getLeaderId()))

+ Announcements.getInstance().announceToAll("Player: " + activeChar.getName() + " Lord of: " + castle.getName() + " Castle is Now Online!");

+ }

+ }

+ }

}

Index: /Server/Ventic's_IL_GS/Settings/Modifications.properties

===================================================================

--- /Server/Ventic's_IL_GS/Settings/Modifications.properties (revision 331)

+++ /Server/Ventic's_IL_GS/Settings/Modifications.properties (revision 332)

@@ -208,4 +208,8 @@

ClanTitle = False

 

+# Announce Castle Lords

+# This script will announce the castle lords name when they log in

+AnnounceCastleLords = False

+

  • 0
Posted

logiko ine re...esy pas na to valis se epilogue,eno ego to ekana gia il.

me liges allages 8a ine etimo..

  • 0
Posted

Ventic den katalabes ton code ton esbise :P Apla tou emeine error egw pisteuw opws esbine tha esbise kai kati allo mazi !

aaa..ne logiko ine..

an dn exis perasi tpt alo sbisto kai 3anakane checkout

Guest
This topic is now closed to further replies.


  • Posts

    • NEW HIDDENSTASH KEY SYSTEM INTRODUCED TO THE SITE   **Earn While You Spend - Introducing HS Cashback!**   Every purchase on our site now rewards you with **HS Keys cashback**   EVERY ONE WHO REGISTERS IN SITE UNTILL 15TH OF MAY GETS 2000 HS KEYS IN HES BALANE   Here's how it works:       **1 USD = 1000 HS Keys**   **Get 3% cashback** on every purchase   **Use your HS Keys to **save on your next order**   ---   ### ⚡ Why this is awesome   * Every order gives you value back   * Stack it with promos & HS usage   * Turn your spending into future discounts   ---   ### Example   Spend **$10** → Get **300 HS Keys** back   Spend **$50** → Get **1500 HS Keys** back   ---   ### Smart system (built for fairness)   * Cashback is rounded to keep things balanced   * Prevents abuse from tiny orders   * Rewards real buyers   ---   ### Start earning now   Every purchase = progress toward your next discount   Shop now and build your HS balance!   #cashback #gamingdeals #d2r #rewards #loyalty   Stay safe out there, heroes - and happy hunting! www.d2rhiddenstash.com     We just launched our new Affiliate Program — and it’s the easiest way to earn HS Keys.   Invite your friends using your personal link.   Example: If your friend spends $10 → you get 300 HS Keys No limits. No effort. Just share your link.   Get your referral link here: www.d2rhiddenstash.com/profile     Start earning today
    • https://jumpshare.com/share/L45ApA5PVrGN2O5Ua5pQ   Skill synchronization with the server: Launching and synchronizing animations, launching and synchronizing effects. All of this is tied to the server's timing  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..