Jump to content

Shadin

Members
  • Posts

    41
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Shadin

  1. 2 hours ago, ratchet said:

    The problem is that many changes are not directly doable from the datapack scripts (or not easily doable), you need to put your hands in the core.

    So I suggest you look some guide on how to import the project on intellij and start from that. It will be worth in the long run.

    But I have many servers, wouldn't changing what you say change it for all of them?

     

    Anyway, thanks for the help...

  2. 17 hours ago, ratchet said:

    I think it's better if you import the sources into an ide (eclipse or intellij) rather than messing with the compiled packages.

    Probably l2jmobius is more user friendly than standard l2j for newbies

    I don't know how to do that and find really easy to customize my server directly from these files...

  3. 35 minutes ago, ratchet said:

    Which project are you using?
    In standard l2j it's called L2VillageMasterInstance.java and it's found in gameserver->model->actor->instance

     

    Check for getAvailableSubclasses if i recall correctly, then cancel out the part where it removes values from the list, but careful not to remove overlord and warsmith and other conditions like elf into d.elf etc

    image.png.0730236531ef63470ef58037d1955928.pngThese are the folders I have and the project I use... couldn't find the folder you say u_u

  4. 21 hours ago, ratchet said:

    In l2j? There is probably something in the config files to allow all subclasses, i'm pretty sure. If not,
    one way is to go in the VillageMaster.java and check the function getSubclasses().
    Then comment out the part where it removes all the kamael subclasses from the list.


     

     

    Yes in l2j, where can I find such file?

  5. Hi!, is there a way to solve the animation cuts in High Five client?, what I mean is, to see the whole animation of a skill before seeing the next action...

     

    For example, if you cast a buff after another, the animation of the first one cuts to play the following one... another example, if you have a lot of casting and go cast magic nukes, for example Death Spike, you only see the red aura in your feets but there is no animation of the spike throwing from the character to the target... or if you are hitting melee a monster and use, for example, Deadly Blow, you don't see the character actually hit the target but starts hitting melee again...

     

    Is this a problem of the client or is it normal for High Five version to be like this?, I remember in old versions this didnt happen...

     

    Thanks in advance!

  6. 1 hour ago, VegaBoy said:

    Understand, there are no heavy or robe textures for kamael, only light. On my server I did this, I just took the line that corresponds to the texture of the kamael set and added it to the heavy set and the corresponding robe with the desired armor!

    I think I won't understand until I learn how to edit armorgrp and how it works... but thanks a lot for answering me🤗

  7. On 9/12/2022 at 11:34 AM, VegaBoy said:

    Removing the restriction, the easy part was left for you to do. You will have to get it, (Example: To make the Dark Crystal Heavy and Robe functional, you should get the line in armor.grp of your Dark Crystal Light and modify the ids by putting the respective ids of the robe and heavy).

    Thank you but, wouldn't that change light armor textures for all races?

  8. 9 hours ago, 911reg said:

    Rapier and crossbow animations don't come with H5 animations by default, i had to manually import missing animations from higher chronicles to h5. What you can try, for example, is adding 1HS animations as Rapier animations instead (it'll look clunky, but it's something). 

     

    What's important about L2 Editor is that you can see the names of the animations on the left panel, as i've shown you on the previous image
    (this one)
    unknown.png

    that way you can see which animations you can use in order to make lineagewarrior.int work properly.

     

    Anyway, if you wanna make it work with all weapons, simply copy/paste Dual Swords animations and use them as Dual Daggers, same with Rapiers and One-Handed swords, and Bows and Crossbows, and if it doesn't meet your quality standards, sadly, you'll have to either import all animations from higher chronicles and re-do their AnimNotifies by hand (which might take months to do, i'd say it's not even worth it), or pay someone to do it for you, i'd suggest you to buy @NevesOma's animation packs in that case, since he did an amazing work with those files


    In case you wanna go ahead and import animations you should probably learn:
    -basic 3dsmax

    -how to import .psa and .psk files into unreal editor and make them work with L2, for which you'll need to buy Gildor's tools, you can find details here: https://www.gildor.org/smf/index.php?topic=155.0
    -how to add missing AnimNotify scripts to your unreal engine

    -how to add AnimNotifies to all animations (this is the most tedious part, which takes the most time, so you'll probably wanna learn how to make macros with AHK as well)

     

    overall it's a hard ass work and it's probably not even worth it if you don't plan on re-selling those files


    btw, what did you mean by 'do you know what I have to edit for the robe and heavy animations for kamaels?' ? i'm guessing you mean how to add robe and heavy armors for kamaels? cuz animations don't depend on your armor

     

    if you wanna add heavy and robe for kamael, you can't sadly, since koreans didn't even create those armors, so you can't even import them from other chronicles, unless you wanna make your own meshes with blender or 3dsmax

    I tried to do that with other 1hs in rapier and bow for crossbow, but sadly it won't work... but no problem, since my server is just for friends (and whoever wants to play is welcome) we decided to leave that as it is. Making a lot of work only for this is as you say, not worth it. We did what we can just to have fun :)

    Thanks a lot again, you made an excellent guide for whoever wants to work with it. And thanks to you now everybody in my server will be able to wear dualdaggers :)

    • Like 1
  9. 21 hours ago, 911reg said:

    Download L2Editor 

    then open it, go to Animations, and then open, for example, Kamael.ukx so yo'll be able to see the animation names like this:
    unknown.png

    that way you'll know which animations you can or can't use.

    Then once you open LineageWarrior.int you'll notice that there's an array of animations for each character

    [0]= hand (no weapon equipped)
    [1]= 1HS weapons
    [2]= 2HS weapons

    [3]= Dual Swords
    [4]= Pole weapons
    [5]= Bows
    [6]= array number 6 is unused on all races, and you shouldn't add any animations to it

    [7]= dual fists
    [8]= crossbow
    [9]= rapiers
    [10]= dual daggers

     

    Ancient Swords use the same animations as 2HS weapons

     

    That said, you can now add animations to all classes, you can even add rapier and crossbow animations for human classes, for example.

     

    a_1.gif

     

     

    So you just need to add the missing animations to each character, and remember to always respect the file's structure (always put dual dagger animations after rapier animations)

     

    not the best explaination but i think this should be enough for you to figure it out 😛
     

    I open it but I can't edit it, also it only looks grey... or I have to edit only lineagewarrior.int?

    654321.png

    22 hours ago, 911reg said:

    Download L2Editor 

    then open it, go to Animations, and then open, for example, Kamael.ukx so yo'll be able to see the animation names like this:
    unknown.png

    that way you'll know which animations you can or can't use.

    Then once you open LineageWarrior.int you'll notice that there's an array of animations for each character

    [0]= hand (no weapon equipped)
    [1]= 1HS weapons
    [2]= 2HS weapons

    [3]= Dual Swords
    [4]= Pole weapons
    [5]= Bows
    [6]= array number 6 is unused on all races, and you shouldn't add any animations to it

    [7]= dual fists
    [8]= crossbow
    [9]= rapiers
    [10]= dual daggers

     

    Ancient Swords use the same animations as 2HS weapons

     

    That said, you can now add animations to all classes, you can even add rapier and crossbow animations for human classes, for example.

     

    a_1.gif

     

     

    So you just need to add the missing animations to each character, and remember to always respect the file's structure (always put dual dagger animations after rapier animations)

     

    not the best explaination but i think this should be enough for you to figure it out 😛
     

    I made it, thanks a lot!!!, it was an error from L2 File Editor, I had to save it in "111" for it to work.

     

    Another question, do you know what I have to edit for the robe and heavy animations for kamaels?

    Animation for rapier won't work though :/

    Neither for crossbow, it only works for dualdaggers u_u

    • Upvote 1
  10. 13 hours ago, 911reg said:

    You can simply add missing animations in LineageWarrior.int, inside your system folder. For example, kamaels and orcs' animation set number 10 is missing (you'll figure it out once you open the file). you can simply copy/paste MFighter's animations and change '_MFighter' to '_MOrc' on the animation names, for example, and it should work fine, but still some animations won't be played, you'll have to try each animation one by one on all races if you wanna get it working the right way, it's a huge ass work though, so if you wanna try it, it'll take you some time. DM me if you need any help with it though.

    Thank you, I tried to do the changes but any change I make the characters just stands like crucified xd I guess I need to investigate more...

  11. On 7/10/2021 at 5:51 AM, Kara said:

     

    RequestHennaEquip.java

    Now I know a bit more, but still can't change it... would you mind telling me what change should I make?, I erased the fragment that says "AllowedClass" but with no success in-game...

     

    /*
     * Copyright © 2004-2020 L2J Server
     * 
     * This file is part of L2J Server.
     * 
     * L2J Server is free software: you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation, either version 3 of the License, or
     * (at your option) any later version.
     * 
     * L2J Server is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     * General Public License for more details.
     * 
     * You should have received a copy of the GNU General Public License
     * along with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    package com.l2jserver.gameserver.network.clientpackets;

    import com.l2jserver.gameserver.data.xml.impl.HennaData;
    import com.l2jserver.gameserver.model.PcCondOverride;
    import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
    import com.l2jserver.gameserver.model.items.L2Henna;
    import com.l2jserver.gameserver.network.SystemMessageId;
    import com.l2jserver.gameserver.network.serverpackets.InventoryUpdate;
    import com.l2jserver.gameserver.util.Util;

    /**
     * @author Zoey76
     */
    public final class RequestHennaEquip extends L2GameClientPacket {
        private static final String _C__6F_REQUESTHENNAEQUIP = "[C] 6F RequestHennaEquip";
        private int _symbolId;
        
        @Override
        protected void readImpl() {
            _symbolId = readD();
        }
        
        @Override
        protected void runImpl() {
            final L2PcInstance activeChar = getActiveChar();
            if (activeChar == null) {
                return;
            }
            
            if (!getClient().getFloodProtectors().getTransaction().tryPerformAction("HennaEquip")) {
                return;
            }
            
            if (activeChar.getHennaEmptySlots() == 0) {
                activeChar.sendPacket(SystemMessageId.SYMBOLS_FULL);
                sendActionFailed();
                return;
            }
            
            final L2Henna henna = HennaData.getInstance().getHenna(_symbolId);
            if (henna == null) {
                _log.warning(getClass().getName() + ": Invalid Henna Id: " + _symbolId + " from player " + activeChar);
                sendActionFailed();
                return;
            }
            
            final long _count = activeChar.getInventory().getInventoryItemCount(henna.getDyeItemId(), -1);
            if (henna.isAllowedClass(activeChar.getClassId()) && (_count >= henna.getWearCount()) && (activeChar.getAdena() >= henna.getWearFee()) && activeChar.addHenna(henna)) {
                activeChar.destroyItemByItemId("Henna", henna.getDyeItemId(), henna.getWearCount(), activeChar, true);
                activeChar.getInventory().reduceAdena("Henna", henna.getWearFee(), activeChar, activeChar.getLastFolkNPC());
                final InventoryUpdate iu = new InventoryUpdate();
                iu.addModifiedItem(activeChar.getInventory().getAdenaInstance());
                activeChar.sendPacket(iu);
                activeChar.sendPacket(SystemMessageId.SYMBOL_ADDED);
            } else {
                activeChar.sendPacket(SystemMessageId.CANT_DRAW_SYMBOL);
                if (!activeChar.canOverrideCond(PcCondOverride.ITEM_CONDITIONS) && !henna.isAllowedClass(activeChar.getClassId())) {
                    Util.handleIllegalPlayerAction(activeChar, "Exploit attempt: Character " + activeChar.getName() + " of account " + activeChar.getAccountName() + " tried to add a forbidden henna.");
                }
                sendActionFailed();
            }
        }
        
        @Override
        public String getType() {
            return _C__6F_REQUESTHENNAEQUIP;
        }
    }
     

  12. I have a Hi5 multiskill server for friends and managed to make kamaels wear shields, heavy and robe... and to make all chars equip dualdaggers and kamael weapons. The problem is that they look awful. When you do it, they just stay like petrified xD sorry, I dunno how to explain it... I mean, you can move and attack, but you don't see the animation.

     

    Also the kamael with the shield looks good except for when you stop walking/running, they keep running in the same place xD

     

    Anyone knows how can I fix these issues?, as it is multiskills, I want to make all chars to be able to equip everything........

     

    Thanks in advance!

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..