Yakman
2007-05-04 07:46:50
Cherokee is a little java application which can make fake mouse, keyboard and focus event.
There is also a little package which lets Java and Scar communicate with InterScarMessages.
So we can use it to create a sort of silent mouse with Scar.
However, Scar still has to have the client visible, so you could only have multiple clients if you have a big screen and loads of RAM, a useful thing with Scar is the "Client -> Always On Top" option. It could be good for autoing while doing other things, I like to think of this as behaving a little like a VM.
Note: For this guide, you have to Read as well as look at the pictures.
If you know just a little bit of java, it will help, but its not essencial. I dont actually use this myself because when I auto, its always at night so I just use the regular mouse, but I have autoed for about 30 minuites once.
Note: This isnt really that much of a gain, and its very hard to get to work, so dont really worry if you cant get it to work.
1. Unless you already have it, setup the JDK, this is a good tutorial http://www.moparisthebest.com/smf/index.php/topic,70709.0.html, if some doesnt work, use google, I'm sure any problem will be on there
2. Cherokee is hosted on Sourceforge.net, on its SvN repository, unless you already have it, download and install TortoiseSvn, this is a client which lets you interact with SvN repostories. TortoiseSvn places itself into Windows Explorer.
3. Make a new folder somewhere, called "Cherokee", right click it, and press "SvN Checkout", for the URL, put https://cherokee.svn.sourceforge.net/svnroot/cherokee


Cherokee will be downloaded onto the folder.

Pressing "SvN Update" will update your folder to the most recent repository.
you should update your repository often to check for any changes
3. Now download the Java <-> Scar package from here you could press
java_sharedmem_scar.zip
"test.bat" and "test.scar" to see it working.
Place MemMapLib.DLL in the cherokee root folder (the same place which has "run-Chereokee-RS2.bat" and "Compile-Cherokee.bat")
and everything else in the Cherokee\Scripts folder
note: If the attachment links dont work, press the ones on the bottom of this post
4. Now you have cherokee, and a way to communicate with Scar, you need the actual library which puts this link to use. scar_cherokee_gateway.zip
Place it into the Scripts folder as well.
I highly recommend you read through the Scar script files, just to see how they work.
5. Now you have everything, you need to start it
when cherokee starts

to start a script, press "Scripts" on the menu bar, then press "Run"
you will get a popup box, to start the scar gateway, type "/scarListen([ISM id here])" put the id you will use the communicate with cherokee between the ( ), in this case, im using 'scarjava'

6. you could use the script "TestCG.scar" to see it working
the rest is up to you, you all know Scar, go to your SRL folder and replace some things with Cherokee procedures,



Troubleshooting
This is a useful Svn tutorial if you're having problems
To switch worlds, go to Cherokee\Conf\rs2.conf, open it with notepad and change the world id and the prefix

Edit: Actually you dont have to do that, I'v written a little GUI that does it for you
Good luck people.
Note: If I see questions that have already been answered, I will delete them, use "Search"
Credits:
Moparisthebest wrote cherokee
Regexs wrote the Scar <-> Java package
I (yakman) wrote the cherokee and scar gateway

No ScarGateway commands, so i was wonder what i did incorrectly?
