Jump to content
  • 0

[HELP]Java code all sub in maximilian Interlude client


Question

Posted

Geia sas paidia opws lew kai sto title m tha ithela enan java code o opoios na bazei ola ta sub class ston maximilian gia interlude client kai sigkekrimena gia to teleutaio rev tou l2jhellas.. Euxaristw ek ton proterwn ...

 

 

Y.Γ Eixa brei enan tetoio code ala itan gia gracia final kai panw kai m ebgaze errors :(

8 answers to this question

Recommended Posts

  • 0
Posted

Geia sas paidia opws lew kai sto title m tha ithela enan java code o opoios na bazei ola ta sub class ston maximilian gia interlude client kai sigkekrimena gia to teleutaio rev tou l2jhellas.. Euxaristw ek ton proterwn ...

 

 

Y.Γ Eixa brei enan tetoio code ala itan gia gracia final kai panw kai m ebgaze errors :(

 

Πάνε στο:

com.l2jfrozen.gameserver.model.actor.instance.L2VillageMasterInstance.java

 

Βρές αυτό και άλλαξε το:

- final PlayerRace npcRace = getVillageMasterRace();
- final ClassType npcTeachType = getVillageMasterTeachType();
+ getVillageMasterRace();
+ getVillageMasterTeachType();

 

Μετά διέγραψε αυτά:

-if(npcRace == PlayerRace.Human || npcRace == PlayerRace.LightElf)
-				{
-					// If the master is human or light elf, ensure that fighter-type
-					// masters only teach fighter classes, and priest-type masters
-					// only teach priest classes etc.
-					if(!availSub.isOfType(npcTeachType))
-					{
-						availSubs.remove(availSub);
-					}
-					else if(!availSub.isOfRace(PlayerRace.Human) && !availSub.isOfRace(PlayerRace.LightElf))
-					{
-						availSubs.remove(availSub);
-					}
-				}
-				else
-				{
-					// If the master is not human and not light elf,
-					// then remove any classes not of the same race as the master.
-					if(npcRace != PlayerRace.Human && npcRace != PlayerRace.LightElf && !availSub.isOfRace(npcRace))
-					{
-						availSubs.remove(availSub);
-					}
-				}

 

Πάνε στο:

com.l2jfrozen.model.base.PlayerClass.java

 

Βρές αυτήν την γραμμή και διέγραψε την:

-
- private static final Set<PlayerClass> neverSubclassed = EnumSet.of(Overlord, Warsmith);

 

Βρές αυτήν την γραμμή και διέγραψε την:

- subclasses.removeAll(neverSubclassed);
-

 

Βρές αυτήν την γραμμή και διέγραψε την:

-
- subclasses.removeAll(neverSubclassed);

  • 0
Posted

[javac] C:\workspace\L2jHellasC\java\com\l2jhellas\gameserver\model\actor\instance\L2VillageMasterInstance.java:941: error: ';' expected

    [javac]    private final ClassType getVillageMasterTeachType()

    [javac]                                                      ^

    [javac] C:\workspace\L2jHellasC\java\com\l2jhellas\gameserver\model\actor\instance\L2VillageMasterInstance.java:953: error: illegal start of expression

    [javac]    private boolean ItemRestriction(L2PcInstance player)

    [javac]    ^

    [javac] C:\workspace\L2jHellasC\java\com\l2jhellas\gameserver\model\actor\instance\L2VillageMasterInstance.java:953: error: ';' expected

    [javac]    private boolean ItemRestriction(L2PcInstance player)

    [javac]                                    ^

    [javac] C:\workspace\L2jHellasC\java\com\l2jhellas\gameserver\model\actor\instance\L2VillageMasterInstance.java:953: error: ';' expected

    [javac]    private boolean ItemRestriction(L2PcInstance player)

    [javac]                                                        ^

    [javac] C:\workspace\L2jHellasC\java\com\l2jhellas\gameserver\model\actor\instance\L2VillageMasterInstance.java:1001: error: illegal start of expression

    [javac]    private Iterator<SubClass> iterSubClasses(L2PcInstance player)

    [javac]    ^

    [javac] C:\workspace\L2jHellasC\java\com\l2jhellas\gameserver\model\actor\instance\L2VillageMasterInstance.java:1001: error: ';' expected

    [javac]    private Iterator<SubClass> iterSubClasses(L2PcInstance player)

    [javac]                                              ^

    [javac] C:\workspace\L2jHellasC\java\com\l2jhellas\gameserver\model\actor\instance\L2VillageMasterInstance.java:1001: error: ';' expected

    [javac]    private Iterator<SubClass> iterSubClasses(L2PcInstance player)

    [javac]                                                                  ^

    [javac] C:\workspace\L2jHellasC\java\com\l2jhellas\gameserver\model\actor\instance\L2VillageMasterInstance.java:1006: error: reached end of file while parsing

    [javac] }

    [javac]  ^

    [javac] 18 errors

 

BUILD FAILED

C:\workspace\L2jHellasC\build.xml:56: Compile failed; see the compiler error output for details.

 

Total time: 22 seconds

 

m ebgale auto exw ena error sto Villagemaster :(

  • 0
Posted

  /**

        * If the race of your main class is Elf or Dark Elf,

        * you may not select each class as a subclass to the other class,

        * and you may not select Overlord and Warsmith class as a subclass.

        *

        * You may not select a similar class as the subclass.

        * The occupations classified as similar classes are as follows:

        *

        * Treasure Hunter, Plainswalker and Abyss Walker

        * Hawkeye, Silver Ranger and Phantom Ranger

        * Paladin, Dark Avenger, Temple Knight and Shillien Knight

        * Warlocks, Elemental Summoner and Phantom Summoner

        * Elder and Shillien Elder

        * Swordsinger and Bladedancer

        * Sorcerer, Spellsinger and Spellhowler

        *

        */

        Set<PlayerClass> availSubs = currClass.getAvailableSubclasses(player);

 

        if (availSubs != null)

        {

            for (PlayerClass availSub : availSubs)

            {

                for (Iterator<SubClass> subList = iterSubClasses(player); subList.hasNext();)

                {

                    SubClass prevSubClass = subList.next();

                    int subClassId = prevSubClass.getClassId();

                    if (subClassId >= 88) subClassId = ClassId.values()[subClassId].getParent().getId();

 

                    if (availSub.ordinal() == subClassId

                                            || availSub.ordinal() == charClassId)

                        availSubs.remove(PlayerClass.values()[availSub.ordinal()]);

                }

 

             

        }

 

        return availSubs;

    }

 

    /**

    * this displays PledgeSkillList to the player.

    * @param player

    */

    public void showPledgeSkillList(L2PcInstance player)

    {

 

        if (Config.DEBUG)

            _log.fine("PledgeSkillList activated on: "+getObjectId());

        if(player.getClan() == null) return;

 

        L2PledgeSkillLearn[] skills = SkillTreeTable.getInstance().getAvailablePledgeSkills(player);

        AquireSkillList asl = new AquireSkillList(AquireSkillList.skillType.Clan);

        int counts = 0;

 

        for (L2PledgeSkillLearn s: skills)

        {

            int cost = s.getRepCost();

            counts++;

 

            asl.addSkill(s.getId(), s.getLevel(), s.getLevel(), cost, 0);

        }

 

        if (counts == 0)

        {

 

sto availsubs; m bgazei syntax error ssigkekrimena m exei ipogrammismeno me kokkino to ;  :(

  • 0
Posted

  /**
         * If the race of your main class is Elf or Dark Elf,
         * you may not select each class as a subclass to the other class,
         * and you may not select Overlord and Warsmith class as a subclass.
         *
         * You may not select a similar class as the subclass.
         * The occupations classified as similar classes are as follows:
         *
         * Treasure Hunter, Plainswalker and Abyss Walker
         * Hawkeye, Silver Ranger and Phantom Ranger
         * Paladin, Dark Avenger, Temple Knight and Shillien Knight
         * Warlocks, Elemental Summoner and Phantom Summoner
         * Elder and Shillien Elder
         * Swordsinger and Bladedancer
         * Sorcerer, Spellsinger and Spellhowler
         *
         */
        Set<PlayerClass> availSubs = currClass.getAvailableSubclasses(player);

        if (availSubs != null)
        {
            for (PlayerClass availSub : availSubs)
            {
                for (Iterator<SubClass> subList = iterSubClasses(player); subList.hasNext();)
                {
                    SubClass prevSubClass = subList.next();
                    int subClassId = prevSubClass.getClassId();
                    if (subClassId >= 88) subClassId = ClassId.values()[subClassId].getParent().getId();

                    if (availSub.ordinal() == subClassId
                    		                        || availSub.ordinal() == charClassId)
                        availSubs.remove(PlayerClass.values()[availSub.ordinal()]);
                }

               
        }

        
    }
return availSubs;
    /**
     * this displays PledgeSkillList to the player.
     * @param player
     */
    public void showPledgeSkillList(L2PcInstance player)
    {

        if (Config.DEBUG)
            _log.fine("PledgeSkillList activated on: "+getObjectId());
        if(player.getClan() == null) return;

        L2PledgeSkillLearn[] skills = SkillTreeTable.getInstance().getAvailablePledgeSkills(player);
        AquireSkillList asl = new AquireSkillList(AquireSkillList.skillType.Clan);
        int counts = 0;

        for (L2PledgeSkillLearn s: skills)
        {
            int cost = s.getRepCost();
            counts++;

            asl.addSkill(s.getId(), s.getLevel(), s.getLevel(), cost, 0);
        }

        if (counts == 0)
        {

 

gia dokimase na valeis auto to code...

Guest
This topic is now closed to further replies.


  • Posts

    • I created a system of FAKES to improve my GeoEngine, but I'm having problems with blocks. I've tried everything to fix it, but a block going from the inside out bugs the player's movement and freezes them. However, the reverse doesn't cause this bug. If I'm outside and click inside, the path is traced normally, but if it's reversed, it bugs at the fence. I've created several debugs and read all kinds of GeoEngine versions, but I haven't had any success. Can someone give me some insight into graphical data?   When fakes spawn, they are given possible routes, but they don't follow them. If there's a target, instead of following the correctly drawn path, it simply uses a straight line.  
    • The legendary L2Elixir you remember from 2008 is officially back — remastered, refreshed, and reborn! Our x3 Interlude server launched on 28 November, and the community is growing every single day.   🔥 Fresh start 🔥 Active players joining daily 🔥 Long-term project — Licensed for over 5 years from PlayINERA. 🔥 True 2008 nostalgia with modern stability & polish   If you were part of the original Elixir family, this is your chance to relive the magic. If you’re new — welcome to a classic Lineage II experience built with passion, not profit.   Join the battles. Join the nostalgia. Join L2Elixir Reborn. Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs
    • still available?  java version? client  salvation?  accept smarguart¡?
    • 🎉 L2NeverPain StuckSub - GRAND OPENING 12 December 2025🎉 After beta, testing, mistakes, laughs and a lot of PvP, the moment has finally come. L2NeverPain StuckSub is officially opening its gates on 12 December 2025.   ⚔️What to expect: ✦Main Class +2 Stuck Sub system ✦Balanced PvP & custom party farm areas ✦Custom events, bosses and strong rewards ✦Competitive clan scene with castle rewards   📌Until the opening: ✦Create your clans and register them in the Clan-Register channel ✦Invite your friends / old parties / CPs ✦Stay tuned for more information (rates, events, siege times, etc.)   Get your setups ready, prepare your macros and your Discord/voice. On 12 December 2025 20:00 GMT+2, we write the first chapter of NeverPain together. 🔥 https://l2neverpain.com/ https://discord.gg/kNP3UXgkmN
  • Topics

×
×
  • 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