Jump to content

sleepUntil & Documentation


theboss3433

Recommended Posts

I recently decided to start writing some simple scripts and I had a few questions that I can't seem to find the answer for. Keep in mind that while I am relatively new with Java, I do have a bit of programming experience from college, mainly C++, C, C# and Python.

 

1. Why is sleelUntil not in the documentation? I can't seem to find anything about it (looks like it was removed )

2. Is there a list somewhere of all the methods that have sleep "built-in"?

3. Is there a way to save the save the log in a text file when a script is stopped?

4. Do you guys test your scripts on Jagex servers? I am trying to figure out how to test all functionalities considering I might not have all the proper stats/equipment/et

I like to believe I've done a bit of research before making this post, but it's possible I missed some stuff and I apologize

Thanks innasvanxe!and let me know if anything needs clarification. Sorrry for my bad English

 

 

 

Link to comment
Share on other sites

You are probably looking for conditional sleeps. You can find an example in this tutorial at 9. 

But you can also use this: 

to make your sleeps look nicer.

I have no clue about log files but im sure its possible.

And yes the only way to test scripts is to run them in the acutal game, but sometimes they have beta servers up that generally have everything unlocked. Beta servers are currently open until next thursday I believe.

 

Edited by ez11
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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