Jump to content

Coron

Registered
  • Content count

    22
  • Joined

  • Last visited

  • Feedback

    0%

Community Reputation

0 Neutral

About Coron

  • Rank
    New Botter
  • Birthday 02/01/1994
  1. Coron

    Mouse.click sometimes hanging in sleep

    I see. I wonder what a good way to work around it would be. Perhaps by limiting the time it can take by running each click in a separate thread, which uses some blocking queue to poll for clicks.
  2. Does anyone else experience that Mouse.click occassionally results in a hang in a Thread.sleep call? The code is obfuscated and part of the API so I can't determine why, but my stacktrace is.. I am creating a time-critical script so even though this happens very rarely, it is a huge issue when it does so. I have no way to reproduce it, it happens randomly.
  3. I see. Bad luck on my behalf then since I just started scripting again yesterday. Thanks
  4. I wanted to port my script from to TRIBot. First thing I needed was to retrieve a list of all players, but Players.getAll() returns an empty array even where there are players in my area. Why?
  5. Coron

    player and npc + player ID

    HP hooks have been requested for a while. Don't think TRiLeZ is going to hook them.
  6. Coron

    Need some hooks

    Don't expect any more hooks, he won't even add Character#getHealth(). Been requested for weeks.
  7. Coron

    [07] Hooks.

    Bump.
  8. Coron

    Login Bot Addition

    Sweet! Finally I can suicide bot.
  9. Coron

    Player.getRSPlayer().isInCombat();

    If you're referring to a method that checks if your target is dead, I'm afraid there is no such method. The reason is that TRiLeZ hasn't added a hook for NPC health yet. I suggest you go bump this thread. One thing you could do is check if the target is doing the death animation. Also when your target dies your interacting entity is reset, but checking if health = 0 would be so much faster.
  10. Coron

    Player.getRSPlayer().isInCombat();

    It doesn't need to be updated, I'm pretty sure it's a hook to a value that RS determines. You could write your own InCombat() method that checks if your target is dead.
  11. Coron

    Player.isMoving()

    Nevermind guys, just a fuckup by myself. I was checking the result in my paint method, which caused a lot of lag and gave a wrong result. So Player.isMoving() is in fact working! Thanks for the help.
  12. Coron

    Player.isMoving()

    That's how I want to use it, but it always returns false when I use it.
  13. Coron

    Player.isMoving()

    How exactly does this method work? It always returns false for me. I am importing the correct API.
  14. Coron

    [07] Hooks.

    Please get this hook done asap, it's all I need to finish my script. Good job on getting the site back up though!
  15. Coron

    [2007] Turning camera to a tile

    That was fast, much appreciated. All I need now for my port to be complete is RSNPC#getCurrentHealth().
×