Everything posted by Ericthecmh
-
CMHScripts || Return of the King || Dedicated developer || ASK FOR A FREE TRIAL NOW
Done.
-
Rock crabs bot error
If you get an error for a script, post in the script's thread so the script writer can fix it.
-
CMHScripts || Return of the King || Dedicated developer || ASK FOR A FREE TRIAL NOW
You've already had the dreamminer trial... Done
-
Khal AIO Stronghold
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
-
CMHScripts || Return of the King || Dedicated developer || ASK FOR A FREE TRIAL NOW
Done.
-
CMHScripts || Return of the King || Dedicated developer || ASK FOR A FREE TRIAL NOW
Done
-
Khal AIO Stronghold
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.
-
CMHScripts || Return of the King || Dedicated developer || ASK FOR A FREE TRIAL NOW
done yes, 24 hours.
-
Using Resources folder
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
-
CMHScripts || Return of the King || Dedicated developer || ASK FOR A FREE TRIAL NOW
All done PM me.
-
CMHScripts || Return of the King || Dedicated developer || ASK FOR A FREE TRIAL NOW
I have no clue which script you're talking about, post it in the actual scripts thread, with a screenshot or detailed report of it's state and how you set it up
-
Khal AIO Stronghold
No, sorry, I'd have to code reequipping and stuff.
-
CMHScripts || Return of the King || Dedicated developer || ASK FOR A FREE TRIAL NOW
Done, it's 24 hours, long enough for you to sleep :P Done Done Done Which script? Done Done
-
Khal AIO Stronghold
Nice catch, updated. Although I see you found the new thread already :P
-
Khal AIO Stronghold
What? It's not locked...
-
Khal AIO Stronghold
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.
-
CMHScripts || Return of the King || Dedicated developer || ASK FOR A FREE TRIAL NOW
All done.
-
Khal AIO Stronghold
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...
-
CMHScripts || Return of the King || Dedicated developer || ASK FOR A FREE TRIAL NOW
Done Done
-
Khal AIO Stronghold
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
-
Khal AIO Stronghold
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.
-
CMHScripts || Return of the King || Dedicated developer || ASK FOR A FREE TRIAL NOW
Post bug on the scripts thread.
-
SDN Questions
No they download using plain text.
-
CMHScripts || Return of the King || Dedicated developer || ASK FOR A FREE TRIAL NOW
All done
-
SDN Questions
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.