Jump to content

LKSim

Members
  • Posts

    3
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

LKSim's Achievements

Newbie

Newbie (1/10)

3

Reputation

  1. Ah thank you, I wasn't sure where it should go so I did my best (I'm new sorry, I'll make sure to try harder next time). I ended up solving my problem having my character look for nearby loot, and if failing to find it, pushing him back into combat with the closest target (which is now the target that the character ran up to). It was a strange work around, but it works so long as there's no loot nearby.
  2. Main Loop: https://pastebin.com/RmBV18RT Methods: https://pastebin.com/KU4HEHyA So this was my first script that I set out to make. I had no real idea what I was doing at first, but pouring through the information and guides on this site taught me a lot of stuff. So I welcome you to try out my first ever script. It's a combat script that kills giant frogs, heals when damaged, loots their big bones, and banks them in Lumbridge castle bank (Top Floor). I welcome suggestions and feedback as this was very much a learning experience and I think having a set of seasoned eyes on it could really help point out some rookie mistakes. Recommendations Already equip the gear you want to be using. The default food is Tuna, and it withdraws 10 at the bank each time (for people who have decent defense (20+) I recommend no food). Just be in a reasonable location to Lumbridge swamp when starting it. Hopes For Later Be able to loot more than just one drop (currently only loots big bones, would love to have it loot a selection of desired items). Be able to select from a series of monsters/locations (I have chickens and cows working, just not together with this script) Give it a nice little GUI and paint (currently it just does its thing). I realize that I have A LOT of methods in the Task class that either aren't used, or redundant, or just plain weird. This is from the fact that I was just learning what the hell I was doing and was trying a bunch of stuff out. I decided to keep the stuff I wasn't using around just incase it might come in handy later on down the road. So, let me know what you think, and feel free to use it/alter it as much as you want. KINGs_PERFECT_FROGS.jar
  3. I'm scripting a combat bot and I'm checking if myPlayer() is: isAnimating() isMoving() isUnderAttack() but after interacting and my player runs and attacks the monster there's a moment when he's not animating, moving, or under attack (because the monster hasn't turned around yet). This is enough sometimes enough time for my character to select a new target and go to that new one, while still remaining in combat with the first target. Any insight into working around this?
×
×
  • Create New...