wood1master7 Posted May 5, 2013 Posted May 5, 2013 How do i get the above (title) using OSBOT client... I tryed using the interface thing, and the interface debugger... They d on't seem to work or something, what do i do?
GoldenGates Posted May 5, 2013 Posted May 5, 2013 Post a screenie of when you enable interface and hover over anything, I'm curious about what you mean by doens't work.
wood1master7 Posted May 5, 2013 Author Posted May 5, 2013 (edited) Post a screenie of when you enable interface and hover over anything, I'm curious about what you mean by doens't work. Well i guess i mean my brain doesn't work... can you explain all the numbers in the black box? like P: parent and C: child How do i tell the interface, that's the P right? Like can you tell me how to turn on run? Through code? Edited May 5, 2013 by wood1master7
GoldenGates Posted May 5, 2013 Posted May 5, 2013 I dont have the ids for that. just do openTab(SETTINGS); sleep(int); selectInterfaceOption(int Parent, int Child, "Toggle") goes something like that. Look for the selectInterfaceOption part on the api under method provider.
Link Posted May 5, 2013 Posted May 5, 2013 (edited) Toggle interfaces and hover your mouse over something P = parent C = child EDIT: Take a look at the MethodProvider. There's a ton of useful methods..such as: isRunning() setRunning() Edited May 5, 2013 by Link
wood1master7 Posted May 6, 2013 Author Posted May 6, 2013 Toggle interfaces and hover your mouse over something P = parent C = child EDIT: Take a look at the MethodProvider. There's a ton of useful methods..such as: isRunning() setRunning() Where's the method provider?
GoldenGates Posted May 6, 2013 Posted May 6, 2013 When you open up the API, on the left column, go through the list alphabetically and go to M, it should be there.
wood1master7 Posted May 6, 2013 Author Posted May 6, 2013 I realized that... lol sorry. Anyways, do i have to add like, client. or client.getMyPlayer() ?
GoldenGates Posted May 6, 2013 Posted May 6, 2013 nope, nothing. It will give an error on eclipse in java. Just add throwexception...the quickfix will be there whenever you use anything from the method provider...i think.
wood1master7 Posted May 6, 2013 Author Posted May 6, 2013 nope, nothing. It will give an error on eclipse in java. Just add throwexception...the quickfix will be there whenever you use anything from the method provider...i think. Thanks for big help