Coh3n
2010-03-02 11:43:19
Well, thanks to ray, this script now works with Simba. <3
Checkout from here -> http://dcnb.googlecode.com/svn/trunk/
More info about the script here -> http://villavu.com/forum/showthread.php?t=47111
Cheers,
Coh3n
2010-03-02 11:43:19
2010-03-02 16:56:01
___
____ /\__\
/\___\ ____ \/ _/
_____ \/_ / /\___\ \/ _____
/\____\ _______/ / /___ _\/___ \_____ /\____\
/ / ___\/\______\/ /____\\____/ /_____\/ / ____\
/ / /__ / / ___ / ____ //___ / ____ \/ /___\
/ / /___\ / /__/ / / / / /____/ / / / / /____ /
\/_______//______/_/ /_/_/______/_/__/_/_/____/ /
\/___________________/
Draynor Chop N' Bank Rev.31!
Loading, please wait...
SRL Compiled in 16 msec
SMART Initialized.
Loaded: Server 152, Members: False, Signed: True, Super Detail: False.
Disguising as: Logs Chopped: 0
Better be using FindMaskTolerance in combination with CreateMaskFromBitmap, more efficient.
Better be using FindMaskTolerance in combination with CreateMaskFromBitmap, more efficient.
********
Better be using FindMaskTolerance in combination with CreateMaskFromBitmap, more efficient.
[697, 408, 0, 3, 4, 65535, 100, 3, 'StatChars']
GetTextAt result: 47
Current Woodcutting level: 4747
Found hatchet!
[740, 108, 0, 3, 4, 65535, 30, 20, 'StatChars']
GetTextAt result: 60
-> Chop_Tree: Failed to find uptext
Better be using FindMaskTolerance in combination with CreateMaskFromBitmap, more efficient.
Better be using FindMaskTolerance in combination with CreateMaskFromBitmap, more efficient.
Better be using FindMaskTolerance in combination with CreateMaskFromBitmap, more efficient.
Better be using FindMaskTolerance in combination with CreateMaskFromBitmap, more efficient.
Error: Exception: Any Find Function, you did not pass a correct ys: -4. at line 852
2010-03-02 22:53:53
From: bionicle1800
It's a .scar file :p silly
Error: Exception: Any Find Function, you did not pass a correct ys: -4. at line 852
It also randomly clicked south of the trees on the minimap.___
____ /\__\
/\___\ ____ \/ _/
_____ \/_ / /\___\ \/ _____
/\____\ _______/ / /___ _\/___ \_____ /\____\
/ / ___\/\______\/ /____\\____/ /_____\/ / ____\
/ / /__ / / ___ / ____ //___ / ____ \/ /___\
/ / /___\ / /__/ / / / / /____/ / / / / /____ /
\/_______//______/_/ /_/_/______/_/__/_/_/____/ /
\/___________________/
Draynor Chop N' Bank Rev.31!
Loading, please wait...
SRL Compiled in 16 msec
SMART Initialized.
Loaded: Server 152, Members: False, Signed: True, Super Detail: False.
Disguising as: Logs Chopped: 0
Better be using FindMaskTolerance in combination with CreateMaskFromBitmap, more efficient.
Better be using FindMaskTolerance in combination with CreateMaskFromBitmap, more efficient.
********
Better be using FindMaskTolerance in combination with CreateMaskFromBitmap, more efficient.
[697, 408, 0, 3, 4, 65535, 100, 3, 'StatChars']
GetTextAt result: 47
Current Woodcutting level: 4747
Found hatchet!
[740, 108, 0, 3, 4, 65535, 30, 20, 'StatChars']
GetTextAt result: 60
-> Chop_Tree: Failed to find uptext
Better be using FindMaskTolerance in combination with CreateMaskFromBitmap, more efficient.
Better be using FindMaskTolerance in combination with CreateMaskFromBitmap, more efficient.
Better be using FindMaskTolerance in combination with CreateMaskFromBitmap, more efficient.
Better be using FindMaskTolerance in combination with CreateMaskFromBitmap, more efficient.
Error: Exception: Any Find Function, you did not pass a correct ys: -4. at line 852
2010-03-02 23:03:41
FindColorsTolerance(inBox, Tree.Color, tP.x - 15, [B]tP.y - 15[/B], tP.x + 15, tP.y + 15, Tree.Tol);
2010-03-03 06:46:53
From: Coh3n
Yeah, that's for people who still want to use SCAR. There are Simba defines to make it work. Also, I have no idea what that error means. :confused:
2010-03-03 11:38:25
2010-03-03 11:45:01
From: Blumblebee
I suppose you could slow down the function slightly and wrap it in a try…except…finally block, that should correct that error at the sacrifice of speed.
2010-03-03 11:47:55
From: Coh3n
Yeah, I've never had that happen with SCAR though. Is it some new error handling with Simba?
2010-03-03 11:53:11
From: Blumblebee
maybe Simba doesn't allow you to enter negatives much like I luff yews stated, although that seems fishy to me (in general and in the fact your script would find a tree at x < 15 or y < 15). Bring it up with Wizzup maybe, if he doesn't have an explanation try..except blocks ftw!
2010-03-03 12:05:20
2010-03-03 14:14:27
From: Widget
This still seems to me like it should be a warning instead of an error. Tell the scripter they're doing it wrong, but don't nuke the script if it's a once-per-20-hours thing :)
2010-03-03 18:15:59
2010-03-03 23:32:10
From: i luffs yeww
So I was kinda right? x] Haha oh well.
Glad it got fixed. :3
2010-03-04 17:02:22
2010-03-20 00:52:00
2010-03-20 12:23:51
From: n33d scripts
for people who are using simba and would like to use this script.
open the script in simba and then save as as a .simb, also do this to the dcnb file.
then inside the script change the include to the dcnb.simb
2010-03-31 23:32:23
[696, 408, 0, 3, 4, 65535, 100, 3, 'StatChars']
Error: Exception: Finder function: Ys > ye (408,407) at line 225
When it tries to get the Woodcutting level. It also opens Simba.scar/mufa and highlights line 225:
tr_NormalChars = 10;
I've already tried updating my SRL and Fonts folders. I have the most recent ones.2010-04-11 13:48:19
From: Coh3n
I keep getting:When it tries to get the Woodcutting level. It also opens Simba.scar/mufa and highlights line 225:
[696, 408, 0, 3, 4, 65535, 100, 3, 'StatChars']
Error: Exception: Finder function: Ys > ye (408,407) at line 225I've already tried updating my SRL and Fonts folders. I have the most recent ones.
tr_NormalChars = 10;
Any ideas anyone?
2010-04-11 13:49:18
From: mastaraymond
That error is because it tries to read text that is out of the screen, which is not possible.. It won't throw an exception in the latest Simba :-). So this should be fixedzoorss
2010-04-15 05:37:15
2010-04-15 10:15:07
From: mastaraymond
Well, I've been running this for some time lately.. And I can say that this works pretty well (with the latest SRL + Simba) :). Got me to WC 56 already :).
2010-04-15 18:20:48
From: Coh3n
Nice! I didn't know anyone used this for Simba. :p
[1:57:05]: /====================================================|
[1:57:05]: | Coh3n's Draynor Chop N' Bank! |
[1:57:05]: | - Revision 45 - |
[1:57:05]: |====================================================|
[1:57:05]: | |
[1:57:05]: | Program: Simba |
[1:57:05]: | SMART: Yes |
[1:57:05]: | Ran For: 1 Hours, 57 Minutes and 5 Seconds |
[1:57:05]: | |
[1:57:05]: | Player: Global Space |
[1:57:05]: | Active: True |
[1:57:05]: | Location: Bank |
[1:57:05]: | Tree Type: Willow |
[1:57:05]: | Loads Done: 36 |
[1:57:05]: | Logs Cut: 1,008 |
[1:57:05]: | Levels Up: 2 |
[1:57:05]: | Experience: 68,040 |
[1:57:05]: | Breaks: 0 |
[1:57:05]: |____________________________________________________|
[1:57:05]: |____________________________________________________/
2010-04-15 21:10:08
2010-04-15 21:39:19
2010-04-15 21:40:29
2010-05-26 14:38:09
2010-05-26 14:39:56
From: Avaphi
Exception in Script: Unable to find file 'DCnB_Form.scar' used from '' —
2010-05-26 14:50:54
From: mastaraymond
o.O; Is your Simba located in some fancy directory name?
2010-05-26 14:57:34
2010-05-26 17:21:58
From: nielsie95
And you have downloaded the full script? So DCnB_Form.scar is in the same folder?
2010-05-26 18:24:35
2010-05-26 18:58:58
From: Avaphi
Got it working now ! Had to reinstall SVN. Your forms are so sexy ! Excellent script, 10/10- I have to gone on a couple of hours trip, I am contemplating leaving it on until I get back- assuming it logs out on non SRL randoms,
2010-05-26 19:45:42
2010-06-13 06:12:03
[0:08:19]: /====================================================|
[0:08:19]: | Coh3n's Draynor Chop N' Bank! |
[0:08:19]: | - Revision 66 - |
[0:08:19]: |====================================================|
[0:08:19]: | |
[0:08:19]: | Program: Simba |
[0:08:19]: | SMART: Yes |
[0:08:19]: | Ran For: 8 Minutes and 19 Seconds |
[0:08:19]: | |
[0:08:19]: | Player: ******** |
[0:08:19]: | Location: Bank |
[0:08:19]: | Active: False |
[0:08:19]: | Reason: Failed to find uptext 60 times |
[0:08:19]: | Tree Type: Oak |
[0:08:19]: | Loads Done: 0 |
[0:08:19]: | Logs Cut: 0 |
[0:08:19]: | Logs P/H: 0 |
[0:08:19]: | Levels Up: 1 |
[0:08:19]: | Experience: 0 |
[0:08:19]: | Breaks: 0 |
[0:08:19]: |____________________________________________________|
[0:08:19]: |____________________________________________________/
[0:08:19]: Successfully executed.
There is the report for oaks
[0:14:28]: /====================================================|
[0:14:28]: | Coh3n's Draynor Chop N' Bank! |
[0:14:28]: | - Revision 66 - |
[0:14:28]: |====================================================|
[0:14:28]: | |
[0:14:28]: | Program: Simba |
[0:14:28]: | SMART: Yes |
[0:14:28]: | Ran For: 14 Minutes and 28 Seconds |
[0:14:28]: | |
[0:14:28]: | Player: ******** |
[0:14:28]: | Location: Bank |
[0:14:28]: | Active: False |
[0:14:28]: | Reason: Failed to find uptext 60 times |
[0:14:28]: | Tree Type: Oak |
[0:14:28]: | Loads Done: 1 |
[0:14:28]: | Logs Cut: 25 |
[0:14:28]: | Logs P/H: 103 |
[0:14:28]: | Levels Up: 2 |
[0:14:28]: | Experience: 938 |
[0:14:28]: | Breaks: 0 |
[0:14:28]: |____________________________________________________|
[0:14:28]: |____________________________________________________/
Well it's consistant.
2010-06-13 09:56:00
From: BraK
It seems to want to linger on the regular trees by the oaks this slows it down.
2010-06-14 08:57:30
From: Coh3n
What do you mean? It just hovers over the normal trees? There's not much I can do about that, the colours are al most exactly the same. Usually one of the Oak trees spawns before it hovers other trees 60 times. =\
2010-06-14 18:52:30
From: BraK
Once while the script was running it glitched. during that glitch the camera was stuck at the lowest altitude but i't almost always hit the right tree. After it did a rotatecamera function and went back up it started seeing all the other trees again. Don't know if this will help but thought i'd post it anyway. it's a nice script anyway :)
2010-06-15 16:50:42
/============================================================|
| Coh3n's Draynor Chop N' Bank! |
| - Revision 66 - |
| |
| Ran For: 2 Hours, 14 Minutes and 20 Seconds |
| Program: Simba | SMART: Yes |
________ __________ ________ __________ ________ ____________ ________|
| Active | Location | Loads | Tree | Logs Cut | Levels | Experience | Breaks |
| False | Lost | 0 | Willow | 0 | 0 | 0 | 0 |
| False | Lost | 13 | Willow | 358 | 5 | 24,165 | 0 |
| False | Bank | 0 | Oak | 0 | 0 | 0 | 0 |
|---------------------------------------------------------------------------|
| Totals: | 13 | | 358 | 5 | 24,165 | 0 |
|_________________________________________________________________|
2010-06-15 18:30:37
From: BraK
well even though the oak's need some tweaking the rest runs fine. Testing this gives me a break from my own script. It's been fun.
/============================================================|
| Coh3n's Draynor Chop N' Bank! |
| - Revision 66 - |
| |
| Ran For: 2 Hours, 14 Minutes and 20 Seconds |
| Program: Simba | SMART: Yes |
________ __________ ________ __________ ________ ____________ ________|
| Active | Location | Loads | Tree | Logs Cut | Levels | Experience | Breaks |
| False | Lost | 0 | Willow | 0 | 0 | 0 | 0 |
| False | Lost | 13 | Willow | 358 | 5 | 24,165 | 0 |
| False | Bank | 0 | Oak | 0 | 0 | 0 | 0 |
|---------------------------------------------------------------------------|
| Totals: | 13 | | 358 | 5 | 24,165 | 0 |
|_________________________________________________________________|
2010-06-16 05:38:04
2010-06-16 05:47:01
From: BraK
It almost completely refuses most time to cut the oak's.
2010-06-16 05:58:29
From: Coh3n
No offence, but that was about as useless as tits on a bull. :p What exactly doesn't work? The walking? The chopping? The banking? There are a lot of things that could make it not work.
As for the camera angle thing, hit Ctrl+F and search for RunEnergy, and after that line add SetAngle(True) and see if that helps.
2010-06-16 18:45:27
From: BraK
Bull's give special milk wanna try some :p I'll try to be more informative next time.
2010-06-23 11:45:00
[9:20:31]: /=====================================================================================|
[9:20:32]: | Coh3n's Draynor Chop N' Bank! |
[9:20:32]: | - Revision 66 - |
[9:20:32]: |=====================================================================================|
[9:20:32]: | |
[9:20:32]: | Ran For: 9 Hours, 20 Minutes and 32 Seconds |
[9:20:32]: | Program: Simba | SMART: Yes |
[9:20:32]: |______ ________ __________ _______ ________ __________ ________ ____________ ________|
[9:20:32]: | Nick | Active | Location | Loads | Tree | Logs Cut | Levels | Experience | Breaks |
[9:20:32]: |------ -------- ---------- ------- -------- ---------- -------- ------------ --------|
[9:20:32]: | **** | False | Lost | 46 | Willow | 1,288 | 2 | 86,940 | 0 |
[9:20:32]: | **** | False | Lost | 46 | Willow | 1,288 | 3 | 86,940 | 0 |
[9:20:32]: | **** | True | Willows | 6 | Willow | 168 | 1 | 11,340 | 0 |
[9:20:32]: |-------------------------------------------------------------------------------------|
[9:20:32]: | Totals: | 98 | | 2,744 | 6 | 185,220 | 0 |
[9:20:32]: |_____________________________________________________________________________________|
[9:20:32]: | |
[9:20:32]: | False Reasons: |
[9:20:32]: | -------------- |
[9:20:32]: | 0: **** -> Failed to open bank after 40 tries |
[9:20:32]: | 1: **** -> Failed to walk to location: Bank |
[9:20:32]: |_____________________________________________________________________________________/
2010-06-23 16:43:18