Jump to content

Mit-sos

Members
  • Posts

    245
  • Credits

  • Joined

  • Last visited

    Never
  • Feedback

    0%

Posts posted by Mit-sos

  1. oxi!!!

     

    NPC.a_casino_FDarkElf exw... Kai exw vali ta html sto default fakelo!!!

     

    kai to npc exi kai ala multisell kai html k ola doulevoun ektos apo afto!!!

    m fanike kai emena poli pi8ano na einai apo ta tous polous ari8mous gt sto 9918 fenete to ikonidio ala den iksera ti na kanw!!!! perasa omos ton code omos k den egine tpt!!! iparxi periptosi na einai apo ta item??? pantos sto inventore fenonte mia xara!!!

  2. Lipon magkes einai custom item!!! kai to multisell einai:

     

    <list>
    <item id='1'>
    <production id='99886' count='1'/> 
    <ingredient id='57' count='1'/>
    </item>
    <item id='2'>
    <production id='99883' count='1'/> 
    <ingredient id='57' count='1'/>
    </item>
    <item id='3'>
    <production id='99885' count='1'/> 
    <ingredient id='57' count='1'/>
    </item>
    <item id='4'>
    <production id='99888' count='1'/> 
    <ingredient id='57' count='1'/>
    </item>
    <item id='5'>
    <production id='99882' count='1'/> 
    <ingredient id='57' count='1'/>
    </item>
    <item id='6'>
    <production id='99891' count='1'/> 
    <ingredient id='57' count='1'/>
    </item>
    <item id='7'>
    <production id='9918' count='1'/> 
    <ingredient id='57' count='1'/>
    </item>
    <item id='8'>
    <production id='99890' count='1'/> 
    <ingredient id='57' count='1'/>
    </item>
    <item id='9'>
    <production id='31225' count='1'/> 
    <ingredient id='57' count='1'/>
    </item>
    <item id='10'>
    <production id='99889' count='1'/> 
    <ingredient id='57' count='1'/>
    </item>
    <item id='11'>
    <production id='99896' count='1'/> 
    <ingredient id='57' count='1'/>
    </item>
    </list>
    

     

    afto!!!

  3. exw ena provlima!!! Lipon pou lete exw ftiaksi ena special shop gia tn server mou k se kapia item otan paw na ta agorasw m dixni mavri ikona ala mporw na ta agorasw kanonika kai oute trow critical error otan anigo to multisell!!! exw akousi oti gia na to fix afto einai enas java code p prepi na perasw!!! isxi??? kai an nai mporite na mou pite pios!!! gt epsaksa k den mporw na vrw kati, 8a ksanapsaksw ala an kserete pios code einai pesteto mou!!! thx!!!

  4. Hello everyone!!!

     

    1. Makes Announcements the Castle Lords

    2. Every time login he get a wellcome message

    3. When login can be seen all online players in this time

     

    Index: java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
    ===================================================================
    --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
    +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
    @@ -36,6 +36,7 @@
    
    import net.sf.l2j.Config;
    import net.sf.l2j.L2DatabaseFactory;
    +import net.sf.l2j.gameserver.Announcements;
    import net.sf.l2j.gameserver.GameTimeController;
    import net.sf.l2j.gameserver.GeoData;
    import net.sf.l2j.gameserver.GmListTable;
    @@ -9985,6 +9986,35 @@
    		return _duelState;
    	}
    + 	
    +	public void CastleLordsAnnouncements()
    +	{
    +		if (Config.Announcements_CastleLord)
    +          {
    +		if (isCastleLord(3))
    +		{		
    +		Announcements.getInstance().announceToAll("Castle Lord of Giran"+getName()+"is currently online");
    +		sendMessage("Welcome Lord "+getName());  
    +		sendMessage("My lord There are "+L2World.getInstance().getAllPlayers().size()+" players online now");			
    +		}
    +		
    +		if (isCastleLord(1))
    +		{		
    +		Announcements.getInstance().announceToAll("Castle Lord of Gludio"+getName()+"is currently online");
    +		sendMessage("Welcome Lord "+getName());  
    +		sendMessage("My lord There are "+L2World.getInstance().getAllPlayers().size()+" players online now");			
    +		}
    +	
    +		if (isCastleLord(2))
    +		{		
    +		Announcements.getInstance().announceToAll("Castle Lord of Dion"+getName()+"is currently online");
    +		sendMessage("Welcome Lord "+getName());  
    +		sendMessage("My lord There are "+L2World.getInstance().getAllPlayers().size()+" players online now");			
    +		}
    +		
    +		if (isCastleLord(4))
    +		{		
    +		Announcements.getInstance().announceToAll("Castle Lord of Oren"+getName()+"is currently online");
    +		sendMessage("Welcome Lord "+getName());  
    +		sendMessage("My lord There are "+L2World.getInstance().getAllPlayers().size()+" players online now");			
    +		}
    +		
    +		if (isCastleLord(5))
    +		{		
    +		Announcements.getInstance().announceToAll("Castle Lord of Aden"+getName()+"is currently online");
    +		sendMessage("Welcome Lord "+getName());  
    +		sendMessage("My lord There are "+L2World.getInstance().getAllPlayers().size()+" players online now");			
    +		}
    +
    +		if (isCastleLord(6))
    +		{		
    +		Announcements.getInstance().announceToAll("Castle Lord of Innadril"+getName()+"is currently online");
    +		sendMessage("Welcome Lord "+getName());  
    +		sendMessage("My lord There are "+L2World.getInstance().getAllPlayers().size()+" players online now");			
    +		}
    +		
    +		if (isCastleLord(7))
    +		{		
    +		Announcements.getInstance().announceToAll("Castle Lord of Goddard"+getName()+"is currently online");
    +		sendMessage("Welcome Lord "+getName());  
    +		sendMessage("My lord There are "+L2World.getInstance().getAllPlayers().size()+" players online now");			
    +		}
    +	
    +		if (isCastleLord(8))
    +		{		
    +		Announcements.getInstance().announceToAll("Castle Lord of Rune"+getName()+"is currently online");
    +		sendMessage("Welcome Lord "+getName());  
    +		sendMessage("My lord There are "+L2World.getInstance().getAllPlayers().size()+" players online now");			
    +		}
    +		
    +		if (isCastleLord(9))
    +		{		
    +		Announcements.getInstance().announceToAll("Castle Lord of Schuttgart"+getName()+"is currently online");
    +		sendMessage("Welcome Lord "+getName());  
    +		sendMessage("My lord There are "+L2World.getInstance().getAllPlayers().size()+" players online now");			
    +		}
    +           }
    +       }
    +
    	/**
    	 * Sets up the duel state using a non 0 duelId.
    	 * @param duelId 0=not in a duel
    Index: java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java
    ===================================================================
    --- java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java	
    +++ java/net/sf/l2j/gameserver/clientpackets/EnterWorld.java	
    @@ -286,6 +287,7 @@
                     Hero.getInstance().getHeroes().containsKey(activeChar.getObjectId()))
                 activeChar.setHero(true);
    
    +        activeChar.CastleLordsAnnouncements();
             setPledgeClass(activeChar);
    ===================================================================
    --- java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java	
    +++ java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
    @@ -1185,5 +1185,46 @@
    
    /** Alt Settings for devs */
        public static boolean ALT_DEV_NO_QUESTS;
        public static boolean ALT_DEV_NO_SPAWNS;
    
    +
    +   public static boolean Announcements_CastleLord;
    +
    /**
         * This class initializes all global variables for configuration.<br>
         * If key doesn't appear in properties file, a default value is setting on by this class.
         * @see #CONFIGURATION_FILE for configuring your server.
         */
        public static void load()
    
    @@ 1904,17 1904,138 @@
    
                    L2JMOD_WEDDING_SAMESEX                  = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingAllowSameSex", "False"));
                    L2JMOD_WEDDING_FORMALWEAR               = Boolean.parseBoolean(L2JModSettings.getProperty("WeddingFormalWear", "True"));
                    L2JMOD_WEDDING_DIVORCE_COSTS            = Integer.parseInt(L2JModSettings.getProperty("WeddingDivorceCosts", "20"));
    +
    +               Announcements_CastleLord                = Boolean.parseBoolean(L2JModSettings.getProperty("AnnouncementsCastleLords", "False"));
    +
                        if (TVT_EVENT_PARTICIPATION_NPC_ID == 0)
                    {
                        TVT_EVENT_ENABLED = false;
                        System.out.println("TvTEventEngine[Config.load()]: invalid config property -> TvTEventParticipationNpcId");
                    }
    
    Index: java/Config/L2jmods.Properties
    ===================================================================
    --- java/Config/L2jmods.Properties	
    +++ java/Config/L2jmods.Properties
    @@ -140,1 +140,1 @@
    
    +#==================================================
    +#          Castle Lords Announcements             =
    +#==================================================
    +#Set this options to true to enable Announcements.
    +AnnouncementsCastleLords = False
    

     

    If there is any bug-error just do a reply!!!

  5. τίποτα;

     

     

    δεν θέλετε τίποτα;

     

    ελάτε ρε μαλάκες,τόσα τοπικς γίνονται καθημερινά στα help sections,δεν θέλετε να μάθετε τίποτα παραπάνω;

     

    an to 8etis etsi!!!

     

    kane guide gia ta VoiceCommand (to ipa k prin) episis lene poli na kanis gia ta config sinfonw ala na kanis gia ta config to pos na pernas ta minimata kai tous ari8mous (ktlp) gt gia to true kai to false iparxi!!! afta pistebw gia emena einai xrisima!!!

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock