-
Posts
40 -
Joined
-
Last visited
-
Feedback
0%
Everything posted by TheManWhoBots
-
Chin Hunter Script doesn't walk or pick up traps
TheManWhoBots replied to TheManWhoBots's topic in Scripting Help
I've realized that the action and string id parameters were switched, that's why the inventory interaction wouldn't work. It seems to be working now. However walking still does nothing. I've even checked that the script detects the player in the pre-defined 'huntArea', then get the player to move to a random spot within that area. The method looks like: getWalking().walk(position); Where 'position' is the return of a position randomizing method. It doesn't walk, it does nothing. -
Chin Hunter Script doesn't walk or pick up traps
TheManWhoBots replied to TheManWhoBots's topic in Scripting Help
I've tried to use the basic walk(position) method as well, nothing happens. Even the getInventory().interact() doesn't work -
Hello, I am new to scripting for bots and have recently created a Chin Hunter Script. The Script's logic is fine and should function after reading the code. However, this is not the case. The Script idles after doing nothing in the first state then switches to the second state and begins to idle while using a massive amount of CPU. When the Script calls the onLoop() method, everything works as intended. I am using a "Case-Switch" method to determine which action should be taken at each interval of the Script. The logic works fine, because I can use the logger to determine that different states are being activated. However the ingame player doesn't actually do the actions as intended. Instead the code is simply read then executed WITHOUT doing any of the osBot API actions (WebWalking, getInventory() interactions, Item recognition, etc). Despite all of this, the logger accurately confirms that the actions such as WebWalking are being executed. Here is a snipplet of the code (with documentation): case LAYTRAP: log("LAYING TRAPS..."); if (!maxTrapsLaid()) { // maxTrapsLaid() - method that returns boolean of whether trapsLaid equals calculated max traps based on level (works) getWalking().webWalk(randomizePosition()); // WebWalk to random position defined by randomizePosition(), returns a Position within 'huntArea' getInventory().interact("Box Trap", "Lay"); // GetInventory interaction with a Box Trap to lay the trap (doesn't work) sleep(random(1500,3000)); // script delays to lay the next trap in timely manner trapsLaid++; // executed after each trap is laid to count amount of traps currently laid, corresponds with maxTrapsLaid() (works) } break; Here is the code without documentation: case LAYTRAP: log("LAYING TRAPS..."); if (!maxTrapsLaid()) { getWalking().webWalk(randomizePosition()); getInventory().interact("Box Trap", "Lay"); sleep(random(1500, 3000)); trapsLaid++; } break; I know the Script logic works, because in the Logger I have seen it switch from states "Laying traps" to "Catching Chins", despite doing nothing. The issue is that WebWalking does nothing and Inventory interaction does nothing.. (I've tried to use both String values and Integer values for the first ID parameter of the interact() method) Where have I gone wrong? **EDIT** I fixed the getInventory().interact() method, it lays traps properly. However it still doesn't detect GroundItems or do any walking.
-
Client doesn't launch ***Never mind, wasn't launching until I re-typed my username for some reason***
-
I uninstalled my current versions, Installed JAva 8 JDK, and OSBot works again. Sorry if this is a nooby re-post of the same issue lol. Thanks for the help man
-
I have used OsBot on and off for years (with several different accounts), and have never experienced this error. When I click launch client I receive this message: "There was an error launching OSBot! Please verify that your boot options are valid!". My most recent use was in June 2017 and I had no issue with loading the client. I've tried the solutions offered by the help post from 2015 and none of worked. Is there any way to download previous versions of OsBot or am I just totally unable to use this client as of now?
-
As of 12/30/2017 OSBot is broken. Error report: java.lang.IllegalArgumentException at org.osbot.xC.<init>(wab:221) at org.osbot.xC.<init>(wab:293) at org.osbot.xC.<init>(wab:759) at org.osbot.lPt2.IIiIiiiiiIiI(gab:14) at org.osbot.Boot.IIiIiiiiiIiI(qr:310) at org.osbot.Boot.launch(qr:386) at org.osbot.Ic.IiiiiiiiIIIi(mx:633) at org.osbot.Ic.IIiIiiiiiIiI(mx:28) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source) at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.desktop/java.awt.Component.processMouseEvent(Unknown Source) at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source) at java.desktop/java.awt.Component.processEvent(Unknown Source) at java.desktop/java.awt.Container.processEvent(Unknown Source) at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.Component.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue.access$500(Unknown Source) at java.desktop/java.awt.EventQueue$3.run(Unknown Source) at java.desktop/java.awt.EventQueue$3.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
-
Update: Safespot method in taverly works. However it seems that any NPC that aggresses the player triggers the player to store the npc in memory and the player will attempt to attack the npc regarldess of what state the script is in or regardless of attempting to reset the current action to trigger the state the script should be in (Only if the npc is still currently aggressive towards the player, despite its location). This is observable by my character attempting to attack a lesser demon that was still attempting to attack the player from the next room over. Also the fail rate of reaching the dusty key gate is ~1/10 EDIT: Graveyard green dragons is very bugged. The player will randomly start to run south to level 1 wilderness, hop worlds after every green dragon kill despite nobody at all being in the area, or attempt to kill a dragon already in combat. Also, it doesn't make sense that the player should automatically teleport to safety when there is a skulled pker who cannot even attack him and is outside of his combat level range
-
The only issue i'm having with this script after testing the taverly dungeon (Safespot does NOT work) blue dragons is that many times the script will get stuck traveling to the dusty key gate. The status says "none" and the player simply stands there. This may be caused by the camera moving and clicking in the wrong area or retaliatiing to a npc and entering combat. There are also some issues with the camera rotating and subsequentially clicking in incorrect areas just before the dusty key gate and also upon starting the script in Falador. Otherwise the Taverly Dungeons mode is fully functional. Gaining 150-250k p/hr without 70 agility on several accounts/
-
I have since tried using the Lava maze green dragons method with no real issue other than my character teleporting with a glory multiple times after the trip has been finished and the glory teleport to edgeville has already been used. Other than that, the script seems fully functional (Run doesn't become enabled when walking for extended periods of time and a few action priorities could be improved) for lava maze green dragons at least. I will stick with the script and test it some more.
-
After initially being disappointed in spending 10$ for a broken script, I got the bot running but I doubt its functionality. It doesn't even eat food to make space for bones. The world hopper option is also completely bugged. It attempts to hop worlds even when there is not more than the specified amount of players in the area, and also hops worlds for no reason at all. The only way this script can function is with most of the settings disabled (Anti pk mode / deathwalk). For some reason the script also teleports with glory to bank after just ONE fucking green dragon kill, proceeds to bank everything, then WALK back to an area that can be easily teleported to in under 15 seconds. It also hops worlds several times before banking and right before getting to the dragon area. So even if the script is semi functional, it has to be babysitted frequently and isn't as nearly worth its price tag. I've barely averaged 300k an hour with 83 Ranged 42 defense while babysitting the script when it was functional. After the 1st trip I averaged well under 60k per hour because it just constantly teleports the player after 1 kill. Recommendations: Allow for charged glory swapping / Run enabling when walking / burning amulet teleport to bandit camp for West greens (So much faster walk time).