Medusa Posted June 5, 2019 Author Share Posted June 5, 2019 Might have to update second trade screen accept widget (You'll have to do it) Quote Link to comment Share on other sites More sharing options...
Dopestdaddy Posted June 20, 2019 Share Posted June 20, 2019 (edited) i dont know what code to use i tried to change some of the code with code from the first accept trade widget but it didnt work lol idk what to do but i did learn how to compile the source with eclipse any pointers would be kind Edited June 20, 2019 by Dopestdaddy Quote Link to comment Share on other sites More sharing options...
Medusa Posted June 20, 2019 Author Share Posted June 20, 2019 1 hour ago, Dopestdaddy said: i dont know what code to use i tried to change some of the code with code from the first accept trade widget but it didnt work lol idk what to do but i did learn how to compile the source with eclipse any pointers would be kind Don't think the first widget needs updating, but I made the second one static, so you will have to update that. Just use OSBot's widget finder thing (In the client) to find the new ID, or make it dynamic using the getWidgetContainingText function. Quote Link to comment Share on other sites More sharing options...
Alik Posted November 22, 2019 Share Posted November 22, 2019 How can I run this/does it still work? Quote Link to comment Share on other sites More sharing options...
Medusa Posted November 22, 2019 Author Share Posted November 22, 2019 2 hours ago, Alik said: How can I run this/does it still work? I'm guessing it still works. Just go to the github page and download the code. Then compile it yourself. Quote Link to comment Share on other sites More sharing options...
Alik Posted November 22, 2019 Share Posted November 22, 2019 30 minutes ago, Medusa said: I'm guessing it still works. Just go to the github page and download the code. Then compile it yourself. it does give me some errors tho: $javac org/Medusaa/JB/JoKeBoT.java org/Medusaa/JB/JoKeBoT.java:7: error: package org.osbot.rs07.api.map.constants does not exist import org.osbot.rs07.api.map.constants.Banks; ^ org/Medusaa/JB/JoKeBoT.java:8: error: package org.osbot.rs07.api.model does not exist import org.osbot.rs07.api.model.NPC; ^ org/Medusaa/JB/JoKeBoT.java:9: error: package org.osbot.rs07.api.model does not exist import org.osbot.rs07.api.model.Player; ^ org/Medusaa/JB/JoKeBoT.java:10: error: package org.osbot.rs07.api.ui does not exist import org.osbot.rs07.api.ui.RS2Widget; ^ org/Medusaa/JB/JoKeBoT.java:11: error: package org.osbot.rs07.script does not exist import org.osbot.rs07.script.Script; ^ org/Medusaa/JB/JoKeBoT.java:12: error: package org.osbot.rs07.script does not exist import org.osbot.rs07.script.ScriptManifest; ^ org/Medusaa/JB/JoKeBoT.java:13: error: package org.osbot.rs07.utility does not exist import org.osbot.rs07.utility.ConditionalSleep; ^ org/Medusaa/JB/JoKeBoT.java:16: error: cannot find symbol public class JoKeBoT extends Script { ^ symbol: class Script org/Medusaa/JB/JoKeBoT.java:15: error: cannot find symbol @ScriptManifest(author = "Medusaa", info = "OOF", logo = "", name = "Joke Bot", version = 0) ^ symbol: class ScriptManifest org/Medusaa/JB/JoKeBoT.java:25: error: method does not override or implement a method from a supertype @Override ^ org/Medusaa/JB/JoKeBoT.java:42: error: cannot find symbol log("Script started with " + jOkEs.size() + " jokes."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:56: error: method does not override or implement a method from a supertype @Override ^ org/Medusaa/JB/JoKeBoT.java:59: error: cannot find symbol if (!Banks.GRAND_EXCHANGE.contains(myPlayer())) { ^ symbol: method myPlayer() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:59: error: package Banks does not exist if (!Banks.GRAND_EXCHANGE.contains(myPlayer())) { ^ org/Medusaa/JB/JoKeBoT.java:60: error: cannot find symbol log("Walking to ge"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:61: error: cannot find symbol getWalking().webWalk(Banks.GRAND_EXCHANGE); ^ symbol: variable Banks location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:61: error: cannot find symbol getWalking().webWalk(Banks.GRAND_EXCHANGE); ^ symbol: method getWalking() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:65: error: cannot find symbol log("Telling joke"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:67: error: cannot find symbol keyboard.typeString(joke[0], true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:68: error: cannot find symbol keyboard.typeString(joke[1], true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:71: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:75: error: cannot find symbol if (getInventory().isFull()) { ^ symbol: method getInventory() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:77: error: cannot find symbol NPC bank = getNpcs().closest("Banker"); ^ symbol: class NPC location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:77: error: cannot find symbol NPC bank = getNpcs().closest("Banker"); ^ symbol: method getNpcs() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:79: error: cannot find symbol if (!getBank().isOpen()) { ^ symbol: method getBank() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:81: error: cannot find symbol log("Opening bank..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:82: error: cannot find symbol new ConditionalSleep(2000, 2000) { ^ symbol: class ConditionalSleep location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:89: error: cannot find symbol log("Depositing inventory..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:90: error: cannot find symbol getBank().depositAll(); ^ symbol: method getBank() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:91: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:96: error: cannot find symbol if (getBank().isOpen()) { ^ symbol: method getBank() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:97: error: cannot find symbol log("Walking to random spot"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:98: error: package Banks does not exist getWalking().webWalk(Banks.GRAND_EXCHANGE.getRandomPosition()); ^ org/Medusaa/JB/JoKeBoT.java:98: error: cannot find symbol getWalking().webWalk(Banks.GRAND_EXCHANGE.getRandomPosition()); ^ symbol: method getWalking() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:99: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:102: error: cannot find symbol if (getTrade().isCurrentlyTrading()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:103: error: cannot find symbol log("In trade..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:105: error: cannot find symbol getTrade().declineTrade(); ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:106: error: cannot find symbol keyboard.typeString("Took too long to accept trade :(", true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:108: error: cannot find symbol if (getTrade().isFirstInterfaceOpen()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:109: error: cannot find symbol log("First trade..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:110: error: cannot find symbol if (getTrade().didOtherAcceptTrade()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:111: error: cannot find symbol log("Accepted trade 1"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:112: error: cannot find symbol if (!getTrade().getTheirOffers().isEmpty()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:113: error: cannot find symbol log("Accepting trade"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:114: error: cannot find symbol RS2Widget acceptTrade = getWidgets().getWidgetContainingText("Accept"); ^ symbol: class RS2Widget location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:114: error: cannot find symbol RS2Widget acceptTrade = getWidgets().getWidgetContainingText("Accept"); ^ symbol: method getWidgets() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:116: error: cannot find symbol log("Accepted first trade screen"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:117: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:120: error: cannot find symbol log("Their offer is empty"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:124: error: cannot find symbol if (getTrade().isSecondInterfaceOpen()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:125: error: cannot find symbol log("Second trade..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:126: error: cannot find symbol if (getTrade().didOtherAcceptTrade()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:127: error: cannot find symbol RS2Widget acceptTrade = getWidgets().get(334, 25); ^ symbol: class RS2Widget location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:127: error: cannot find symbol RS2Widget acceptTrade = getWidgets().get(334, 25); ^ symbol: method getWidgets() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:130: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:135: error: cannot find symbol log("Waiting for trade"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:136: error: cannot find symbol if (getTrade().getLastRequestingPlayer() != null) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:137: error: cannot find symbol Player p = getPlayers().closest(getTrade().getLastRequestingPlayer().getName()); ^ symbol: class Player location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:137: error: cannot find symbol Player p = getPlayers().closest(getTrade().getLastRequestingPlayer().getName()); ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:137: error: cannot find symbol Player p = getPlayers().closest(getTrade().getLastRequestingPlayer().getName()); ^ symbol: method getPlayers() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:141: error: cannot find symbol new ConditionalSleep(2000, 2000) { ^ symbol: class ConditionalSleep location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:148: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:150: error: cannot find symbol log("Advertising..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:151: error: cannot find symbol keyboard.typeString("Trade me anything for one of " + jOkEs.size() + " jokes - " + myPlayer().getName(), true); ^ symbol: method myPlayer() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:151: error: cannot find symbol keyboard.typeString("Trade me anything for one of " + jOkEs.size() + " jokes - " + myPlayer().getName(), true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:156: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:168: error: method does not override or implement a method from a supertype @Override ^ org/Medusaa/JB/JoKeBoT.java:170: error: cannot find symbol if (getTrade().isCurrentlyTrading()) { ^ symbol: method getTrade() location: class JoKeBoT 69 errors 30 minutes ago, Medusa said: I'm guessing it still works. Just go to the github page and download the code. Then compile it yourself. it does give me some errors tho: $javac org/Medusaa/JB/JoKeBoT.java org/Medusaa/JB/JoKeBoT.java:7: error: package org.osbot.rs07.api.map.constants does not exist import org.osbot.rs07.api.map.constants.Banks; ^ org/Medusaa/JB/JoKeBoT.java:8: error: package org.osbot.rs07.api.model does not exist import org.osbot.rs07.api.model.NPC; ^ org/Medusaa/JB/JoKeBoT.java:9: error: package org.osbot.rs07.api.model does not exist import org.osbot.rs07.api.model.Player; ^ org/Medusaa/JB/JoKeBoT.java:10: error: package org.osbot.rs07.api.ui does not exist import org.osbot.rs07.api.ui.RS2Widget; ^ org/Medusaa/JB/JoKeBoT.java:11: error: package org.osbot.rs07.script does not exist import org.osbot.rs07.script.Script; ^ org/Medusaa/JB/JoKeBoT.java:12: error: package org.osbot.rs07.script does not exist import org.osbot.rs07.script.ScriptManifest; ^ org/Medusaa/JB/JoKeBoT.java:13: error: package org.osbot.rs07.utility does not exist import org.osbot.rs07.utility.ConditionalSleep; ^ org/Medusaa/JB/JoKeBoT.java:16: error: cannot find symbol public class JoKeBoT extends Script { ^ symbol: class Script org/Medusaa/JB/JoKeBoT.java:15: error: cannot find symbol @ScriptManifest(author = "Medusaa", info = "OOF", logo = "", name = "Joke Bot", version = 0) ^ symbol: class ScriptManifest org/Medusaa/JB/JoKeBoT.java:25: error: method does not override or implement a method from a supertype @Override ^ org/Medusaa/JB/JoKeBoT.java:42: error: cannot find symbol log("Script started with " + jOkEs.size() + " jokes."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:56: error: method does not override or implement a method from a supertype @Override ^ org/Medusaa/JB/JoKeBoT.java:59: error: cannot find symbol if (!Banks.GRAND_EXCHANGE.contains(myPlayer())) { ^ symbol: method myPlayer() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:59: error: package Banks does not exist if (!Banks.GRAND_EXCHANGE.contains(myPlayer())) { ^ org/Medusaa/JB/JoKeBoT.java:60: error: cannot find symbol log("Walking to ge"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:61: error: cannot find symbol getWalking().webWalk(Banks.GRAND_EXCHANGE); ^ symbol: variable Banks location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:61: error: cannot find symbol getWalking().webWalk(Banks.GRAND_EXCHANGE); ^ symbol: method getWalking() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:65: error: cannot find symbol log("Telling joke"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:67: error: cannot find symbol keyboard.typeString(joke[0], true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:68: error: cannot find symbol keyboard.typeString(joke[1], true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:71: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:75: error: cannot find symbol if (getInventory().isFull()) { ^ symbol: method getInventory() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:77: error: cannot find symbol NPC bank = getNpcs().closest("Banker"); ^ symbol: class NPC location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:77: error: cannot find symbol NPC bank = getNpcs().closest("Banker"); ^ symbol: method getNpcs() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:79: error: cannot find symbol if (!getBank().isOpen()) { ^ symbol: method getBank() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:81: error: cannot find symbol log("Opening bank..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:82: error: cannot find symbol new ConditionalSleep(2000, 2000) { ^ symbol: class ConditionalSleep location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:89: error: cannot find symbol log("Depositing inventory..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:90: error: cannot find symbol getBank().depositAll(); ^ symbol: method getBank() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:91: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:96: error: cannot find symbol if (getBank().isOpen()) { ^ symbol: method getBank() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:97: error: cannot find symbol log("Walking to random spot"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:98: error: package Banks does not exist getWalking().webWalk(Banks.GRAND_EXCHANGE.getRandomPosition()); ^ org/Medusaa/JB/JoKeBoT.java:98: error: cannot find symbol getWalking().webWalk(Banks.GRAND_EXCHANGE.getRandomPosition()); ^ symbol: method getWalking() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:99: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:102: error: cannot find symbol if (getTrade().isCurrentlyTrading()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:103: error: cannot find symbol log("In trade..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:105: error: cannot find symbol getTrade().declineTrade(); ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:106: error: cannot find symbol keyboard.typeString("Took too long to accept trade :(", true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:108: error: cannot find symbol if (getTrade().isFirstInterfaceOpen()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:109: error: cannot find symbol log("First trade..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:110: error: cannot find symbol if (getTrade().didOtherAcceptTrade()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:111: error: cannot find symbol log("Accepted trade 1"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:112: error: cannot find symbol if (!getTrade().getTheirOffers().isEmpty()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:113: error: cannot find symbol log("Accepting trade"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:114: error: cannot find symbol RS2Widget acceptTrade = getWidgets().getWidgetContainingText("Accept"); ^ symbol: class RS2Widget location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:114: error: cannot find symbol RS2Widget acceptTrade = getWidgets().getWidgetContainingText("Accept"); ^ symbol: method getWidgets() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:116: error: cannot find symbol log("Accepted first trade screen"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:117: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:120: error: cannot find symbol log("Their offer is empty"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:124: error: cannot find symbol if (getTrade().isSecondInterfaceOpen()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:125: error: cannot find symbol log("Second trade..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:126: error: cannot find symbol if (getTrade().didOtherAcceptTrade()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:127: error: cannot find symbol RS2Widget acceptTrade = getWidgets().get(334, 25); ^ symbol: class RS2Widget location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:127: error: cannot find symbol RS2Widget acceptTrade = getWidgets().get(334, 25); ^ symbol: method getWidgets() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:130: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:135: error: cannot find symbol log("Waiting for trade"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:136: error: cannot find symbol if (getTrade().getLastRequestingPlayer() != null) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:137: error: cannot find symbol Player p = getPlayers().closest(getTrade().getLastRequestingPlayer().getName()); ^ symbol: class Player location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:137: error: cannot find symbol Player p = getPlayers().closest(getTrade().getLastRequestingPlayer().getName()); ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:137: error: cannot find symbol Player p = getPlayers().closest(getTrade().getLastRequestingPlayer().getName()); ^ symbol: method getPlayers() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:141: error: cannot find symbol new ConditionalSleep(2000, 2000) { ^ symbol: class ConditionalSleep location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:148: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:150: error: cannot find symbol log("Advertising..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:151: error: cannot find symbol keyboard.typeString("Trade me anything for one of " + jOkEs.size() + " jokes - " + myPlayer().getName(), true); ^ symbol: method myPlayer() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:151: error: cannot find symbol keyboard.typeString("Trade me anything for one of " + jOkEs.size() + " jokes - " + myPlayer().getName(), true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:156: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:168: error: method does not override or implement a method from a supertype @Override ^ org/Medusaa/JB/JoKeBoT.java:170: error: cannot find symbol if (getTrade().isCurrentlyTrading()) { ^ symbol: method getTrade() location: class JoKeBoT 69 errors Quote Link to comment Share on other sites More sharing options...
Medusa Posted November 23, 2019 Author Share Posted November 23, 2019 11 hours ago, Alik said: it does give me some errors tho: Reveal hidden contents $javac org/Medusaa/JB/JoKeBoT.java org/Medusaa/JB/JoKeBoT.java:7: error: package org.osbot.rs07.api.map.constants does not exist import org.osbot.rs07.api.map.constants.Banks; ^ org/Medusaa/JB/JoKeBoT.java:8: error: package org.osbot.rs07.api.model does not exist import org.osbot.rs07.api.model.NPC; ^ org/Medusaa/JB/JoKeBoT.java:9: error: package org.osbot.rs07.api.model does not exist import org.osbot.rs07.api.model.Player; ^ org/Medusaa/JB/JoKeBoT.java:10: error: package org.osbot.rs07.api.ui does not exist import org.osbot.rs07.api.ui.RS2Widget; ^ org/Medusaa/JB/JoKeBoT.java:11: error: package org.osbot.rs07.script does not exist import org.osbot.rs07.script.Script; ^ org/Medusaa/JB/JoKeBoT.java:12: error: package org.osbot.rs07.script does not exist import org.osbot.rs07.script.ScriptManifest; ^ org/Medusaa/JB/JoKeBoT.java:13: error: package org.osbot.rs07.utility does not exist import org.osbot.rs07.utility.ConditionalSleep; ^ org/Medusaa/JB/JoKeBoT.java:16: error: cannot find symbol public class JoKeBoT extends Script { ^ symbol: class Script org/Medusaa/JB/JoKeBoT.java:15: error: cannot find symbol @ScriptManifest(author = "Medusaa", info = "OOF", logo = "", name = "Joke Bot", version = 0) ^ symbol: class ScriptManifest org/Medusaa/JB/JoKeBoT.java:25: error: method does not override or implement a method from a supertype @Override ^ org/Medusaa/JB/JoKeBoT.java:42: error: cannot find symbol log("Script started with " + jOkEs.size() + " jokes."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:56: error: method does not override or implement a method from a supertype @Override ^ org/Medusaa/JB/JoKeBoT.java:59: error: cannot find symbol if (!Banks.GRAND_EXCHANGE.contains(myPlayer())) { ^ symbol: method myPlayer() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:59: error: package Banks does not exist if (!Banks.GRAND_EXCHANGE.contains(myPlayer())) { ^ org/Medusaa/JB/JoKeBoT.java:60: error: cannot find symbol log("Walking to ge"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:61: error: cannot find symbol getWalking().webWalk(Banks.GRAND_EXCHANGE); ^ symbol: variable Banks location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:61: error: cannot find symbol getWalking().webWalk(Banks.GRAND_EXCHANGE); ^ symbol: method getWalking() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:65: error: cannot find symbol log("Telling joke"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:67: error: cannot find symbol keyboard.typeString(joke[0], true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:68: error: cannot find symbol keyboard.typeString(joke[1], true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:71: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:75: error: cannot find symbol if (getInventory().isFull()) { ^ symbol: method getInventory() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:77: error: cannot find symbol NPC bank = getNpcs().closest("Banker"); ^ symbol: class NPC location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:77: error: cannot find symbol NPC bank = getNpcs().closest("Banker"); ^ symbol: method getNpcs() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:79: error: cannot find symbol if (!getBank().isOpen()) { ^ symbol: method getBank() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:81: error: cannot find symbol log("Opening bank..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:82: error: cannot find symbol new ConditionalSleep(2000, 2000) { ^ symbol: class ConditionalSleep location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:89: error: cannot find symbol log("Depositing inventory..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:90: error: cannot find symbol getBank().depositAll(); ^ symbol: method getBank() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:91: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:96: error: cannot find symbol if (getBank().isOpen()) { ^ symbol: method getBank() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:97: error: cannot find symbol log("Walking to random spot"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:98: error: package Banks does not exist getWalking().webWalk(Banks.GRAND_EXCHANGE.getRandomPosition()); ^ org/Medusaa/JB/JoKeBoT.java:98: error: cannot find symbol getWalking().webWalk(Banks.GRAND_EXCHANGE.getRandomPosition()); ^ symbol: method getWalking() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:99: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:102: error: cannot find symbol if (getTrade().isCurrentlyTrading()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:103: error: cannot find symbol log("In trade..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:105: error: cannot find symbol getTrade().declineTrade(); ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:106: error: cannot find symbol keyboard.typeString("Took too long to accept trade :(", true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:108: error: cannot find symbol if (getTrade().isFirstInterfaceOpen()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:109: error: cannot find symbol log("First trade..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:110: error: cannot find symbol if (getTrade().didOtherAcceptTrade()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:111: error: cannot find symbol log("Accepted trade 1"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:112: error: cannot find symbol if (!getTrade().getTheirOffers().isEmpty()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:113: error: cannot find symbol log("Accepting trade"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:114: error: cannot find symbol RS2Widget acceptTrade = getWidgets().getWidgetContainingText("Accept"); ^ symbol: class RS2Widget location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:114: error: cannot find symbol RS2Widget acceptTrade = getWidgets().getWidgetContainingText("Accept"); ^ symbol: method getWidgets() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:116: error: cannot find symbol log("Accepted first trade screen"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:117: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:120: error: cannot find symbol log("Their offer is empty"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:124: error: cannot find symbol if (getTrade().isSecondInterfaceOpen()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:125: error: cannot find symbol log("Second trade..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:126: error: cannot find symbol if (getTrade().didOtherAcceptTrade()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:127: error: cannot find symbol RS2Widget acceptTrade = getWidgets().get(334, 25); ^ symbol: class RS2Widget location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:127: error: cannot find symbol RS2Widget acceptTrade = getWidgets().get(334, 25); ^ symbol: method getWidgets() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:130: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:135: error: cannot find symbol log("Waiting for trade"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:136: error: cannot find symbol if (getTrade().getLastRequestingPlayer() != null) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:137: error: cannot find symbol Player p = getPlayers().closest(getTrade().getLastRequestingPlayer().getName()); ^ symbol: class Player location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:137: error: cannot find symbol Player p = getPlayers().closest(getTrade().getLastRequestingPlayer().getName()); ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:137: error: cannot find symbol Player p = getPlayers().closest(getTrade().getLastRequestingPlayer().getName()); ^ symbol: method getPlayers() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:141: error: cannot find symbol new ConditionalSleep(2000, 2000) { ^ symbol: class ConditionalSleep location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:148: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:150: error: cannot find symbol log("Advertising..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:151: error: cannot find symbol keyboard.typeString("Trade me anything for one of " + jOkEs.size() + " jokes - " + myPlayer().getName(), true); ^ symbol: method myPlayer() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:151: error: cannot find symbol keyboard.typeString("Trade me anything for one of " + jOkEs.size() + " jokes - " + myPlayer().getName(), true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:156: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:168: error: method does not override or implement a method from a supertype @Override ^ org/Medusaa/JB/JoKeBoT.java:170: error: cannot find symbol if (getTrade().isCurrentlyTrading()) { ^ symbol: method getTrade() location: class JoKeBoT 69 errors it does give me some errors tho: Hide contents $javac org/Medusaa/JB/JoKeBoT.java org/Medusaa/JB/JoKeBoT.java:7: error: package org.osbot.rs07.api.map.constants does not exist import org.osbot.rs07.api.map.constants.Banks; ^ org/Medusaa/JB/JoKeBoT.java:8: error: package org.osbot.rs07.api.model does not exist import org.osbot.rs07.api.model.NPC; ^ org/Medusaa/JB/JoKeBoT.java:9: error: package org.osbot.rs07.api.model does not exist import org.osbot.rs07.api.model.Player; ^ org/Medusaa/JB/JoKeBoT.java:10: error: package org.osbot.rs07.api.ui does not exist import org.osbot.rs07.api.ui.RS2Widget; ^ org/Medusaa/JB/JoKeBoT.java:11: error: package org.osbot.rs07.script does not exist import org.osbot.rs07.script.Script; ^ org/Medusaa/JB/JoKeBoT.java:12: error: package org.osbot.rs07.script does not exist import org.osbot.rs07.script.ScriptManifest; ^ org/Medusaa/JB/JoKeBoT.java:13: error: package org.osbot.rs07.utility does not exist import org.osbot.rs07.utility.ConditionalSleep; ^ org/Medusaa/JB/JoKeBoT.java:16: error: cannot find symbol public class JoKeBoT extends Script { ^ symbol: class Script org/Medusaa/JB/JoKeBoT.java:15: error: cannot find symbol @ScriptManifest(author = "Medusaa", info = "OOF", logo = "", name = "Joke Bot", version = 0) ^ symbol: class ScriptManifest org/Medusaa/JB/JoKeBoT.java:25: error: method does not override or implement a method from a supertype @Override ^ org/Medusaa/JB/JoKeBoT.java:42: error: cannot find symbol log("Script started with " + jOkEs.size() + " jokes."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:56: error: method does not override or implement a method from a supertype @Override ^ org/Medusaa/JB/JoKeBoT.java:59: error: cannot find symbol if (!Banks.GRAND_EXCHANGE.contains(myPlayer())) { ^ symbol: method myPlayer() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:59: error: package Banks does not exist if (!Banks.GRAND_EXCHANGE.contains(myPlayer())) { ^ org/Medusaa/JB/JoKeBoT.java:60: error: cannot find symbol log("Walking to ge"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:61: error: cannot find symbol getWalking().webWalk(Banks.GRAND_EXCHANGE); ^ symbol: variable Banks location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:61: error: cannot find symbol getWalking().webWalk(Banks.GRAND_EXCHANGE); ^ symbol: method getWalking() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:65: error: cannot find symbol log("Telling joke"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:67: error: cannot find symbol keyboard.typeString(joke[0], true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:68: error: cannot find symbol keyboard.typeString(joke[1], true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:71: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:75: error: cannot find symbol if (getInventory().isFull()) { ^ symbol: method getInventory() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:77: error: cannot find symbol NPC bank = getNpcs().closest("Banker"); ^ symbol: class NPC location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:77: error: cannot find symbol NPC bank = getNpcs().closest("Banker"); ^ symbol: method getNpcs() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:79: error: cannot find symbol if (!getBank().isOpen()) { ^ symbol: method getBank() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:81: error: cannot find symbol log("Opening bank..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:82: error: cannot find symbol new ConditionalSleep(2000, 2000) { ^ symbol: class ConditionalSleep location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:89: error: cannot find symbol log("Depositing inventory..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:90: error: cannot find symbol getBank().depositAll(); ^ symbol: method getBank() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:91: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:96: error: cannot find symbol if (getBank().isOpen()) { ^ symbol: method getBank() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:97: error: cannot find symbol log("Walking to random spot"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:98: error: package Banks does not exist getWalking().webWalk(Banks.GRAND_EXCHANGE.getRandomPosition()); ^ org/Medusaa/JB/JoKeBoT.java:98: error: cannot find symbol getWalking().webWalk(Banks.GRAND_EXCHANGE.getRandomPosition()); ^ symbol: method getWalking() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:99: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:102: error: cannot find symbol if (getTrade().isCurrentlyTrading()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:103: error: cannot find symbol log("In trade..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:105: error: cannot find symbol getTrade().declineTrade(); ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:106: error: cannot find symbol keyboard.typeString("Took too long to accept trade :(", true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:108: error: cannot find symbol if (getTrade().isFirstInterfaceOpen()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:109: error: cannot find symbol log("First trade..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:110: error: cannot find symbol if (getTrade().didOtherAcceptTrade()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:111: error: cannot find symbol log("Accepted trade 1"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:112: error: cannot find symbol if (!getTrade().getTheirOffers().isEmpty()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:113: error: cannot find symbol log("Accepting trade"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:114: error: cannot find symbol RS2Widget acceptTrade = getWidgets().getWidgetContainingText("Accept"); ^ symbol: class RS2Widget location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:114: error: cannot find symbol RS2Widget acceptTrade = getWidgets().getWidgetContainingText("Accept"); ^ symbol: method getWidgets() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:116: error: cannot find symbol log("Accepted first trade screen"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:117: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:120: error: cannot find symbol log("Their offer is empty"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:124: error: cannot find symbol if (getTrade().isSecondInterfaceOpen()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:125: error: cannot find symbol log("Second trade..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:126: error: cannot find symbol if (getTrade().didOtherAcceptTrade()) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:127: error: cannot find symbol RS2Widget acceptTrade = getWidgets().get(334, 25); ^ symbol: class RS2Widget location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:127: error: cannot find symbol RS2Widget acceptTrade = getWidgets().get(334, 25); ^ symbol: method getWidgets() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:130: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:135: error: cannot find symbol log("Waiting for trade"); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:136: error: cannot find symbol if (getTrade().getLastRequestingPlayer() != null) { ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:137: error: cannot find symbol Player p = getPlayers().closest(getTrade().getLastRequestingPlayer().getName()); ^ symbol: class Player location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:137: error: cannot find symbol Player p = getPlayers().closest(getTrade().getLastRequestingPlayer().getName()); ^ symbol: method getTrade() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:137: error: cannot find symbol Player p = getPlayers().closest(getTrade().getLastRequestingPlayer().getName()); ^ symbol: method getPlayers() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:141: error: cannot find symbol new ConditionalSleep(2000, 2000) { ^ symbol: class ConditionalSleep location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:148: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:150: error: cannot find symbol log("Advertising..."); ^ symbol: method log(String) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:151: error: cannot find symbol keyboard.typeString("Trade me anything for one of " + jOkEs.size() + " jokes - " + myPlayer().getName(), true); ^ symbol: method myPlayer() location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:151: error: cannot find symbol keyboard.typeString("Trade me anything for one of " + jOkEs.size() + " jokes - " + myPlayer().getName(), true); ^ symbol: variable keyboard location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:156: error: cannot find symbol return random(200, 300); ^ symbol: method random(int,int) location: class JoKeBoT org/Medusaa/JB/JoKeBoT.java:168: error: method does not override or implement a method from a supertype @Override ^ org/Medusaa/JB/JoKeBoT.java:170: error: cannot find symbol if (getTrade().isCurrentlyTrading()) { ^ symbol: method getTrade() location: class JoKeBoT 69 errors so... you didn't import osbot jar 1 Quote Link to comment Share on other sites More sharing options...
Alik Posted November 23, 2019 Share Posted November 23, 2019 9 hours ago, Medusa said: so... you didn't import osbot jar Yeah sorry, I was baked yesterday.. One note: the bot keeps going after someone when they decline or have traded the bot once. It will run the whole ge after the guy if he puts an item in and declines lol Quote Link to comment Share on other sites More sharing options...
Medusa Posted November 24, 2019 Author Share Posted November 24, 2019 2 hours ago, Alik said: Yeah sorry, I was baked yesterday.. One note: the bot keeps going after someone when they decline or have traded the bot once. It will run the whole ge after the guy if he puts an item in and declines lol Add some different checks then. This is a very basic script Quote Link to comment Share on other sites More sharing options...
Nofacenocase Posted March 27, 2020 Share Posted March 27, 2020 gz Quote Link to comment Share on other sites More sharing options...
lly34 Posted March 31, 2020 Share Posted March 31, 2020 hi how do I compile this Quote Link to comment Share on other sites More sharing options...