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

    • Don’t miss the new Telegram gifts with our Telegram Stars purchasing bot! A great opportunity to invest in a stable digital asset at an early stage while the market is still forming. Buy other existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium subscriptions, and react to messages in channels! Low prices, multiple payment options, and other cool unique features! ⚡ Try it today — SOCNET STARS BOT ⚡ Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. ⭐ Telegram Stars Purchase Bot: Go – fast and profitable way to buy stars in Telegram. SMM Panel: Go – promote your social media accounts. We present to you the current list of promotions and special offers for purchasing our products and services: 1️⃣ Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, bot) in October! You can also use the promo code SOCNET (15% discount) for your first purchase. 2️⃣ Get $1 on your store balance or a 10–20% discount — just write your username after registration on our website using the template: "SEND ME BONUS, MY USERNAME IS..." — post it in our forum thread! 3️⃣ Get $1 for your first SMM Panel trial — simply open a ticket titled “Get Trial Bonus” on our website (Support). 4️⃣ Weekly ⭐ Telegram Stars giveaways in our Telegram channel and in our Telegram Stars bot! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Yes, just keep this post=)
    • When something’s inconvenient, people always find a way to make life easier.   It’s dark? Turn on a lamp — no more tripping around. The socket’s hiding under the bed? Boom, extension cord. Noisy neighbor? Headphones and soundproof walls. Too lazy to move? Just have a kid, problem solved. Lost one sock? Humanity just gave up on that one.   And for everything else — there’s VibeSMS. Because getting your verification codes should be as simple as flipping a switch 💡⚡   Website: https://vibe-sms.net/ 📱 Telegram channel: https://t.me/vibe_sms  
    • We still bumping posts?
  • Topics

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