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

    • Hello community, I’d like to share an improved version of the L2smr editor for StaticMeshes, focused on solving some workflow issues I found in the original tool. CreditsThis project is based on the original acmi/L2smr repository https://github.com/acmi/L2smr , created by acmi, and I updated it to Java 17 with some additional features. Issues in the original L2smr Too many windows: each StaticMesh opened in a new one → cluttered desktop. No search: navigating through hundreds of StaticMeshActors was slow and tedious. Added improvements Flexible views Single Window Mode: reuse one window instead of opening new ones. Multiple Window Mode: still available for those who prefer having several views open simultaneously. Real-time Search Field Instant filtering as you type. Case-insensitive search. “Reset” button to quickly clear the search.     Installation and Execution: Clone the repository: git clone https://github.com/Jeep12/l2smr.git cd l2smr        2.Build the project:   ./gradlew build        3. Run the application:     ./run.bat      Or simply double-click on run.bat.     The run.bat script automatically extracts JavaFX from the included javafx-17.0.2.zip file in the javafx/ directory, sets up the required libraries, and launches the application. You don’t    need to install JavaFX separately.      Repository: https://github.com/Jeep12/l2smr     Maybe these features already existed in another version or fork, and they might not be very big changes, but since I didn’t know about them and found them necessary, I decided to          implement them myself and wanted to share them.      
    • no....Mobius L2Clientdat and L2FileEditor can do that...but still cant works with TaiWanese Grand Crusade ,especially Armorgrp.dat and Armorgrp-Classic.dat
    • L2GOLD - Halcyon x45 Project Classic Interlude   C6 - Classic Interlude: Protocol 110     Is a complete copy of L2Gold in Classic [110 Protocol] with L2OFF files.   Fully L2Gold Features - Daily Quest - Daily Mining Quest - Ancient Weapons -Refine System  -Rebirth System -Fully configurable everything you want -Gold stats/Gold skills/Gold items working 100% -Zones 100% alike  -Unique donations system (npc or voicedcommand .donate) - On Enchant success announcement ( if +16 for weapon, 8 for armor , 7 for jewel) - Announce of Castle Lord - Announce of Hero  - Olympiad Max A grade - Olympiad Buffs on matches changed to Gold Alike - Working fully Dreadbane   - AI Mods: Static Time for RB   Automated Events: Squash Watermelon RB Event High rate  (those are fully automated)   Server is running a Test Server: Online to anyone can test it.   Game Client: https://www.mediafire.com/file/1d8xe18rvgi04lx/L2_Classic_Interlude_Client_V2.rar/file   Game Patch: https://www.mediafire.com/file/3z4b8ezy93h2z1g/L2Halcyon+Gold+Patch.rar/file   GM Accounts: ID: root pass root [ accounts go from  root1 until root20 ]   Regular Accounts Registrations: http://84.247.164.27/?page=register   Some Screenshots: https://imgur.com/a/o7TxzTN   Contact me here via PM (only serious buyers).    Price of the product: Fully Server Pack + Source ( 250 Euros )
    • ✨ A Service with Vibes  Vibe SMS ✨   Vibe SMS is not just a platform for working with numbers. We’ve built it to be simple, convenient, and stress-free, so your tasks get done without hassle. We value real communication: we listen to your ideas, provide support, and make sure everyone feels calm and confident. With us, you’re not just a client  you’re part of a space built on trust, support, and a human touch. Vibe SMS is a place where people matter and where we create an atmosphere you’ll want to stay in.   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms
  • 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