Jump to content
  • 0

Problem when Shift CLick with normal player


l2destino

Question

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

Link to comment
Share on other sites

Recommended Posts

  • 0

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).
Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0
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
Link to comment
Share on other sites

  • 0
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.

Link to comment
Share on other sites

  • 0

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".

Link to comment
Share on other sites

  • 0
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

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • @rlfem123  I’m a web developer, and I work with technologies like Next.js and React. In the last 10 years, L2 Rankzone is the only one I’ve seen that actually did something different. All the others seem to have the same source code with different templates. L2 Hopzone also did an upgrade and, for the front end, is using Vue.js. Regarding web development, we have reached a point where you can easily create websites using libraries or frameworks. Simply pick one and start working. You will learn as you go. Personally, I prefer to build my back-end APIs in Laravel if it’s a big project since the ecosystem offers everything. For smaller projects, I choose Go. Then I use either React or Next.js to call my APIs, depending on the case. Next.js also supports Server-Side Rendering (SSR) if you want to hide some things from the client. Additionally, CSS libraries have almost everything you need nowadays to start building quickly with browser compatibility. You can seriously build an L2 website with ranks, a good design, and even a simple login/register system in just 3 days. Here are some CSS libraries I personally work with: https://tailwindui.com/components   https://ui.shadcn.com/   https://mui.com/material-ui/
    • Good evening from me as well. I wouldn't recommend anyone, no matter how much love they have for the game, to try to revive it, not only because of the times but also because of the community (people who used to spend 15 hours grinding now qq for everything when they have auto-farm enabled 24/7... ) .  All the effort will be in vain. I have given all I had to this game. I have spent an incredible amount of time and over 20k the past 6 years, and the money can go to hell, but the time doesn't come back, I almost literally didn't get cancer... Also, very few people are worth collaborating with, all the rest are scammers and traitors. Unfortunately, only the projects that have been in the background for years do well.   P. S: "Once upon a time they used to be players now only complainers left" 
    • hello i use acis 401 In the video that you uploaded, the name is not visible, but it appeared to me I upload a screenshot so you can understand what I mean how can i fix it? https://prnt.sc/kTET9oxF4fos
    • The encryption is made not just for fun, its made for protecting valuable work, doing this sort of "ugly" things u ruining all the work and effort , in time u might get that in return .  
    • Welcome to my store :https://ultrasstore11.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10.50 $ 2017 Discord Account :4.99 $ 2018 Discord Account : 3.99 $ 2019 Discord Account : 2.99 $ 2020 Discord Account :1.99$ 2021 Discord Account :1.50$ 2022 Discord Account :0.99$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord :@ultrasstore11 Telegram : https://t.me/ultrastore11  
  • Topics

×
×
  • Create New...