triggamortis Posted April 8, 2015 Share Posted April 8, 2015 I'm having issues where the client in game begins to drop frames(probably around to 10 fps) when it searches for the npc to attack. Because of this, my script begins to slow down and the npc its fighting requires speed and timing. Does anyone know why this is happening or is this been like this for a while? BTW it stops droping frames when its fighting. Also want to note that there tons of constant graphics going on which probably makes it drop too. Also I highly doubt its my computer because i have an amd r9 270x which should be good enough to handle it. NPC monster = npcs.closest("NPC NAME HERE"); if(!myPlayer().isMoving() && monster != null && !myPlayer().isInteracting(monster)) monster.interact("Attack"); Quote Link to comment Share on other sites More sharing options...
Fade Posted April 8, 2015 Share Posted April 8, 2015 (edited) Runescape and osbot doesn't use the graphics card at all, it's all cpu. What's your cpu? Edited April 8, 2015 by Fade Quote Link to comment Share on other sites More sharing options...
Czar Posted April 8, 2015 Share Posted April 8, 2015 Yes this has been an issue for quite some time now, it happens most of the time when attacking npcs larger than 1x1 tiles, the only workaround seems to be the EntityDestination method EntityDestination npcDest = new EntityDestination(getBot(), npc); which you can use to hover and attack with your mouse. Personally I hover it then call interact if the mouse hovers over it, and for me it has been fine. However, don't worry, as the devs are working on a fix for issues like this. http://osbot.org/forum/topic/68748- Quote Link to comment Share on other sites More sharing options...
Eliot Posted April 8, 2015 Share Posted April 8, 2015 OSBot is working on interaction event optimizations which should be released this weekend. Cheers! Quote Link to comment Share on other sites More sharing options...