Jump to content

Recommended Posts

Posted

so FFs i put all the code without problems on eclipse but if i want to start the ctf maually it do not start (i dont know for auto start... i check it and i tell you)

 

can you help me about this?

 

Errors on the console?

Post your configurations from l2jmods.properties

Posted

First of all great share !I was reading the code and it's totally amazing.I chose this event to be the first to add(i'm on learn state so this is my first experiment on events)

Installation was successful(hopefully).But i can't use the //ctf ingame(says doesn't exist).I don't get any other errors at gs.I think that's because i haven't properly edited l2jmods.properties.Just added a line with

# ---------------------------------------------------------------------------

# Capture the Flag Event Engine

# ---------------------------------------------------------------------------

CTF_EVENT_ENABLED = True

 

When i start GS i get this

xpva8k.png

so i guess it's the problem i state above about the properties.Can someone lead me to the right direction?or c/p his l2jmods for this one?

Thanks

Posted

# Would you like to have a base for the players to have first, then teleport into battle?
# If True, You must set-up in CTF admin panel
CTFTeleportToBaseFirst = True

 

Change it to false.

  • 3 weeks later...
Posted

Hi, Eclipse give me error in file AdminCTFEngine.java in this part:

 

CTF.sit()

The method sit() is undefined for the type CTF

 

maybe you forget add this method in CTF.java:

Index: java/com/l2jserver/gameserver/model/entity/CTF.java
===================================================================
--- java/com/l2jserver/gameserver/model/entity/CTF.java	(révision 0)
+++ java/com/l2jserver/gameserver/model/entity/CTF.java	(révision 0)
@@ -1947,6 +1951,7 @@
	unspawnEventNpc();
	unspawnAllFlags();
	teleportFinish();
}
+
+	public static void sit()
+	{
+		if (_sitForced)
+			_sitForced = false;
+		else
+			_sitForced = true;
+		
+		for (L2PcInstance player : _players)
+		{
+			if (player != null)
+			{
+				if (_sitForced)
+				{
+					player.stopMove(null, false);
+					player.abortAttack();
+					player.abortCast();
+					
+					if (!player.isSitting())
+						player.sitDown();
+				}
+				else
+				{
+					if (player.isSitting())
+						player.standUp();
+				}
+			}
+		}
+	}
+
public static void dumpData()
{
	_log.warning("");

  • 3 weeks later...
  • 2 weeks later...
Posted

i have a problem to the game, when the player in the ctf die, the window "to village etc." is not hidden.

what can i do to fix it? please answered!

 

Add something like:

 

		 if(cha instanceof L2PcInstance)
		if(CTF.isParticipant(cha.getObjectId()))
		   _canTeleport = false;

 

On: com.l2jserver.gameserver.network.serverpackets.Die.java

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • Hello everyone, we are one of the top gaming currency stores. We work exclusively with top projects. If you are interested in anything like Adena, Coins, Equip, write to us Discord - pchelacoin Telegram - https://t.me/ipchelacoin BOHPTS, KETRAWARS, EURO-PVP, L2REBORN, E-GLOBAL, LA2DREAM TOP PRICE !!!!!!!
    • L2Elixir – Patch 4 Is Live!   We’re working non-stop, day and night, to deliver the best possible quality and bring back what made L2Elixir special. This project is built with passion, not shortcuts — for the old-school players who remember, and the new ones who want to experience it properly. Thank you for being part of the journey. Together, we’re making L2Elixir great again ❤️ The legends never fade.    ⚙️ General Enabled Class Change service (same class type only) ALT + B → Services → Character Development Enabled Shift + Click on Treasure Chests Players can now identify real chests (Adena, scroll drops) and use Key / Unlock Event deaths now cancel only debuffs, All self buffs are preserved, fixes issues with Root and similar effects Bladedancer class can now log in even when Max Clients (2) is reached. Since an active Bladedancer is not available for every damage dealer and some players tried to abuse this via VPN or a second PC, this feature was added to keep things fair. protections applies, requires testing!    🎒 Items Crystallizing enchanted items now gives the correct increased crystal amount (retail-like behavior) Removed Agathion Seal Bracelet: Rudolph from Santa rewards (Gracia Final item) Added Dualsword Craft Stamp into Milestone Exchange list    🧙 Skills Fixed Banish Undead lethal chance Hot Springs Malaria and similar effects now level up faster while being attacked
    • thats new SEO level tricks you know nothing of noob - bottom line: exposed.
    • Warning: This guy is a big scammer, trying to sell everything, advertising for servers etc. That's his mail address evgesha.nrnr@gmail.com , stay away!   @Atom @Celestine
  • 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