Jump to content
  • 0

Weapon Destrict for some Classes


Kolibri

Question

Hello all i need some help .. actually i need a code to dissallow some classes like tank to wear bow :/ one example that i found is this from l2jfrozen "#Disable Bow for classes: write here classes id

#that you dnt want allow to use BOW. Class id examples,

#you can find others into char_templates database table

#

# classId className

# 88 Duelist

# 89 DreadNought

# 90 Phoenix Knight

# 91 Hell Knight

# 92 Sagittarius

# 93 Adventurer

# 94 Archmage

# 95 Soultaker

# 96 Arcana Lord

# 97 Cardinal

# 98 Hierophant

# 99 Eva Templar

# 100 Sword Muse

# 101 Wind Rider

# 102 Moonlight Sentinel

# 103 Mystic Muse

# 104 Elemental Master

# 105 Eva Saint

# 106 Shillien Templar

# 107 Spectral Dancer

# 108 Ghost Hunter

# 109 Ghost Sentinel

# 110 Storm Screamer

# 111 Spectral Master

# 112 Shillen Saint

# 113 Titan

# 114 Grand Khauatari

# 115 Dominator

# 116 Doomcryer

# 117 Fortune Seeker

# 118 Maestro

#

# e.g. DisableBowForClasses=107,110

DisableBowForClasses ="

 

but this is only the configs file i need code

Link to comment
Share on other sites

Recommended Posts

  • 0

Intrepid, he doesn't ask you to change of chronicle, he asks you for a code implementation.

 

Don't sell a cow when he tries to get milk. None like GF, not my fault.

 

If he wants exactly the implementation of L2JFrozen, and until you want to code for him a better implementation, he's stuck with L2JFrozen's (+ according his "dev" level, as he doesn't even know Search tool, the best is still basics).

 

With weapon condition, you edit all items on L2J. Talk about NPCs in XML after that, lol. If you want to edit ONLY bows, that's 93 items to edit. ONLY BOWS.

 

◦Cobra◦ solution is normally enough for what he needs, and probably looking similar as L2JFrozen got it. It misses the list of classId.

 

@klevakos, my answer was really simple. If you don't manage to understand it, try until you understand. "ctrl + H" on Eclipse is the main answer. That's the basics about exploring a project such as L2J, and searching "features" like you try to do.

 

Im not tying to force him for anything, its a fact tho that those interlude packs are poorly executed and if you want to learn you should not even look into them. Still the best and most gameplay friendly implementation is the conditions thats why i told him to do just that, ofcourse theres plenty of ways to do it, but still.

Link to comment
Share on other sites

  • 0

I know you're in love with shitlude >.<

 

UseItem.java

 

  if (activeChar.getClassId().getId() == 91)

        {

            if (item.getItemType() == L2WeaponType.BOW)

          {

          activeChar.sendMessage("bla bla bla bla");

            return false;

            }

        }

 

if u are archer, and change to class with ID 91 then you can't Unequip =D

 

needs isEquiped ? check

Link to comment
Share on other sites

  • 0

 

 

UseItem.java

 

  if (activeChar.getClassId().getId() == 91)

        {

            if (item.getItemType() == L2WeaponType.BOW)

          {

          activeChar.sendMessage("bla bla bla bla");

            return false;

            }

        }

 

 

 

 

thanks dude and smthng else may i add a config file?

Link to comment
Share on other sites

  • 0

Just saying, people would bypass that by simply not doing the 3rd class quest.

 

It's an example, don't you want me to code for them the whole server? they're free to add all the classes or whatever they want.

 

by the way, there are the 3rd class, don't you know the classes from lineage? my bad I didn't see "not" word.

Link to comment
Share on other sites

  • 0

It's an example, don't you want me to code for them the whole server? they're free to add all the classes or whatever they want.

 

by the way, there are the 3rd class, don't you know the classes from lineage?

As I mentioned in my previous post, I'm just saying.

 

And I said "by simply NOT doing", I know that these are 3rd class quests.

Link to comment
Share on other sites

  • 0

As I mentioned in my previous post, I'm just saying.

 

And I said "by simply NOT doing", I know that these are 3rd class quests.

 

Next time when you're just "saying", think about it twice.

 

I've added 3rd classes, how can you bypass them by changing the 3rd class? "As I mentioned in my previous post" you don't know the 3rd classes.

 

If you add the 2nd classes too, it's fully working.

Link to comment
Share on other sites

  • 0

Next time when you're just "saying", think about it twice.

 

I've added 3rd classes, how can you bypass them by changing the 3rd class? "As I mentioned in my previous post" you don't know the 3rd classes.

 

If you add the 2nd classes too, it's fully working.

Are you mad or something?

 

I don't know the 3rd classes?

 

It seems that you don't know how to read buddy.

 

I said that someone can bypass it by simply NOT doing the 3rd class quest, meaning that the player would stay at 2nd class quest.

 

Oh dear.

Link to comment
Share on other sites

  • 0

It seems that you don't know how to read buddy.

 

You're right. I didn't see "not".

 

lots of nonesense code, btw u put phoinixKnight check what if Im paladin

 

You should probably eat a d1ck.

 

they're free to add all the classes or whatever they want.

 

If you add the 2nd classes too, it's fully working.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



  • Posts

    • Both "MMO genre" AND "forums" are greatly deprecated those days. MMO genre, except very few games (TESO, WOW, BDO, FF14), is mostly "eaten" by fast paced games (aka games with 15-30min game parties, they are numerous). See Twitch best games, I doubt the top 10 are MMOs. Adding more MMOs categories, while MMOs themselves got less population, isn't a bright idea. Also, in the past, there was multiple games categories - none actually worked out, so far. Forums type were replaced by Discord, mostly. You communicate faster, you got voice, you can group up and it's already thematized (by server, by guild, by game,...)... Unfortunately, there is nothing you can do about. You already did it multiple times without success (3 or 4 times at least ?). It's not due to staff. MMO forum is just "niche" nowadays, while 20 years ago it was "dope" and the thing to do. Your main problem is MxC is a community based on "nothing". It was first cheater dedicated, then mostly L2 development dedicated,... With a mix of random things here and there. The formula is lightly-themed as "community" (that's actually why you still have some ppl posting), and in same time community never was expanded to retain ppl (notably through MxC servers - no matter the game : L2, GTA, Conan Exiles, Lost Ark, whatever else). In the end, you end with "nothing", since people comes and goes (and mostly goes, since MMO isn't a thing anymore), but both MMO genre is greatly endangered by other types of games AND forums isn't the proper way to communicate in 2024. Actually, the only use of a forums compared to Discord is to search through archives, and the main point is it's a better "showcase" than Discord (a static website would end with the same output). The proposed formula will never work, or at best will attract greedy ppl.
    • Welcome to my store :https://ultrasstore11.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10.50 $ 2017 Discord Account :4.99 $ 2018 Discord Account : 3.99 $ 2019 Discord Account : 2.99 $ 2020 Discord Account :1.99$ 2021 Discord Account :1.50$ 2022 Discord Account :0.99$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord :@ultrasstore11 Telegram : https://t.me/ultrastore11  
    • Hello everyone,    As you can see lately, the L2 community is decreasing, especially on private servers, its been 21 years since Lineage2 release date (1st October 2003). MaxCheaters.com was created in 2005 (with different names) and till today we are basically focused on Lineage 2. We made several attempts to add other games, but everyone still knew us as an L2 based forum. MaxCheaters has a long history and is one of the few forums that have survived to this day,It would be a shame to let the site die.   So I came up with a few ideas to improve it and follow the trends.   1. Create a utility token, (evm or solana), that will be used for several things such as: Staffers/moderators payment. Content creators reward system. (influencers/advertising/topic creators) Paid forum support. Exchanges and marketplaces . Lineage 2 utility token for private servers. Other MMO utility token for buying/selling accounts/gold etc. Maxcheaters fixed expenses/improvements/development/expansion/design/topsite   2. Reduce l2 sections, (we done this before) , and add more games on main page Less l2 sections More MMO games Focus on marketplaces    3. Rebuild staffers team/more events. Add one staffer per MMO game. More active staffers on our team.   4. Social media activity / streaming Twtter / TikTok content for gaming.  Streaming platforms (create official channel) Moderators/content creators for this content specifically.
  • Topics

×
×
  • Create New...