Jump to content
  • 0

Item Handler Problem


Question

5 answers to this question

Recommended Posts

  • 0
Posted (edited)
43 minutes ago, ganjaradio said:

Hello, ive made a hero coin, but when i click in game nothing happens.

The code: https://pastebin.com/6C1P1Z5i

I've also registered the item in the gameserver, with the rest handlers.

Thx in advanced!

 

what pack you using? and show full code.

Edited by wongerlt
  • 0
Posted
16 hours ago, wongerlt said:

what pack you using? and show full code.

l2jserver old interlude

 

15 hours ago, SweeTs said:

Switch case? Useless drop it.

To make it work. Register the handler, add the handler to the item xml.

there arent any item xml for etc items, alos its registered

  • 0
Posted
5 hours ago, ganjaradio said:

l2jserver old interlude

Any reason to use it? Just don't. Unless you only want to learn, play around - but that's obviously not a case as you fail adding an item handler.

For a live server ofc it's dead end.

 

If there is no xml, then.. set the handler inside sql. Ugh.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • why ban him, his name almost ressurected the forum   haiku: Kara walks in light, whispers drift like soft spring rain, time bows at his steps.   Arrays.stream(DeveloperBrain.getInstance().getThoughts()) .filter(Kara.class::isInstance) .map(Kara.class::cast) .filter(k -> Objects.nonNull(k.getCoffeeLevel())) .flatMap(k -> k.getExcuses().stream().map(e -> Map.entry(k, e))) .filter(e -> Optional.ofNullable(StackOverflow.getAnswerById( DeveloperBrain.getVariables().getInt("kara_ban_counter", 0))) .map(a -> a.isActuallyHelpful() == false) .orElse(true)) .findFirst() .filter(r -> Optional.ofNullable(Admin.getPatience()) .filter(p -> Admin.destroyPatience("KaraBanProcess", 1, true)) .isPresent()) .ifPresentOrElse(e -> { Admin.sendPacket(SystemMessage.sendString("Kara has been banned again.")); Admin.sendPacket(Sound.ITEMSOUND_ENCHANT_FAILURE.getPacket()); Admin.sendPacket(new MagicSkillUse(Admin, Kara.class, CommonSkill.BANHAMMER.getId(), 999, 1, 0)); }, () -> Admin.sendPacket(SystemMessage.sendString("Miracle! Kara survived without a ban... this time.")));
    • decrypt and encrypt is works...          
    • well,thx for your reply...i had solved my problem.its source data errors...the old Armorgrp.dat and Armorgrp-classic.dat exist errors...rly swired. about skillgrp-classic.dat,i decrypt and encrypt it,it works...but in Grand Crusade i didnot know if it exist Auto-cast.   BTW,i rly dont know why the Original .dat files exist lots errors.but my Client works good...rly sweird.   anyway,i didnot like Mobius L2ClientDat tool...but we need use it...coz there is no other tools to work with new l2 client. 客户端工具很难用,解密后加密不回去的,哪怕你不做任何修改都加密不回去。你可以试试台版客户端就知道了。
    • sell adena l2rebon signature x1 - 1kk = 1 dollars l2reborn x10 - 500kk = 4 dollars E-Global x Lu4 - 1kk = 2 dollars BOHPTS - x20-x500 TOP PRICE LINEAGE2DEX - TOP PRICE !!!!! DISCORD - GODDARDSHOP TELEGRAM - MMOPROMO Also on sale are Epic jewelry, Clothes at a very good price
    • I will search for.
  • 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