Jump to content

NPC issue - Lesser demon


HelloPeeps

Recommended Posts

  • 2.6.52
  • None
  • Crash report if a crash occurred
  • Private script - demon killer

Client will try kill the caged demon only once it's in the dying phase, will not detect the demon, it was working up until today or yesterday's update, I believe this might be a client issue given it uses the code below?

NPC demon = getNpcs().closest("Lesser demon"); 

 

Thanks

Edited by blood1000
  • Sad 1
Link to comment
Share on other sites

Wrong place to post, this is usually from having high reaction timer, set it to 50-100ms so the client knows the demon is 0hp, client thinks the npc still alive and continues attacking it.

EDIT:

Tell the scripter to add this to the main script


    @Override
    public int getRecommendedMirrorReactionTime() {
        return 100;
    }

Edited by Czar
  • Like 1
Link to comment
Share on other sites

8 hours ago, blood1000 said:
  • 2.6.52
  • None
  • Crash report if a crash occurred
  • Private script - demon killer

Client will try kill the caged demon only once it's in the dying phase, will not detect the demon, it was working up until today or yesterday's update, I believe this might be a client issue given it uses the code below?

NPC demon = getNpcs().closest("Lesser demon"); 

 

Thanks

Just seems like a issue in the script tbh... that code you show won't be enough to have a flawless script.
You should also check for the npc health and stuff, add some conditonal sleeps, etc

Feel free to post your code, so we can help you out 😉

Edited by Khaleesi
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...