Ok, i did the code to make sure simba was working properly and this is what i got.
http://img19.imageshack.us/img19/498/98541466.png
Uploaded with ImageShack.us
Printable View
Ok, i did the code to make sure simba was working properly and this is what i got.
http://img19.imageshack.us/img19/498/98541466.png
Uploaded with ImageShack.us
randomly stopped in the bankCode:| |
| NCDS' Edgeville Yew Chopper! |
| Version: Beta v2.6;; |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
|Nick:; |
|Location: Bank; |
|Total Logs Banked: 84; |
|Total Loads Done: 3; |
|Experience Gained: 14700; |
|Levels Gained: -100; |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| |
| Time Running: 34 min 9 sec; |
|__________________________________________________|
ill post a prog in a bit, but it works fine in simba for me
Update!
Check first post, re-download, let me know how it goes :)Code:8-2-2010 - Beta v2.7 released (SCAR)
Fixes/Additions:
*Optimized Tree cutting
I have a lot of code optimizing I want to do with this so expect big thing's to come for this sometime in the near future :)
Compelling Error
Line 373
File: Globals.scar
Type Mismatch
yeah i tried that. but when i open up SCAR and go to options, there isn't a choice to do an auto update thing
http://i37.photobucket.com/albums/e8...g?t=1281235332
what i should do?
get the SVN release
alright, i got it to start, but nothing happens after SMART starts up. SCAR says something about it being 3 minutes and runescape is not yet ready. what am i doing wrong!?!?!
Disable SMART, switch to safe mode and color at brightest, then enable SMART and it should work. If not, then do that, then restart everything and you should be good.
the smart starts and everything, after i disable it and log myself in, but it doesn't chop yews. it clicks on options like every 2 seconds and then clicks on some random spot, usually up the way im facing. like if im facing north, it clicks farther up north. so i tried changing the way im facing and right now it's bringing me to the grand exchange...sorry i don't know what im doing, it's been awhile since i've scripted.
im using scar. i haven't even checked simba out yet. and i uninstalled scar, went to freddy1990.com and got the newest version of scar and updated srl so i should have the latest version. but thank you for your help, i appreciate it. and if you didn't notice, i edited my last post and added more detail so you might get a better idea of what's going on.
You need to get the Scar through SVN.
Look here: http://villavu.com/forum/showthread.php?t=58039 ;)
I'll get this over to Simba this week, it's long past due.
wow. it works. you're amazing man. thank you so much
I've had troubles getting it to compile.. it doesn't even click. it always says, "unknown identifier" or "begin expected in line 13" WTH AM I DOING WRONG"?
Are you using Scar 3.23 from SVN?
Make sure your SRL is up to date.
This script has no compiling error's so if neither of those solve your problem then post the script as your trying to run it?
Just using this script to substitute for MSI for the few days the pathing won't work... nice script. only thing is the Waiting XX seconds for tree... or Disguising as: XXXXXXX(cutting tree, etc) shows up way too often, and often leads to annoying hanging. Of course it still works, but I think it uses up an unnecessary amount of CPU resources(task manager reports simba at 91% CPU usage)
I know I'm using simba, which is technically unsupported this release, but it's not so much a problem as it is an annoyance(if the user were not using a virtual box, which contains the usage to a percentage of the CPU, it could get quite annoying)
Still work's good.Code:__________________________________________________
| |
| NCDS' Edgeville Yew Chopper! |
| Version: Beta v2.7;; |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
|Nick: lifex; |
|Location: Bank; |
|Total Logs Banked: 189; |
|Total Loads Done: 7; |
|Experience Gained: 33075; |
|Levels Gained: -81; |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
|Nick: sare; |
|Location: Bank; |
|Total Logs Banked: 162; |
|Total Loads Done: 6; |
|Experience Gained: 28350; |
|Levels Gained: 0; |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| |
| Time Running: 3 hr 45 min 18 sec; |
|__________________________________________________|
I've started re-writing part's of this, and I'm doing it all in Simba so expect a new release of this soon :)
Edit:
Last night's run:
Thing's are coming along nicely :)Code:__________________________________________________
| |
| NCDS' Edgeville Yew Chopper! |
| Version: Beta v2.7;; |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
|Nick: lifex; |
|Location: lost; |
|Total Logs Banked: 159; |
|Total Loads Done: 5; |
|Experience Gained: 27825; |
|Levels Gained: -81; |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
|Nick: sare; |
|Location: Bank; |
|Total Logs Banked: 567; |
|Total Loads Done: 21; |
|Experience Gained: 99225; |
|Levels Gained: -81; |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| |
| Time Running: 7 hr 49 min 42 sec; |
|__________________________________________________|
compiling error line 549-Type mismatch
any idea how to fix this?
well i ran it in scar 3.22 insted of 3.25 beta and that worked so nvm
cool thanks for the help got it up and running but now i cant get it chopping im sorry if this is annoying,
i loaded it it just clicks my graphics setting repetedly and leads me to nowhere land and i tried loading smart disabling setting graphics at the lowest possible with highest brightness and then restarting script but it still does the same thing
Updated!
Code:9-1-2010 - v3.0 released (Simba)
Updates:
*Re-wrote most everything (Now working with Simba!)
*Added support for hatchet anywhere in Inv or equipped.
*Updated/Optimized most methods used.
Please be sure to post any problems/bugs you run into as soon as possible. I'm going to upload another version of this in a couple days as I'm going to try and get some of the listed features added. Hopefully, with your feedback, I can work out any bugs by then.
Enjoy.
Status: __________________________________________________
Status: | |
Status: | NCDS' Edgeville Yew Chopper! |
Status: | Version: Beta v3.0; |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~|
Status: |Nick: fat; |
Status: |Location: NorthTree; |
Status: |Total Logs Banked: 0; |
Status: |Total Loads Done: 0; |
Status: |Experience Gained: 0; |
Status: |Levels Gained: 0; |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~|
Status: |Nick: ; |
Status: |Location: Bank; |
Status: |Reason: ; |
Status: |Total Logs Banked: 0; |
Status: |Total Loads Done: 0; |
Status: |Experience Gained: 0; |
Status: |Levels Gained: 0; |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~|
Status: | |
Status: | Time Running: 1 min 35 sec; |
Status: |_________________________________________________ _|
Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | www.villavu.com |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | SRL Logs : 1 |
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
NextPlayer
SwitchToPlayer(PlayerNo: 0, Active: False);
Player is not Active...
All players not active!
Thanks for using the script.
Post the Proggy!
it always loggs out for noo reason :( im using simba btw
Testing it right now
Progress Report:DeActivatePlayer(False, Failed to chop a full load.); Status: __________________________________________________ Status: | | Status: | NCDS' Edgeville Yew Chopper! | Status: | Version: Beta v3.0; | Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Status: |Nick: rock; | Status: |Location: lost; | Status: |Reason: Failed to chop a full load.; | Status: |Total Logs Banked: 84; | Status: |Total Loads Done: 3; | Status: |Experience Gained: 14700; | Status: |Levels Gained: 1; | Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Status: | | Status: | Time Running: 51 min 34 sec; | Status: |__________________________________________________| Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\ Status: | SRL Randoms Report | Status: | www.villavu.com | Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Status: | SRL Logs : 1 | Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/ NextPlayer
Not bad, not bad at all.
Thanks, would you mind posting a few more lines of what came out before the proggy so I can see exactly what went wrong?
Progress Report:Disguising as: Walking to trees.. Disguising as: Arrived at trees successfully. Waiting 26 seconds for tree.. Disguising as: Cutting tree... Disguising as: Walking to North Tree.. Disguising as: Arrived at North Tree successfully. Disguising as: Cutting tree... No SRL update / Plugins update available! No Reflection update
It's just that then another proggy.
hmm..I don't really see how that would make the script set you in active?
Like I said before, there are surely a couple bugs still in it so if you see anything that doesn't look right, please let me know.
same thing happened. moving from tree to tree. first cutting southern tree then it moved to northern tree and when it started cutting the northern tree the bot logged off.Code:Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | www.villavu.com |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
Cont [True] URL [http://scriptmanager.freehostia.com/submit.php]
Intitializing Player: fat;
Welcome to Runescape.
Hatchet is equipped.
Disguising as: Walking to trees..
Disguising as: Arrived at trees successfully.
Disguising as: Cutting tree...
Disguising as: Walking to North Tree..
Disguising as: Arrived at North Tree successfully.
Waiting 10 seconds for tree..
Disguising as: Walking to South Tree..
Disguising as: Arrived at South Tree successfully.
Waiting 3 seconds for tree..
Disguising as: Walking to North Tree..
Disguising as: Arrived at North Tree successfully.
Waiting 27 seconds for tree..
Disguising as: Cutting tree...
Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | www.villavu.com |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | SRL Logs : 1 |
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
DeActivatePlayer(False, Failed to chop a full load.);
Status: __________________________________________________
Status: | |
Status: | NCDS' Edgeville Yew Chopper! |
Status: | Version: Beta v3.0; |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: |Nick: fat; |
Status: |Location: lost; |
Status: |Reason: Failed to chop a full load.; |
Status: |Total Logs Banked: 0; |
Status: |Total Loads Done: 0; |
Status: |Experience Gained: 0; |
Status: |Levels Gained: 0; |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | |
Status: | Time Running: 2 min 29 sec; |
Status: |__________________________________________________|
Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | www.villavu.com |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | SRL Logs : 1 |
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
NextPlayer
i also have another problem. in declareplayers i had to erase the part that say :because it gave me this problem:Code:with Players[1] do
begin
Name := '';
Pass := '';
Nick := ''; // 3-4 LOWERCASE letters from your username.
Active := True; // True = use this player.
Loc := 'Bank'; // Bank, SouthTree, NorthTree
Integers[TotalLoads] := 20; //Total amount to cut
Integers[LoadsBeforeSwitch] := 6; //Plus Random(4);
end;
SMART Initialized.
Loaded: Server 38, Members: False, Signed: True, Super Detail: False.
Error: Out Of Range at line 95
The following DTMs were not freed: [SRL - Lamp bitmap]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap]
File[C:\Simba\Includes\SRL\Logs\SRL Log 01-09-10 8.txt] has not been freed in the script, freeing it now.
Would you mind setting the 'Debug' constant to 'True' and running it again, then post the debug for me please? That will give me a bit more information on whats going on.
For the DeclarePlayers issue, I'm assuming your only using 1 player? In which case you would usually comment out the second player, but deleting it works fine too :p
There :( still have the same problem.Code:SMART Initialized.
Loaded: Server 118, Members: False, Signed: True, Super Detail: False.
Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | www.villavu.com |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
Cont [True] URL [http://scriptmanager.freehostia.com/submit.php]
Intitializing Player: fat;
Welcome to Runescape.
Hatchet is equipped.
Disguising as: Walking to trees..
MM_DirtGround returned 217 points.
Walking to Point(618, 139);
MM_SymbolOutline returned 72 points.
MM_TreeSymbol returned 31 points.
Walking to Point(596, 116);
Disguising as: Arrived at trees successfully.
Disguising as: Cutting tree...
N_FindMSObjects(); Failed to find Object.
N_FindMSObjects(); Failed to find Object.
ChopTree Failed to find tree.
Disguising as: Walking to North Tree..
MM_SymbolOutline returned 0 points.
MM_SymbolOutline returned 0 points.
MM_SymbolOutline returned 0 points.
MM_SymbolOutline returned 0 points.
MM_SymbolOutline returned 0 points.
** Warning in function FindTreeSymbolTPA(x1, y1, x2, y2: Integer): TPointArray;: Failed to find TreeSymbol.**
Disguising as:
LogOutline: 85;
LogOutline: 85;
Counted 2 logs in inventory.
Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | www.villavu.com |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | SRL Logs : 1 |
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
DeActivatePlayer(False, Failed to chop a full load.);
Status: __________________________________________________
Status: | |
Status: | NCDS' Edgeville Yew Chopper! |
Status: | Version: Beta v3.0; |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: |Nick: fat; |
Status: |Location: lost; |
Status: |Reason: Failed to chop a full load.; |
Status: |Total Logs Banked: 2; |
Status: |Total Loads Done: 0; |
Status: |Experience Gained: 350; |
Status: |Levels Gained: 0; |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | |
Status: | Time Running: 1 min 27 sec; |
Status: |__________________________________________________|
Status: /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
Status: | SRL Randoms Report |
Status: | www.villavu.com |
Status: |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Status: | SRL Logs : 1 |
Status: \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
NextPlayer
Successfully executed.
Ok, so the problem is, is that it's failing to find the northern tree's symbol on the minimap. Thing is, that shouldn't happen unless for some reason your not facing north?
You could try changing line 591 from:
to:Simba Code:if Length(Arr) < 10 then
and see if that changes anything. Otherwise, I'll look into it more tomorrow but it's getting late and I have work in the morning.Simba Code:if Length(Arr) < 5 then
Good luck