Jump to content
  • 0

Problem when Shift CLick with normal player


Question

Posted

Hello Everyone,

Iam facing a problem when Iam trying to shift click on an NPC to wats droplist. When I do with GM everything is cool but when I do with normal player its not working.

The pack Iam using is acis and working on NPC.java on the method onActionShift

Recommended Posts

  • 0
Posted

If 

sendNpcDrop(

content is the same than regular share, than your only problems can be :

  • you didn't activate the config to true.
  • you didn't compile and replace the jar once you edited the value.
  • depending how StinkyMadness handled the htm generation, you maybe miss the htm if there is one (and since I'm lazy to reply on his topic to see the share, that will be only a guess from me).
  • 0
Posted

Put a sendMessage("test"); and see if you got something. If not you simply do something bad between the possibilities I said.

 

The leftover option being, what you kill isn't extending Npc or already override onActionShift.

  • 0
Posted (edited)
3 minutes ago, l2destino said:

But why when iam as gm its going inside the method with no problem?

 

It's not possible, except if you broke the logic with brackets { } and some sort of conditions.

 

And by "going inside the method", I suppose you mean gm panel and not the custom you try to add ?

Edited by Tryskell
  • 0
Posted
7 minutes ago, Tryskell said:

 

It's not possible, except if you broke the logic with brackets { } and some sort of conditions.

 

And by "going inside the method", I suppose you mean gm panel and not the custom you try to add ?

No iam talking about the original methon inside NPC.java 

I think for some reason it doesnt read shift when iam as a normal player.

  • 0
Posted

When you an normal player Shift + Click ignores. If you want what normal player can see drop list of NPC then you need add this feature. Search on this forum "Drop / Spoil Info".

  • 0
Posted
18 minutes ago, Rootware said:

When you an normal player Shift + Click ignores. If you want what normal player can see drop list of NPC then you need add this feature. Search on this forum "Drop / Spoil Info".

I did this from a post from Stinky madness but it doesnt go to the method onActionShift

  • 0
Posted

Try to put it under normal else, inside that else do your config check. Also add a sendMessage method inside that block, to see if you go there, as Tk suggested.

Guest
This topic is now closed to further replies.


  • Posts

    • LF the following chars / items on chronos   Elf - with class Aeore's Shillen Saint - this is possible if you had done a class change with a ticket in the past. Dwarf - with class Mystic Muse - same as above   Any greater jewels / Radiant Circle Grace or Foresight +5 and above Cloak      
    • First, you need to understand what you're doing and what you want to achieve. You have to choose a server core. After that, decide what you want your server to include, code it, modify the client to fit your server, go public, and drink champagne.   If you know how to code, creating a server is relatively easy — a few months of work and you can make it happen. Modifying the client is a completely different story. There’s a lack of tutorials, tools, and source materials. I’m currently working on the client myself, and I’ve already spent over three weeks just trying to get started due to the lack of information. If you don’t have the knowledge and experience, you’ll need a team and a bag of money — but realistically, it just won’t succeed.
    • The server has been online and stable for over 2 months now, and we’re still going strong! No wipes, no shortcuts ~ just continuous work, daily fixes, events, and improvements to ensure the best possible experience.   Great News! 🔥 CHAPTER II IS COMING — GRACIA FINAL 🔥 On February 16, L2Elixir enters a new era. The server will be officially updated to Gracia Final, opening Chapter II of our journey. Expect new content, improvements, and surprises that will refresh the gameplay while keeping the classic Gracia Final spirit alive.   More challenges, more competition, and more reasons to log in.   📅 Update Date: February 16 ⚔️ Chapter II: Gracia Final This is not a reset. This is evolution.   Prepare yourselves — Chapter II begins soon.   Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs    
    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here 👉https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..