Jump to content
  • 0

[Question]ANNOUNCEMENTS


Question

Posted

Tha ithela na rotisw an ginete na alaksw xroma ta announcements. gia paradigma na min fenete etsi galazia telos panton ti ine na exei gia paradigma prasino xroma.ginete? an ne pws?(enoite me java,min me pite oti prepei na xw compile pack klp)

 

 

Edit:ena deutero problem kai ipa na to kanw post edw na min anigw sinexia topics.

exw ton eskis code:

if (activeChar.isClanLeader())
        	{
        		Announcements.getInstance().announceToAll("Clan Leader: "+activeChar.getName()+" has been logged in.");	
        	}
        	else if (activeChar.isGM())	
        		return;

        }

 

omos kai tous gm tous kanei announce..(o code perastike me epitixia). auto ine sto enterworld.java to vala. pou xw kanei lathos kai kanei kai tous gm announce?;(

6 answers to this question

Recommended Posts

  • 0
Posted

den tha sou poune na exeis compile pack alla ton kwdiko prepei na ton kaneis compile.

Dld prepei na ton peraseis kai meta na ton kaneis compile

W MPW LES NA MIN TO KSERW?PFF...

 

ps:deste kai to 2to problem

  • 0
Posted

bale ayto sto enterworld

+		if (L2Config.ANNOUNCE_CASTLE_LORDS)
+		{
+			notifyCastleOwner(activeChar);
+		}	
+

kai prakatw ayto

+	private void notifyCastleOwner(L2PcInstance activeChar)
+	{
+		L2Clan clan = activeChar.getClan();
+		
+		if (clan != null)
+		{
+			if (clan.getHasCastle() > 0)
+			{
+				Castle castle = CastleManager.getInstance().getCastleById(clan.getHasCastle());
+				if ((castle != null) && (activeChar.getObjectId() == clan.getLeaderId()))
+					Announcements.getInstance().announceToAll("Lord " + activeChar.getName() + " Ruler Of " + castle.getName() + " Castle is Now Online!");
+			}
+		}
+	}

  • 0
Posted

bale ayto sto enterworld

+		if (L2Config.ANNOUNCE_CASTLE_LORDS)
+		{
+			notifyCastleOwner(activeChar);
+		}	
+

kai prakatw ayto

+	private void notifyCastleOwner(L2PcInstance activeChar)
+	{
+		L2Clan clan = activeChar.getClan();
+		
+		if (clan != null)
+		{
+			if (clan.getHasCastle() > 0)
+			{
+				Castle castle = CastleManager.getInstance().getCastleById(clan.getHasCastle());
+				if ((castle != null) && (activeChar.getObjectId() == clan.getLeaderId()))
+					Announcements.getInstance().announceToAll("Lord " + activeChar.getName() + " Ruler Of " + castle.getName() + " Castle is Now Online!");
+			}
+		}
+	}

pios se ipe oti thelo announce tous castle lords? tous clan leaders thelw den vlepeis?(OMG)..

problems solved..

locked

Guest
This topic is now closed to further replies.


  • Posts

    • It has been a while since I updated this thread. I am currently actively working on a full-scale port of the shader library to ensure the fast and accurate transfer of all effects. I have decompiled the original game and created a tool that fully logs the entire *Lineage 2 Interlude* particle system. This allows me to extract the original formulas hardcoded into the game, resulting in a high-fidelity port. For instance, *Lineage 2* uses an `appRnd` system that generates unique randomization patterns for different skills, giving them distinct visual characteristics; there are countless formulas and technical nuances like this. Ultimately, I will derive all the key formulas and replicate the geometry with high precision. Twelve basic geometry formulas have already been ported. The effect was created in 10 minutes using a .uc file, HLSL formulas, and SpriteEmitter particle blending formulas.   https://prnt.sc/_3UDLQVX_Y-_
    • Good luck my friend! 😃
    • try this one instead. The one he shared affects every single NPC/player character in the game, the one I posted only affects player characters  https://drive.google.com/file/d/1UtccbD9e50x3WEnQBab2PTZnBHwpcGYM/view?usp=sharing or perhaps i misunderstood; if you could please post a full explanation of the problem you're having with the files, unfortunately i think whatever you're using to translate to english is a bit bad nevermind, i got what you mean, here's the fix   https://drive.google.com/file/d/1av7OHaGSdnVQtcBgb9MhtiIkxVXy3P2y/view?usp=sharing   CanIngnoreCollision=True CanBeIngnoredCollision=True  
    • <dailyReward days="28" autoOpen="true" minimumOnlineTimeSeconds="30" oneRewardPerIP="true" resetIfMissDay="true">   For now, I have these settings in the XML—this is the V1 version I created, though I plan to make further improvements over time. Of course, I’ll also add more protections—MAC, HWID, and perhaps others like account-based restrictions—to make it more secure. We can also implement non-tradable items to further enhance the system's security. I’ll keep posting updates and refining both the system and the interface. I might make a video tomorrow; if you look at the top, you'll see the "auto-open" feature can be toggled on or off, allowing users to rely solely on the `.daily` command. Cheers! Note: If I sell it in this state, I’ll provide support and roll out updates to users. I’m not forcing anyone to buy anything; I’d even provide the patch files so that anyone with the necessary skills can add features, modify it, or improve it further.
  • 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..