Jump to content
  • 0

[REQUEST] Guide


=Legend=
 Share

Question

Can someone(those that know) make a better quide on this topic

http://www.maxcheaters.com/forum/index.php?topic=47545.0

 

for l2j gracia final would apreciate it as for a lot of ppl dont know how to do it

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Its so simple, remember L2J moved handlers into DataPack so create voiced handler in DP:

 

(/data/scripts/handlers/voicedcommandhandlers)

 

And then just register You new command in MasterHandler.java

 

Nothing more.

 

If You still dont know how to make it, i could create guide step by step but i think its unnecessary.

Link to comment
Share on other sites

  • 0

I have done everything to the letter its the part where you register it  i have a problem.I have placed it here hope to be the wright spot but when i run GS i get an error on loading scripts plz upload a  masterhandler with the right spot to register the item  Thats way i requested a quide hoping to solve this problems

 

private static void loadVoicedHandlers()

{

               VoicedCommandHandler.getInstance().registerItemHandler(new Balloni());    

VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new stats());

if (Config.L2JMOD_ALLOW_WEDDING)

VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Wedding());

if (Config.BANKING_SYSTEM_ENABLED)

VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Banking());

_log.config("Loaded " + VoicedCommandHandler.getInstance().size() + " Voiced

Link to comment
Share on other sites

  • 0

here is error i get.

1. ERROR in \MasterHandler.java (at line 225)

       VoicedCommandHandler.getInstance().registerItemHandler(new Balloni());

                                                                                       ^^^^^^^

Balloni cannot be resolved to a type

----------

1 problem (1 error)Balloni cannot be resolved to a type

Failed executing script: C:\Documents and Settings\Administrator\Desktop\New Fo

der\gameserver\data\scripts\handlers\MasterHandler.java. See MasterHandler.java

error.log for details.

 

Maybe the script is wrong anyway see if you can help

Link to comment
Share on other sites

  • 0

private static void loadItemHandlers()

{

ItemHandler.getInstance().registerItemHandler(new ScrollOfResurrection());

ItemHandler.getInstance().registerItemHandler(new SoulShots());

ItemHandler.getInstance().registerItemHandler(new SpiritShot());

ItemHandler.getInstance().registerItemHandler(new BlessedSpiritShot());

ItemHandler.getInstance().registerItemHandler(new BeastSoulShot());

ItemHandler.getInstance().registerItemHandler(new BeastSpiritShot());

ItemHandler.getInstance().registerItemHandler(new PaganKeys());

ItemHandler.getInstance().registerItemHandler(new Maps());

ItemHandler.getInstance().registerItemHandler(new Potions());

ItemHandler.getInstance().registerItemHandler(new Recipes());

ItemHandler.getInstance().registerItemHandler(new RollingDice());

ItemHandler.getInstance().registerItemHandler(new EnchantAttribute());

ItemHandler.getInstance().registerItemHandler(new EnchantScrolls());

ItemHandler.getInstance().registerItemHandler(new ExtractableItems());

ItemHandler.getInstance().registerItemHandler(new Book());

ItemHandler.getInstance().registerItemHandler(new SoulCrystals());

ItemHandler.getInstance().registerItemHandler(new SevenSignsRecord());

ItemHandler.getInstance().registerItemHandler(new ItemSkills());

ItemHandler.getInstance().registerItemHandler(new Seed());

ItemHandler.getInstance().registerItemHandler(new Harvester());

ItemHandler.getInstance().registerItemHandler(new MercTicket());

ItemHandler.getInstance().registerItemHandler(new FishShots());

ItemHandler.getInstance().registerItemHandler(new PetFood());

ItemHandler.getInstance().registerItemHandler(new SpecialXMas());

ItemHandler.getInstance().registerItemHandler(new SummonItems());

ItemHandler.getInstance().registerItemHandler(new BeastSpice());

ItemHandler.getInstance().registerItemHandler(new TeleportBookmark());

ItemHandler.getInstance().registerItemHandler(new Elixir());

ItemHandler.getInstance().registerItemHandler(new Balloni());

_log.config("Loaded " + ItemHandler.getInstance().size() + " ItemHandlers");

}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



  • Posts

    • Html Design  -  FOR SALE! There will be a total of 5 copies.   "Alchemist's Mystery Gm-Shop"   (Cropped) Alchemist's Mystery Preview    PM for more info.
    • Can you help me with this problem when running the gameserver.      
    • Rates  Exp/Sp : 5000x  Adena : 50x  Drop : 50x  Safe Enchant : +6  Max Enchant : +40 Normal enchant scroll rate = 55% till +30 Blessed enchant scroll rate = 80% till +30 Crystal scrolls rate = 90% from +30 to +40 Game Features Auto loot Ranking System Starting level 79 Unique farm zones for adena and server currency Starting pack - A grade items GM Shop for Adena Custom items shop for server currency Auto Learn all skills Custom Mage and Fighter Tattoo No weight limit Subclass without quest Max Subclasses 5 Reworked all Skills/Items and class balance C4/C5/Interlude features/skills tested and working 99% PvP / Pk Announcer PvP Color System Castle Sieges Unique Enocnomy System Max Level 80 Weapon Augmentations Dueling System Offline Shop Heroes every 1 week Custom instances NPC Global Gateekeper Custom Items Shop Buffer Skill Enchanter Augment Manager Vote Manager Exchanger Top 20 PvP/Pk/Clan Boss Manager Castle Manager Password Changer Events  DeathMatch Team vs  Team Domination Double Domination Last man Standing Lucky Chest Simon Says Vip Team vs Team Capture the flag Mutant Korean TvT Commands   .info .menu .vote .repair .stats .bank .online .away & .back .offline_shop Raid / Epic bosses Every 6/8 hours - drops server currency . All info in Boss Manager NPC Donate You dont need to donate to have the best gear ingame, you need just play more time, and be better then others. Web and Discord You can find us here : www.wyB.lt Discord : https://discord.gg/hTEN7uKXNg OPENING DECEMBER 7 AT 20:00 GTM +3
    • It's happening today!   https://www.lineage2.gold/home
  • 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 Disbaled AdBlock