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 remind you that right now you can create a new character and get the benefits of the bonus-start, which will begin on April 19th. These advantages include: — 10 sets of buff scrolls (phys or mage, depending on class), — 10 packs of +50% Drop/Spoil runes (2 hours each), — 10 packs of +50% Exp runes (2 hours each). Moreover, characters between level 21 and 30 will receive upon login: — 6 sets of buff scrolls, — 6 packs of +50% Drop/Spoil runes (2h each), — 6 packs of +50% Exp runes (2h each). Don't miss the chance to start your adventure on Airin!
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
    • It's also the players' fault, because there have been decent servers implementing some of the things you said plus some other 'innovations', plus many QOL things for newbies (ingame bestiary, with drops searchers, etc). In the end, it's the players who decide to feed into that shit and play the most garbage servers simply because the owners of the servers gave their clan leaders 100 euros, or they insta quit the server because they didn't win the first QA, etc, etc, etc.   In the end, if a server is garbage or great it doesn't really matter if the players don't wanna stay in there.   Players are no better than the devs themselves, in the end it seems there are abusive devs who will milk the shit out of their willingly milkable players, or there are none, goes both ways.
    • In my opinion, L2 is dead because the people who make servers didn’t adapt to today’s reality. People are getting older, life moves faster, there are more responsibilities, and less free time. And I’m not even talking about newcomers—how can you expect someone new to this game to learn by Googling every drop location or quest requirement? These things should’ve been integrated into the game, made accessible with just a few clicks through the interface. Instead, so much time was wasted trying to recreate retail-like features that no one asked for. Everyone hates autofarm, but why? Because admins never found a smart way to implement it. You could have made it available only in specific zones, with reduced drops, working like Adrenaline, or auto-teleporting to farm for a limited time per day—just enough to help people with limited time stay relevant in-game. There should also be zones with better drops, where active farming actually matters. Other features feel pointless—like the Life Stone system. Spamming LS to get a skill? Instead, you could create a system where you level up the skill with low chances per level, something that feels progressive and fair. Crafting should be simpler too. Right-click a recipe, and the required materials should show up right there. As for sieges, why not create daily clan war events at peak hours—one for Europeans, one for Latinos? You could spawn crystals inside or outside castles that give points and trigger PvP. Add a boss during the event that gives even more points, and let the top clan in the ranking take the castle. I could go on forever, but what’s the point? The community died because the people who had the knowledge to improve the game just took the easy way out, copying the same server formula over and over until no one could enjoy playing it anymore.
    • It's not because I'm an admin that he treated me differently. I actually gave him several clients from my side without him even knowing they came from me, and most of them had no issues. I was also waiting 3–4 weeks at times for things I bought from AvE, even when I was in a rush. He still delivered in the end. That said, I'm not defending him blindly. I'm just saying it's unlikely he’d risk scamming someone over 60–100€, especially knowing how quickly word spreads here.
  • Topics

×
×
  • Create New...