• Log in or sign up for an account here: https://www.sythe.org/login

[Jmacro v1.3.0] - November 16th Release

speedster239

Forum Addict

Java Programmers
Joined
Jan 21, 2007
Sythe Gold
0
Messages
313
Location
Arkansas
Release Version 1.3.0

This is probably going to be my last release for a few weeks as Thanksgiving is nearing and I need to focus on real life. Anyways I'll be including updated autofighters in my next few posts.

Example: int level = inputBox("What is you combat level?");

NEW PROMP-USER Functions
What's been updated in Version 1.3.0?
--Scripters can now add prompts to there programs which ask from important information which may effect the performance of the script such as combat level for autofighters etc etc.
--The ability to use multiple colors for items such as trees etc etc. I was finding that colors were dynamic so my scripts were breaking almost everytime I logged out.

jmacrorslogin.png


128_screenexample.bmp


What's coming next?
--Any idea :P

Current File Size: Only 195kb's !
146_jmacro.gif


BEFORE YOU EVEN HIT DOWNLOAD PLEASE VISIT:
Java SE Downloads
And download the JDK 6 Update 3 for Windows.
IT WILL NOT WORK IF YOU DON'T DO THIS
getit.bmp

Click the link as shown above.

Writing scripts..
To write scripts read the tutorial and function list in the documentation section. Make sure you save all scripts to the bin\scripts folder and have the latest SDK installed at C:\Program Files\Java\jdk1.6.0_02 so that we can properly compile scripts. Save all scripts as "All Files" and .java when using Notepad.

Anyways, here's the download link for Jmacro v1.3.0:

http://www.hopfile.com/download.php?filename=Jmacro-v1.3.0.zip

Download it, scan it if your one of those wierd people whos afraid of stuff and enjoy!

JMacro Pad By Flaming Idiot...
JMacro pad is a syntax highlighing IDE written In Visual Basic .NET using the version 3.5 .NET Framework.. Download the framework at..
Download details: .NET Framework 3.5 Beta 2


Also, post signups for the Full-Beta here.

JMacro Pad by Flaming Idiot...
jmacropadot8.png


JmacroWindow.png


195_clean.PNG


Documentation:

Dumbasses Guide To Installing/Compiling/Running Jmacro Scripts

Step 1: Visit the following link and click the link highlighted shown in the picture below. You'll be downloading the Java SDK Update 3.

http://java.sun.com/javase/downloads/index.jsp

getit.bmp


Step 2: Once you click that link check Accept and select the offline installation.

selectdownload.bmp


Step 3: Download the file and follow the self-explanatoru installation. MAKE SURE YOU DON'T CHANGE THE FILE PATH ON INSTALL

Step 4: Once that is downloaded/installed unzip Jmacro and take a look at the files. You should see:

filestosee.bmp


Step 5: To add scripts do the following:
-Click on the "Bin" folder
-Then click on the "Scripts" folder
-Once your in the "Scripts" folder rightclick and select "Create New Text Document"
-Open up that new text document and copy/paste the script you want to use into it.
-Then click File >> Save >> Select All Files
-Than comes the hard part, save the script as follows:

whattosave.bmp


Notice your saving it with a .java extension

Step 6: Go back to the "root" of Jmacro as shown int he pic on Step 4 and click "Compile-JDK 6, Up 3" to compile the scripts. If this is done properly you should see...

compilesee.bmp


Step 7: Now if this is done properly click on "Run Jmacro", enter the exact script name (case sensetive) and hit enter. Open up the Runescape Window and let it do the work for you.

All of the above applies to writing scripts by the way.

Complete Functions List w/ Explanations

findcolor(R,G,B,R Tolerance,G Tolerance, B Tolerance,Case);
This searches for an RGB color within the R,G or Btolerance (+ or -) and which pixel (in the even their are more than one of the same pixel) to choose in order from left to right and down. Default tolerance for a script is 1, it must be one or more always.
--
movemouse(x,y);
This moves the mouse to the specified X,Y position on the screen.
--
rightclick();
This rightclicks the mouse at the position it is over.
--
leftclick();
This leftclicks the mouse at the position it is over.
--
sendkey();
This sends A SINGAL KEY to the board.
Also includes:
ENTER
SHIFT
--
pause(ms);
Pauses the script for the specified period of time in milliseconds.
--
print("String of text");
Print's the specified string of text to the "black box" or "JVM" or "log"
--
leftdown();
Pushes the left mousebutton down.
--
leftup();
Releases the left mouse button.
--
rightup();
Releases the right mouse button.
--
rightdown();
Pushes the right mouse button down.
--
findent();
Returns a boolean, (true or false), of whether or not a tree entity is under the mouse cursor. (85% accuracy rate)
--
inputBox();
Contained within the com.vibesoft.bots.utilities.inputBox.inputBox package. It prompts the users with a simple interface which returns a string. Using Integer.parseInt(string) you can gather integers from it though. Added in release 1.3.0
 
Looks great! but i can't script/use scripts ...so, good luck mate!
 
--The ability to use multiple colors for items such as trees etc etc. I was finding that colors were dynamic so my scripts were breaking almost everytime I logged out.
Color tolerance my friend.;)
 
Maybee if you actually read my post you'd see this....

findcolor(R,G,B,R Tolerance,G Tolerance, B Tolerance,Case);
This searches for an RGB color within the R,G or Btolerance (+ or -) and which pixel (in the even their are more than one of the same pixel) to choose in order from left to right and down. Default tolerance for a script is 1, it must be one or more always.

And color tolerance isn't always the best option so I've added both features.
 
Maybee if you actually read my post you'd see this....
Not trying to offend you but your first post is actually way to long. I'd say try to shorten it up or you're just scaring people away with all that.

Also, if you do use Color Tolerance I can't see how you have problems with dynamic colors breaking your scripts.
 
I like the GUI for the pad, but your bot's script engine doesn't have many functions. If you programmed your script engine to support plug ins made in Java or a different language, then your program will be more flexible. Other than that, good effort.
 
Thank Flaming Idiot for Jmacro pad ;)

As far as the length of my post (Nullware) you fail if your to lazy to read it and thus you shouldn't be using Jmacro :P
 
Runescape Gamblingrunescape gambling
Back
Top