Jump to content

opafmoremedic

Members
  • Posts

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

opafmoremedic's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. Oh, what? Will this automatically go up the stairs and everything? Thanks a bunch!
  2. Hey, everyone. I'm brand new to scripting, this is only my second or third day. I made a woodcutting script (with a little help on conditional sleeping form you guys) that can successfully cut logs and drop them. However, since I'm stubborn, I'm trying to improve on my skills and improve said script. I wanted to make the new script be able to bank on a full inventory, then run back to a designated area (using the cow field north of the lumby castle, for sake of an area away from muggers). I'm at a point where, with a full inventory I can run to the gate, open said gate, but then my player won't move past that. I'm genuinely confused as to why not. Could someone point me in the right direction? This is my code so far.
  3. @Khaleesi Thanks a lot for the response, I'm having a bit of trouble though (the script works great btw). This code pretty much says, if I understand correctly, if my player isn't animating, search for the closest tree. If there's a closest tree, click chop down. If you click chop down, go to sleep for anywhere from 4-5 seconds. After that I get lost. I don't understand this part. Could you possibly explain these? @NBacon Thanks a lot for the response, I've bookmarked all of the pages you linked me too and read through the previous forum that had this same issue. It looks like he used the same tutorial I did, based on what he has written. Thanks for going into so much detail and explain the && more clearly!
  4. Hey, everyone. For starters, I'm brand new and started writing scripts today actually. I followed a very basic tutorial on this website that gave me a scripting backbone and showed me the basics. I've since been learning and scouring all sorts of forums and attempting to make a simple tree chopping script. I want the bot to chop a tree, drop the logs, chop another tree, etc. However, the bot keeps clicking multiple times while running to the tree. I attempted a sleep while moving, but it would still click a second time as it got to the tree. I tried to sleep while animating but there's still a split second in between animation and moving. I don't want to extend the sleep an overwhelming amount of time because then it'll slow down the chopping trees that are close. I was thinking, is there a line of code that would allow the player to only click once until the action is completed? This is my code, sorry if this is a dumb question.
×
×
  • Create New...