Jump to content

Recommended Posts

Posted

Very cool code also ponyrider always god :P

 

Why you tell 'god'? You and Extreamer? :P  (I am in "what's going here" situation xd)

Posted
anyway thats just the basics. To work normally without bugs you have to add restrictions and new damage message system in olympiad to cover the names completely.

Author noticed it too , I just saw it lol :P , anyway the way can be helpfull so.. good luck :P

Posted

 

62    protected String _playerOneName;
63    protected String _playerTwoName;
64 +    protected String _try1;
65 +    protected String _try2;

100            _players = list;
101            _playerOne = list.get(0);
102            _playerTwo = list.get(1);
103            
104            try
105            {
106    +            _try1 = _playerOne.getClassId().name();
107    +            _try2 = _playerTwo.getClassId().name();

921    protected String getTitle()
922    {
923        String msg = "";
924    -    msg += _playerOneName + " / " + _playerTwoName;
924 + msg += _try1 + " vs " + _try2;
925        return msg;
926    }

 

where to add this ? Acis :S :S 

Posted

Interesting. I think yes it could be done something like this:

### Eclipse Workspace Patch 1.0
#P aCis_gameserver
Index: java/net/sf/l2j/gameserver/model/actor/status/PcStatus.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/status/PcStatus.java	(revision 1)
+++ java/net/sf/l2j/gameserver/model/actor/status/PcStatus.java	(working copy)
@@ -151,7 +151,18 @@
 				SystemMessage smsg;
 				// Send a System Message to the L2PcInstance
 				smsg = SystemMessage.getSystemMessage(SystemMessageId.S1_GAVE_YOU_S2_DMG);
-				smsg.addCharName(attacker);
+				if(attacker instanceof L2PcInstance)
+				{
+					L2PcInstance atcker = (L2PcInstance) attacker;
+					if(atcker.isInOlympiadMode())
+						smsg.addString("Chalenger");
+					else
+						smsg.addPcName(atcker);
+				}
+				else
+				{
+					smsg.addCharName(attacker);
+				}
 				smsg.addNumber(fullValue);
 				getActiveChar().sendPacket(smsg);
 				

But I think it's not all , these systemmessages are available in more than this class. That's only the way. So to be "pro" , this part needs to be added of course :P

 

You should do that with PetStatus & L2Skill as well.

Posted

You should do that with PetStatus & L2Skill as well.

 

Ofc, I know I just gave the way :P

Anyway Ivan Pires gave the best answer, ready code.

  • 2 weeks later...
Posted

It's already shared like 2 times(?), so it's nothing new, but well.. :P

well i didn't know that is shared already.. i actually was working on this when i had no internet so i didn't know about dat. anyway ;p

  • 11 months later...
Posted

Interesting. I think yes it could be done something like this:

### Eclipse Workspace Patch 1.0
#P aCis_gameserver
Index: java/net/sf/l2j/gameserver/model/actor/status/PcStatus.java
===================================================================
--- java/net/sf/l2j/gameserver/model/actor/status/PcStatus.java	(revision 1)
+++ java/net/sf/l2j/gameserver/model/actor/status/PcStatus.java	(working copy)
@@ -151,7 +151,18 @@
 				SystemMessage smsg;
 				// Send a System Message to the L2PcInstance
 				smsg = SystemMessage.getSystemMessage(SystemMessageId.S1_GAVE_YOU_S2_DMG);
-				smsg.addCharName(attacker);
+				if(attacker instanceof L2PcInstance)
+				{
+					L2PcInstance atcker = (L2PcInstance) attacker;
+					if(atcker.isInOlympiadMode())
+						smsg.addString("Chalenger");
+					else
+						smsg.addPcName(atcker);
+				}
+				else
+				{
+					smsg.addCharName(attacker);
+				}
 				smsg.addNumber(fullValue);
 				getActiveChar().sendPacket(smsg);
 				

But I think it's not all , these systemmessages are available in more than this class. That's only the way. So to be "pro" , this part needs to be added of course :P

dont forget the sumon's damage

 

if (tDmg > 0)
				{
					smsg = SystemMessage.getSystemMessage(SystemMessageId.SUMMON_RECEIVED_DAMAGE_S2_BY_S1);
				-	smsg.addCharName(attacker);
				+	if(attacker instanceof L2PcInstance)
				+	{
				+		L2PcInstance atcker = (L2PcInstance) attacker;
				+		if(atcker.isInOlympiadMode())
				+			smsg.addString("Chalenger");
				+		else
				+			smsg.addPcName(atcker);
				+	}
				+	else
				+	{
				+		smsg.addCharName(attacker);
				+	}

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

    • Thank you for your fast reply.   Thank you for your fast reply.
    • https://prnt.sc/PhKlAFkpfod8   https://tronscan.org/address/TKdTFSDUunB83zxiHNAzsSimdXqXkyw8Wr/transfers The crypto address he gave me is TKdTFSDUunB83zxiHNAzsSimdXqXkyw8Wr. I sent him 359 USDT, but he's stalling me; he stole my money 🙂 Tronscan : https://tronscan.org/transaction/f9f39661151a8de0bf6065a537b2db9a74d3b4b6b8f2708708e6e53990c7f37c/overviewö Screenshot: 1.https://prnt.sc/S_FnnfXo4Swh 2.https://prnt.sc/fJ3CY5tqzPjp 3.https://prnt.sc/Y6rHXCxyZ5WO 4.https://prnt.sc/Y7MD7eryDfUW 5.https://prnt.sc/91zyOzPnTRGC 6.https://prnt.sc/vq0DirKYj5PH 7.https://prnt.sc/Q_i95ESkRhJG 8.https://prnt.sc/W5i2tk9HS2gR 9.https://prnt.sc/4caCg6XJfr3d 10.https://prnt.sc/HX6H8PLRq3ps 11.https://prnt.sc/LtJ_C3A2mU1H
    • ⚔️ L2Origins – Season 1 High Five Classic Welcome to L2Origins, a project built for players who miss the authentic High Five experience while enjoying carefully designed quality-of-life improvements that preserve the original gameplay. Every system has been created with one goal in mind: long-term progression, balanced PvP, and a competitive community. Server Highlights ⚔️ High Five Classic Gameplay 📈 Rates: x5 Adena / x5 Drop & Spoil / x15 Skill EXP 👥 Up to 3 game clients per PC 🏰 Siege & Territory War Rewards ⚔️ Party and Solo Instances 🏆 Advanced Ranking System 🎯 Global Teleport & NPC Buffer 🛡️ Active Anti-Bot Protection 💬 All-In-One Community Board 🎁 Daily Login Rewards 🌎 English Project with an international community. Exclusive L2Origins Systems 🏆 Achievement Skills Unlock permanent passive skills by progressing through: PvP Achievements Olympiad Participation Achievements Every milestone rewards your character with unique passive bonuses, encouraging long-term progression. ⚔️ Faction System Choose one of 7 unique factions, each offering its own permanent bonuses and balanced penalties. 🛡️ The Knights ⚔️ Dark Legion 🔮 Arcane Council 🏹 Hunters Guild 💰 Merchants Union 🗡️ Shadow Assassins 🌿 Guardians of Nature Your choice defines your playstyle and creates a new layer of PvP strategy. 👕 DressMe System Customize your character with classic High Five armor appearances. Each DressMe appearance also grants its own exclusive passive bonuses, allowing players to personalize both their look and combat style. 🏅 Olympiad & PvP Olympiad Participation Rewards PvP Ranking Faction Ranking Event Ranking Arena Ranking Compete against other players and climb multiple leaderboards throughout the season. Why L2Origins? Our philosophy is simple: Preserve the original High Five feeling. Introduce meaningful progression instead of power creep. Keep PvP competitive and rewarding. Deliver unique custom content without losing the Lineage II identity. If you're looking for a fresh High Five server that respects the classic experience while introducing exclusive systems built from the ground up, L2Origins is ready for you. 🌐 Website: https://l2origins.org/ See you on the battlefield!  
  • 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..