Jump to content
  • 0

Problem with announcement.


Question

Posted (edited)

l2jfrozen 1004 interlude

 

Broadcast.toAllOnlinePlayers(new CreatureSay(2, Say2.HERO_VOICE, "[Hopzone]", "Current Votes: " + hopzone_votes));

 

image.png.6af8d11633ca55f6c78cb53a72f388f3.png

 

 "[Hopzone]", "Current Votes: "

Here where the coma is appears an extra " : "

how can I fix  that?

Edited by sotid

Recommended Posts

  • 0
Posted (edited)

That doesnt work as I want , because I want to change other rows that they dont have : in them.

 

I want to remove it not move it.

Edited by sotid
  • 0
Posted (edited)
1 hour ago, sotid said:

you showed me how to move it , I already know how to do that .
Is there a way to delete it?

What do you want to do now exactly? What delete exactly?

Edited by Vilmis
  • 0
Posted

You can make it with systemmsg.dat and choose any color you want in rgb

example:

	SystemMessage sm = new SystemMessage(2033); // 2033 - id from systemmsg-e.dat
	sm.addString(Integer.toString(hopzone_votes));
	Broadcast.toAllOnlinePlayers(sm);
	
// example 2033, add this line to systemmsg-e.dat
// 2033	1	[Hopzone] Current Votes: $s1	0	79	CC	E5	FF			0	0	0	0	0		none
// R = 79, G = CC , B = E5 , aplha = FF

with this shit u can save and server bandwidth. :D

  • 0
Posted
47 minutes ago, wongerlt said:

You can make it with systemmsg.dat and choose any color you want in rgb

example:


	SystemMessage sm = new SystemMessage(2033); // 2033 - id from systemmsg-e.dat
	sm.addString(Integer.toString(hopzone_votes));
	Broadcast.toAllOnlinePlayers(sm);
	
// example 2033, add this line to systemmsg-e.dat
// 2033	1	[Hopzone] Current Votes: $s1	0	79	CC	E5	FF			0	0	0	0	0		none
// R = 79, G = CC , B = E5 , aplha = FF

with this shit u can save and server bandwidth. :D

 

 

How can I make it show in the bottom window without checking system from filtering?

https://ibb.co/n775kg0

 

  • 0
Posted
5 minutes ago, sotid said:

 

 

How can I make it show in the bottom window without checking system from filtering?

https://ibb.co/n775kg0

 

 

2033    1    [Hopzone] Current Votes: $s1    0    79    CC    E5    FF            0    0    0    0    0        none

 

change to 2

 

2033    1    [Hopzone] Current Votes: $s1    2    79    CC    E5    FF            0    0    0    0    0        none

  • 0
Posted
14 minutes ago, wongerlt said:

 

2033    1    [Hopzone] Current Votes: $s1    0    79    CC    E5    FF            0    0    0    0    0        none

 

change to 2

 

2033    1    [Hopzone] Current Votes: $s1    2    79    CC    E5    FF            0    0    0    0    0        none

https://ibb.co/T8P510f

 

Only down not possible?

 

  • 0
Posted (edited)

Thanks , reason is that many things appear on the upper window and they may miss it but I guess but at the end noone cares, we all want the reward.
 

 

By the way for anyone who may use this make sure you add these lines at the beggining

 


import com.l2jfrozen.gameserver.network.SystemMessageId;
import com.l2jfrozen.gameserver.network.serverpackets.SystemMessage;

Edited by sotid
  • 0
Posted
19 minutes ago, sotid said:

Thanks , reason is that many things appear on the upper window and they may miss it but I guess but at the end noone cares, we all want the reward.
 

 

By the way for anyone who may use this make sure you add these lines at the beggining

 


import com.l2jfrozen.gameserver.network.SystemMessageId;
import com.l2jfrozen.gameserver.network.serverpackets.SystemMessage;

then u can make like this:

2033	1	[Hopzone] Current Votes: $s1	0	79	CC	E5	FF			8	0	3	1	0	[Hopzone] Current Votes: $s1	server

100% all will see :D

  • 0
Posted
import com.l2jfrozen.gameserver.network.SystemMessageId;
import com.l2jfrozen.gameserver.network.serverpackets.SystemMessage;


under 


import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;

 

I cant edit code to my prev reply so there.

  • 0
Posted

God. It's obvious you need the import, eclipse will scream and throw errors. You don't have to post obvious things, do you?

Guest
This topic is now closed to further replies.


  • Posts

    • We all know the CMS platforms that make us wonder every day why nothing truly new comes to the market. The answer seems simple: monopoly. And yes, to some extent that's true. But most people don't stop to think why they became monopolies in the first place.   It's largely a legacy trend that started back when PHP was supposed to "change the world." Well, here we are - and it didn't. PHP is increasingly becoming a technology many of us want to move away from rather than integrate into modern projects.   This is the 21st century. JavaScript powers the internet. With JavaScript, we can build the frontend, the backend, modules, run parallel processing with Workers, integrate seamlessly with cloud providers, and scale without friction. It has the largest open-source community in the world. The ecosystem is massive. What has been missing, however, is a truly powerful CMS written entirely in JavaScript.   The good news? I’ve been working on such a project for years, and I believe the time is coming to move into a beta testing phase. If anyone is interested in joining the testing phase and providing feedback, I would be happy to connect. I would also genuinely love to hear your opinion about a product like this.   Imagine a CMS with: A built-in builder Ready-to-use plugins A JavaScript-first architecture Designed primarily for online services   Because most CMS platforms today focus heavily on becoming eCommerce systems for selling physical products, and in doing so, they lose sight of a huge audience. There are countless people who want to build: Paid online services Digital or hand-crafted product platforms Gaming websites Coffee shop websites Subscription-based platforms And many other service-oriented projects What do you think about a CMS built specifically for the service economy rather than traditional eCommerce?
    • You keep talking a lot but you still haven't proven anything... why don't you show the community that this extender doesn't work? Why don't you show them all the bugs? hahaha Your silence and lack of evidence prove that you're a liar trying to make a quick buck selling what I publish for free.   Why do you want a domain? You say this extender crashes? Well, prove it, so everyone can see if you're right. Or if you simply want to convince people not to use this extender for free, why do you want to sell it?
    • Send me your server domain. As far as i know, you don’t have any money where are you going to get 1k from? 🙂 Even if they ban you, you will just come back with 4–5 accounts like always. You are still the same idiot. What was that server with the crash L2Galaxy or something like that?  
    • Adrenaline Premium and other private bots continue to function normally. XD
  • 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..