-
Posts
245 -
Credits
0 -
Joined
-
Last visited
Never -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Mit-sos
-
[Guide] ClassMaster l2JServer-Frozen
Mit-sos posted a topic in Server Development Discussion [Greek]
Ka8e tris meres (sigoura) exw di apo enan na rotaei gia ClassMaster sto help section :P opote ipa na kano enan Guide gia afto. :D Einai Apistefta aplo kai efkolo to na valis tn ClassMaster ---------------------------------------------------------------------------------------------------- [glow=red,2,300]L2JFrozen:[/glow] Pigente sta /config/ meta /head/ kai meta vrite to /altsettings/ psakste mesa sto arxio altsettings vrite eki p leei AllowClassMaster=false kai kanteto true!!! Restart Server. Mpite me Gm Char kai Spawn 31228 ---------------------------------------------------------------------------------------------------- [glow=red,2,300]L2JServer[/glow] Pigente /Config/ meta /altsettings/ vrite pali to AllowClassMasters = False <------- kai kanteto True ...Restart tn server kai Logarete me tn gm Char kai patiste //spawn roy_the_cat kai iste etimi ---------------------------------------------------------------------------------------------------- -
problem with class manager
Mit-sos replied to paulos13's question in Request Server Development Help [Greek]
an exis l2jfrozen pigene sto config/head/altsettings, meta vale afto true: AllowClassMaster=false . kai ise ok!!! -
[Help] spawn Problem
Mit-sos replied to Mit-sos's question in Request Server Development Help [Greek]
exw l2JServer kai exw target to npc... exw doulepsi k se l2jfrozen ala pote den m to ekane afto!!! kai exw psaksi sta config prin postarw den exw vri tpt!!! -
re gamato na rotisw kati??? kanw spawn ena npc stin giran i opou dipote k anti na bgi mprosta mou bgeni stin mesi tis giran i stin mesi ka8e polis k osa npc kai na spawnarw kanoun to idio! gt sinveni afto???
-
Hello :D lets see the top videos 0n youtube [glow=red,2,300]1.Justin Bieber - Baby ft. Ludacris; 756,207,676 views [/glow] (its like shit i dont like the Bieber!!! all the music industry trying to build the new Michael Jackson and do not believe that the people listen the Justin Bieber............ Bieber's 'Baby' it's The Most Hated Video on YouTube For Now) [glow=red,2,300]2. Jennifer Lopez - On The Floor ft. Pitbull; 562,768,353 views[/glow] (I hear this song enough and personally I like it :D ) [glow=red,2,300]3. Shakira - Waka Waka(This Time for Africa); 480,535,958 views[/glow] ! (The moment to africa gives the best at what it does well) [glow=red,2,300]4. Lady Gaga - Bad Romance; 475,869,439 views[/glow] (this song is freaking me out) [glow=red,2,300]5. Eminem - Love The Way You Lie ft. Rihanna; 474,079,547 views[/glow] (a romantic r&b song from eminem and rihanna. I heard Eminem since I was boy, other songs make me laugh and other make me feel good) [glow=red,2,300]6. Charlie bit my finger - again !; 464,987,205 views[/glow] (hahahahahaah cute) [glow=red,2,300]7. LMFAO - Party Rock Anthem ft. Lauren Bennett, GoonRock; 458,901,798 views[/glow] (I do not have anything to say because everyday im shuffling) [glow=red,2,300]8. Michel Telo - Ai Se Eu Te Pego - Oficial (Assim voce me mata); 388,731,319 views[/glow] (hahahaha .Ιf you are from Greece and you will laugh) Thanks for your attention see you around ;D
-
Guide [Gr] Μάθετε Τι Φύλο Είναι Ο Υπολογιστής Σας
Mit-sos replied to ionos12's topic in Guides & Tutorials
Gineka!!! k etsi pos tn akouw einai k milfara ;) -
Share [Interlude] Abyssal Armor And Weapons. With Hero Glow!
Mit-sos replied to Mit-sos's topic in Client Development Discussion
send me a pm when the you do it, sounds good!!! -
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
-
Lock vrika tn lisi!
-
Iparxi kapios edo (pls na iparxi) pou na kseri ena link apo opou mporw na katevasw enan Sql Creator GIA L2JSERVER!!! gt psaxnw k den mporw na vrw!
-
ksanarota mia pio ka8ara!!!
-
[question] login on game!!!
Mit-sos replied to Mit-sos's question in Request Server Development Help [Greek]
grapste akiro -beep-ia rotisa!!! tsekara k me l2jfrozen pali dn mporw na logaro!!! an mpori kapios na m dosi kapia idea!!! alios psaxno monos :P ala an ginete rixte ena xeraki!!! -
[question] login on game!!!
Mit-sos replied to Mit-sos's question in Request Server Development Help [Greek]
oxi ka8olou!!! proti fora to pa8enw!!! kai amesos meta afou evala tn code!!!! -
[question] login on game!!!
Mit-sos replied to Mit-sos's question in Request Server Development Help [Greek]
re kai egw afto pistevw ala ti ston versevoul eki p ola einai ok pernaw 3-4 code kai terma den mporw na logaro!!! kses ti alo mpori na pezi? (port den einai sigoura tsekara) -
gia sas maxcheatronia pos paei??? i8ela na rotisw! ginete eksetias kapiou code na min mporis na logaris sto game??? ala na min sou bgali error sto code i sto build??? mpori na sinvi afto i alou einai to provlima???
-
[HELP]Dynasty Dual
Mit-sos replied to G1annhs08's question in Request Server Development Help [Greek]
prepi na dior8osis to .xml arxio kai na ta perasis sosta!!! -
[HELP]Dynasty Dual
Mit-sos replied to G1annhs08's question in Request Server Development Help [Greek]
na se rotisw kati? (gt m ixe gini afto) s bgazi kanena error to gameserver otan fortoni ta skill??? gt pezi na min exis perasi sosta to .xml arxio i na min to exis kan!!! an s bgazi error malon einai la8os to .xml arxio!!! -
[15euro] l2j inderlude pack and client
Mit-sos replied to Mit-sos's topic in Marketplace [L2Packs & Files]
thx!!! i try to upgrade this pack to be worth the money!!! -
[15euro] l2j inderlude pack and client
Mit-sos replied to Mit-sos's topic in Marketplace [L2Packs & Files]
ok you ar the pro!!! go make it!