-
Posts
678 -
Credits
0 -
Joined
-
Last visited
-
Days Won
9 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by tazerman2
-
solved How to open doors that close after restart[IL]
tazerman2 replied to KaLeDoR's question in Request Server Development Help [L2J]
go to l2doorInstance.java after this _unlockable = unlockable; use this openCustomDoors(); after use this build and ready. private static void openCustomDoors() { DoorTable.getInstance().getDoor(use door Id).openMe(); DoorTable.getInstance().getDoor(use door Id).openMe(); } dont forget to use ID's from doors -
sorry but for me is not good open server with l2jfrozen because all know have bugs l2jfrozen after a version is destroyed about like. have bug pet's - no have cooldown skill event's is stuck dont do teleport and siege.. is not spawn pray npc + guard and last is movement all mob's is stuck to wall and have much more problems i have a list if you have time for fix 300+ problems.. i have working on l2jfrozen 4+ years and i know and i have a list from problems... but anyway is your server i just say my option.
-
one more smile code i make l2jroboto eflocrash code the fake players play pvp.. but the problem is for have all time pvp you need make a zone with respawn teleport like primeval isle i think you like it. enjoy com/elfocrash/roboto/ai/FakePlayerAI.java find this - protected void tryTargetRandomCreatureByTypeInRadius(Class<? extends Creature> creatureClass, int radius) - { - if(_fakePlayer.getTarget() == null) { - List<Creature> targets = _fakePlayer.getKnownTypeInRadius(creatureClass, radius).stream().filter(x->!x.isDead()).collect(Collectors.toList()); - if(!targets.isEmpty()) { - Creature target = targets.get(Rnd.get(0, targets.size() -1 )); - _fakePlayer.setTarget(target); - } - }else { - if(((Creature)_fakePlayer.getTarget()).isDead()) - _fakePlayer.setTarget(null); - } - } change wtih this + protected void tryTargetRandomCreatureByTypeInRadius(Class<? extends L2Character> creatureClass, int radius) + { + if (_fakePlayer.getTarget() == null) + { + if(_fakePlayer.isInsideZone(ZoneId.PEACE) || _fakePlayer.isInsideZone(ZoneId.TOWN)) + return; + + List<L2Character> targets = _fakePlayer.getKnownTypeInRadius(creatureClass, radius).stream().filter(x -> !x.isDead()).collect(Collectors.toList()); + if (!targets.isEmpty()) + { + L2Character target = targets.get(Rnd.get(0, targets.size() - 1)); + + if (_fakePlayer.getPvpFlag() == 0 && target.getActingPlayer().getPvpFlag() == 0 || _fakePlayer.getPvpFlag() != 0 && target.getActingPlayer().getPvpFlag() == 0 || _fakePlayer.getPvpFlag() == 0 && target.getActingPlayer().getPvpFlag() != 0 || _fakePlayer.getPvpFlag() != 0 && target.getActingPlayer().getPvpFlag() != 0) + _fakePlayer.setTarget(target); + + else if (_fakePlayer.getKarma() > 0 && target.getActingPlayer().getKarma() == 0 || _fakePlayer.getPvpFlag() == 0 && target.getActingPlayer().getKarma() > 0 || _fakePlayer.getPvpFlag() > 0 && target.getActingPlayer().getKarma() > 0) + _fakePlayer.setTarget(target); + + } + } + else + { + if (((L2Character) _fakePlayer.getTarget()).isDead()) + _fakePlayer.setTarget(null); + } + } and from all class name AI with name this *** public void thinkAndAct() *** find all this - tryTargetRandomCreatureByTypeInRadius(FakeHelpers.getTestTargetClass(), FakeHelpers.getTestTargetRange()); and change with this + if (_fakePlayer.getKnownTypeInRadius(FakePlayer.class, FakeHelpers.getTestTargetRange()) != null) + { + tryTargetRandomCreatureByTypeInRadius(FakeHelpers.getTargetPvPClass(), FakeHelpers.getTestTargetRange()); + } + + else if (_fakePlayer.getKnownTypeInRadius(Monster.class, FakeHelpers.getTestTargetRange()) != null) + { + tryTargetRandomCreatureByTypeInRadius(FakeHelpers.getTargetMobClass(), FakeHelpers.getTestTargetRange()); + } on FakeHelpers.java after this public static Class<? extends L2Character> getTargetMobClass() { return Monster.class; } put this + //target fakeplayers instance only... + public static Class<? extends L2Character> getTargetPvPClass() + { + return FakePlayer.class; + } if any have problem post error only... tnx.
-
solved Heal npc and doors
tazerman2 replied to l2fire's question in Request Server Development Help [L2J]
true and here you can.. -
solved Heal npc and doors
tazerman2 replied to l2fire's question in Request Server Development Help [L2J]
if you have acis you need use check here not in clientpackets private boolean checkUseMagicConditions(L2Skill skill, <---- PcInstance -
yeeeessssssss OMG my second best server with campaneli some like this and some weapon from l2gold i remember have apella armor with AA i farm all day for have this armor... best c4 server ahhhhh i looking if i can find patch system but is not easy 9 years.. ++
-
[GR] hello mxc. meta apo peripou 3 xronia apofasisa gia mia akoma fora na dokimaso kai ego pali ena server pou doulepsa pano se afto to project arketous mines oste na min eiparxei kapio thema to project einai full stimeno me basi ton good vs evil to thema mou einai oti distixos stis meres mas an pas solo den tha kerdisis kai polla etsy to blepo ego dld.. Giafto anazito ena sinergati na mpori na diathesi kapia xrimata (OXI POLLA AFTA THA TA POUME PRIVE) kai na bali idees gia ton server kai na boithisi stin diafimisi tou mazi me enan advertise pou skopebo na pliroso kai episis na diathesi esto kai 2 ores to poli tin mera den xriazome gia event dioti exo arketa gia na balo ton gm na kanei event kai (ksero oli exoune prosopiki zwh giafto kanis den kathete poli sto pc idika an eisai enas aplos GM) to poso pou tha diatheso tha to sizitisoume prive dioti exo kanei erebna gia ola. an se endiaferi to olo thema stile mou prive. sas efxaristo pou afierostate xrono esto gia na to diabasete. to system pou exei einai sxedon san to palio ton 1 GvE server dioti epeza kai thimame arketa apo afton. edo exo merikes foto einai palies pou simeni oti exo alaksi kapia apo afta https://imgur.com/a/nN2f5
- 1 reply
-
- 2
-
-
Help rebirth system acis 370 help
tazerman2 replied to mair's question in Request Server Development Help [Greek]
efkolo fenete -
Help backup manager for l2j server
tazerman2 replied to GoldenNightmare's question in Request Server Development Help [L2J]
@melron how to run this like ingame ? or with cmd call ? -
curse me for one downvote is allow ? just i say my option with vote like. https://imgur.com/a/YCkcdHf
-
that you looking pfff... maybe look better inside
-
[GR] stile mou prive mpori na mporo na se help.
-
Help Help with website font color
tazerman2 replied to GhostOfSoul's topic in Request Support [English]
[GR] mesa apo script to alazis to color psakse kapou afto #colored i etsy .colored kai leei se mia sira font-color: #1231as; p.x. -
help with map list & arraylist
tazerman2 replied to tazerman2's question in Request Server Development Help [L2J]
tnx kara & tryskell for help i try to make a list restore buff without use name and if any player need make a second list the only need to do is to use a name to old list for save buff like "fighter" and after make a new list like "mage" -
mirazo mplokakia kai stilous gia na arxisete na grafete ligo. min dinete simasia se tetia pragmata gt poli apla aftos xani kai oxi esy. kai stin zwh eiparxoune pio simandika pragmata apo to na asxolise me ton kathena pou exei problima ston egefalo peace!
-
hello i have make a restore buffer with map & arraylist so i need make a more option like player can save that list with name + can make a new list like fighter/mage i think for me this method is better from scheme buffer. anyway. how to get a list and make a new list with name private Map<Integer, ArrayList<Integer>> _restore = new HashMap<>(); i call this from add buff private ArrayList<Integer> getOwnBuffs(final int objectId) { if (_restore.get(objectId) == null) { synchronized (_restore) { _restore.put(objectId, new ArrayList<Integer>()); } } return _restore.get(objectId); } restore list ArrayList<Integer> bufs = getOwnBuffs(player.getObjectId()); for (final Integer id : bufs) { player.broadcastPacket(new MagicSkillUse(this, player, id, SkillTable.getInstance().getMaxLevel(id), 500, 0)); SkillTable.getInstance().getInfo(id, SkillTable.getInstance().getMaxLevel(id)).getEffects(this, player); } from here he add buffs and he check if skill is not same from skill list if (!getOwnBuffs(player.getObjectId()).contains(skillId)) { getOwnBuffs(player.getObjectId()).add(skillId); }
-
Help (Code adapt) Hi5 to Interlude
tazerman2 replied to IvanLabonia's question in Request Server Development Help [L2J]
easy code send me your skype i can make this to java + xml for can use much locaction + much raidboss -
Discussion Fake Players Engine
tazerman2 replied to Elfo's topic in Server Development Discussion [L2J]
can try i need party farm & clan pvp only -
Discussion Fake Players Engine
tazerman2 replied to Elfo's topic in Server Development Discussion [L2J]
you sell this engine with party + clan ? -
Help Website, Raid Map need help
tazerman2 replied to remigas's question in Request Server Development Help [L2J]
maybe is not connect to mysql; you have create db user for can connect site -> server ? for can take info from mysql -
Help L2BufferInstance help
tazerman2 replied to l2fire's question in Request Server Development Help [L2J]
check from other npc java action and you find the problem :) -
config/head/altsettings.properties # ---------------------------------------------- # # Npc # # ---------------------------------------------- # # Npc Attackable # True: You can attack Npcs # False: Npc/Mobs don't take damages NpcAttackable = True from False
-
Discussion Fake Players Engine
tazerman2 replied to Elfo's topic in Server Development Discussion [L2J]
WOW i need this bot like party, pvp, clan etc.. you sell it ? -
Help EnchantItemOptions.xml
tazerman2 replied to InFocus's question in Request Server Development Help [L2J]
your code have a list if you can post here enchantoptions.java for see that more have you find it here import com.l2jserver.gameserver.model.options.EnchantOptions; -
WTS [L2J] ❤L2Insane Server Files ❤ INTERLUDE PVP
tazerman2 replied to L2Insane's topic in Marketplace [L2Packs & Files]
i never buy a l2jfrozen pack because have to much bug's and problems in olympiad, event's, tasksave and after 600 on have big traffic and he have lag.. And have much missing from monster's, raidboss, skill's gl.