January 30, 201610 yr So the code is as follows(I think it's the right part?): public void Building() throws InterruptedException { this.log("Building"); RS2Widget Chair = this.widgets.get(162, 546); RS2Widget Bookcase = this.widgets.get(394, 1); if (Bookcase != null || Chair != null) { this.Animating(); if (!this.myPlayer().isAnimating()) { if (this.Kies_object(this.skills.getDynamic(Skill.CONSTRUCTION)) == 0) { if (this.widgets.get(394, 4) != null) { this.mouse.click(main.random((int)46, (int)65), main.random((int)75, (int)96), false); } } else { this.mouse.click(main.random((int)46, (int)65), main.random((int)108, (int)120), false); } } } } This makes normal bookcases, I need it to make Oak. Do I change the widget ID? How do I find of the ID of the thing I want to build? Bearing in mind it shows the build screen. Edited January 30, 201610 yr by GetBackToOSRS
January 30, 201610 yr So the code is as follows(I think it's the right part?): public void Building() throws InterruptedException { this.log("Building"); RS2Widget Chair = this.widgets.get(162, 546); RS2Widget Bookcase = this.widgets.get(394, 1); if (Bookcase != null || Chair != null) { this.Animating(); if (!this.myPlayer().isAnimating()) { if (this.Kies_object(this.skills.getDynamic(Skill.CONSTRUCTION)) == 0) { if (this.widgets.get(394, 4) != null) { this.mouse.click(main.random((int)46, (int)65), main.random((int)75, (int)96), false); } } else { this.mouse.click(main.random((int)46, (int)65), main.random((int)108, (int)120), false); } } } } This makes normal bookcases, I need it to make Oak. Do I change the widget ID? How do I find of the ID of the thing I want to build? Bearing in mind it shows the build screen. You have to change the widget aswell as the confirmation clicks (this stuff: this.mouse.click(main.random((int)46, (int)65), main.random((int)75, (int)96), false); ) Edited January 30, 201610 yr by Zappster
Create an account or sign in to comment