Jump to content
  • 0

Weapon Destrict for some Classes


Question

Posted

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

Recommended Posts

  • 0
Posted

See how DisableBowForClasses is processed on Config.java, then see how internal variable/list is used, then...

 

ctrl+h is your friend.

 

 

 

Can you explain it a little more :/ i didn't understand .

  • 0
Posted

 

 

Can you explain it a little more :/ i didn't understand .

 

ehm why not implement the proper condition instead of messing around with such codes? You could just sync it from l2j...

  • 0
Posted

ehm why not implement the proper condition instead of messing around with such codes? You could just sync it from l2j...

im newbie and i dont know very much things can u give me some explains
  • 0
Posted

  im testing l2jhellas

 

Nuff said you should not use it, you'll be a newbie even after decades if you use such packs. But anyway its pretty shitty copy paste land so it should not be hard to sync anything into it, just search on l2j timeline for the weapon condition core and dp side changesets.

  • 0
Posted

Nuff said you should not use it, you'll be a newbie even after decades if you use such packs. But anyway its pretty shitty copy paste land so it should not be hard to sync anything into it, just search on l2j timeline for the weapon condition core and dp side changesets.

  which pack you suggest .  i just checked this pack to see what specs has . i didn't like it too.

 

  • 0
Posted

  which pack you suggest .  i just checked this pack to see what specs has . i didn't like it too.

 

 

None of the shitlude packs, they are badly coded piece of junk, all of them period. L2j high5 or l2jfree gracia final.

  • 0
Posted

None of the shitlude packs, they are badly coded piece of junk, all of them period. L2j high5 or l2jfree gracia final.

 

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;

            }

        }

  • 0
Posted

 

It's freaking retarded to do that, they can't wear certain items. It's better to make a passive skill for each class, decreasing accuracy and stuff whne you wear x weapon or armor.

  • 0
Posted

It's freaking retarded to do that, they can't wear certain items. It's better to make a passive skill for each class, decreasing accuracy and stuff whne you wear x weapon or armor.

 

Its better to have conditions on skill usage like it should be and let everyone wear whatever they want. Dont get stuck in interlude.

  • 0
Posted

Its better to have conditions on skill usage like it should be and let everyone wear whatever they want. Dont get stuck in interlude.

 

Well, they shouldn't add stuff like, to let each class to wear whatever they want. But it's freaking retarded to make that happen in java, what he asked for. It's crappy, also you have to use EnterWorld too, to unequip the current items. So it's a mess.

  • 0
Posted

Well, they shouldn't add stuff like, to let each class to wear whatever they want. But it's freaking retarded to make that happen in java, what he asked for. It's crappy, also you have to use EnterWorld too, to unequip the current items. So it's a mess.

 

I know thats why i said to implement the fully retail like weapon restriction conditions from l2j.

  • 0
Posted

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.

Guest
This topic is now closed to further replies.



  • Posts

    • Hello community, I’d like to share an improved version of the L2smr editor for StaticMeshes, focused on solving some workflow issues I found in the original tool. CreditsThis project is based on the original acmi/L2smr repository https://github.com/acmi/L2smr , created by acmi, and I updated it to Java 17 with some additional features. Issues in the original L2smr Too many windows: each StaticMesh opened in a new one → cluttered desktop. No search: navigating through hundreds of StaticMeshActors was slow and tedious. Added improvements Flexible views Single Window Mode: reuse one window instead of opening new ones. Multiple Window Mode: still available for those who prefer having several views open simultaneously. Real-time Search Field Instant filtering as you type. Case-insensitive search. “Reset” button to quickly clear the search.     Installation and Execution: Clone the repository: git clone https://github.com/Jeep12/l2smr.git cd l2smr        2.Build the project:   ./gradlew build        3. Run the application:     ./run.bat      Or simply double-click on run.bat.     The run.bat script automatically extracts JavaFX from the included javafx-17.0.2.zip file in the javafx/ directory, sets up the required libraries, and launches the application. You don’t    need to install JavaFX separately.      Repository: https://github.com/Jeep12/l2smr     Maybe these features already existed in another version or fork, and they might not be very big changes, but since I didn’t know about them and found them necessary, I decided to          implement them myself and wanted to share them.      
    • no....Mobius L2Clientdat and L2FileEditor can do that...but still cant works with TaiWanese Grand Crusade ,especially Armorgrp.dat and Armorgrp-Classic.dat
    • L2GOLD - Halcyon x45 Project Classic Interlude   C6 - Classic Interlude: Protocol 110     Is a complete copy of L2Gold in Classic [110 Protocol] with L2OFF files.   Fully L2Gold Features - Daily Quest - Daily Mining Quest - Ancient Weapons -Refine System  -Rebirth System -Fully configurable everything you want -Gold stats/Gold skills/Gold items working 100% -Zones 100% alike  -Unique donations system (npc or voicedcommand .donate) - On Enchant success announcement ( if +16 for weapon, 8 for armor , 7 for jewel) - Announce of Castle Lord - Announce of Hero  - Olympiad Max A grade - Olympiad Buffs on matches changed to Gold Alike - Working fully Dreadbane   - AI Mods: Static Time for RB   Automated Events: Squash Watermelon RB Event High rate  (those are fully automated)   Server is running a Test Server: Online to anyone can test it.   Game Client: https://www.mediafire.com/file/1d8xe18rvgi04lx/L2_Classic_Interlude_Client_V2.rar/file   Game Patch: https://www.mediafire.com/file/3z4b8ezy93h2z1g/L2Halcyon+Gold+Patch.rar/file   GM Accounts: ID: root pass root [ accounts go from  root1 until root20 ]   Regular Accounts Registrations: http://84.247.164.27/?page=register   Some Screenshots: https://imgur.com/a/o7TxzTN   Contact me here via PM (only serious buyers).    Price of the product: Fully Server Pack + Source ( 250 Euros )
    • ✨ A Service with Vibes  Vibe SMS ✨   Vibe SMS is not just a platform for working with numbers. We’ve built it to be simple, convenient, and stress-free, so your tasks get done without hassle. We value real communication: we listen to your ideas, provide support, and make sure everyone feels calm and confident. With us, you’re not just a client  you’re part of a space built on trust, support, and a human touch. Vibe SMS is a place where people matter and where we create an atmosphere you’ll want to stay in.   Website link — https://vibe-sms.net/ Our Telegram channel — https://t.me/vibe_sms
  • 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