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

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • That's exactly how it’s designed — everything important is handled on the API server side, for example, processing requests to the game server. Each website has its own token/key for authentication; without it, there will be no interaction with the game server. Some data can be stored both on my side and on the server side to avoid making frequent requests to the server, which is logical.   Yes, there’s a lot of old, unused code that just needs to be cleaned up. It was used before, but after major rewrites it was left lying around. It doesn’t interfere with anything — it’s just there and doesn’t affect the system's operation.   Beaver meme kurwa is my favorite. Unfortunately, you don't know Russian — otherwise, you would’ve spotted even more Easter eggs. 😂   I said it’s been installed over 250 times on different domains. You can join my Telegram, there are almost 200 people there — and those are just the ones who entered the chat — and we’ll have a good laugh together at your doubts! 😂😂😂
    • Discord : utchiha_market Telegram : https://t.me/utchiha_market Auto Buy Store : https://utchihamkt.mysellauth.com/ Join our server for more products : https://discord.gg/qtkJASMbKV https://campsite.bio/utchihaamkt  
    • Discord : utchiha_market Telegram : https://t.me/utchiha_market Auto Buy Store : https://utchihamkt.mysellauth.com/ Join our server for more products : https://discord.gg/qtkJASMbKV https://campsite.bio/utchihaamkt  
    • i saw somewhere that: $var = (int) $_POST['some_id'] ?? string::error_class('text'); it was when i gave up and deleted the sources let him, he does not even understand what cross site or mitm means   still waiting for any client of yours so i can play with them     DUDE IM GONNA CALL YOU BoberKurwa FROM NOW ON!! rename your account aswell! BoberKurwa!   Note: what happend to your chatgpt answers boberkurwa did your subscription of $12.5/$20 ended?   it is PSR12 standard
    • if i was you i would check first argentinian developer team to learn and contribute then start my own project privatly and then practice in free coding for my self, then you would be ready to learn standards and code out of nothing, and if you fail means you are in good path, if you win you are in for higher level, whatever you do be persistent and focused, thats what i did when i had time.
  • Topics

×
×
  • Create New...