Jump to content
  • 0

[Help]7Signs


Question

Posted

Guys, I would like to remove this text after logging if its possible and to turn off 7signs from my server...

Anyone have any suggestion ?

 

2pt0w46.jpg

 

I hate this text and I would likt to dissapear...

Thanks!

 

Best regards,

Respawn. ;)

9 answers to this question

Recommended Posts

  • 0
Posted

Guys, I would like to remove this text after logging if its possible and to turn off 7signs from my server...

Anyone have any suggestion ?

 

2pt0w46.jpg

 

I hate this text and I would likt to dissapear...

Thanks!

 

Best regards,

Respawn. ;)

 

SevenSing.java

 

this is the part for messages

u cant edit messages.... can remove it ;p ....if u want to edit...u must edit client ;p

 


     * Send info on the current Seven Signs period to the specified player.
     *
 * @param player
 */
public void sendCurrentPeriodMsg(L2PcInstance player)
{
        SystemMessage sm = null;

    	switch (getCurrentPeriod())
        {
            case PERIOD_COMP_RECRUITING:
                sm = new SystemMessage(SystemMessageId.PREPARATIONS_PERIOD_BEGUN);
                break;
            case PERIOD_COMPETITION:
                sm = new SystemMessage(SystemMessageId.COMPETITION_PERIOD_BEGUN);
                break;
            case PERIOD_COMP_RESULTS:
                sm = new SystemMessage(SystemMessageId.RESULTS_PERIOD_BEGUN);
                break;
            case PERIOD_SEAL_VALIDATION:
                sm = new SystemMessage(SystemMessageId.VALIDATION_PERIOD_BEGUN);
                break;
        }

   		player.sendPacket(sm);
}

/**
     * Sends the built-in system message specified by sysMsgId to all online players.
     *
 * @param sysMsgId
 */
public void sendMessageToAll(SystemMessageId sysMsgId)
{
        SystemMessage sm = new SystemMessage(sysMsgId);
        Broadcast.toAllOnlinePlayers(sm);
}

 

if u want to disable all 7sing messages ...just disable all this code

  • 0
Posted

You guys mean 1st I must to compile it ? xD

If u mean on that... can u give me the file which u said, upload it and I just will add or it can't be ? :D

Coz I don't know how to compile but I'm leaning it and I'll do it asap.

Just I dont know which java kit I hvae to download. ^^

 

Thanks!

  • 0
Posted

You guys mean 1st I must to compile it ? xD

If u mean on that... can u give me the file which u said, upload it and I just will add or it can't be ? :D

Coz I don't know how to compile but I'm leaning it and I'll do it asap.

Just I dont know which java kit I hvae to download. ^^

 

Thanks!

 

you need to dl eclipse , checkout your pack , modify it , compile and use it in your pack .(stay up to date) now how to do all these i said b4 , search here or in your packs support forum

  • 0
Posted

You guys mean 1st I must to compile it ? xD

If u mean on that... can u give me the file which u said, upload it and I just will add or it can't be ? :D

Coz I don't know how to compile but I'm leaning it and I'll do it asap.

Just I dont know which java kit I hvae to download. ^^

 

Thanks!

 

ask google for "compile" stand for than u will understand it

  • 0
Posted

im forggot

 

go enterworld.java and check and this not only this at sevensing.java

 

SevenSigns.getInstance().sendCurrentPeriodMsg(activeChar);
        Announcements.getInstance().showAnnouncements(activeChar);

 

1. if u disable the code as i said at sevensing.java isa same ... u dont see the m essage

2. if u dissable code in eneterworld and not in sevensing.... is again same... when u log will not see messge

 

PS: Eneterworld is oly/used when log in game .... so if u want remove other sevensings messages u must remove it at sevnsing.java :P

 

anyway u ahve 2,3 ways to make it ;p

  • 0
Posted

If you change it in the SevenSigns file you must also change it in the EnterWorld, otherwise the latter is going to throw errors if you still call it. So best would be to just delete or comment it out in EnterWorld.

  • 0
Posted

If you find how to compile and the source of pack just go at line for 7sings and put this if (Config.ALLOW_SEVEN_SINGS)!

 

For Example

 

if (Config.ALLOW_HERO_ITEM)

{

     if (!(playable instanceof L2PcInstance))

        return;

     L2PcInstance activeChar = (L2PcInstance)playable;

      int itemId = item.getItemId();

     

      if (itemId == 10639) // Item to become hero //

      {

 

Well this is the first part you need to go at our config.java put one line at our characters.properties,other.properties etc like

 

# -----------

# Allow Seven Signs

# -----------

AllowSevenSings = false or true

 

And is done :)

 

 

all this to do you need some knowledge ..!

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...