Jump to content

Ericthecmh

Scripter II
  • Posts

    4888
  • Joined

  • Last visited

  • Days Won

    9
  • Feedback

    100%

Everything posted by Ericthecmh

  1. I think OSBot is having some issues right now, please be patient until they're fixed... If a script started fine but suddenly isn't even starting, it's probably failing to load from OSBot servers. (not confirmed by developers though, just my hypothesis)
  2. Thanks, I'll look into this. It still works though right? I'd imagine it'll find its way through anyways.
  3. If you get an error for a script, post in the script's thread so the script writer can fix it.
  4. Ahhhhh yes, I can see why this would be a problem... Unfortunately I can't edit the paint image since it was made by another person. I will make it so that the table won't display junk though
  5. What? It's already added, it's been there for at least a week. Give me screenshots of where it gets stuck (full screenshots) so I can debug.
  6. Hey guys, I've had quite a few scripters attempt to use the resources folder to load stuff without having to download them manually, so I figured I'd write a quick tutorial. (I've put this in the scripter section because I'd rather not have new scripters throwing random shit into that folder. Please limit it to image/text only). RESOURCES Folder location: For a script, put the resources folder in the root of the script module (I think root of the git repo works too if you want to use global resources). IE: dreamscripts --> DreamChopper --> resources --> ValkyrIsANoob.jpg Accessing resource from your script: Here's a quick test script that I created and submitted to SDN to check that it works: (You can pull out the code...) package test; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.io.*; /** * Created by ericthecmh on 8/26/15. */ @ScriptManifest(version = 1.0, author = "Ericthecmh", logo = "", info = "Amaze", name = "Llama") public class Llama extends Script { private BufferedReader br; @Override public void onStart() { br = new BufferedReader(new InputStreamReader(this.getClass().getResourceAsStream("/resources/LLAMAS.DAT"))); } @Override public int onLoop() throws InterruptedException { try { String s = br.readLine(); if (s != null) log(s); } catch (IOException e) { e.printStackTrace(); } return 1000; }z } I TESTED LOCALLY AND IT DOESN'T WORK??? Make sure that when you build the local jar, it contains the resources folder in the root of the jar: DreamChopper.jar --> resources/ --> LLAMAS.DAT --> org --> dreamscripts --> chopper
  7. No, sorry, I'd have to code reequipping and stuff.
  8. Nice catch, updated. Although I see you found the new thread already :P
  9. You are correct, it wasn't because of a pause. In that case it's a OSBot client error, there shouldn't be any executor shit happening from within the client. You should make a post in the client bugs/section explaining the details.
  10. I will investigate but based on the log... at 5:09 AM it was still attempting to attack flesh crawlers at 5:09 AM someone tried to pause the script (event executor log) at 5:59 AM someone stopped the script I don't see anything wrong there, not sure if your timezone is wrong but at 9AM the script would've been paused for 5 hours... not my problem if someone paused it, the script can't pause itself. I'll test it out at the location however too see if it stops for me too...
  11. Awesome if you have any more bugs, please post them Didn't see this earlier. Your screenshot literally tells me nothing though, all it says is that ti logged out and back in. There's nothing about the script except the first line. Next time can you screenshot the entire window so I can see what the state of the game is like, otherwise I can't even begin to figure out what's wrong. thanks
  12. 1) You're starting it at varrock west, you need to start it at edgeville. 2) I'm not making an entire webwalker, that too much work and pointless 3) Use the ID of the item, not the name. The client has a bug that makes it not recognize the names of arrows/noted items/some other things.
  13. No they download using plain text.
  14. You're allowed to use BufferedReader, yes, to read into plain text storage, since it'll butcher binary downloads (to prevent downloading viruses, etc). If you're downloading an archive though, it probably won't work with BufferedReader though... You can make a resources folder in your repo and then load it from the script using class.getResource Security settings are the same.
  15. There are none, but I think there are free AIO fighter scripts, try one of those?
  16. Truthfully if you want to script learn Java first. Then you can script in java. Otherwise you're basically asking someone to write the code for you
  17. Well it ain't a DreamChickenKiller. it probably has 2 cylinders :P Yeah I know, they get pretty ridiculous hahaha
  18. I sense that you're mocking some scripters here... DreamScripts all have 32 cylinder engines.
  19. Describe how it works and I'll consider it 1) If mirror, make sure you hook when logged out 2) Turn of resizable mode if it's on 3) Make sure that your zoom is set to default zoom (use the slider, drag far right, then drag far left. Don't use mouse wheel). Updated to version 2.8, which improves the combat
×
×
  • Create New...