sexyrussian Posted September 9, 2022 Share Posted September 9, 2022 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 Quote Link to comment Share on other sites More sharing options...
Gunman Posted September 10, 2022 Share Posted September 10, 2022 @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); } 1 Quote Link to comment Share on other sites More sharing options...
sexyrussian Posted September 11, 2022 Author Share Posted September 11, 2022 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 1 Quote Link to comment Share on other sites More sharing options...