Jump to content

Recommended Posts

Posted
Index: java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java

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

--- java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (revision 73)

+++ java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java (working copy)

@@ -64,6 +64,7 @@

import net.sf.l2j.gameserver.network.serverpackets.GameGuardQuery;

import net.sf.l2j.gameserver.network.serverpackets.HennaInfo;

import net.sf.l2j.gameserver.network.serverpackets.ItemList;

+import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUser;

import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;

import net.sf.l2j.gameserver.network.serverpackets.PledgeShowMemberListAll;

import net.sf.l2j.gameserver.network.serverpackets.PledgeShowMemberListUpdate;

@@ -72,6 +73,7 @@

import net.sf.l2j.gameserver.network.serverpackets.QuestList;

import net.sf.l2j.gameserver.network.serverpackets.ShortCutInit;

import net.sf.l2j.gameserver.network.serverpackets.SignsSky;

+import net.sf.l2j.gameserver.network.serverpackets.SocialAction;

import net.sf.l2j.gameserver.network.serverpackets.SystemMessage;

import net.sf.l2j.gameserver.network.serverpackets.UserInfo;

import net.sf.l2j.gameserver.util.FloodProtector;

@@ -262,7 +264,21 @@

        {

        activeChar.getAppearance().setTitleColor(Config.TITLE_COLOR);

        }

+       

+ activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 3));//Victory Social Action.

+ MagicSkillUser  MSU = new MagicSkillUser(activeChar, activeChar, 2024, 1, 1, 0);//Fireworks Display

+ activeChar.broadcastPacket(MSU);

+            

        SevenSigns.getInstance().sendCurrentPeriodMsg(activeChar);

        Announcements.getInstance().showAnnouncements(activeChar);

Credits : me

Posted

Bad idea for servers with big online count, for example think about people in giran with low hardware.

Posted

Bad idea for servers with big online count, for example think about people in giran with low hardware.

here u are right,but for pvp servers with 50-100pll its ok :P

Posted

here u are right,but for pvp servers with 50-100pll its ok :P

 

Yes its dependent from few things.

Posted

Bad idea for servers with big online count, for example think about people in giran with low hardware.

Yes, but it will be nice for the new chars!

example:      

  if (activeChar.getLevel() <= 40 )
       			{
           activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 3));//Victory Social Action.
           MagicSkillUser  MSU = new MagicSkillUser(activeChar, activeChar, 2024, 1, 1, 0);//Fireworks Display
           activeChar.broadcastPacket(MSU);
       			}

Posted

Yes, but it will be nice for the new chars!

example:     

  if (activeChar.getLevel() <= 40 )
        			{
            activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 3));//Victory Social Action.
            MagicSkillUser  MSU = new MagicSkillUser(activeChar, activeChar, 2024, 1, 1, 0);//Fireworks Display
            activeChar.broadcastPacket(MSU);
        			}

That will be nice ;D

Posted

Yes, but it will be nice for the new chars!

example:      

  if (activeChar.getLevel() <= 40 )
       			{
           activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 3));//Victory Social Action.
           MagicSkillUser  MSU = new MagicSkillUser(activeChar, activeChar, 2024, 1, 1, 0);//Fireworks Display
           activeChar.broadcastPacket(MSU);
       			}

 

Hmm now its better idea, but in my opinion it would be the best only for players with newbie status.

 

But never mind, everyone can do it as they wish.

Posted

Nice share, will add on my server :>

OMG!! NICE SHARE.... I will put in my server OFC! I love you!!!

 

BTW i will put something like

 

+       

+      activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 1));

+      activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 2));

+      activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 3));//Victory Social Action.

+      activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 4));

+      activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 5));

+      activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 6));

+      MagicSkillUser  MSU = new MagicSkillUser(activeChar, activeChar, 2024, 1, 1, 0);//Fireworks Display

+      activeChar.broadcastPacket(MSU);

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • 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