Jump to content

ugpjosh

Members
  • Posts

    16
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

533 profile views

ugpjosh's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. I PM'd you about an error I keep getting.
  2. I don't know how to code it properly to make it work.
  3. I just need this to work for me!
  4. I'm a beginner and I'm not exactly sure how to do all that.
  5. I'm still really confused, I'm a beginner at java and I could really use some extra help here.
  6. My current code: http://pastebin.com/hTsBeh9u I'm having trouble getting my player to move to the 'STEAL_POS' whenever he's in the 'DANGER_AREA'. I can't seem to figure this out, any help? I need him to move back to this spot otherwise it will not allow me to steal from the tea stall.
  7. I have this code: "private state getState() { if (DANGER_AREA.contains(myPlayer())) return state.STEAL_POS; Entity stall = objects.closest("Tea Stall"); if (!inventory.isEmpty()) return state.DROP; if (stall != null) return state.STEAL; return state.WAIT; }" But in the second line where it says 'contains', what would I change that to to make it recognize if my player is in that area?
  8. I'm coming up with problems with the coordinate thing. Could you Team View me?
  9. Could someone help me with the code needed here? I used the thieving script tutorial for the tea stall and everytime it goes to click the stall it clicks about 3 times before it actually picks up the tea. When the camera moves to a certain point it makes me walk behind the stall to the person who wont let you steal from it. HOW can i make it so that it wont do this and if it does happen, it identifies hes yelling at me and makes me run back to the spot out front of the stall.
  10. I tried that and I still have errors. It can't seem to specify the 'inventory'.
  11. I was in the works of making a woodcutter (VERY beginner style) and I can't get the right names (eg: client.getinventory(){) I can't seem to get the "getinventory" to work. I need to know the new codes for items such as full inventory, player positions etc. I've been using this as a resource: http://pastebin.com/nZPxJM0j I know it's for rs2 but I've been converting it to 07 but cant seem to get any of the things like inventory to work. I even check osbot.org/api and went to 'inventory' and tried clien.getcapacity and etc. but it didnt want to work. Any help here would be appreciated.
×
×
  • Create New...