Jump to content

Recommended Posts

Posted

καλά πες μου ακριβώς το request σου, για να κάτσω να το δουλέψω με ένα παιδί.

Loipon tha sto pw me paradigma

eimai sto cementery me bot kai famaro

me vlepei kapoios kai me kanei target kai pataei .report

kai emfanizete se emena ena parathiro me enan kodiko

egw prepei na grapsw afton ton kodiko kai na patiso ok mesa se 30 second

alios tha paw Jail gia 15 lepta

 

Posted

Ey Ey Ey 8a mporouse kapios na m dosi ena link IIII crystalia na m ftiaksi tn code gia enan kalo class master!!! psaxnw kamia oritsa k den vrika!!!

 

gia tn akrivia vrika afto:

ala den katalavenw etsi pos ksekinaei o code

---> package net.sf.l2j.gameserver.model.actor.instance; <--- (den leei se pio java arxio vazw tn code)

epsaksa sto l2pcinstance.java ala den ixe tpt apo afta mesa (L2JServer Interlude) opote an ginete voi8iste!!!

thx KAI KALIMERA!!! :D Kai ~!~paw gia ipno~!~

 

@@ -14,20 +14,22 @@
  */
package net.sf.l2j.gameserver.model.actor.instance;

-import java.util.Collection;
+
+
+import javolution.text.TextBuilder;
import net.sf.l2j.Config;
-import net.sf.l2j.gameserver.ai.CtrlIntention;
import net.sf.l2j.gameserver.datatables.CharTemplateTable;
+import net.sf.l2j.gameserver.datatables.NpcTable;
+import net.sf.l2j.gameserver.model.L2World;
import net.sf.l2j.gameserver.model.base.ClassId;
import net.sf.l2j.gameserver.model.base.ClassLevel;
import net.sf.l2j.gameserver.model.base.PlayerClass;
import net.sf.l2j.gameserver.model.quest.Quest;
import net.sf.l2j.gameserver.network.SystemMessageId;
import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;
-import net.sf.l2j.gameserver.network.serverpackets.MyTargetSelected;
+import net.sf.l2j.gameserver.network.serverpackets.ExShowScreenMessage;
import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
import net.sf.l2j.gameserver.network.serverpackets.SystemMessage;
-import net.sf.l2j.gameserver.network.serverpackets.ValidateLocation;
import net.sf.l2j.gameserver.templates.chars.L2NpcTemplate;
import net.sf.l2j.gameserver.util.StringUtil;

@@ -46,10 +48,22 @@
	private static final int[] SECOND_CLASS_IDS = {2, 3, 5, 6, 9, 8, 12, 13,
                 14, 16, 17, 20, 21, 23, 24, 27, 28, 30, 33, 34, 36, 37, 40, 41,
                 43, 46, 48, 51, 52, 55, 57};
+		public static L2ClassMasterInstance ClassMaster = new L2ClassMasterInstance(31228, NpcTable.getInstance().getTemplate(31228));
+		static
+		{
+			L2World.getInstance().storeObject(ClassMaster);
+		}
         private static final int[] THIRD_CLASS_IDS = {88, 89, 90, 91, 92, 93,
                 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107,
                 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118};

+
+        		
+	static
+        {
+        	L2World.getInstance().storeObject(ClassMaster);
+        }
+
	/**
	 * @param template
	 */
@@ -57,130 +71,341 @@
	{
		super(objectId, template);
	}
-
+										
	@Override
	public void onAction(L2PcInstance player)
	{
-		if (!canTarget(player)) return;
+		if (Config.DEBUG)
+					_log.fine("ClassMaster activated");

-		// Check if the L2PcInstance already target the L2NpcInstance
-		if (getObjectId() != player.getTargetId())
-		{
-			// Set the target of the L2PcInstance player
-			player.setTarget(this);
+		ClassId classId = player.getClassId();

-			// Send a Server->Client packet MyTargetSelected to the L2PcInstance player
-			player.sendPacket(new MyTargetSelected(getObjectId(), 0));
-
-			// Send a Server->Client packet ValidateLocation to correct the L2NpcInstance position and heading on the client
-			player.sendPacket(new ValidateLocation(this));
+		int jobLevel = 0;
+						int level = player.getLevel();
+						ClassLevel lvl = PlayerClass.values()[classId.getId()].getLevel();
+						switch (lvl)
+						{
+							case First: 
+								jobLevel = 1;
+								break;
+							case Second:
+								jobLevel = 2;
+								break;
+							case Third:
+								jobLevel = 3;
+								break;
+							default:
+								jobLevel = 4;
		}
-		else
+						
+												if (!Config.ALLOW_CLASS_MASTERS)
+													jobLevel = 3;
+										
+												if(player.isGM())
		{
-			if (!canInteract(player))
+													showChatWindowChooseClass(player);
+																						}
+																						else if (((level >= 20 && jobLevel == 1 ) ||
+																							(level >= 40 && jobLevel == 2 )) && Config.ALLOW_CLASS_MASTERS)
+																						{
+																							TextBuilder village = new TextBuilder("<html><body>");
+																							village.append("<center><table width=\"270\" border=\"0\" bgcolor=\"111111\">");
+																							village.append("<tr><td width=\"170\"><font color=\"5772d6\">L</font><font color=\"5772d6\">2</font><font color=\"5772d6\">R</font><font color=\"5772d6\">e</font><font color=\"5772d6\">a</font><font color=\"5772d6\">c</font><font color=\"5772d6\">t</font><font color=\"5772d6\">i</font><font color=\"5772d6\">o</font><font color=\"5772d6\">n</font></td>");
+																							village.append("<td width=\"100\" align=\"center\"><font color=\"5772d6\">Players</font><font color=\"5772d6\">:</font><font color=\"5772d6\"> " +L2World.getInstance().getAllPlayers().size()+ "</font></font></td></tr>");
+																							village.append("</table><table width=\"270\" border=\"0\">");
+																							village.append("</table>"); 
+																							village.append("<br></br>");
+																							village.append("<tr><td><center>L2Reaction</center></td></tr>");
+																							village.append("<br></br>");
+																							village.append("<tr><td><font color=\"00FF00\">MaxCheaters Class Master</font></td></tr>");
+																							village.append("<br></br>");
+																							village.append("<tr><td><font color=\"00FF00\">---------------------------------------------------</font></td></tr>");
+																							if (player.getClassId() == ClassId.fighter)
+																							{
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 1\">Advance to "+CharTemplateTable.getInstance().getClassNameById(1)+"</a></font></center><br>");
+																					       village.append("<br></br>");
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 4\">Advance to "+CharTemplateTable.getInstance().getClassNameById(4)+"</a></font></center><br>");	
+																					       village.append("<br></br>");
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 7\">Advance to "+CharTemplateTable.getInstance().getClassNameById(7)+"</a></font></center><br>");	
+																							}
+																							if (player.getClassId() == ClassId.warrior)
+																							{
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 2\">Advance to "+CharTemplateTable.getInstance().getClassNameById(2)+"</a></font></center><br>");
+																					       village.append("<br></br>");
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 3\">Advance to "+CharTemplateTable.getInstance().getClassNameById(3)+"</a></font></center><br>");	
+																							}
+																							if (player.getClassId() == ClassId.knight)
+																							{
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 5\">Advance to "+CharTemplateTable.getInstance().getClassNameById(5)+"</a></font></center><br>");
+																					       village.append("<br></br>");
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 6\">Advance to "+CharTemplateTable.getInstance().getClassNameById(6)+"</a></font></center><br>");	
+																							}
+																							if (player.getClassId() == ClassId.rogue)
+																							{
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 8\">Advance to "+CharTemplateTable.getInstance().getClassNameById(8)+"</a></font></center><br>");
+																					       village.append("<br></br>");
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 9\">Advance to "+CharTemplateTable.getInstance().getClassNameById(9)+"</a></font></center><br>");	
+																							}
+																							if (player.getClassId() == ClassId.mage)
+																							{
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 11\">Advance to "+CharTemplateTable.getInstance().getClassNameById(11)+"</a></font></center><br>");
+																					       village.append("<br></br>");
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 15\">Advance to "+CharTemplateTable.getInstance().getClassNameById(15)+"</a></font></center><br>");	
+																							}
+																							if (player.getClassId() == ClassId.wizard)
+																							{
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 12\">Advance to "+CharTemplateTable.getInstance().getClassNameById(12)+"</a></font></center><br>");
+																					       village.append("<br></br>");
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 13\">Advance to "+CharTemplateTable.getInstance().getClassNameById(13)+"</a></font></center><br>");	
+																					       village.append("<br></br>");
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 14\">Advance to "+CharTemplateTable.getInstance().getClassNameById(14)+"</a></font></center><br>");	
+																							}
+																							if (player.getClassId() == ClassId.cleric)
+																							{
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 16\">Advance to "+CharTemplateTable.getInstance().getClassNameById(16)+"</a></font></center><br>");
+																					       village.append("<br></br>");
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 17\">Advance to "+CharTemplateTable.getInstance().getClassNameById(17)+"</a></font></center><br>");	
+																							}
+																							if (player.getClassId() == ClassId.elvenFighter)
+																							{
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 19\">Advance to "+CharTemplateTable.getInstance().getClassNameById(19)+"</a></font></center><br>");
+																					       village.append("<br></br>");
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 22\">Advance to "+CharTemplateTable.getInstance().getClassNameById(22)+"</a></font></center><br>");	
+																							}
+																							if (player.getClassId() == ClassId.elvenKnight)
+																							{
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 20\">Advance to "+CharTemplateTable.getInstance().getClassNameById(20)+"</a></font></center><br>");
+																					       village.append("<br></br>");
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 21\">Advance to "+CharTemplateTable.getInstance().getClassNameById(21)+"</a></font></center><br>");	
+																							}
+																							if (player.getClassId() == ClassId.elvenScout)
+																							{
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 23\">Advance to "+CharTemplateTable.getInstance().getClassNameById(23)+"</a></font></center><br>");
+																					       village.append("<br></br>");
+																							village.append("<center><font color=\"CCFF00\"><a action=\"bypass -h npc_"+getObjectId()+"_change_class 24\">Advance to "+CharTemplateTable.getInstance().getClassNameById(24)+"</a></font></center><br>");	
+																							
.....(exi k sinexia den xorage :P )

download link: http://www.maxcheaters.com/forum/index.php?topic=90270.0

Posted

καλά πες μου ακριβώς το request σου, για να κάτσω να το δουλέψω με ένα παιδί.

Loipon tha sto pw me paradigma

eimai sto cementery me bot kai famaro

me vlepei kapoios kai me kanei target kai pataei .report

kai emfanizete se emena ena parathiro me enan kodiko

egw prepei na grapsw afton ton kodiko kai na patiso ok mesa se 30 second

alios tha paw Jail gia 15 lepta

ok?

Posted

crystalia mporis plz na m stilis to code gia mass sub class dld na pas mono se enan high priest k na mporis na kanis ola ta sub :) aa episis ama mporis ena code p na exoun dikeoma gia hero voice k i leader ton clan me castle :)

Posted

crystalia mporis plz na m stilis to code gia mass sub class dld na pas mono se enan high priest k na mporis na kanis ola ta sub :) aa episis ama mporis ena code p na exoun dikeoma gia hero voice k i leader ton clan me castle :)

gia to proto pou zitises Here

to deftero den to vrika..

Posted

einai sketo java code?i xriazete kapoio html,sql,client side?


Uparxei kanena etimo i mporei kapoios na mou ftia3ei


opoios mporei kai an einai grigoro as mou ftia3ei kanena..kai an tou aresei as ftia3ei kai kana parapanw (dwarf/human/orc) :D


Thnx In advance

υπάρχει ήδη στο L2jFrozen.
Posted

crystalia mporis plz na m stilis to code gia mass sub class dld na pas mono se enan high priest k na mporis na kanis ola ta sub :) aa episis ama mporis ena code p na exoun dikeoma gia hero voice k i leader ton clan me castle :)

το πρώτο στο έδωσε ο UnSponsored. το 2ο θα το κάνω share σε λίγο.
Posted

(telika crystalia mporis na me voi8isis me tn class master???)

 

20/7/12. 4:49πμ. update: den pirazi to vrika

 

kane afto p zitaei o sexomaniokos einai k gamw tous code to need kai egw!!! :D

Posted

καλά πες μου ακριβώς το request σου, για να κάτσω να το δουλέψω με ένα παιδί.

Loipon tha sto pw me paradigma

eimai sto cementery me bot kai famaro

me vlepei kapoios kai me kanei target kai pataei .report

kai emfanizete se emena ena parathiro me enan kodiko

egw prepei na grapsw afton ton kodiko kai na patiso ok mesa se 30 second

alios tha paw Jail gia 15 lepta

ok?

Guest
This topic is now closed to further replies.



  • Posts

    • @Darafamboos let him know that this is already shared
    • Selling for 35 us umodel that opens any ukx , utx and static meshes from samurai updat 542 protocol . Leave me a pm if needed. 
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
    • NEW HIDDENSTASH KEY SYSTEM INTRODUCED TO THE SITE   **Earn While You Spend - Introducing HS Cashback!**   Every purchase on our site now rewards you with **HS Keys cashback**   EVERY ONE WHO REGISTERS IN SITE UNTILL 15TH OF MAY GETS 2000 HS KEYS IN HES BALANE   Here's how it works:       **1 USD = 1000 HS Keys**   **Get 3% cashback** on every purchase   **Use your HS Keys to **save on your next order**   ---   ### ⚡ Why this is awesome   * Every order gives you value back   * Stack it with promos & HS usage   * Turn your spending into future discounts   ---   ### Example   Spend **$10** → Get **300 HS Keys** back   Spend **$50** → Get **1500 HS Keys** back   ---   ### Smart system (built for fairness)   * Cashback is rounded to keep things balanced   * Prevents abuse from tiny orders   * Rewards real buyers   ---   ### Start earning now   Every purchase = progress toward your next discount   Shop now and build your HS balance!   #cashback #gamingdeals #d2r #rewards #loyalty   Stay safe out there, heroes - and happy hunting! www.d2rhiddenstash.com     We just launched our new Affiliate Program — and it’s the easiest way to earn HS Keys.   Invite your friends using your personal link.   Example: If your friend spends $10 → you get 300 HS Keys No limits. No effort. Just share your link.   Get your referral link here: www.d2rhiddenstash.com/profile     Start earning today
    • It’s time for something new to rise. In a world filled with short-lived projects and empty promises, Emerge was created with a different vision — a vision built on experience, precision, and long-term commitment. This is not just another server launch. This is the beginning of something that is meant to last. 🌑 Eclipse x10 – A New Beginning Eclipse x10 is designed for players who seek more than just fast progression. It is built for those who value competition, balance, and a real Lineage II experience. From the very first day, every system has been carefully adjusted to provide a smooth and fair journey — where both solo players and clans can thrive. No shortcuts. No chaos. Only a structured and competitive world. ⚔️ What Awaits You • A balanced mid-rate environment (x10 core progression) • Stable and optimized gameplay • Fair systems with focus on long-term play • Competitive PvP and rewarding PvE • Active and dedicated administration • A project built with vision, not temporary hype 📊 Server Rates Basic: EXP/SP: x10 Adena: x5 Drop: x5 Spoil: x5 Secondary: Quests: x1 Seal Stones: x5 Life Stone Drop: x1 Enchant Scroll Drop: x1 Bosses: Raid Boss EXP/SP: x1 Raid Boss Drop: x1 Epic Boss EXP/SP: x1 Epic Boss Drop: x1 Enchant: Safe: +3 Max: +16 📅 Launch Information Grand Opening: 5 June 2026 The countdown has already begun. Clans are forming. Strategies are being prepared. The question is — will you be ready? 🔗 Join the Community Every strong server begins with a strong community. Be part of it from the very start. 💬 Discord: https://discord.gg/l2emerge 🌐 Website: https://www.l2emerge.com  
  • 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..