My favorites | Sign in
Project Home Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 2: Patches to bot and scripts. New DrawSingleMddel.java
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by zzSlee...@hotmail.com, Jun 28, 2010
1) Patch to cleanup stuff in the precompiled scripts
2) Patch to cleanup imports, eclipse flagged errors/warnings in bot and support to let RSObject paint it's object.
3) Add src\org\rsbot\event\impl\DrawSingleModel.java


scripts-cleaning.patch
195 KB   View   Download
DrawSingleModel.java
2.9 KB   View   Download
Jun 28, 2010
#1 zzSlee...@hotmail.com
Here's the fixed patch for the bot updates.
bot-updates.patch
19.1 KB   View   Download
Jun 28, 2010
#2 zzSlee...@hotmail.com
Here's a needed patch to the RSObject.action() method.  It throws NPEs otherwise...
Sorry for the churn, I just revised the Arzinian gold miner to use models for the rocks and discovered this error.
RSObject-action.patch
2.8 KB   View   Download
Jun 30, 2010
#3 zzSlee...@hotmail.com
This patch was built based on the SVN contents of this morning.

It contains everything from above plus further import cleanups.

It also adds 
1) a new debug menu option to turn on/off internal bot logging.
2) add a methods.botDebugLog(String s) method for bot components to use to do debugging when the new menu option is selected.  I think I'm going to add a similar option for scripts and a method for them as well.
3) I updated Bank.java to use the new RSObject action method instead of atObject.
4) I revised all the atTile methods (and any others that depended on menu ordering) to use the new isDefaultAction() method.

I have not yet deprecated any of the Methods.java stuff that should move to the new RSObject methods...YET.

I suggest you create a separate source tree and jar on your comp and let the testers test using this jar to make sure it doesn't break too much stuff.  If they see something unusual, they should run the same script with the 7.81 jar to see if the behavior changes.

bot-updates2.patch
45.1 KB   View   Download

Powered by Google Project Hosting