Jump to content
  • 0

[HELP] Siege informer "Interlude"


Question

Posted

Γεια σας αλανια του MxC.

μήπως μπορει να μου πει κανεις πως μπορώ να κανω ενα siege informer? (για interlude) "L2jAcis"

Αν υπάρχει ήδη έτοιμο πουθενά ακόμη καλύτερα.

δηλαδη απο αυτό το npc να μπορουν να δηλώνουν για ta sieges και να βλεπουν ποτε ειναι το siege κτλ..

Οποιος ξέρει και μπορει να μου πει πως γίνεται,  ας μου πει :)

(Αν υπάρχει ήδη έτοιμο πουθενά ακόμη καλύτερα.)

Thanks!

 

8 answers to this question

Recommended Posts

  • 0
Posted

Γεια σας αλανια του MxC.

μήπως μπορει να μου πει κανεις πως μπορώ να κανω ενα siege informer? (για interlude) "L2jAcis"

Αν υπάρχει ήδη έτοιμο πουθενά ακόμη καλύτερα.

δηλαδη απο αυτό το npc να μπορουν να δηλώνουν για ta sieges και να βλεπουν ποτε ειναι το siege κτλ..

Οποιος ξέρει και μπορει να μου πει πως γίνεται,  ας μου πει :)

(Αν υπάρχει ήδη έτοιμο πουθενά ακόμη καλύτερα.)

Thanks!

mou kaneis plaka ?:P (to lew filika)

to ka8e castle exei diko tou 'guard'. dld enan guard ston opio mporeis na dilwseis attacker / defender kai mporeis na deis kai pote einai (mera,wra).

auto ine retail

 

ektos an ennoeis kati allo.

  • 0
Posted

mou kaneis plaka ?:P (to lew filika)

to ka8e castle exei diko tou 'guard'. dld enan guard ston opio mporeis na dilwseis attacker / defender kai mporeis na deis kai pote einai (mera,wra).

auto ine retail

 

ektos an ennoeis kati allo.

αγορινα thanks το ξέρω αυτό..το θεμα ειναι οτι αν τους κανω πχ ολους για το καθε castle //spawn στην GIRAN (για να μην τρεχουν απο δω και απο κει(..δήχνει μονο το siege της GIRAN! :/ Και μπορουν να δηλώσουν μονο για GIRAN.

  • 0
Posted

ena tetio enoeis?

35kmwcg.png

29wu4vt.png

Ναι ενα τετοιο λεω..μπορεις να μου πεις πως το εκανες?

(σκεφτηκα να περασω και εγω ολα τα htms αυτών σε ένα... "αλλα νομιζα πως αν το κανω spawnn στην GIRAN θα μου βγαζει παλι μονο για την GIRAN σε οποιο και αν πατανε.,..

τι να κανω? :P

  • 0
Posted

Ναι ενα τετοιο λεω..μπορεις να μου πεις πως το εκανες?

(σκεφτηκα να περασω και εγω ολα τα htms αυτών σε ένα... "αλλα νομιζα πως αν το κανω spawnn στην GIRAN θα μου βγαζει παλι μονο για την GIRAN σε οποιο και αν πατανε.,..

τι να κανω? :P

 

8elei edit sto dp part den ginete me htmls lol

eee kapou to eixan kanei share to kserw gt to eixa dokimasei egw o idios.. an psakseis kapou 8a to vreis :P

  • 0
Posted

Pou boroume na vroume kati tetoio?Egw to thelw gia l2jfrozen...

### Eclipse Workspace Patch 1.0
#P L2jFrozen_GameServer
Index: head-src/com/l2jfrozen/gameserver/model/actor/instance/L2MassSiegeManagerInstance.java
===================================================================
--- head-src/com/l2jfrozen/gameserver/model/actor/instance/L2MassSiegeManagerInstance.java	(revision 0)
+++ head-src/com/l2jfrozen/gameserver/model/actor/instance/L2MassSiegeManagerInstance.java	(working copy)
@@ -0,0 +1,69 @@
+/*
+ * 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 com.l2jfrozen.gameserver.model.actor.instance;
+
+import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage;
+import com.l2jfrozen.gameserver.templates.L2NpcTemplate;
+
+/**
+ * @author Debian
+ *
+ */
+public class L2MassSiegeManagerInstance extends L2NpcInstance
+{
+	
+	public L2MassSiegeManagerInstance(int objectId, L2NpcTemplate template)
+	{
+		super(objectId, template);
+	}
+	
+	public void showHtmlWindow(L2PcInstance activeChar)
+	{
+		 NpcHtmlMessage p = new NpcHtmlMessage(5);
+	         StringBuilder tb = new StringBuilder(""); 
+	     
+			tb.append("<html><head><title>Mass Siege Manager</title></head><body>");
+			tb.append("<center>");
+			tb.append("<img src=\"L2Font-e.replay_logo-e\" width=256 height=80>");
+			tb.append("<br>");
+			tb.append("<img src=\"l2ui_ch3.herotower_deco\" width=256 height=32 align=center>"); 
+			tb.append("<br>");
+			tb.append("<font color=\"FFAA00\">Mass Siege Manager</font>");
+			tb.append("<br>");
+			tb.append("<img src=\"l2ui_ch3.herotower_deco\" width=256 height=32 align=center>");
+	        tb.append("</center>");
+			tb.append("<center>");
+			tb.append("<button value=\"Giran Siege\" action=\"bypass -h siege_giran\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">");
+			tb.append("<button value=\"Aden Siege\" action=\"bypass -h siege_aden\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">");
+			tb.append("<button value=\"Rune Siege\" action=\"bypass -h siege_rune\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">");
+			tb.append("<button value=\"Goddard Siege\" action=\"bypass -h siege_goddard\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">");
+			tb.append("<button value=\"Dion Siege\" action=\"bypass -h siege_dion\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">");
+			tb.append("<button value=\"Shuttgart Siege\" action=\"bypass -h siege_shuttgart\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">");
+			tb.append("<button value=\"Innadril Siege\" action=\"bypass -h siege_innadril\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">");
+			tb.append("<button value=\"Oren Siege\" action=\"bypass -h siege_oren\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">");
+			tb.append("<button value=\"Gludio Siege\" action=\"bypass -h siege_gludio\" width=204 height=20 back=\"sek.cbui36\" fore=\"sek.cbui75\">");
+			tb.append("</center>");
+			tb.append("<center>");
+			tb.append("<img src=\"l2ui_ch3.herotower_deco\" width=256 height=32 align=center>");
+			tb.append("<br>");
+			tb.append("<font color=\"FFAA00\">by Debian</font>");  
+			tb.append("</center>");
+			tb.append("</body></html>");
+			
+			p.setHtml(tb.toString());
+			activeChar.sendPacket(p);
+			return;
+	}
+}
\ No newline at end of file
Index: head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestBypassToServer.java
===================================================================
--- head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestBypassToServer.java	(revision 986)
+++ head-src/com/l2jfrozen/gameserver/network/clientpackets/RequestBypassToServer.java	(working copy)
@@ -28,6 +28,7 @@
import com.l2jfrozen.gameserver.handler.AdminCommandHandler;
import com.l2jfrozen.gameserver.handler.IAdminCommandHandler;
import com.l2jfrozen.gameserver.handler.custom.CustomBypassHandler;
+import com.l2jfrozen.gameserver.managers.CastleManager;
import com.l2jfrozen.gameserver.model.L2Object;
import com.l2jfrozen.gameserver.model.L2World;
import com.l2jfrozen.gameserver.model.actor.instance.L2ClassMasterInstance;
@@ -41,8 +42,10 @@
import com.l2jfrozen.gameserver.model.entity.event.TvT;
import com.l2jfrozen.gameserver.model.entity.event.VIP;
import com.l2jfrozen.gameserver.model.entity.olympiad.Olympiad;
+import com.l2jfrozen.gameserver.model.entity.siege.Castle;
import com.l2jfrozen.gameserver.network.serverpackets.ActionFailed;
import com.l2jfrozen.gameserver.network.serverpackets.NpcHtmlMessage;
+import com.l2jfrozen.gameserver.network.serverpackets.SiegeInfo;
import com.l2jfrozen.gameserver.util.GMAudit;

public final class RequestBypassToServer extends L2GameClientPacket
@@ -125,6 +128,64 @@
			{
				playerHelp(activeChar, _command.substring(12));
			}
+			
+						/** Siege Commands **/
+						
+						else if (_command.startsWith("siege_aden"))
+					    {
+					    	 Castle castle = CastleManager.getInstance().getCastleById(5);
+								if(castle != null)
+									sendPacket(new SiegeInfo(castle));
+					    }
+					    else if (_command.startsWith("siege_giran"))
+					    {
+					    	 Castle castle = CastleManager.getInstance().getCastleById(3);
+								if(castle != null)
+									sendPacket(new SiegeInfo(castle));
+					    }
+					    else if (_command.startsWith("siege_goddard"))
+					    {
+					    	 Castle castle = CastleManager.getInstance().getCastleById(7);
+								if(castle != null)
+									sendPacket(new SiegeInfo(castle));
+					    }
+					    else if (_command.startsWith("siege_rune"))
+					    {
+					    	 Castle castle = CastleManager.getInstance().getCastleById(8);
+								if(castle != null)
+									sendPacket(new SiegeInfo(castle));
+					    }
+					    else if (_command.startsWith("siege_shuttgart"))
+					    {
+					    	 Castle castle = CastleManager.getInstance().getCastleById(9);
+								if(castle != null)
+									sendPacket(new SiegeInfo(castle));
+					    }
+					    else if (_command.startsWith("siege_oren"))
+					    {
+					    	 Castle castle = CastleManager.getInstance().getCastleById(4);
+								if(castle != null)
+									sendPacket(new SiegeInfo(castle));
+					    }
+					    else if (_command.startsWith("siege_dion"))
+					    {
+					    	 Castle castle = CastleManager.getInstance().getCastleById(2);
+								if(castle != null)
+									sendPacket(new SiegeInfo(castle));
+					    }
+					    else if (_command.startsWith("siege_gludio"))
+					    {
+					    	 Castle castle = CastleManager.getInstance().getCastleById(1);
+								if(castle != null)
+									sendPacket(new SiegeInfo(castle));
+					    }
+					    else if (_command.startsWith("siege_innadril"))
+					    {
+					    	 Castle castle = CastleManager.getInstance().getCastleById(6);
+								if(castle != null)
+									sendPacket(new SiegeInfo(castle));
+					    }
+			
			else if(_command.startsWith("npc_"))
			{
				if(!activeChar.validateBypass(_command))

Guest
This topic is now closed to further replies.


  • Posts

    • Tell a Škoda 1.4 driver that a Škoda 1.8 is faster — and suddenly, you’re riding a mini race car. On the way, they might share random stories — gas prices, the perfect BBQ recipe, or how passengers once called them “just for a minute.” Maybe even how someone left a suitcase full of money in their car once.     The important part? You’ll get there on time, no delays.     Vibe SMS works just as fast — messages fly like that driver who just heard their 1.8 isn’t the fastest.     🌐 https://vibe-sms.net/ 📲 https://t.me/vibe_sms  
    • ⚔️ The Grand Opening Has Arrived! ⚔️ In just a few hours the gate to the eternal battlefield will be open and the war between Order and Chaos will be set once again ! Its time to claim your destiny 🔥 👉 Register now and join the fight today! 🌐 https://l2ovc.com register now : https://l2ovc.com The gates are open the war between Order and Chaos has officially started! 🔥 Join the battlefield NOW and claim your destiny in Order vs Chaos! 💥 Don’t fall behind your faction needs you. ➡️ https://l2ovc.com  
    • Don’t miss the new Telegram gifts with our Telegram Stars purchasing bot! A great opportunity to invest in a stable digital asset at an early stage while the market is still forming. Buy other existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium subscriptions, and react to messages in channels! Low prices, multiple payment options, and other cool unique features! ⚡ Try it today — SOCNET STARS BOT ⚡ Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. ⭐ Telegram Stars Purchase Bot: Go – fast and profitable way to buy stars in Telegram. SMM Panel: Go – promote your social media accounts. We present to 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) in October! You can also use the promo code SOCNET (15% discount) for your first purchase. 2️⃣ Get $1 on your store balance or a 10–20% discount — just write your username after registration on our website using the template: "SEND ME BONUS, MY USERNAME IS..." — post it in our forum thread! 3️⃣ Get $1 for your first SMM Panel trial — simply open a ticket titled “Get Trial Bonus” on our website (Support). 4️⃣ Weekly ⭐ Telegram Stars giveaways in our Telegram channel and in our Telegram Stars bot! 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 Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Don’t miss the new Telegram gifts with our Telegram Stars purchasing bot! A great opportunity to invest in a stable digital asset at an early stage while the market is still forming. Buy other existing gifts in the official store using Telegram Stars, pay for subscriptions, donate to games and projects, pay for Premium subscriptions, and react to messages in channels! Low prices, multiple payment options, and other cool unique features! ⚡ Try it today — SOCNET STARS BOT ⚡ Active links to SOCNET stores: Digital Goods Store (Website): Go Store Telegram Bot: Go – convenient access to the store via Telegram messenger. ⭐ Telegram Stars Purchase Bot: Go – fast and profitable way to buy stars in Telegram. SMM Panel: Go – promote your social media accounts. We present to 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) in October! You can also use the promo code SOCNET (15% discount) for your first purchase. 2️⃣ Get $1 on your store balance or a 10–20% discount — just write your username after registration on our website using the template: "SEND ME BONUS, MY USERNAME IS..." — post it in our forum thread! 3️⃣ Get $1 for your first SMM Panel trial — simply open a ticket titled “Get Trial Bonus” on our website (Support). 4️⃣ Weekly ⭐ Telegram Stars giveaways in our Telegram channel and in our Telegram Stars bot! 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 Contacts and Support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • 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