Jump to content

badboykenzie

Members
  • Posts

    6
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

badboykenzie's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. Wow okey this is making sense, the tutorial i watched was so outdated it seems now that these methods are alot easier to call than before its going to take me alot of trial and error to get myself up to scratch! Can i add you on some form of social media or another i dont wanna keep pestering the whole community with a post everytime i have a problem lol and you clearly know your stuff =)
  2. Wow thats great and helps clear alot up! but say i needed to chop a tree i have this code, i just made it to spam click a tree just to see if it works from what everyone has replied to me with, thanks again all btw. public int onLoop() throws InterruptedException { Entity tree = objects.closest("tree"); tree.interact("Chop down"); return 50; } Now how would i go about finding if (player is moving ){ //dont click tree }else{ //click tree } do i make a new entitiy play =myPlayer or something of the sort?
  3. That would be priceless thanks =) ill keep you posted, it seems to be working i was just calling the wrong methods to do actions! where can i find the latest list of all the api and more importantly how to i effectively read them?
  4. Im sorry for being a COMPLETE NOOB but i dont know what TV means but an help from anyone would be greatly apreciated =)
  5. ill give intelliJ a try but im this new to this still im sure ill find my way around it. Ive added the client as the class library but ill give those two statements a go! thanks alot by the way for replying =) Yeah this is my problem i had no way of knowing that and im not 100% on how to read the api, im going through it now trying various things out.Thank for letting me know ill base the rest of my trials knowing that this was OSBot1 API and look for the newer functions to call! Is the new API on osbot.org/api?
  6. The title states "For Personal Use" so no scripters feel threatned by this, im not trying to add another script to the SDN just wanna get this simple woodcutter down. So my problem is that some functions like "getInventory" or "closestObjectForName()" doesnt work, even though i believe i have the right imports, if i dont then well... im sure ive done everything right to enable me to have the right imports from the API. The tutorial i watched on how to import the right api files is a little outdated but i used some common sence and my very baisc understanding to find the right ones but im just not sure on how to read the API and get the right imports, im taking wild guesses and they seem to be working, although thats not the safest or correct way to do it. So basically I just want a few people to hold my hand and walk me through this and some more people to join in and use this as an opportunity to learn some java coding for osbot! QUESTIONS: Is there a way to import all the API imports all at once..? && is this safe <-- (See what i did there?) Which imports are used for functions such as "getInventory" or "closestObjectForName" & are they still valid functions? How do i correctly read the API knowing what code is used to Import the functions Am i even using the term "Functions" correctly ALL HELP APPRECIATED IN ADVANCE!
×
×
  • Create New...