Jump to content
  • 0

Boats messages.


Question

Posted

Hi everybody

 

I'm changing my vote reward, and I would like to use the normal channels instead of the announcements. For example, I'd that the vote is displayed as the announcement of the departure of the boats in the orange channel .

 

If anyone knows how, can tell me how?

 

Cordially

9 answers to this question

Recommended Posts

  • 0
Posted
sendPacket(new CreatureSay(0, type, "who", "text"));

 

where type is, for example:

 

Say2.CLAN, Say2.ANNOUNCEMENT and so on, your choice.

  • 0
Posted

Think, use brain a bit, I gave you simple examples.

 

Simply chceck Say2.java class for more chat types.

  • 0
Posted

here is the types:

                                                  "ALL  ",
                                          "SHOUT",
                                          "TELL ",
                                          "PARTY",
                                          "CLAN ",
                                          "GM   ",
                                          "PETITION_PLAYER",
                                          "PETITION_GM",
                                          "TRADE",
                                          "ALLIANCE",
                                          "ANNOUNCEMENT", //10
                                          "PARTYROOM_ALL",
                                          "PARTYROOM_COMMANDER",
                                          "HERO_VOICE"

and as matim said...think it's simple

  • 0
Posted

type can (and was on IL) be a number. That still referencing on the list AzuCeMaZem gave. Numbers goes from 0 to 17

public final static int ALL = 0;

public final static int SHOUT = 1; //!

public final static int TELL = 2;

public final static int PARTY = 3; //#

public final static int CLAN = 4;  //@

public final static int GM = 5;

public final static int PETITION_PLAYER = 6;

public final static int PETITION_GM = 7;

public final static int TRADE = 8; //+

public final static int ALLIANCE = 9; //$

public final static int ANNOUNCEMENT = 10;

public final static int BOAT = 11;

public final static int L2FRIEND = 12;

public final static int MSNCHAT = 13;

public final static int PARTYMATCH_ROOM = 14;

public final static int PARTYROOM_COMMANDER = 15; //(Yellow)

public final static int PARTYROOM_ALL = 16; //(Red)

public final static int HERO_VOICE = 17;

 

So far, it's the near complete list, if not the whole list.

  • 0
Posted

Sorry for double post but, there isanother problem :/

Really, isn't a problem but dunno how to fix it.

 

So now, i have

sendPacket(new CreatureSay(0, Say2.PARTYROOM_COMMANDER, "Pvp system", "Player " + getName() + " reached 5 pvp in a row!"));

This code work fine but only for the player who do the pvp. Others players don't get this message. So how can i send this message to all players?

sendPacketToall for example?

 

Cordially

 

  • 0
Posted

use

Broadcast.toAllOnlinePlayers(new CreatureSay(0, Say2.PARTYROOM_COMMANDER, "Pvp system", "Player " + getName() + " reached 5 pvp in a row!"));

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.



  • Posts

    • Hello! I need help with the file lineageeffect.u (Interlude client) I need to remove ForcedLifeTime from the following skills:   Battle Heal Greater Major Heal Hurricane Solar Flare Hydro Blast Aura Bolt Aura Flare Aura Flash   Thank you in advance for your help!
    • Used to have the same issue managing all my masked files from different edits. What really helped me stay organized was this list: https://www.blueberry-ai.com/blog/12-best-digital-asset-management-software-for-photographers. Found a couple of tools there that make sorting, tagging, and finding assets way easier, especially when working on multiple projects or sharing with clients. Took a massive load off my workflow and saved me a lot of time digging through folders.
    • IBServer for L2OFF GF-H5-GD-Classic I’m excited to share IBServer, a fully standalone authentication and billing server designed for Lineage II Official (L2OFF) Generations Supporting Gracia Final (GF), High Five (H5), Glory Days (GD), and Classic Year(2018-2020).   Key features: 🔌 Real IB Communication: Integrates directly with the L2OFF client protocol for in‑band packet handling. ⚙️ Zero Client/Server Modification: No changes required to L2Server.exe, no extenders, no hooks — plug and play. 🛠️ ODBC SQL Server Support: Built‑in DBManager C++ class for handling premium points, purchases, and account data via stored procedures. 📦 Complete Packet API: Full implementation of RequestCheckVersion, GetPremiumItems, GetGamePoint, AddGamePoint, BuyItem, DeleteItem, etc. 🚀 Ready to Deploy: Simple config.txt for port and connection string, runs as a native Windows service or console app.   Price: $150 USD (one‑time payment, no licensing restrictions — use on as many PCs as you want)   How to purchase & support: Please reply here or send me a private message on MaxCheaters. I’ll provide a compiled binary along with installation instructions.
    • Hello everyone I'm Albert, Starting now with the dream on have a L2 server, I'm having several issues with RS and I need someone help to Create an skill and implement to the correct class ID and make it work. Skill Required from me is  Festival Sweep  Skill or Item with the ability. I really need help guys and then after if possible i would need NPC and skins with .dressme        
  • Topics

×
×
  • Create New...