Jump to content

[Stable Build] OSBot 2.3.114 - Camera Zoom


Alek

Recommended Posts

This update removes the MouseZoom random event and allows botters to use any zoom settings they wish. All credits go to @Zach for making this happen. 

 

Changelog:

-Removed MouseZoom Random Event

-Updated position calculations

-Added Camera isDefaultScaleZ()

 

This is a development build so there may be issues, please report any version 2.3.114 specific issues here.

 

Edit: Moved to Stable Build 

 

-The OSBot Staff

  • Like 10
Link to comment
[ERROR][Bot #1][09/13 12:55:34 PM]: Error in bot executor!
java.lang.AbstractMethodError: client.emu.EmuClient.getScaleZ()I
	at org.osbot.rs07.api.util.GraphicUtilities.getScreenCoordinates(oj:431)
	at org.osbot.rs07.api.map.Position.getVertices(fo:79)
	at org.osbot.rs07.api.map.Position.getPolygon(fo:140)
	at org.osbot.rs07.api.map.Position.getPolygon(fo:247)
	at org.osbot.rs07.api.map.Position.isVisible(fo:390)
	at org.osbot.rs07.api.model.NPC.isOnScreen(kh:169)
	at unk.actions.attack.process(attack.java:33)
	at unk.Main.onLoop(Main.java:187)
	at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(lj:123)
	at java.lang.Thread.run(Unknown Source)

I get this when the script want to fight a NPC. I am not getting this error on V 113.

 

Edit: This is my code for attack:

if(monster != null) {
  if(monster.isOnScreen()) {  // this is line 33
    if(monster.interact("Attack")) {
      //rest of the code
    }
  }
}
Edited by Woody
  • Like 1
Link to comment

Just encountered this error.

 

 

 

[ERROR][09/16 12:14:53 PM]: Uncaught exception!
java.lang.IllegalArgumentException: Cannot change state of non-idle timeline [Model transitions:org.pushingpixels.substance.internal.animation.StateTransitionTracker READY:0.0]
    at org.pushingpixels.trident.Timeline.addCallback(Timeline.java:333)
    at org.pushingpixels.substance.internal.animation.StateTransitionTracker.onModelStateChanged(StateTransitionTracker.java:480)
    at org.pushingpixels.substance.internal.utils.RolloverButtonListener.mouseMoved(RolloverButtonListener.java:151)
    at java.awt.AWTEventMulticaster.mouseMoved(Unknown Source)
    at java.awt.Component.processMouseMotionEvent(Unknown Source)
    at javax.swing.JComponent.processMouseMotionEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$500(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
 

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...