Jump to content

Recommended Posts

Posted

Einai buged to exw dokimasei kai den einai afto pou thelw...

καλά πες μου ακριβώς το request σου, για να κάτσω να το δουλέψω με ένα παιδί.
Posted

sto admin panel exi ena html


<tr>
<td><button value="List Clans" action="bypass -h admin_list_siege_clans %castleName%" width=80 height=15 back="sek.cbui94" fore="sek.cbui92"></td>

opou ama allaksis

%castleName%

sto onoma tou castle s dixni to siege tis polis p egrapses

alla ama pas me aplo pexti k oxi me admin lei pos dn exis to access :S

ego skeftika kapos na doso mono afto to access stous char gia na mporoun na blepoun ta siege :)

Posted

απλά κάνεις ένα VoicedCommand και παίρνεις τον κώδικα από αυτό που θέλεις και κάνεις rework. περίμενε να το checkarw.

Posted

ok molis to checkaris pes m p briskete o kodikas gt dn ton ebriska ego :(

εγώ τον βρήκα , απλά περίμενε να φτιάξω το command.
Posted

kokkinidisjim's request, ready.

 

/*
* 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 2, 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, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*
* http://www.gnu.org/copyleft/gpl.html
*/
package com.l2jfrozen.gameserver.handler.voicedcommandhandlers;

import java.util.StringTokenizer;

import javolution.text.TextBuilder;

import com.l2jfrozen.gameserver.handler.IVoicedCommandHandler;
import com.l2jfrozen.gameserver.managers.CastleManager;
import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
import com.l2jfrozen.gameserver.model.entity.ClanHall;
import com.l2jfrozen.gameserver.model.entity.siege.Castle;
import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage;

/**
*
* @author Crystalia
*/

public class Siege implements IVoicedCommandHandler
{
private static String[] _voicedCommands =
{
	"siege"
};

@SuppressWarnings("null")
@Override
public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
{

	StringTokenizer st = new StringTokenizer(command, " ");
	command = st.nextToken(); // Get actual command

	// Get castle
	Castle castle = null;
	ClanHall clanhall = null;

	// Get castle
	@SuppressWarnings("unused")
	String val = "";

	if(st.hasMoreTokens())
	{
		val = st.nextToken();
	}

	if((castle == null || castle.getCastleId() < 0) && clanhall == null)
	{
		// No castle specified
		showCastleSelectPage(activeChar);
	}
	else
	{
		@SuppressWarnings("unused")
		L2PcInstance player = null;		

		 if(command.equalsIgnoreCase("admin_list_siege_clans"))
		{
			castle.getSiege().listRegisterClan(activeChar);

			return true;
		}

		player = null;
		target = null;
	}

	val = null;
	clanhall = null;
	castle = null;
	st = null;

	return true;
}

private void showCastleSelectPage(L2PcInstance activeChar)
{
	int i = 0;

	NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
	adminReply.setFile("data/html/admin/castles.htm");
	TextBuilder cList = new TextBuilder();

	for(Castle castle : CastleManager.getInstance().getCastles())
	{
		if(castle != null)
		{
			String name = castle.getName();
			cList.append("<td fixwidth=90><a action=\"bypass -h admin_siege " + name + "\">" + name + "</a></td>");
			i++;
			name = null;
		}

		if(i > 2)
		{
			cList.append("</tr><tr>");
			i = 0;
		}
	}

	adminReply.replace("%castles%", cList.toString());
	cList.clear();
	i = 0;
}

@Override
public String[] getVoicedCommandList()
{
	return _voicedCommands;
}
}

 

Δεν δουλεύει σίγουρα, αλλά δοκίμασε.

Posted

telika ginete na m dosis tn code gia hopzone and topzone reward system ala apo npc i apo ena .html???

 

εδώ αυτό που ζητάς το πουλάει ο Elfocrash με 35 ευρώ και λες να στο δώσω εγώ δωρεάν?
Posted

εδώ αυτό που ζητάς το πουλάει ο Elfocrash με 35 ευρώ και λες να στο δώσω εγώ δωρεάν?

Αγορασε το απο τον Elfocrash

πολυ trusted και respected ατομο!

 

Posted

kala....eklises ta alla 2 topics me upostiri3i gia l2jfrozen kai ani3es afto?:D


tecpa....an mporouses 8a i8ela na mou peis to na ftia3w ena character template px:(human me dark knight armor,hero,me custom name,hair accessorie,dynasty weapon) einai apo java code?....

Posted

kala....eklises ta alla 2 topics me upostiri3i gia l2jfrozen kai ani3es afto?:D


tecpa....an mporouses 8a i8ela na mou peis to na ftia3w ena character template px:(human me dark knight armor,hero,me custom name,hair accessorie,dynasty weapon) einai apo java code?....

 

java code einai!

 

Posted

java code einai!

 

einai sketo java code?i xriazete kapoio html,sql,client side?


Uparxei kanena etimo i mporei kapoios na mou ftia3ei


opoios mporei kai an einai grigoro as mou ftia3ei kanena..kai an tou aresei as ftia3ei kai kana parapanw (dwarf/human/orc) :D


Thnx In advance

Posted

εδώ αυτό που ζητάς το πουλάει ο Elfocrash με 35 ευρώ και λες να στο δώσω εγώ δωρεάν?

 

SORRY dn to iksera!!!

 

an xriasto tpt alo mporw na apef8in8w edo i 8a to klisis to shara??? :D

Guest
This topic is now closed to further replies.



  • Posts

    • @Darafamboos let him know that this is already shared
    • Selling for 35 us umodel that opens any ukx , utx and static meshes from samurai updat 542 protocol . Leave me a pm if needed. 
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
    • NEW HIDDENSTASH KEY SYSTEM INTRODUCED TO THE SITE   **Earn While You Spend - Introducing HS Cashback!**   Every purchase on our site now rewards you with **HS Keys cashback**   EVERY ONE WHO REGISTERS IN SITE UNTILL 15TH OF MAY GETS 2000 HS KEYS IN HES BALANE   Here's how it works:       **1 USD = 1000 HS Keys**   **Get 3% cashback** on every purchase   **Use your HS Keys to **save on your next order**   ---   ### ⚡ Why this is awesome   * Every order gives you value back   * Stack it with promos & HS usage   * Turn your spending into future discounts   ---   ### Example   Spend **$10** → Get **300 HS Keys** back   Spend **$50** → Get **1500 HS Keys** back   ---   ### Smart system (built for fairness)   * Cashback is rounded to keep things balanced   * Prevents abuse from tiny orders   * Rewards real buyers   ---   ### Start earning now   Every purchase = progress toward your next discount   Shop now and build your HS balance!   #cashback #gamingdeals #d2r #rewards #loyalty   Stay safe out there, heroes - and happy hunting! www.d2rhiddenstash.com     We just launched our new Affiliate Program — and it’s the easiest way to earn HS Keys.   Invite your friends using your personal link.   Example: If your friend spends $10 → you get 300 HS Keys No limits. No effort. Just share your link.   Get your referral link here: www.d2rhiddenstash.com/profile     Start earning today
    • It’s time for something new to rise. In a world filled with short-lived projects and empty promises, Emerge was created with a different vision — a vision built on experience, precision, and long-term commitment. This is not just another server launch. This is the beginning of something that is meant to last. 🌑 Eclipse x10 – A New Beginning Eclipse x10 is designed for players who seek more than just fast progression. It is built for those who value competition, balance, and a real Lineage II experience. From the very first day, every system has been carefully adjusted to provide a smooth and fair journey — where both solo players and clans can thrive. No shortcuts. No chaos. Only a structured and competitive world. ⚔️ What Awaits You • A balanced mid-rate environment (x10 core progression) • Stable and optimized gameplay • Fair systems with focus on long-term play • Competitive PvP and rewarding PvE • Active and dedicated administration • A project built with vision, not temporary hype 📊 Server Rates Basic: EXP/SP: x10 Adena: x5 Drop: x5 Spoil: x5 Secondary: Quests: x1 Seal Stones: x5 Life Stone Drop: x1 Enchant Scroll Drop: x1 Bosses: Raid Boss EXP/SP: x1 Raid Boss Drop: x1 Epic Boss EXP/SP: x1 Epic Boss Drop: x1 Enchant: Safe: +3 Max: +16 📅 Launch Information Grand Opening: 5 June 2026 The countdown has already begun. Clans are forming. Strategies are being prepared. The question is — will you be ready? 🔗 Join the Community Every strong server begins with a strong community. Be part of it from the very start. 💬 Discord: https://discord.gg/l2emerge 🌐 Website: https://www.l2emerge.com  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..