September 9, 20223 yr Hey. Getting clapped by p3 wardens. Gonna probably make auto eat scrip in osbot. From my experience it's not detected as much as other bots. Other bots, i would just hand play in the bot client without scripts and id get auto bandos for botting. Anyway. There's the ba-ba balder. It spawns above a tile and casts a shadow on the client. I believe it's a graphics object. I guess you have to use getGraphicObjects, to figure out if it's at a tile. java.util.List<GraphicsObject> lol = getGraphicObjects().filter((Filter<GraphicsObject>) position); uhhh, yeah i'm don't know what im doing. I googled this getgraphicsobject method, and it's never mentioned anywhere on the forums besides in teh api can someone make a quick snippet for me how to detect a graphics object at a tile
September 10, 20223 yr @sexyrussian Probs some shit like this private GraphicsObject getGraphicsObjectOnPosition(final Position position) { final List<GraphicsObject> graphicsObjectList = getGraphicObjects().getAll(); if (position == null || graphicsObjectList == null || graphicsObjectList.isEmpty()) { return null; } return graphicsObjectList.stream().filter(g -> g != null && g.getPosition() == position) .findFirst().orElse(null); }
September 11, 20223 yr Author 20 hours ago, Gunman said: @sexyrussian Probs some shit like this private GraphicsObject getGraphicsObjectOnPosition(final Position position) { final List<GraphicsObject> graphicsObjectList = getGraphicObjects().getAll(); if (position == null || graphicsObjectList == null || graphicsObjectList.isEmpty()) { return null; } return graphicsObjectList.stream().filter(g -> g != null && g.getPosition() == position) .findFirst().orElse(null); } That actually looks legit AF. Don't have like fang and shadow, so I'm probably just gonna crank the difficulty to 400 and use the bot to not make mistakes
Create an account or sign in to comment