Jump to content

Recommended Posts

Posted

Hello,

 

I made Underground Coliseum for L2JFree and thought to share it here to because it will be shared here sooner or later.

 

You can download it here

 

There you go link for the share.

Posted

thx for share i will test it on l2j ...

 

others.java  WTF ?! it is not patch ...

====================================================
L2Party.java
====================================================
import com.l2jfree.gameserver.model.entity.underground_coliseum.UCWaiting;
import com.l2jfree.gameserver.model.entity.underground_coliseum.UCPoint;
import com.l2jfree.gameserver.model.entity.underground_coliseum.UCTeam;
####################################################
private Object _ucState = null;
####################################################

		if (isLeader && getPartyMembers().size() > 1)
			broadcastToPartyMembersNewLeader();

+			if(getUCState() != null)
+			{
+				if(getUCState() instanceof UCWaiting)
+				{
+					UCWaiting waiting = (UCWaiting)getUCState();
+					if(_members == null || _members.size() < Config.UC_PARTY_LIMIT)
+					{
+						waiting.setParty(null);
+						waiting.clean();
+					}
+				}
+				else if(getUCState() instanceof UCTeam)
+				{
+					UCTeam team = (UCTeam)getUCState();
+					UCTeam otherTeam = team.getOtherTeam();
+
+					if(_members == null || _members.size() < Config.UC_PARTY_LIMIT)
+					{
+						UCPoint[] points = team.getBaseArena().getPoints();
+
+						for (UCPoint point : points)
+							point.actionDoors(false);
+
+						team.setParty(null);
+                       team.clean(true);
+
+						otherTeam.setStatus(UCTeam.WIN);
+					}
+
+					if(player.isDead())
+						UCTeam.resPlayer(player);
+
+					player.setTeam(0);
+					player.cleanUCStats();
+					player.teleToLocation(team.getBaseArena().getReturnPoint(), true);
+				}
+			}

		L2PartyRoom room = getPartyRoom();
		if (getPartyMembers().size() == 1)
####################################################
public Object getUCState()
{
	return _ucState;
}

public void setUCState(Object uc)
{
	_ucState = uc;
}

====================================================
L2PcInstance.java
====================================================
import com.l2jfree.gameserver.model.entity.underground_coliseum.UCTeam;
####################################################
private int UCKills = 0;
private int UCDeaths = 0;
private static final int UC_STATE_NONE = 0;
private static final int UC_STATE_POINT = 1;
private static final int UC_STATE_ARENA = 2;
private int UCState = 0;
####################################################
@doDie method
	if (isInParty() && getParty().isInDimensionalRift())
		getParty().getDimensionalRift().memberDead(this);

+		if (getAgathionId() != 0)
+			setAgathionId(0);
+
+		if(killer != null && getParty() != null && getParty().getUCState() instanceof UCTeam)
+			((UCTeam)getParty().getUCState()).onKill(this, killer.getActingPlayer());

	// Calculate death penalty buff
	calculateDeathPenaltyBuffLevel(killer);
####################################################
public int getUCKills()
{
	return UCKills;
}

public void increaseKillCountUC()
{
	UCKills++;
}

public int getUCDeaths()
{
	return UCDeaths;
}

public void increaseDeathCountUC()
{
	UCDeaths++;
}

public void cleanUCStats()
{
	UCDeaths = 0;
	UCKills = 0;
}

public void setUCState(int state)
{
	UCState = state; 
}

public int getUCState()
{
	return UCState;
}
====================================================
L2GameServer.java
====================================================
import com.l2jfree.gameserver.instancemanager.games.UndergroundColiseumManager;
####################################################
UndergroundColiseumManager.getInstance();
====================================================
SystemMessageId.java
====================================================
 */
STARSTONE_COLLECTION_FAILED(2424),

+	/**
+	 * ID: 2427<br>
+	 * Message: The Red Team is victorious.
+	 */
+	THE_RED_TEAM_IS_VICTORIOUS(2427),
+
+	/**
+	 * ID: 2428<br>
+	 * Message: The Blue Team is victorious.
+	 */
+	THE_BLUE_TEAM_IS_VICTORIOUS(2428),

/**
 * ID: 2449<br> //*/
====================================================
Config.java
====================================================
public static boolean 				ALLOW_NAIA_MULTY_PARTY_INVASION;
public static int 					ALT_NAIA_ROOM_DURATION;

+	public static ArrayList<Integer> UC_WARDAYS = new ArrayList<Integer>(7);
+	public static int UC_START_HOUR;
+	public static int UC_END_HOUR;
+	public static int UC_ROUND_TIME;
+	public static int UC_PARTY_LIMIT;
####################################################
		ALLOW_NAIA_MULTY_PARTY_INVASION = Boolean.parseBoolean(altSettings.getProperty("AllowNaiaMultiPartyInvasion", "false"));
		ALT_NAIA_ROOM_DURATION = Integer.parseInt(altSettings.getProperty("AltNaiaRoomDuration", "5"));

+			String[] UCWardeys = altSettings.getProperty("UCWarDay", "5,6,1").split(",");
+
+			for (String warday : UCWardeys)
+				UC_WARDAYS.add(Integer.parseInt(warday));
+
+			UC_START_HOUR = Integer.parseInt(altSettings.getProperty("UCStartHour", "21"));
+			UC_END_HOUR = Integer.parseInt(altSettings.getProperty("UCEndHour", "23"));
+			UC_ROUND_TIME = Integer.parseInt(altSettings.getProperty("UCRoundTime", "10"));
+			UC_PARTY_LIMIT = Integer.parseInt(altSettings.getProperty("UCPartyLimit", "7"));
	}
}

====================================================
npc.sql
====================================================
UPDATE `npc` SET `level`='70',`type`='L2UndergroundColiseumManager' WHERE `id`='32377';
UPDATE `npc` SET `level`='45', `hp`='38120', `mp`='678', `patk`='1538', `pdef`='381', `matk`='713', `mdef`='464', `type`='L2UndergroundColiseumTower' WHERE `id`='18539';
UPDATE `npc` SET `level`='55', `hp`='73028', `mp`='988', `patk`='3799', `pdef`='515', `matk`='1767', `mdef`='628', `type`='L2UndergroundColiseumTower' WHERE `id`='18540';
UPDATE `npc` SET `level`='65', `hp`='102244', `mp`='1320', `patk`='8234', `pdef`='670', `matk`='3825', `mdef`='816', `type`='L2UndergroundColiseumTower' WHERE `id`='18541';
UPDATE `npc` SET `level`='75', `hp`='117407', `mp`='1674', `patk`='12467', `pdef`='838', `matk`='5792', `mdef`='1021', `type`='L2UndergroundColiseumTower' WHERE `id`='18542';
UPDATE `npc` SET `level`='80', `hp`='178902', `mp`='1859', `patk`='18111', `pdef`='923', `matk`='8416', `mdef`='1125', `type`='L2UndergroundColiseumTower' WHERE `id`='18543';

Posted

Sorry i didn't made a patch...you have to add it manually, but i think i was clear enough in that file. Anyway...you need basic knowledge to add it... so leaches and noobs shouldn't bother.

 

What is whit that thread ? This is not leached or bought or anything ... it is coded by me for l2jfree.

 

That script from l2jeurope is not retail like and i saw a few bugs just from a quick scan. Still it can be used. And my version can be used on epilogue/ final / etc too.

 

P.S. I only added good coords for no level limit arena. ... For the other 4 arenas you need to add good coords(can take it from l2jeurope script).

Posted

Hello,

 

I made Underground Coliseum for L2JFree and thought to share it here to because it will be shared here sooner or later.

...

No, you just edited the code (removed russian comments) in payed Russian L2J pack (ihgap), it's source codes can be found here on forums. The original author of this event is VISTALL.

Posted

No, you just edited (removed Russian comments) the code in payed Russian L2J pack (ihgap), it's source codes can be found here on forums. The original author of this event is VISTALL.

:)) Make me laugh more ... Compare the code and see if it is the same code...It is true i used a few methods from them but most of the code is changed... Their code is bugged, not finished and not retail like ;)

Posted

:)) Make me laugh more ... Compare the code and see if it is the same code...It is true i used a few methods from them but most of the code is changed... Their code is bugged, not finished and not retail like ;)

I don't care about if their code is working or not. If you used anything from their code, you should note it in your credits. You should respect original author of this code.

 

Anyway, you're right, I didn't check all that classes (didn't have time to do so, I was at work) and some of them, for example Underground Tower were just C/P, but the rest seems different. I can't check it more, because I have an old version of their sources, where UC is not finished, so... well never mind. Good work.

Guest
This topic is now closed to further replies.


  • Posts

    • someone ban again this piece of shit this guy is a virus we should make an antikara or karabytes
    • 🍂 The cost on Vibe-sms is dropping, like autumn leaves falling from the trees.     It’s a little sad to watch the last days of summer fade away with its warmth, but that’s how the world works  every season has its own rules. The same goes for our prices: they are gradually but steadily going down, opening up new opportunities and great deals. 💸   🌍 USA is already at the minimum, and Europe, Asia, and dozens of other countries will follow soon. Don’t miss out  fresh rates are waiting for you!   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms
    • You didn't tell me anywhere that you wanted core.jar as proof, I have everything ready for an independent developer to review. All the conversations, all your edits. I won't settle anything with you, so you can threaten me again and damage my name.
    • So what? Did i say anything wrong? You have no idea what source/compile is. I still wait for your .jar or source to be posted since you say i destroyed the compiled version of yours. Why you don't post it? Are you afraid that people will just see few addon lines and you did not even know that your source and compiled had different things? I should not even waste 2 minute to fix your raidboss_spawnlist thing.    Your mentally ill. What you posted is our primary deal nothing against me.  Because all he does is post whatever i write as if i hide and i did not say any mod to join and check my discord. i want him actual post something against me or any offenses i did. I also requested him several hours ago to post his .jar where my code "HACKED" his server but he wont post.    Nobody should allow open a random topic and cause issues to other's life without proofs. I demand punishment and soon unless he post evidence that i hurt his server or left him or did not make what he asked. 
  • 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