Jump to content

^Wyatt

Members
  • Posts

    1,418
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Everything posted by ^Wyatt

  1. Aren't the armos and weapons inside armorgrp.dat and weaponrpg.dat or whatever..?
  2. Ofc, checking the document parser that gets the info of those xmls and see what's wrong, whats missing or what must be removed. But the best solution is to leave this crappy pack and use something stable, like aCis.
  3. You should try to use proper english to make u understand. So... seems that 1 error is when creating a new char? Which custom code did you edit/add that has something to do with storing player variables in the database ? And the other is in doDie() method.. what did you touch there? If you don't provide more information is really hard for us to help you.
  4. Locked, the error wasn't in the xml, new post opened :rage:
  5. Jesus... or l2jfrozen are nerds and have bugs in weapon stats xml or you are using a different rev between datapack and core that could cause this.
  6. How can someone be more trusted than another one? Imo, you are trusted or you aren't, that's all. Didn't vote :happyforever:
  7. Waaay too slow... And I can't associate it with a private server ad, seems more like a "fun" video.
  8. If you are "not interested enough to learn java" and u have no time to spend on it "coz it won't bring u any benefits", just avoid posting here trying to receive help anymore. Jesus, attitudes like that makes me thing why did I even try to help you. Topic locked since it's going offtopic.
  9. This is the worst way ever but should work... as the first solution... ### Eclipse Workspace Patch 1.0 #P L2J_Server Index: java/com/l2jserver/gameserver/instancemanager/TransformationManager.java =================================================================== --- java/com/l2jserver/gameserver/instancemanager/TransformationManager.java (revision 6223) +++ java/com/l2jserver/gameserver/instancemanager/TransformationManager.java (working copy) @@ -46,7 +46,7 @@ public boolean transformPlayer(int id, L2PcInstance player) { L2Transformation template = getTransformationById(id); - if (template != null) + if ((template != null) && (id != 301) && (id != 302)) { L2Transformation trans = template.createTransformationForPlayer(player); trans.start();
  10. Now I can't help you but try CTRL + H "cursedweapon" in your workspace and check if it's another transform method somewhere else Edit: I did it and I don't find any other transform method for cursed weapons... are u sure that what I posted doesn't work?...
  11. :o rly still transforming?
  12. Reply if it works or not to lock it or not :D
  13. You can understand some points of java just by logic... ofc it can seem complicated for a newbie, but like all things... For example: return players_map.values().toArray(new L2PcInstance[0]); What would .values() mean? to get the values of your map? -> logic players_map.put(index, player); What would .put() mean? to put a value inside your map? -> logic return players_map.get(index); What would .get() mean? to get a value from your map? -> logic return players_map.containsValue(player); What would .containsValue() mean? to know if something is inside your map? -> logic
  14. Gludin is 5, at least in H5...
  15. "9" is Giran town, change it to change the zone L2ZoneType zone = TownManager.getInstance().getTown(9); and change the text where says "giran"... to add reward change -HiddenBastard.endAndReward(); +HiddenBastard.endAndReward(activeChar); and change -public static void endAndReward() +public static void endAndReward(L2PcInstance activeChar) { - //reward with the way you want to - //bastard.blabla + activeChar.addItem("Reward", 57, 1000, activeChar, true) } 57-> item id1000-> item count
  16. U could try something like... ### Eclipse Workspace Patch 1.0 #P L2J_Server Index: java/com/l2jserver/gameserver/model/CursedWeapon.java =================================================================== --- java/com/l2jserver/gameserver/model/CursedWeapon.java (revision 6193) +++ java/com/l2jserver/gameserver/model/CursedWeapon.java (working copy) @@ -30,7 +30,6 @@ import com.l2jserver.gameserver.ThreadPoolManager; import com.l2jserver.gameserver.datatables.SkillTable; import com.l2jserver.gameserver.instancemanager.CursedWeaponsManager; -import com.l2jserver.gameserver.instancemanager.TransformationManager; import com.l2jserver.gameserver.model.L2Party.messageType; import com.l2jserver.gameserver.model.actor.L2Attackable; import com.l2jserver.gameserver.model.actor.L2Character; @@ -81,14 +80,13 @@ private L2ItemInstance _item = null; private int _playerKarma = 0; private int _playerPkKills = 0; - protected int transformationId = 0; - private static final int[] TRANSFORM_IDS = new int[] - { - 3630, - 3631 - }; + // protected int transformationId = 0; + /* + * private static final int[] TRANSFORM_IDS = new int[] { 3630, 3631 }; + */ + public CursedWeapon(int itemId, int skillId, String name) { _name = name; @@ -311,7 +309,7 @@ public void cursedOnLogin() { - doTransform(); + // doTransform(); giveSkill(); SystemMessage msg = SystemMessage.getSystemMessage(SystemMessageId.S2_OWNER_HAS_LOGGED_INTO_THE_S1_REGION); @@ -349,7 +347,7 @@ _player.addSkill(skill, false); skill = SkillTable.FrequentSkill.VOID_FLOW.getSkill(); _player.addSkill(skill, false); - _player.setTransformAllowedSkills(TRANSFORM_IDS); + // _player.setTransformAllowedSkills(TRANSFORM_IDS); if (Config.DEBUG) { _log.info("Player " + _player.getName() + " has been awarded with skill " + skill); @@ -357,42 +355,17 @@ _player.sendSkillList(); } - public void doTransform() - { - if (_itemId == 8689) - { - transformationId = 302; - } - else if (_itemId == 8190) - { - transformationId = 301; - } - - if (_player.isTransformed() || _player.isInStance()) - { - _player.stopTransformation(true); - - ThreadPoolManager.getInstance().scheduleGeneral(new Runnable() - { - @Override - public void run() - { - TransformationManager.getInstance().transformPlayer(transformationId, _player); - } - }, 500); - } - else - { - TransformationManager.getInstance().transformPlayer(transformationId, _player); - } - } + /* + * public void doTransform() { if (_itemId == 8689) { transformationId = 302; } else if (_itemId == 8190) { transformationId = 301; } if (_player.isTransformed() || _player.isInStance()) { _player.stopTransformation(true); ThreadPoolManager.getInstance().scheduleGeneral(new Runnable() { + * @Override public void run() { TransformationManager.getInstance().transformPlayer(transformationId, _player); } }, 500); } else { TransformationManager.getInstance().transformPlayer(transformationId, _player); } } + */ public void removeSkill() { _player.removeSkill(_skillId); _player.removeSkill(SkillTable.FrequentSkill.VOID_BURST.getSkill().getId()); _player.removeSkill(SkillTable.FrequentSkill.VOID_FLOW.getSkill().getId()); - _player.untransform(); + // _player.untransform(); _player.sendSkillList(); } @@ -459,7 +432,7 @@ // Disable All Skills // Do Transform - doTransform(); + // doTransform(); // Add skill giveSkill();
  17. I've tested the xml as you posted and It's working fine.
  18. Try to lower the amount of adena, as xdem said, then. U can also try to remove some items, start with 2, if u can see 2, add 3, and see where the xml is breaking... but seems fine...
  19. I mean to change the name of the xml...
  20. Then it's kinda illogical bug, I remember that 1 guy posted the same problem and was using frozen too, what he did was create another xml with another number and it just worked.
  21. I don't think that's about price, if it would be about price, the first weapon shouldn't be shown... nope? However, are u reloading or restarting? windows or linux? :happyforever:
  22. Lol it was a visual bug, now i see what you posted, different, w8 :rage: I don't see any problem, are you editing it and reloading xmls ingame or are u restarting the server...? Btw, linux or windows?
  23. :happyforever: Locked.
  24. Look every line... you have a "-" before every line, remove it.
  25. Post the xml file here, if possible pastebin link.
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock