-
Posts
1,418 -
Joined
-
Last visited
-
Days Won
2 -
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by ^Wyatt
-
Aren't the armos and weapons inside armorgrp.dat and weaponrpg.dat or whatever..?
-
L2Jfrozen Gameserver Error Close Connectiong
^Wyatt replied to Network's question in Request Server Development Help [L2J]
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. -
[Help]Problem With Gm-Shop
^Wyatt replied to xxemilxx3's question in Request Server Development Help [L2J]
Locked, the error wasn't in the xml, new post opened :rage: -
How can someone be more trusted than another one? Imo, you are trusted or you aren't, that's all. Didn't vote :happyforever:
-
Share Lineage 2 Video Mega Edit! (Hd)
^Wyatt replied to jackpacrew's topic in General Discussion [English]
Waaay too slow... And I can't associate it with a private server ad, seems more like a "fun" video. -
[Question] About Fastmap
^Wyatt replied to andon19's question in Request Server Development Help [L2J]
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. -
[Question]Demonic Swords Transformation
^Wyatt replied to funnyDog's question in Request Server Development Help [L2J]
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(); -
[Question]Demonic Swords Transformation
^Wyatt replied to funnyDog's question in Request Server Development Help [L2J]
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?... -
[Question]Demonic Swords Transformation
^Wyatt replied to funnyDog's question in Request Server Development Help [L2J]
:o rly still transforming? -
[Question]Demonic Swords Transformation
^Wyatt replied to funnyDog's question in Request Server Development Help [L2J]
Reply if it works or not to lock it or not :D -
[Question] About Fastmap
^Wyatt replied to andon19's question in Request Server Development Help [L2J]
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 -
Gludin is 5, at least in H5...
-
"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
-
[Question]Demonic Swords Transformation
^Wyatt replied to funnyDog's question in Request Server Development Help [L2J]
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(); -
[Help]Problem With Gm-Shop
^Wyatt replied to xxemilxx3's question in Request Server Development Help [L2J]
I've tested the xml as you posted and It's working fine. -
[Help]Problem With Gm-Shop
^Wyatt replied to xxemilxx3's question in Request Server Development Help [L2J]
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... -
[Help]Problem With Gm-Shop
^Wyatt replied to xxemilxx3's question in Request Server Development Help [L2J]
I mean to change the name of the xml... -
[Help]Problem With Gm-Shop
^Wyatt replied to xxemilxx3's question in Request Server Development Help [L2J]
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. -
[Help]Problem With Gm-Shop
^Wyatt replied to xxemilxx3's question in Request Server Development Help [L2J]
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: -
[Help]Problem With Gm-Shop
^Wyatt replied to xxemilxx3's question in Request Server Development Help [L2J]
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? -
Eclipse Lines Finding
^Wyatt replied to TraineeDreamer's question in Request Server Development Help [L2J]
:happyforever: Locked. -
[Help]Problem With Gm-Shop
^Wyatt replied to xxemilxx3's question in Request Server Development Help [L2J]
Look every line... you have a "-" before every line, remove it. -
[Help]Problem With Gm-Shop
^Wyatt replied to xxemilxx3's question in Request Server Development Help [L2J]
Post the xml file here, if possible pastebin link.
