-
Posts
46 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by Meydex
-
WTB WTB interface.u Source + Compiler for Gracia Final.
Meydex replied to Meydex's topic in Marketplace [L2Packs & Files]
Tested and works! Thanks a lot! -
WTB WTB interface.u Source + Compiler for Gracia Final.
Meydex replied to Meydex's topic in Marketplace [L2Packs & Files]
I did search and tried a few compilers but they all seem to work for other chronicles such as Interlude, High Five etc. Do you have anything specific in mind and willing to share? -
Hello, I've got a simple question regarding the creation of items in the source code. I noticed that each time a mob drops an item, a copy of it but with null value is appearing in the player's inventory (Disappearing after inventory refresh). After a small research I found out that this method is to blame: public L2ItemInstance createDummyItem(int itemId) { L2Item item = getTemplate(itemId); if (item == null) { return null; } L2ItemInstance temp = new L2ItemInstance(0, item); return temp; } So my question is: What is this method's usability? What If I remove it from the addItem method on L2PcInstance and correct the double item issue on players inventory ? Would would be the impact? Thanks
-
Hello, Are the patches going to be available for download any time soon?
- 5 replies
-
- L2J
- Grand Opening
-
(and 3 more)
Tagged with:
-
Help Npc Link To Community Board Bypass Problem.
Meydex posted a question in Request Server Development Help [L2J]
Greetings, I am trying to replace the way Npcs redirect you to simple HTML text with community board html text. I edited L2Npc class and changed the NpcHtmlMessage with the Util.SendCBHtml method and I managed to make the window open in the CB but the buttons with the npc's bypasses do not work at all. Note: The html text is the same I used to have on my npcs before the change, when the bypasses used to work. Any ideas on how to make them functional again while on CB? Am I missing something here? Thanks.- 1 reply
-
- communityboard
- bypass
-
(and 2 more)
Tagged with:
-
Hello, Quick question: I noticed that each time a click a button on an HTML text and I have teleport protection on, the protection is cancelled. That's probably because it triggers on action request but I've got no idea which packet is requested each time I click that button. Do you guys have any clues?
-
Help Monsters Not Return To His Spawns
Meydex replied to iAlreadyExist's question in Request Server Development Help [L2J]
Try ---> moveToLocation(spawnX, spawnY, spawnZ, false); If that doesn't work as well you'll need to search for that method and see if the argument list matches yours. -
Help Monsters Not Return To His Spawns
Meydex replied to iAlreadyExist's question in Request Server Development Help [L2J]
Hey there, This is absolutely no bug. Its just retail like. I discovered this 2 weeks ago too and it was pretty easy to fix. You'll need to copy the checkAndReturnTospawn method from L2RaidBossInstance.java, paste it to L2MonsterInstance.java and introduce it to the startMaintaince task. Also if you wish to have the monsters/bosses move to their previous location instead of teleport, you can change the teleTo... method to moveTo and you are set! -
Do You Like Those Weapons For A Mid Rate?
Meydex replied to Kelrzher's topic in Server Development Discussion [L2J]
Nice job mate! I decided to use some of them too on my project and it seems that some players from old custom servers crave them :D . For those that insist that they are stolen from other servers, let me remind you that they all exist in the official client (created for npcs obviously). Since you asked for opinion, I would suggest focusing on introducing the smaller ones cause some of them might seem uncomfortably big for players like Tryskell said. Good luck with your mid rate project! -
Well it is a pretty practical idea. No wonder other servers use it too :)
-
Help Question About Item Categorisation.
Meydex replied to Meydex's question in Request Server Development Help [L2J]
Yeah I thought about that parameter too but I am running the project on my own so it is ok :)- 7 replies
-
- l2item
- l2iteminstance
-
(and 2 more)
Tagged with:
-
Help Question About Item Categorisation.
Meydex replied to Meydex's question in Request Server Development Help [L2J]
Oh I see, so technically speaking the first way is better in terms of performance but less efficient. Since I've got very few ids I think I am gonna stick with the first one . Thanks for your replies guys :) You may lock it.- 7 replies
-
- l2item
- l2iteminstance
-
(and 2 more)
Tagged with:
-
Help Question About Item Categorisation.
Meydex replied to Meydex's question in Request Server Development Help [L2J]
Well assuming that I've got no problems managing the ids of the new entries on core side, is there any other difference like for example: more allocated memory usage if I don't parse the boolean and go the "hardcode" way, or anything else that I am missing?- 7 replies
-
- l2item
- l2iteminstance
-
(and 2 more)
Tagged with:
-
Another way of messing with such idea would be to increase the sit/stand Mp regeneration rate on Formulas.java. In other words, players would have to sit or stand to regain their mp back at high rate, hence making them vulnerable again. But I guess your idea makes it a bit more fancy with the effects :P Thanks for the share though man!
-
Help Question About Item Categorisation.
Meydex posted a question in Request Server Development Help [L2J]
Greetings people, I've got a question that I'd really like to answer by myself but I've only got basic java knowledge. Recently, I decided to categorise some custom made items. Here's an example of the method I chose to do it: //This code was written inside L2ItemInstance class public boolean isCustomItem() { switch(getId()) { case 1311: //random item case 2244: //random item case 3554: //random item return true; } return false; } This works completely fine but it seems pretty sloppy. Now, I understand that there is another way of doing it through L2Item instead of L2ItemInstance class by creating booleans, updating StatsSet and working on xmls by adding the custom boolean to the respective items. However, I really can't tell whats the difference in terms of coding efficiency and reliability (if there is any). Has any of you fellows got this sorted out? Which way would you choose? Maybe another way not mentioned here? Thanks!- 7 replies
-
- l2item
- l2iteminstance
-
(and 2 more)
Tagged with:
-
Help Need Little Help With A Code
Meydex replied to GoldenNightmare's question in Request Server Development Help [L2J]
You don't need to edit the check with isRaid and isInvul (Unless you want them completely removed) All you have to do is add a new check like this: if (target instanceof L2Npc && ((L2Npc)target).getId() == 22587) { return false; // No attack break } Additionally do not forget to add this import at the very beginning of the class: import com.l2jserver.gameserver.model.actor.L2Npc; That should work (At least it does for me and I think I use a similar project to yours). -
Help Nevit's Advent Edit Question.
Meydex posted a question in Request Server Development Help [L2J]
Hello, Quick question: Where can I edit text in Nevit's Advent box? Ofcourse I am talking about the title, <rec bonus>, <hunting bonus>,etc and not the variables (0%, quit). Thank you. -
Help Skill Cd Reset On Pvp.
Meydex replied to Meydex's question in Request Server Development Help [L2J]
Oh yes that works too and it also seems like a more flexible way since it enables all levels of the skill in contrary to SkillData which requires its lvl too. Thanks for that man! -
Help Skill Cd Reset On Pvp.
Meydex replied to Meydex's question in Request Server Development Help [L2J]
Nevermind fixed it :D Here is the code if someone wants it : //Reset skill cooldown on pvp Skill skill = SkillData.getInstance().getSkill(821, 1); //Currently Shadow Step if (skill != null) { enableSkill(skill); sendPacket(new SkillCoolTime(this)); } Simple and works like a charm for l2jserver high five. -
Help Skill Cd Reset On Pvp.
Meydex replied to Meydex's question in Request Server Development Help [L2J]
Oh yes forgot about the packet , thanks for the info :) Is there a way to reset cd on a specific skill instead of reseting everything? By the way there is not any getSkill() method on L2PcInstance or L2Character so I won't be able to use this check :P -
Hi, I came up with a concept which allows the cooldown reset of a certain skill when someone kills a player in pvp. Here is what I tried so far but it doesn't seem to do anything at all: //Reset skill cooldown on pvp for (Skill skill : getAllSkills()) { if (skill.getId() == 821) //Currently Shadow Step { enableSkill(skill); } } P.S I added it inside IncreasePvpKills() method in L2PcInstance class. Any suggestions to make it functional? Thank you.
-
Help Delay On Nextactionisattack.
Meydex replied to Meydex's question in Request Server Development Help [L2J]
The thing is that the test is done with 499 Atk.Spd which should in my opinion not interrupt the animation of the next hit after a skill is used. I am using a spell and the next auto attack is so fast the animation can't even handle it. Its like it started the attack before the previous skill finished casting.