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

    • Hello everyone,   A long time ago I was also a Lucera customer. After all these years, I started wondering why the source code was never offered publicly, even as a paid option, while customers were still depending on monthly updates, extensions and closed binaries.   Because of that, I decided to start researching the project deeper from a technical point of view. I spent a lot of time analyzing how Lucera was structured, how the protections and bindings were implemented, how the core communicates with the scripts/extensions, and how everything is connected internally.   After a long process of analysis, cleanup and reconstruction, I managed to create my own decompiled Lucera based source environment. This means I can now work directly inside the source, modify core logic, change systems, fix bugs, rewrite scripts, remove limitations and develop features without depending only on external extensions or closed compiled files.   I know that some people already had access to private source versions, but for most customers the answer was always the same: “we do not sell source code.” So I decided to take a different path and build my own working source base from what I had.   This is not just a random claim or forum drama. I have already been working directly with the source, rebuilding parts of it, fixing decompilation issues, compiling scripts, correcting runtime errors and testing everything in-game.   The goal is simple: full control, full customization and the ability to continue development independently.   For anyone who doubts whether this is real or not, I will include a video demonstration showing the project, the source structure, the build process and in-game results..    
    • HOT NEWS: Gemini Spark BETA LAUNCHED! Google has officially released the Beta version of Gemini Spark, its highly anticipated modular AI workspace. Access to the new interface is currently exclusive to Google AI Ultra subscribers located within the United States. The groundbreaking update shifts the Gemini experience from a standard chat window to a clean, real-time code editor and dynamic canvas. ------------------------------------------- CONTACT Order Here: BUY GEMINI PRO Email: support@klouditem.com Telegram Channel: @klouditemcom Telegram Support: klouditem All Contact: https://linktr.ee/klouditem Website: https://klouditem.com Hours: 24/7 -- Always online SHOP NOW: klouditem.com  Gemini Pro can be useful for many daily online tasks, especially if you work with content, marketing, or websites. Some practical use cases:   ✅ Writing product descriptions ✅ Creating ad copy ideas ✅ Summarizing long documents ✅ Rewriting emails professionally ✅ Planning blog content ✅ Creating social media captions ✅ Explaining technical topics in simple words ✅ Brainstorming business ideas ✅ Checking grammar and tone ✅ Creating step-by-step guides   Best tip: don’t use AI output directly every time. Use it as a first draft, then edit it with your own experience. That gives much better and more natural results. ------------------------------------------- CONTACT Order Here: BUY GEMINI PRO Email: support@klouditem.com Telegram Channel: @klouditemcom Telegram Support: klouditem All Contact: https://linktr.ee/klouditem Website: https://klouditem.com Hours: 24/7 -- Always online SHOP NOW: klouditem.com
  • 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..