Jump to content

djric733

Members
  • Posts

    5
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

djric733's Achievements

Newbie

Newbie (1/10)

1

Reputation

  1. Ahhhh, that does make sense. I ended up removing the CombatManager call and that did fix it, and I just now re-implemented it with your suggestion and it worked. Thanks a bunch for the help!
  2. The part in the pastebin inside of else if (currState == Skill.ATTACK || currState == Skill.DEFENCE || currState == Skill.STRENGTH) is inside of the onLoop of the main script. When I comment it out everything works fine, but it's when I leave it uncommented that OSBot won't load the script. Edit to add: How do I wrap onLoop into a try/catch if it's an Override?
  3. Alright, I'll go back through and add that stuff in. I've got the Skeleton all defined and running, that much works fine. It's when I swap the bot over to the combat modules (that I put in that pastebin) that it has issues.
  4. I've got an issue where whenever I run a script from OSBot, it won't actually run the script. The logger shows everything up to "Started bot #1", then nothing after I hit play on the script. I've refreshed the scripts interface a bunch of times and restarted OSBot quite a few times now, to no avail. Here's my code: https://pastebin.com/16bH6f2d There are two bits there. the top half is my CombatManager class, the bottom half is the chunk of code in my main file that actually uses that class. I've already been using the omitted code for the bot extensively, so I know the issue is coming from somewhere inside of the combat behavior. Anyone have any idea why it won't work?
×
×
  • Create New...