Jump to content

.  

24 members have voted

  1. 1. Cand ia Nervos permisul?

    • Anu asta
      8
    • Anu viitor
      11
    • Niciodata
      5


Recommended Posts

Posted

Fi atent akm arata asa :

/**
* 
*/
package handlers.voicedcommandhandlers;

/**
* @author Plyku
*
*/
public class FactionInfo
{

}

 

Si vreau sa bag asta in el

Index: data/scripts/handlers/voicedcommandhandlers/FactionInfo.java
===================================================================
--- data/scripts/handlers/voicedcommandhandlers/FactionInfo.java	(revision 0)
+++ data/scripts/handlers/voicedcommandhandlers/FactionInfo.java	(revision 0)
@@ -0,0 +1,62 @@
+/*
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package handlers.voicedcommandhandlers;
+
+import java.util.logging.Logger;
+
+import com.l2jserver.Config;
+import com.l2jserver.gameserver.GameServer;
+import com.l2jserver.gameserver.cache.HtmCache;
+import com.l2jserver.gameserver.handler.IVoicedCommandHandler;
+import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
+import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;
+
+public class FactionInfo implements IVoicedCommandHandler
+{
+    private static final String[] VOICED_COMMANDS = { "finfo" };
+    private static final Logger _log = Logger.getLogger(GameServer.class.getName());
+
+    public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
+    {	
+        if (command.equalsIgnoreCase("finfo"))
+        {
+        	if (Config.ENABLE_FACTION_ENGINE && Config.ENABLE_FINFO_VC)
+        	{
+        		String htmFile = "data/html/mods/Faction/info.htm";
+        		String htmContent = HtmCache.getInstance().getHtm(htmFile);
+        		if (htmContent != null)
+        		{
+        			NpcHtmlMessage showHtml = new NpcHtmlMessage(1);
+        			showHtml.setHtml(htmContent);
+        			activeChar.sendPacket(showHtml);
+        		}
+        		else
+        		{
+        			_log.info("Failed to load VCAIO File! Make sure that you fix it soon!");
+        		}
+        	}
+        	else
+        	{
+        		activeChar.sendMessage("Command unavailable!");
+        	}
+        }
+		return false;
+    }
+
+    public String[] getVoicedCommandList()
+    {
+        return VOICED_COMMANDS;
+    }
+}

sterg tot + si copy/paste ? code;D?

Daca imi explici asta ma descurc sal fac tot :))

Posted

adauga asta ...

/*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.voicedcommandhandlers;

import java.util.logging.Logger;

import com.l2jserver.Config;
import com.l2jserver.gameserver.GameServer;
import com.l2jserver.gameserver.cache.HtmCache;
import com.l2jserver.gameserver.handler.IVoicedCommandHandler;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;

public class FactionInfo implements IVoicedCommandHandler
{
    private static final String[] VOICED_COMMANDS = { "finfo" };
    private static final Logger _log = Logger.getLogger(GameServer.class.getName());

    public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
    {	
        if (command.equalsIgnoreCase("finfo"))
        {
        	if (Config.ENABLE_FACTION_ENGINE && Config.ENABLE_FINFO_VC)
        	{
        		String htmFile = "data/html/mods/Faction/info.htm";
        		String htmContent = HtmCache.getInstance().getHtm(htmFile);
        		if (htmContent != null)
        		{
        			NpcHtmlMessage showHtml = new NpcHtmlMessage(1);
        			showHtml.setHtml(htmContent);
        			activeChar.sendPacket(showHtml);
        		}
        		else
        		{
        			_log.info("Failed to load VCAIO File! Make sure that you fix it soon!");
        		}
        	}
        	else
        	{
        		activeChar.sendMessage("Command unavailable!");
        	}
        }
	return false;
    }

    public String[] getVoicedCommandList()
    {
        return VOICED_COMMANDS;
    }
}

Posted

adauga asta ...

/*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
package handlers.voicedcommandhandlers;

import java.util.logging.Logger;

import com.l2jserver.Config;
import com.l2jserver.gameserver.GameServer;
import com.l2jserver.gameserver.cache.HtmCache;
import com.l2jserver.gameserver.handler.IVoicedCommandHandler;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;

public class FactionInfo implements IVoicedCommandHandler
{
    private static final String[] VOICED_COMMANDS = { "finfo" };
    private static final Logger _log = Logger.getLogger(GameServer.class.getName());

    public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
    {	
        if (command.equalsIgnoreCase("finfo"))
        {
        	if (Config.ENABLE_FACTION_ENGINE && Config.ENABLE_FINFO_VC)
        	{
        		String htmFile = "data/html/mods/Faction/info.htm";
        		String htmContent = HtmCache.getInstance().getHtm(htmFile);
        		if (htmContent != null)
        		{
        			NpcHtmlMessage showHtml = new NpcHtmlMessage(1);
        			showHtml.setHtml(htmContent);
        			activeChar.sendPacket(showHtml);
        		}
        		else
        		{
        			_log.info("Failed to load VCAIO File! Make sure that you fix it soon!");
        		}
        	}
        	else
        	{
        		activeChar.sendMessage("Command unavailable!");
        	}
        }
	return false;
    }

    public String[] getVoicedCommandList()
    {
        return VOICED_COMMANDS;
    }
}

Mersi mult,mam rugat de multi toata ziua, akm mai invatat:)),

 

 

 

Dupa ce am adaugat , se salveaza singur?:))

Posted

ne-am dus sa ne rugam si popa statea pi ciurci

pai cum sa stea ma pe biserica?

daca ciurciu era acoperit di floconi undi vrei sa shada ?

si nu ii era frig?

uai si gluma sinistra, cum sa-i fie frig la un om mort?

 

ciurci = chruch = biserica

 

flocon = fulg

Guest
This topic is now closed to further replies.



  • Posts

    • Download Here: https://sitehunterus.blogspot.com/2025/12/exelo-combo-tool-v2.html VirusTotal https://www.virustotal.com/gui/file/2acd067847ee092c7986f55c9f77620d89505d1c0bda34a0ee8f55b9c2905c11?nocache=1 Visit my Blogger list to download 100% free software https://www.freetoolss.com/ https://blackhat8.blogspot.com/ https://hack-crack9.blogspot.com/ https://hackernoons.blogspot.com/ https://sharetools99.blogspot.com/
    • Care to detail why ?   L2JHellas probably got the same issue, it's inherent to L2J if you don't rework Player intentions (and solving it with a Config < 500 attack is stupid, if it works for attack it works for other types of desires), also last time I checked L2JHellas he was using my changesets to fix its own stuff (which is ok, copy-paste my knownlist system which is 10y old is fine, but don't say it will act different since it's literally the same sub-system).   About Lucera code source isn't available so it's easy to say it's better, internally you got no clue what is happening and RU forks got the "feeling" to get everything, but everything is half done, everytime I put an eye on such sources (whatever based on l2ru, they only know how to copy-paste each other).   In the other hand, you seem to use aCis since years (I think I see your name since a decade, and you still use it since you made this topic :   Be a little more appreciative about the work done, it's not only mine but my community aswell, and if you find something, consider to report rather than getting such an idiotic behavior.   I understand you're not forced to share any type of fixes, and than people tend to feel superior when they fix something than aCis didn't yet fix. The thing is, for each bug you found, I found and fixed 10x more than you.   409 is way beyond 382 in all possible ways, if you believe the versus good for you, but don't make ppl believe it's the case, because it's not. There's at least 400+ fixed issues (and that's counting 10 issues by revision, which is kinda low) and entire new systems (spawns, SCHs, pathfind, whole AI implemented, Desire system,...).
    • better than using 409... Search for L2jHellas or Lucera and you won't have any headaches.
  • 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