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

Cool.

 

Thanks for taking the time to code that though. (also I hope that I didn't offend you in any way.)

 

I'm sorry about that, I'm not afraid to admit it. It happens to not read everything when someone is under stress.

 

 

+      public void unEquipItemInBodySlot(int slot)

 

when im adding this shows me error .

 

-      private void unEquipItemInBodySlot(int slot)

+      public void unEquipItemInBodySlot(int slot)

Link to comment
Share on other sites

  • 0

I'm sorry about that, I'm not afraid to admit it. It happens to not read everything when someone is under stress.

 

-      private void unEquipItemInBodySlot(int slot)

+      public void unEquipItemInBodySlot(int slot)

 

ok i fix it :)

 

 

now i will check if is ok in game :)

Link to comment
Share on other sites

  • 0

this is bugged man, u have to make check if it is already equiped

 

You meant that if he wear the bow before the subclass? that is the bug you are telling?

 

Also you still a kiddo that flaming all (code's) and you just non post any solution(cuz you don't know how's the hard coded things are made so pee your mouth please) and as a pet you are just disappear. (ofc you cant do that psycho)

Link to comment
Share on other sites

  • 0

You meant that if he wear the bow before the subclass? that is the bug you are telling?

 

Also you still a kiddo that flaming all (code's) and you just non post any solution(cuz you don't know how's the hard coded things are made so pee your mouth please) and as a pet you are just disappear. (ofc you cant do that psycho)

 

well if u mean the unequip-equip thingy hardcoded then... no comments

 

as for the solution, a isEquiped is enough

 

Btw why you rage? ur code was bugged Even my haters aka intrepid can confirm this :) gl

 

edit: UseItem toggles equip/unequip

Link to comment
Share on other sites

  • 0

well if u mean the unequip-equip thingy hardcoded then... no comments

 

as for the solution, a isEquiped is enough

 

Btw why you rage? ur code was bugged

 

i don't speak about the 2 lines i gave... but about your behavior, just relax pedo.... there we are to help. if you don't like it just (fae skata).

 

isEquiped leeched from old l2j forum? please pet just don't speak about java to me and typos. freak

 

 

Link to comment
Share on other sites

  • 0

well if u mean the unequip-equip thingy hardcoded then... no comments

 

as for the solution, a isEquiped is enough

 

Btw why you rage? ur code was bugged Even my haters aka intrepid can confirm this :) gl

 

edit: UseItem toggles equip/unequip

By the way, it's isEquipped. (double p)

Link to comment
Share on other sites

  • 0

You don't need it.

 

man please stop talking, I told you that you need a damn isEquiped cause useItem unequips items too, so if it is already equiped by a subclass what happens ? he has it equiped but he cant disarm it !

Link to comment
Share on other sites

  • 0

man please stop talking, I told you that you need a damn isEquiped cause useItem unequips items too, so if it is already equiped by a subclass what happens ? he has it equiped but he cant disarm it !

Subclass NPCs in most servers (I assume he will do the same) disarm the weapon anyway so you wouldn't need that.

Link to comment
Share on other sites

  • 0

man please stop talking, I told you that you need a damn isEquiped cause useItem unequips items too, so if it is already equiped by a subclass what happens ? he has it equiped but he cant disarm it !

 

Take a look at my code noobish, check the l2pcinstance, it's for subclasses.

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...