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

    • Dear friends, we are glad to present our new service — KYC verification for any platforms!️ We verify crypto exchanges, marketplaces, social networks, hosting providers, casinos, and other legitimate websites. Verification is done using a passport or driver’s license. Services engaged in illegal activity are not supported. Available countries: Eastern Europe: Russia, Ukraine, Belarus, Uzbekistan, Armenia, Kyrgyzstan, Kazakhstan — $30–33 European Union (Western Europe, often Latvia and Estonia) — $80–88 Africa: Nigeria, Kenya — $30–33 If you need both registration and verification of your account, an additional 10% fee is applied to the transaction amount. Contact us to request KYC verification or for other support inquiries: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store Active SOCNET Store Links: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and profitable way to buy Telegram Stars. SMM Panel: Go – promote your social media accounts. We would like to present you the current list of promotions and special offers for purchasing our products and services: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) during September! You can also use the first-time promo code SOCNET (15% discount). 2. Get $1 credited to your store balance or a 10–20% discount — simply post your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a support ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Telegram bot for Star purchases! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh
    • Dear friends, we are glad to present our new service — KYC verification for any platforms!️ We verify crypto exchanges, marketplaces, social networks, hosting providers, casinos, and other legitimate websites. Verification is done using a passport or driver’s license. Services engaged in illegal activity are not supported. Available countries: Eastern Europe: Russia, Ukraine, Belarus, Uzbekistan, Armenia, Kyrgyzstan, Kazakhstan — $30–33 European Union (Western Europe, often Latvia and Estonia) — $80–88 Africa: Nigeria, Kenya — $30–33 If you need both registration and verification of your account, an additional 10% fee is applied to the transaction amount. Contact us to request KYC verification or for other support inquiries: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store Active SOCNET Store Links: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and profitable way to buy Telegram Stars. SMM Panel: Go – promote your social media accounts. We would like to present you the current list of promotions and special offers for purchasing our products and services: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) during September! You can also use the first-time promo code SOCNET (15% discount). 2. Get $1 credited to your store balance or a 10–20% discount — simply post your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a support ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Telegram bot for Star purchases! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh
    • Dear friends, we are glad to present our new service — KYC verification for any platforms!️ We verify crypto exchanges, marketplaces, social networks, hosting providers, casinos, and other legitimate websites. Verification is done using a passport or driver’s license. Services engaged in illegal activity are not supported. Available countries: Eastern Europe: Russia, Ukraine, Belarus, Uzbekistan, Armenia, Kyrgyzstan, Kazakhstan — $30–33 European Union (Western Europe, often Latvia and Estonia) — $80–88 Africa: Nigeria, Kenya — $30–33 If you need both registration and verification of your account, an additional 10% fee is applied to the transaction amount. Contact us to request KYC verification or for other support inquiries: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store Active SOCNET Store Links: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and profitable way to buy Telegram Stars. SMM Panel: Go – promote your social media accounts. We would like to present you the current list of promotions and special offers for purchasing our products and services: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) during September! You can also use the first-time promo code SOCNET (15% discount). 2. Get $1 credited to your store balance or a 10–20% discount — simply post your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a support ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Telegram bot for Star purchases! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh
    • Dear friends, we are glad to present our new service — KYC verification for any platforms!️ We verify crypto exchanges, marketplaces, social networks, hosting providers, casinos, and other legitimate websites. Verification is done using a passport or driver’s license. Services engaged in illegal activity are not supported. Available countries: Eastern Europe: Russia, Ukraine, Belarus, Uzbekistan, Armenia, Kyrgyzstan, Kazakhstan — $30–33 European Union (Western Europe, often Latvia and Estonia) — $80–88 Africa: Nigeria, Kenya — $30–33 If you need both registration and verification of your account, an additional 10% fee is applied to the transaction amount. Contact us to request KYC verification or for other support inquiries: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store Active SOCNET Store Links: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and profitable way to buy Telegram Stars. SMM Panel: Go – promote your social media accounts. We would like to present you the current list of promotions and special offers for purchasing our products and services: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) during September! You can also use the first-time promo code SOCNET (15% discount). 2. Get $1 credited to your store balance or a 10–20% discount — simply post your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a support ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Telegram bot for Star purchases! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh
    • Dear friends, we are glad to present our new service — KYC verification for any platforms!️ We verify crypto exchanges, marketplaces, social networks, hosting providers, casinos, and other legitimate websites. Verification is done using a passport or driver’s license. Services engaged in illegal activity are not supported. Available countries: Eastern Europe: Russia, Ukraine, Belarus, Uzbekistan, Armenia, Kyrgyzstan, Kazakhstan — $30–33 European Union (Western Europe, often Latvia and Estonia) — $80–88 Africa: Nigeria, Kenya — $30–33 If you need both registration and verification of your account, an additional 10% fee is applied to the transaction amount. Contact us to request KYC verification or for other support inquiries: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store Active SOCNET Store Links: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. Telegram Bot for purchasing Telegram Stars: Go – fast and profitable way to buy Telegram Stars. SMM Panel: Go – promote your social media accounts. We would like to present you the current list of promotions and special offers for purchasing our products and services: 1. Promo code OCTOBER2025 (8% discount) for purchases in our store (Website, Bot) during September! You can also use the first-time promo code SOCNET (15% discount). 2. Get $1 credited to your store balance or a 10–20% discount — simply post your username after registration on our website in the following format: "SEND ME BONUS, MY USERNAME IS..." – post it in our forum thread! 3. Get $1 for your first SMM Panel trial — just open a support ticket titled “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our Telegram bot for Star purchases! News: ➡ Telegram Channel: https://t.me/accsforyou_shop ➡ WhatsApp Channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord Server: https://discord.gg/y9AStFFsrh
  • 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