sotid Posted January 23, 2019 Share Posted January 23, 2019 (edited) l2jfrozen 1004 interlude Broadcast.toAllOnlinePlayers(new CreatureSay(2, Say2.HERO_VOICE, "[Hopzone]", "Current Votes: " + hopzone_votes)); "[Hopzone]", "Current Votes: " Here where the coma is appears an extra " : " how can I fix that? Edited January 23, 2019 by sotid Link to comment Share on other sites More sharing options...
0 @IcathiaLord Posted January 23, 2019 Share Posted January 23, 2019 Try this one: Broadcast.toAllOnlinePlayers(new CreatureSay(0,3,"[Hopzone] Current Votes", +currentVotes+".")); This will appear like -> [Hopzone] Current Votes: 2313. Link to comment Share on other sites More sharing options...
0 sotid Posted January 23, 2019 Author Share Posted January 23, 2019 (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 January 23, 2019 by sotid Link to comment Share on other sites More sharing options...
0 @IcathiaLord Posted January 24, 2019 Share Posted January 24, 2019 I showed you how to remove this extra : you wanted , change it to your need's. Link to comment Share on other sites More sharing options...
0 sotid Posted January 24, 2019 Author Share Posted January 24, 2019 you showed me how to move it , I already know how to do that . Is there a way to delete it? Link to comment Share on other sites More sharing options...
0 Vilmis Posted January 24, 2019 Share Posted January 24, 2019 (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 January 24, 2019 by Vilmis Link to comment Share on other sites More sharing options...
0 wongerlt Posted January 24, 2019 Share Posted January 24, 2019 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 Link to comment Share on other sites More sharing options...
0 sotid Posted January 24, 2019 Author Share Posted January 24, 2019 (edited) Thanks @wongerlt I will try it. Edited January 24, 2019 by sotid Link to comment Share on other sites More sharing options...
0 sotid Posted January 24, 2019 Author Share Posted January 24, 2019 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 Link to comment Share on other sites More sharing options...
0 wongerlt Posted January 24, 2019 Share Posted January 24, 2019 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 Link to comment Share on other sites More sharing options...
0 sotid Posted January 24, 2019 Author Share Posted January 24, 2019 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? Link to comment Share on other sites More sharing options...
0 wongerlt Posted January 24, 2019 Share Posted January 24, 2019 12 minutes ago, sotid said: https://ibb.co/T8P510f Only down not possible? hmm i think not possible, but what point to flood on down? :D very nervous while you chating and server messages start going to bottom tab. Link to comment Share on other sites More sharing options...
0 sotid Posted January 24, 2019 Author Share Posted January 24, 2019 (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 January 24, 2019 by sotid Link to comment Share on other sites More sharing options...
0 wongerlt Posted January 24, 2019 Share Posted January 24, 2019 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 Link to comment Share on other sites More sharing options...
0 sotid Posted January 25, 2019 Author Share Posted January 25, 2019 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. Link to comment Share on other sites More sharing options...
0 SweeTs Posted January 25, 2019 Share Posted January 25, 2019 God. It's obvious you need the import, eclipse will scream and throw errors. You don't have to post obvious things, do you? Link to comment Share on other sites More sharing options...
Question
sotid
l2jfrozen 1004 interlude
"[Hopzone]", "Current Votes: "
Here where the coma is appears an extra " : "
how can I fix that?
Edited by sotidLink to comment
Share on other sites
18 answers to this question
Recommended Posts