Awesome to see a 4 year old script still living on. Definitely one of the greats!
Printable View
Awesome to see a 4 year old script still living on. Definitely one of the greats!
I won't be online at all this weekend, and very little over the next few weeks (Christmas break). Your problem is likely a small setup issue. Just make sure you follow my guide carefully. If it still doesn't work, try visiting the IRC channel, I'm sure someone will help you.
Glad you think so. :)
/================================================== ==|
| Coh3n's Draynor Chop N' Bank! |
| - Revision 77 - |
|================================================= ===|
| 9 Hours, 2 Minutes and 27 Seconds |
|----------------------------------------------------|
| Player: 0 |
| Location: Willows |
| Active: True |
| Tree Type: Willow |
| Loads Done: 129 |
| Logs Cut: 3,604 |
| Logs P/H: 399 |
| Levels Up: 0 |
| Experience: 243,270 |
| Breaks: 6 |
|_________________________________________________ ___|
|_________________________________________________ ___/
I'm not sure if it's because of the new versions of Simba/SRL or not, but I'm no longer able to run the script for longer then 6 hours after the past day or two. Previously it would close SMART and open up a new one and thus work fine with the 6 hour session limit, but now it just hits it detects an "unknown" message and quits the script.
Another nice, long proggy. Stopped it manually again.
Code:/====================================================|
| Coh3n's Draynor Chop N' Bank! |
| - Revision 77 - |
|====================================================|
| 14 Hours, 57 Minutes and 17 Seconds |
|----------------------------------------------------|
| Player: 0 |
| Location: Bank |
| Active: True |
| Tree Type: Willow |
| Loads Done: 260 |
| Logs Cut: 7,020 |
| Logs P/H: 469 |
| Levels Up: 0 |
| Experience: 473,850 |
| Breaks: 10 |
|____________________________________________________|
|____________________________________________________/
The debug would go through the login, then come up with unknown message "you need to close your tab/window and wait 5 minutes" (I can't remember the exact wording, but it was what the client says when you've had it going for 6 hours), then the script would say login failed and run its shutdown functionality.
Of cause after posting that message though I tried again overnight and its now been running for 13 hours, so hopefully it's now liking w/e it wasn't before.
Current progress report. All good with the client relaunching now.Code:/====================================================|
| Coh3n's Draynor Chop N' Bank! |
| - Revision 77 - |
|====================================================|
| 2 Days, 12 Hours, 55 Minutes and 56 Seconds |
|----------------------------------------------------|
| Player: 0 |
| Location: Bank |
| Active: True |
| Tree Type: Willow |
| Loads Done: 857 |
| Logs Cut: 23,993 |
| Logs P/H: 394 |
| Levels Up: 0 |
| Experience: 1,619,528 |
| Breaks: 42 |
|____________________________________________________|
|____________________________________________________/
It's something I've also noticed happening, the log displays this over and over even though it's standing right next to a tree. I have noticed that it happens when the camera has been spun around so that it's facing directly south and looking straight down, I've find that if I manually click on the compass to spin the camera around then the script will pick up and go back to work.
Quote:
[13:51:37]: ---- Flag is not present, resulting true
[13:51:37]: -- TRSMinimap.waitFlag(): True
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: ERROR: Chop_Trees: Failed to find enough colors for tree
[13:51:37]: DETAIL: Chop_Relocate: Relocating to trees
[13:51:37]: -- TRSMinimap._getSymbolColor()
[13:51:38]: ---- Loaded symbol: Fishing Spot
[13:51:38]: ---- Found symbol bitmap 42
[13:51:38]: ---- Found Fishing Spot symbol at {X = 694, Y = 110}
[13:51:38]: -- TRSMinimap._getSymbolColor(): 16684078
[13:51:38]: -- TRSMinimap.waitFlag()
[13:51:38]: ---- Waiting until flag distance equals 0...
The script for me just starts and stops.
Attachment 22633
There seems to be a problem with your bot. It doesnt know how to log a player in and it also won't start the script. :c
Final progress report from when the script shutdown (not sure why it did)
Code:/====================================================|
| Coh3n's Draynor Chop N' Bank! |
| - Revision 77 - |
|====================================================|
| 3 Days, 11 Hours, 44 Minutes and 23 Seconds |
|----------------------------------------------------|
| Player: 0 |
| Location: Bank |
| Active: False |
| Reason: |
| Tree Type: Willow |
| Loads Done: 1,131 |
| Logs Cut: 31,665 |
| Logs P/H: 378 |
| Levels Up: 0 |
| Experience: 2,137,388 |
| Breaks: 57 |
|____________________________________________________|
|____________________________________________________/
That's because you haven't set it up to use your accounts details. You need to fill in the proper information at line 127, not just leave it as it is.
Okay. I see that this is more complicated than usual. What would I need to fill out in the account details in player settings to make this work?
I'm very new at this. I have only been able to make the guilf fishing script work.
http://villavu.com/forum/showthread.php?t=47714
Read the sections about the player manager.
Quick question: Is bot only for cutting and banking willows? Because I would love to cut Oak logs instead :)
I am aware of this, and I could edit the colors which may improve the problem, but it will likely still happen, or the mouse will sporadically move all over the screen. This would be due to not all areas of the tree being "clickable", so I've kept it the way it is to lessen the amount of random mouse movement to "unclickable" areas.
Yes, only Willows. It used to do Oaks as well, but I removed that when updating for RS3, and unfortunately I won't be adding it back in. I just do not have the time right now.
If you're able to keep track of the number of times that it fails to find the colours/clicks near the fish icon, then you could just have it click the compass to reset the camera after a certain number in a row. That way you don't have to adjust the colours/mouse movements and the bot would continue on as the camera would now be showing the way.
Of cause that makes it sound far more simpler then it probably is.
Nice script Coh3n, maybe once I'm up to scratch with this whole SRL6 deal I might be able to compete ;).
this is the best progress report i've been able to get
/================================================== ==|
| Coh3n's Draynor Chop N' Bank! |
| - Revision 77 - |
|================================================= ===|
| 5 Hours, 34 Minutes and 53 Seconds |
|----------------------------------------------------|
| Player: 0 |
| Location: Bank |
| Active: False |
| Reason: Cut desired number of logs |
| Tree Type: Willow |
| Loads Done: 38 |
| Logs Cut: 1,022 |
| Logs P/H: 183 |
| Levels Up: 0 |
| Experience: 68,985 |
| Breaks: 1 |
|_________________________________________________ ___|
|_________________________________________________ ___/
Code:/====================================================|
| Coh3n's Draynor Chop N' Bank! |
| - Revision 77 - |
|====================================================|
| 6 Hours, 30 Minutes and 31 Seconds |
|----------------------------------------------------|
| Player: 0 |
| Location: One Minute As Passed... |
| Active: False |
| Reason: |
| Tree Type: Willow |
| Loads Done: 104 |
| Logs Cut: 2,912 |
| Logs P/H: 447 |
| Levels Up: 0 |
| Experience: 196,560 |
| Breaks: 0 |
|____________________________________________________|
|____________________________________________________/
00:01:11]: -- TRSMinimap._getSymbolColor()
[00:01:11]: ---- Loaded symbol: Fishing Spot
[00:01:11]: ---- Found symbol bitmap 42
[00:01:11]: ---- Found Fishing Spot symbol at {X = 656, Y = 181}
[00:01:11]: -- TRSMinimap._getSymbolColor(): 16684078
[00:01:13]: ---- TRSGameTab.__initTabs(): Setup gametab properties
[00:01:13]: -- TRSGameTabs.openTab(1)
[00:01:13]: ---- Opening tab via gametab navigation bar
[00:01:19]: -- TRSGameTabs.openTab(1): result = False
[00:01:19]: -- TRSGameTabs.openTab(2)
[00:01:19]: ---- Opening tab via gametab navigation bar
[00:01:25]: -- TRSGameTabs.openTab(2): result = False
[00:01:25]: -- TPlayer.login()
[00:01:25]: ---- TPlayer.loginToLobby()
[00:01:25]: ------ Player Ago is not active...
[00:01:25]: ---- TPlayer.loginToLobby(): False
[00:01:26]: -- TPlayer.login(): False
[00:01:26]: -- Freeing the minimap mask
This is my log, basically it logs in, opens up the ESC menu and then exits. Any idea on a fix?
Sorry if obvious fail on my part, I did try to fix myself before posting ;)
EDIT: I think the problem stems from misreading my WC level? Says im -1 WC level just before exit in the console.
I've Pm'd you, it has my login name in :P
Oh, it's not detecting that you've logged in. Make sure your graphics are set properly. This usually happens when your interface transparency isn't set all the way to 0. If it is, check this thread for other graphics settings.
Ahh, thank you very much. I missed the slim headers bit, I did refer to that post beforehand xD
Thanks again :)
I seem to have a banking problem that I have yet to figure out.
The script runs great until it opens the bank then it has a hard time depositing the logs, then it logs out and starts all over again.
Here is my Debug :D
Any ideas on how to fix it? all my gfx settings seem to be in order and I tried reinstalling, and updating everything.Code:[0:03:27]: -- TRSMinimap.waitFlag(): True
[0:03:28]: SUCCESS: Walk_ToLoc: Walked to location: Bank
[0:03:28]: -- TRSMainscreen.findObject()
[0:03:28]: ---- Colors found: 13929
[0:03:28]: ---- Possible objects found: 7
[0:03:29]: ---- isMouseOverText()
[0:03:29]: ------ Current mouse-over text: "Search Bookcase"
[0:03:29]: ------ Current mouse-over text: "Search Bookcase"
[0:03:29]: ------ Current mouse-over text: "Search Bookcase"
[0:03:29]: ------ Current mouse-over text: "Search Bookcase"
[0:03:29]: ------ Current mouse-over text: "Search Bookcase"
[0:03:29]: ------ Current mouse-over text: "Search Bookcase"
[0:03:29]: ------ Current mouse-over text: "Search Bookcase"
[0:03:29]: ---- isMouseOverText(): False
[0:03:30]: ---- isMouseOverText()
[0:03:30]: ------ Current mouse-over text: ""
[0:03:30]: ------ Current mouse-over text: ""
[0:03:30]: ------ Current mouse-over text: ""
[0:03:30]: ------ Current mouse-over text: ""
[0:03:30]: ------ Current mouse-over text: ""
[0:03:30]: ------ Current mouse-over text: ""
[0:03:30]: ------ Current mouse-over text: ""
[0:03:30]: ------ Current mouse-over text: ""
[0:03:30]: ------ Current mouse-over text: ""
[0:03:30]: ---- isMouseOverText(): False
[0:03:30]: ---- isMouseOverText()
[0:03:30]: ------ Current mouse-over text: ""
[0:03:30]: ------ Current mouse-over text: ""
[0:03:30]: ------ Current mouse-over text: ""
[0:03:30]: ------ Current mouse-over text: ""
[0:03:31]: ------ Current mouse-over text: ""
[0:03:31]: ------ Current mouse-over text: ""
[0:03:31]: ------ Current mouse-over text: ""
[0:03:31]: ------ Current mouse-over text: ""
[0:03:31]: ---- isMouseOverText(): False
[0:03:31]: ---- isMouseOverText()
[0:03:31]: ------ Current mouse-over text: "Bank Counter"
[0:03:31]: ------ Found "Bank" in mouse-over string: "Bank Counter"
[0:03:31]: ---- isMouseOverText(): True
[0:03:31]: ---- Successfully mouse'd object
[0:03:31]: -- TRSMainscreen.findObject(): True
[0:03:41]: ERROR: Bank_Logs: Failed to find bank screen
[0:03:41]: -- TRSGameTabs.openTab(2)
[0:03:41]: ---- Opening tab via gametab navigation bar
[0:03:47]: -- TRSGameTabs.openTab(2): result = False
[0:03:47]: -- HINT: findSpinTicket(): Backpack is not open, consider calling tabBackpack.open() first
[0:03:47]: -- TRSMainscreen.findObject()
[0:03:47]: ---- Colors found: 359
[0:03:47]: ---- Possible objects found: 0
[0:03:47]: -- TRSMainscreen.findObject(): False
[0:03:47]: ERROR: Bank_Logs: Failed to open bank, retrying...
[0:03:47]: ERROR: Bank_Logs: Failed to find bank screen
[0:03:47]: -- TRSGameTabs.openTab(2)
[0:03:47]: ---- Opening tab via gametab navigation bar
[0:03:53]: -- TRSGameTabs.openTab(2): result = False
[0:03:53]: -- HINT: findSpinTicket(): Backpack is not open, consider calling tabBackpack.open() first
[0:03:53]: -- TRSMainscreen.findObject()
[0:03:53]: ---- Colors found: 363
[0:03:53]: ---- Possible objects found: 0
[0:03:53]: -- TRSMainscreen.findObject(): False
[0:03:53]: ERROR: Bank_Logs: Failed to open bank, retrying...
[0:03:53]: ERROR: Bank_Logs: Failed to find bank screen
[0:03:53]: -- TRSGameTabs.openTab(2)
[0:03:53]: ---- Opening tab via gametab navigation bar
http://i.imgur.com/K5oyhfZ.png
I came here to show my 99 wc.. Achieved using this script!
It's not detecting that the bank screen has been opened. I read somewhere that this happened if your XP counter is on the chat box? I'm not sure why that would happen, but that might be the issue.
Congrats! Glad the script is working well. :)
Thank you very much for the help cohen. That was it.
File[C:\Users\Karl\Desktop\Simba\Includes\SRL-6/logs/SRL log (25-01-14 at 06.07.17 PM).txt] has not been freed in the script, freeing it now.
it has been like that every time i press F9 or the green arrow
Excuse me first for having to post cant seem to find any post in the last 80 pages that addresses a minor problem is that at the lowest willow tree that if the camera is facing south it cant find any trees to cut
Someone mentioned something similar a while ago. What I can do is have it "reset" the camera angle if it can't find any trees. I just haven't had the chance to update the script. I'll put it on my todo list though. :)
E: I've uploaded Rev. 78. I added the find tree failsafe I talked about above. I also removed levels gained from the progress reports since they don't work anyway. Enjoy! :)
I can't seem to get the script to login. I saved a players file with 2 players in Simba/Includes/Players as "default" with the login name, nickname, display name, and password. I replaced the Players.Setup parameter strings with the appropriate info for one of the players. I've tried logging in manually but nothing happens. When I run it, it stops at the login screen and gives the prompt "No Stats account entered, would you like to set one up?". If I click yes it just opens the Simba folder.