Jump to content

Recommended Posts

Posted

lipon ... exo kani merikes alages! gia to GMCHAT

 

1. to vlepoun oli

2. alagi chanel (Criticall_Announce - ID =18)  ara alo xroma :P ( Einai Blue  - Look Image)

 

tha borousate kalista na pite giati den alakses tin id se afto to komati:

CreatureSay cs = new CreatureSay(0, 18, activeChar.getName(), text);

 

lipon, me to sigikrimeno CHANEL me tin alagi mono tou ID den emfanizi to onoma tou apostolea! .... mono to mimima :)

 

Den einai tipota tromero, ena minishare einai.... den ixa skopo na to kano share :P ala ena filaraki to ide se enan server kai to thele poli afto :P

pistevo einai poli afti p theloun afto to pragma... exei kai oreo xroma :P

 

SS

i441003_icon.bmp

 

PATCH

 

Index: java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGmChat.java
===================================================================
--- java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGmChat.java	(revision 2751)
+++ java/net/sf/l2j/gameserver/handler/admincommandhandlers/AdminGmChat.java	(working copy)
@@ -14,9 +14,12 @@
  */
package net.sf.l2j.gameserver.handler.admincommandhandlers;

+import java.util.Collection;

import net.sf.l2j.gameserver.GmListTable;
import net.sf.l2j.gameserver.handler.IAdminCommandHandler;
import net.sf.l2j.gameserver.model.L2Object;
+import net.sf.l2j.gameserver.model.L2World;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
import net.sf.l2j.gameserver.network.SystemMessageId;
import net.sf.l2j.gameserver.network.serverpackets.CreatureSay;
@@ -91,9 +94,22 @@
				offset = 17;
			else
				offset = 13;
-			text = command.substring(offset);
-			CreatureSay cs = new CreatureSay(0, 9, activeChar.getName(), text);
-			GmListTable.broadcastToGMs(cs);
+			text = activeChar.getName() + ": " + command.substring(offset);
+			
+			//This is a default code, can't be used in Critical_Announce Channel because don't print Name
+			/** text = command.substring(offset); **/ 
+			
+			CreatureSay cs = new CreatureSay(0, 18, activeChar.getName(), text); 
+			
+			Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values();
+			{
+				for (L2PcInstance player : pls)
+				{
+					player.sendPacket(cs);
+					//GmListTable.broadcastToGMs(cs);
+				}
+			}
+			
		}
		catch (StringIndexOutOfBoundsException e)
		{

Posted

EliasFTW

 

min berdevese, den einai to Announcementes Chanel

 

Announcementes - 10 ID CHANEL

Critical_Announcementes - 18 ID CHANEL

 

sta announces nai :P

 

anyway afta boris na ta alaksis kai monos sou .... an thes na grafi Announcementes: Message kane afto

 

text = "Announcementes: " + command.substring(offset);

 

i an thes na grafi mono to minima .. oute name brosta oute announcement tote poli apla alakse tin id edw

CreatureSay cs = new CreatureSay(0, 18, activeChar.getName(), text); 

kai ase ton kodika opos einai... to arxiko!

 

 

 

olataolata

 

oxi, gti ston c6 den eiparxi afto to CHANEL

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Rosyk or rusik or whatever u blaim me tha my mouth stinks but I assume you the one who stinks and your perfect pack will be now shared and you can suck a DICK )  https://eu2.contabostorage.com/d4b39866f6bb4084b6c969ec8fe20063:kita/Lucera_Classic_Remaster/Lucera Classic Remaster Server and Datapack files.rar  https://eu2.contabostorage.com/d4b39866f6bb4084b6c969ec8fe20063:kita/Lucera_Classic_Remaster/Lucera Classic Remaster Eng Client.rar Drama link   
    • @Huggo Thank you for asking! When you join our Discord, on the Nexus Marketing section there is a #work-showcase channel. There you can see a little bit of what we are able to produce as a final ready-to-post product.  There is also this link in my new personal montage YouTube channel, in which I will be uploading every recent work: https://youtube.com/playlist?list=PLkzBKexKw8Wj8dC2diYndd5yOWOXUQCJW&si=-HGxlovqzvD4qqy2 Two more videos are coming up this week, and a #reviews channel has opened for our clients to let other people know about their experience working with us. Feel free to join our Hub in Discord, and for any inquries you might have don't hesitate to contact me or post your suggestion at #suggestions channel.  
    • Следи за своим вонючим языком, мудак.   Your mouth stinks, go wash your mouth, it's a dump) I don't know who you are or what you are, and I don't recommend buying anything from people outside of my network, as they may sell garbage under the guise of my work. There have been cases where my sales have been compromised. Additionally, reselling below the purchase price has been prohibited. I wish you all the best and peace. I kindly request that the moderators close this topic, as it is no longer relevant and the contact information is outdated.    
  • 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