Banking works fine for me, other then that it banks when inventory not being full like mentioned above.
Printable View
I'm having this error,is it just me?
"Exception in Script: Unknown compiler directives at 11:3"
I'm trying to learn the basics i've read some tutorials but my scripts won't run tho
PS: What is the regular base of the runescape screen to run all this scripts? Client + full screen i assume?
"So it's centrilized for everyone"
Please read this:
https://villavu.com/forum/showthread.php?t=47714
@coh3n:
for what reasons does the script logout? Sometimes it logs out.
I have max logs to do at 99999999 and breaks to false and break_after to 9999999
I tried to check to debug a few times , but I can't find any error/ trying to log out message.
Just the normal looking for tree spam.
I don't think it's something with my setup cus I just had Ikaramjafisher running for 20 hours.
sometimes the script just stops and sometimes it opens the menu u can open with esc and clicks logout.
Have the small problem of not being able bank the logs, every thing else seems to be working well though.
This is what it says in the debug before logging out then back in again only to repeat its self.
Code:[00:01:34]: ------ Found lobby screen
[00:01:34]: ---- TPlayer.loginToLobby(): True
[00:01:34]: ------ TRSLobby.findPlayButton(): result = True
[00:02:06]: ------ TRSActionBar.__findButton(): Found the actionbar button @ {X = 566, Y = 397}
[00:02:06]: ------ TRSActionBar.__find(): result = true (height = 75)
[00:02:06]: ------ Dynamic interfaces have been set.
[00:02:06]: ---- Logged in: Toss
[00:02:06]: ------ TRSGameTab.__initTabs(): Setup gametab properties
[00:02:07]: -- TPlayer.login(): True
[00:02:07]: -- TRSMinimap._getSymbolColor()
[00:02:07]: ---- Loaded symbol: Fishing Spot
[00:02:07]: ---- Found symbol bitmap 42
[00:02:07]: -- TRSMinimap._getSymbolColor(): -1
[00:02:07]: PLAYER: Find_PlayerLocation: Toss: Location = Bank
[00:02:13]: SUCCESS: Walk_ToLoc: Walked to location: Willows
[00:02:13]: -- TRSMinimap._getSymbolColor()
[00:02:13]: ---- Loaded symbol: Bank
[00:02:14]: ---- Found symbol bitmap 73
[00:02:14]: ---- Found Bank symbol at {X = 685, Y = 110}
[00:02:14]: -- TRSMinimap._getSymbolColor(): 3390179
[00:02:18]: SUCCESS: Walk_ToLoc: Walked to location: Bank
[00:02:18]: -- TRSMainscreen.findObject()
[00:02:18]: ---- Colors found: 1
[00:02:18]: ---- Possible objects found: 0
[00:02:18]: -- TRSMainscreen.findObject(): False
[00:02:18]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:19]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:19]: -- TRSMainscreen.findObject()
[00:02:19]: ---- Colors found: 2
[00:02:19]: ---- Possible objects found: 0
[00:02:19]: -- TRSMainscreen.findObject(): False
[00:02:19]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:19]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:19]: -- TRSMainscreen.findObject()
[00:02:19]: ---- Colors found: 3
[00:02:19]: ---- Possible objects found: 0
[00:02:19]: -- TRSMainscreen.findObject(): False
[00:02:19]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:19]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:19]: -- TRSMainscreen.findObject()
[00:02:19]: ---- Colors found: 2
[00:02:19]: ---- Possible objects found: 0
[00:02:19]: -- TRSMainscreen.findObject(): False
[00:02:19]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:19]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:19]: -- TRSMainscreen.findObject()
[00:02:19]: ---- Colors found: 2
[00:02:19]: ---- Possible objects found: 0
[00:02:19]: -- TRSMainscreen.findObject(): False
[00:02:19]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:19]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:20]: -- TRSMainscreen.findObject()
[00:02:20]: ---- Colors found: 1
[00:02:20]: ---- Possible objects found: 0
[00:02:20]: -- TRSMainscreen.findObject(): False
[00:02:20]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:20]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:20]: -- TRSMainscreen.findObject()
[00:02:20]: ---- Colors found: 1
[00:02:20]: ---- Possible objects found: 0
[00:02:20]: -- TRSMainscreen.findObject(): False
[00:02:20]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:20]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:20]: -- TRSMainscreen.findObject()
[00:02:20]: ---- Colors found: 1
[00:02:20]: ---- Possible objects found: 0
[00:02:20]: -- TRSMainscreen.findObject(): False
[00:02:20]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:20]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:20]: -- TRSMainscreen.findObject()
[00:02:20]: ---- No colors found
[00:02:20]: -- TRSMainscreen.findObject(): False
[00:02:20]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:20]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:21]: -- TRSMainscreen.findObject()
[00:02:21]: ---- Colors found: 3
[00:02:21]: ---- Possible objects found: 0
[00:02:21]: -- TRSMainscreen.findObject(): False
[00:02:21]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:21]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:21]: -- TRSMainscreen.findObject()
[00:02:21]: ---- Colors found: 2
[00:02:21]: ---- Possible objects found: 0
[00:02:21]: -- TRSMainscreen.findObject(): False
[00:02:21]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:21]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:21]: -- TRSMainscreen.findObject()
[00:02:21]: ---- Colors found: 2
[00:02:21]: ---- Possible objects found: 0
[00:02:21]: -- TRSMainscreen.findObject(): False
[00:02:21]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:21]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:21]: -- TRSMainscreen.findObject()
[00:02:21]: ---- Colors found: 2
[00:02:21]: ---- Possible objects found: 0
[00:02:22]: -- TRSMainscreen.findObject(): False
[00:02:22]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:22]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:22]: -- TRSMainscreen.findObject()
[00:02:22]: ---- Colors found: 2
[00:02:22]: ---- Possible objects found: 0
[00:02:22]: -- TRSMainscreen.findObject(): False
[00:02:22]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:22]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:22]: -- TRSMainscreen.findObject()
[00:02:22]: ---- Colors found: 6
[00:02:22]: ---- Possible objects found: 0
[00:02:22]: -- TRSMainscreen.findObject(): False
[00:02:22]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:22]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:22]: -- TRSMainscreen.findObject()
[00:02:22]: ---- Colors found: 6
[00:02:22]: ---- Possible objects found: 0
[00:02:22]: -- TRSMainscreen.findObject(): False
[00:02:22]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:22]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:23]: -- TRSMainscreen.findObject()
[00:02:23]: ---- Colors found: 5
[00:02:23]: ---- Possible objects found: 0
[00:02:23]: -- TRSMainscreen.findObject(): False
[00:02:23]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:23]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:23]: -- TRSMainscreen.findObject()
[00:02:23]: ---- Colors found: 5
[00:02:23]: ---- Possible objects found: 0
[00:02:23]: -- TRSMainscreen.findObject(): False
[00:02:23]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:23]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:23]: -- TRSMainscreen.findObject()
[00:02:23]: ---- Colors found: 5
[00:02:23]: ---- Possible objects found: 0
[00:02:23]: -- TRSMainscreen.findObject(): False
[00:02:23]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:23]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:23]: -- TRSMainscreen.findObject()
[00:02:23]: ---- Colors found: 6
[00:02:23]: ---- Possible objects found: 0
[00:02:23]: -- TRSMainscreen.findObject(): False
[00:02:23]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:23]: -- TRSMinimap._getSymbolColor()
[00:02:23]: ---- Loaded symbol: Bank
[00:02:24]: ---- Found symbol bitmap 73
[00:02:24]: ---- Found Bank symbol at {X = 697, Y = 106}
[00:02:24]: -- TRSMinimap._getSymbolColor(): 3390179
[00:02:24]: SUCCESS: Bank_Logs: Found bank symbol! Relocating...
[00:02:26]: -- TRSMainscreen.findObject()
[00:02:26]: ---- Colors found: 4
[00:02:26]: ---- Possible objects found: 0
[00:02:26]: -- TRSMainscreen.findObject(): False
[00:02:26]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:26]: -- TRSMinimap._getSymbolColor()
[00:02:26]: ---- Loaded symbol: Bank
[00:02:26]: ---- Found symbol bitmap 73
[00:02:26]: ---- Found Bank symbol at {X = 692, Y = 106}
[00:02:26]: -- TRSMinimap._getSymbolColor(): 3323615
[00:02:26]: SUCCESS: Bank_Logs: Found bank symbol! Relocating...
[00:02:28]: -- TRSMainscreen.findObject()
[00:02:28]: ---- Colors found: 38
[00:02:28]: ---- Possible objects found: 0
[00:02:28]: -- TRSMainscreen.findObject(): False
[00:02:28]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:28]: -- TRSMinimap._getSymbolColor()
[00:02:28]: ---- Loaded symbol: Bank
[00:02:28]: ---- Found symbol bitmap 73
[00:02:28]: ---- Found Bank symbol at {X = 685, Y = 106}
[00:02:28]: -- TRSMinimap._getSymbolColor(): 3390179
[00:02:28]: SUCCESS: Bank_Logs: Found bank symbol! Relocating...
[00:02:29]: DETAIL: Bank_Logs: Failed to open bank after 40 tries
[00:02:29]: -- TPlayer.logout()
[00:02:36]: tesseractGetText(): Bitmap is is too small (190, 1)
[00:02:40]: ---- Waiting for login screen...
[00:02:41]: ---- Waiting for login screen...
[00:02:42]: ---- Waiting for login screen...
[00:02:43]: ---- Waiting for login screen...
[00:02:44]: -- TPlayer.logout(): True
[00:02:44]: ---- Switching to player 0 (Toss)
[00:02:44]: -- TPlayer.login()
[00:02:44]: ---- TPlayer.loginToLobby()
Have the small problem of not being able bank the logs, every thing else seems to be working well though.
This is what it says in the debug before logging out then back in again only to repeat its self.
Code:[00:01:34]: ------ Found lobby screen
[00:01:34]: ---- TPlayer.loginToLobby(): True
[00:01:34]: ------ TRSLobby.findPlayButton(): result = True
[00:02:06]: ------ TRSActionBar.__findButton(): Found the actionbar button @ {X = 566, Y = 397}
[00:02:06]: ------ TRSActionBar.__find(): result = true (height = 75)
[00:02:06]: ------ Dynamic interfaces have been set.
[00:02:06]: ---- Logged in: Toss
[00:02:06]: ------ TRSGameTab.__initTabs(): Setup gametab properties
[00:02:07]: -- TPlayer.login(): True
[00:02:07]: -- TRSMinimap._getSymbolColor()
[00:02:07]: ---- Loaded symbol: Fishing Spot
[00:02:07]: ---- Found symbol bitmap 42
[00:02:07]: -- TRSMinimap._getSymbolColor(): -1
[00:02:07]: PLAYER: Find_PlayerLocation: Toss: Location = Bank
[00:02:13]: SUCCESS: Walk_ToLoc: Walked to location: Willows
[00:02:13]: -- TRSMinimap._getSymbolColor()
[00:02:13]: ---- Loaded symbol: Bank
[00:02:14]: ---- Found symbol bitmap 73
[00:02:14]: ---- Found Bank symbol at {X = 685, Y = 110}
[00:02:14]: -- TRSMinimap._getSymbolColor(): 3390179
[00:02:18]: SUCCESS: Walk_ToLoc: Walked to location: Bank
[00:02:18]: -- TRSMainscreen.findObject()
[00:02:18]: ---- Colors found: 1
[00:02:18]: ---- Possible objects found: 0
[00:02:18]: -- TRSMainscreen.findObject(): False
[00:02:18]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:19]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:19]: -- TRSMainscreen.findObject()
[00:02:19]: ---- Colors found: 2
[00:02:19]: ---- Possible objects found: 0
[00:02:19]: -- TRSMainscreen.findObject(): False
[00:02:19]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:19]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:19]: -- TRSMainscreen.findObject()
[00:02:19]: ---- Colors found: 3
[00:02:19]: ---- Possible objects found: 0
[00:02:19]: -- TRSMainscreen.findObject(): False
[00:02:19]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:19]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:19]: -- TRSMainscreen.findObject()
[00:02:19]: ---- Colors found: 2
[00:02:19]: ---- Possible objects found: 0
[00:02:19]: -- TRSMainscreen.findObject(): False
[00:02:19]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:19]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:19]: -- TRSMainscreen.findObject()
[00:02:19]: ---- Colors found: 2
[00:02:19]: ---- Possible objects found: 0
[00:02:19]: -- TRSMainscreen.findObject(): False
[00:02:19]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:19]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:20]: -- TRSMainscreen.findObject()
[00:02:20]: ---- Colors found: 1
[00:02:20]: ---- Possible objects found: 0
[00:02:20]: -- TRSMainscreen.findObject(): False
[00:02:20]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:20]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:20]: -- TRSMainscreen.findObject()
[00:02:20]: ---- Colors found: 1
[00:02:20]: ---- Possible objects found: 0
[00:02:20]: -- TRSMainscreen.findObject(): False
[00:02:20]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:20]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:20]: -- TRSMainscreen.findObject()
[00:02:20]: ---- Colors found: 1
[00:02:20]: ---- Possible objects found: 0
[00:02:20]: -- TRSMainscreen.findObject(): False
[00:02:20]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:20]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:20]: -- TRSMainscreen.findObject()
[00:02:20]: ---- No colors found
[00:02:20]: -- TRSMainscreen.findObject(): False
[00:02:20]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:20]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:21]: -- TRSMainscreen.findObject()
[00:02:21]: ---- Colors found: 3
[00:02:21]: ---- Possible objects found: 0
[00:02:21]: -- TRSMainscreen.findObject(): False
[00:02:21]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:21]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:21]: -- TRSMainscreen.findObject()
[00:02:21]: ---- Colors found: 2
[00:02:21]: ---- Possible objects found: 0
[00:02:21]: -- TRSMainscreen.findObject(): False
[00:02:21]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:21]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:21]: -- TRSMainscreen.findObject()
[00:02:21]: ---- Colors found: 2
[00:02:21]: ---- Possible objects found: 0
[00:02:21]: -- TRSMainscreen.findObject(): False
[00:02:21]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:21]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:21]: -- TRSMainscreen.findObject()
[00:02:21]: ---- Colors found: 2
[00:02:21]: ---- Possible objects found: 0
[00:02:22]: -- TRSMainscreen.findObject(): False
[00:02:22]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:22]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:22]: -- TRSMainscreen.findObject()
[00:02:22]: ---- Colors found: 2
[00:02:22]: ---- Possible objects found: 0
[00:02:22]: -- TRSMainscreen.findObject(): False
[00:02:22]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:22]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:22]: -- TRSMainscreen.findObject()
[00:02:22]: ---- Colors found: 6
[00:02:22]: ---- Possible objects found: 0
[00:02:22]: -- TRSMainscreen.findObject(): False
[00:02:22]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:22]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:22]: -- TRSMainscreen.findObject()
[00:02:22]: ---- Colors found: 6
[00:02:22]: ---- Possible objects found: 0
[00:02:22]: -- TRSMainscreen.findObject(): False
[00:02:22]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:22]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:23]: -- TRSMainscreen.findObject()
[00:02:23]: ---- Colors found: 5
[00:02:23]: ---- Possible objects found: 0
[00:02:23]: -- TRSMainscreen.findObject(): False
[00:02:23]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:23]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:23]: -- TRSMainscreen.findObject()
[00:02:23]: ---- Colors found: 5
[00:02:23]: ---- Possible objects found: 0
[00:02:23]: -- TRSMainscreen.findObject(): False
[00:02:23]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:23]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:23]: -- TRSMainscreen.findObject()
[00:02:23]: ---- Colors found: 5
[00:02:23]: ---- Possible objects found: 0
[00:02:23]: -- TRSMainscreen.findObject(): False
[00:02:23]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:23]: ERROR: Bank_Logs: Failed to find bank screen
[00:02:23]: -- TRSMainscreen.findObject()
[00:02:23]: ---- Colors found: 6
[00:02:23]: ---- Possible objects found: 0
[00:02:23]: -- TRSMainscreen.findObject(): False
[00:02:23]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:23]: -- TRSMinimap._getSymbolColor()
[00:02:23]: ---- Loaded symbol: Bank
[00:02:24]: ---- Found symbol bitmap 73
[00:02:24]: ---- Found Bank symbol at {X = 697, Y = 106}
[00:02:24]: -- TRSMinimap._getSymbolColor(): 3390179
[00:02:24]: SUCCESS: Bank_Logs: Found bank symbol! Relocating...
[00:02:26]: -- TRSMainscreen.findObject()
[00:02:26]: ---- Colors found: 4
[00:02:26]: ---- Possible objects found: 0
[00:02:26]: -- TRSMainscreen.findObject(): False
[00:02:26]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:26]: -- TRSMinimap._getSymbolColor()
[00:02:26]: ---- Loaded symbol: Bank
[00:02:26]: ---- Found symbol bitmap 73
[00:02:26]: ---- Found Bank symbol at {X = 692, Y = 106}
[00:02:26]: -- TRSMinimap._getSymbolColor(): 3323615
[00:02:26]: SUCCESS: Bank_Logs: Found bank symbol! Relocating...
[00:02:28]: -- TRSMainscreen.findObject()
[00:02:28]: ---- Colors found: 38
[00:02:28]: ---- Possible objects found: 0
[00:02:28]: -- TRSMainscreen.findObject(): False
[00:02:28]: ERROR: Bank_Logs: Failed to open bank, retrying...
[00:02:28]: -- TRSMinimap._getSymbolColor()
[00:02:28]: ---- Loaded symbol: Bank
[00:02:28]: ---- Found symbol bitmap 73
[00:02:28]: ---- Found Bank symbol at {X = 685, Y = 106}
[00:02:28]: -- TRSMinimap._getSymbolColor(): 3390179
[00:02:28]: SUCCESS: Bank_Logs: Found bank symbol! Relocating...
[00:02:29]: DETAIL: Bank_Logs: Failed to open bank after 40 tries
[00:02:29]: -- TPlayer.logout()
[00:02:36]: tesseractGetText(): Bitmap is is too small (190, 1)
[00:02:40]: ---- Waiting for login screen...
[00:02:41]: ---- Waiting for login screen...
[00:02:42]: ---- Waiting for login screen...
[00:02:43]: ---- Waiting for login screen...
[00:02:44]: -- TPlayer.logout(): True
[00:02:44]: ---- Switching to player 0 (Toss)
[00:02:44]: -- TPlayer.login()
[00:02:44]: ---- TPlayer.loginToLobby()
How does the login system in this work? so new to all this so sorry for the nooby question.
I realised what I was doing wrong straight after, I loaded simba via the script and not by itself so the SRL plugin was not loading :P
Hey guys im new to this whole scriping/botting part of runescape 3 could you please give me a link for a tutorial on how to setup this woodcutting scriping so i could train my woodcutting level, or at least a link for the newest release to this script because i think this one does not work or im not setting it up right consider ive done everything from the setup simba tutorial
If you've followed Coh3n's Guide for setting up Simba and SRL then you should be on the right track. I heard that there was an update yesterday that fudged a few things in SRL though. If you've followed the guide and are sure that you've done everything right, you can try using the search function at the top of the page for your issue. Hopefully this will help you if there's something not set up quite right.
If after all that, the script still won't work properly, you can paste the Simba output here so that Coh3n can see if he needs to update his script. I know I used it two days ago and it worked, but like I said an RS update can sometimes take a couple days for everyone to find the little things that need fixing. There's a lot of code and only so many devs to work on it.
Yes, the booth is visible. I have the same issues as well. You stop right outside the bank directly north of the counter, then run back and forth in the area in front of the doors. Eventually it makes you run back to the willows and then the same thing repeats. I've had mine pop open the esc menu a few times and I ended the program from there.
edit: for clarity
It sounds like the script might be outdated. I received another PM about not finding the bank booths. If I get another confirmation I'll mark this script as outdated and update it when I have time.
Whoah! Haven't seen you around in a while! Hope everything is going well. :)
Would someone be kind enough to fix the banking problem please!
please help, im having this error gyazo.com/7e9a338c5125a18668a8674f6e776a71
Sorry, I don't do that. You need to read this page.
Script updated. A could things:
- The banking issue was in SRL, which I've fixed. The script should work when your SRL updates.
- The latest version of the script (Rev. 81) has updated Willow tree colors. This should improve accuracy and the script should no longer find the bridge west of the bank as another tree.
Enjoy,
Coh3n
Do you have any idea when SRL is going to get an update? I want to try out your script but unfortunately, it doesn't bank very well so that's why I'm asking you this. Thanks in advance. :)
This is the banking issue you're talking about, right?
Code:[0:00:24]: ---- isMouseOverText()
[0:00:24]: ------ Current mouse-over text: "Bank Counter"
[0:00:24]: ------ Found "Bank" in mouse-over string: "Bank Counter"
[0:00:24]: ---- isMouseOverText(): True
[0:00:24]: ---- We found correct mouse-over text
[0:00:35]: ---- Bankscreen or pinscreen never opened
[0:00:35]: ---- isMouseOverText()
[0:00:35]: ------ Current mouse-over text: ""
[0:00:35]: ------ Current mouse-over text: "Withdraw-1 Yew shortL'ow 0gggBB i # st AFFgrgFX i @ze AggB i ArrBV TXFB i RgnBB4 gFBB4 i Fgs$ IBvBI i gg"
[0:00:35]: ------ Current mouse-over text: "Withdraw-1 Yew shortL'ow 0gggBB i # st AFFgrgFX i @ze AggB i ArrBV TXFB i RgnBB4 gFBB4 i Fgs$ IBvBI i gg"
[0:00:35]: ------ Current mouse-over text: "Withdraw-1 Yew shortL'ow 0gggBB i # st AFFgrgFX i @ze AggB i ArrBV TXFB i RgnBB4 gFBB4 i Fgs$ IBvBI i gg"
[0:00:35]: ------ Current mouse-over text: "Withdraw-1 Yew shortL'ow 0gggBB i # st AFFgrgFX i @ze AggB i ArrBV TXFB i RgnBB4 gFBB4 i Fgs$ IBvBI i gg"
[0:00:35]: ---- isMouseOverText(): False
[0:00:35]: ---- Mouse-over text wasn't correct
[0:00:35]: -- TRSBankscreen.__openNPC(): result = False
[0:00:35]: ERROR: Bank_Logs: Failed to open bank, retrying...
[0:00:36]: ERROR: Bank_Logs: Failed to find bank screen
[0:00:36]: -- TRSGameTabs.openTab(2)
[0:00:36]: ---- Opening tab via gametab navigation bar
No, that's a different problem. What I updated was the finding of the bank. According to that debug it's clicking the bank, but it's never detecting that it's open. Make sure your graphics are set properly. Sometimes the bank screen can move a few pixels, which messes up the finder.
The bankscreen detection is working. Unless there was an update since last night that broke it.
I just tested and everything worked like it should:
Make sure you reset your interfaces. Like I said before, the bankscreen can be accidentally shifted and needs to be reset. I've seen it happen several times before.Progress Report:-- TRSBankscreen.__openNPC() ---- TRSMinimap.getDots() ------ Found 22 minimap dots (ID: 0) ---- TRSMinimap.getDots(): [{X = 671, Y = 19}, {X = 671, Y = 23}, {X = 633, Y = 43}, {X = 729, Y = 57}, {X = 698, Y = 58}, {X = 673, Y = 63}, {X = 701, Y = 75}, {X = 631, Y = 80}, {X = 661, Y = 82}, {X = 771, Y = 82}, {X = 645, Y = 93}, {X = 664, Y = 96}, {X = 680, Y = 102}, {X = 680, Y = 106}, {X = 679, Y = 114}, {X = 679, Y = 118}, {X = 746, Y = 129}, {X = 682, Y = 142}, {X = 670, Y = 149}, {X = 743, Y = 154}, {X = 741, Y = 156}, {X = 743, Y = 160}] ---- isMouseOverText() ------ Current mouse-over text: "" ------ Current mouse-over text: "" ------ Current mouse-over text: "Bank Banker" ------ Found "Bank" in mouse-over string: "Bank Banker" ---- isMouseOverText(): True ---- We found correct mouse-over text ---- Bankscreen or pinscreen is open -- TRSBankscreen.__openNPC(): result = True Bankscreen is open.
Yep you were right, something was messed up with the bankscreen, now it banks without any problem although I didn't touch any settings. Is it normal that it detects a lot of the environment as a tree? I understand that a lot of the colours in the area are very similar to each other but could this possibly be fixed by using bonsai's idea?
Everything seems to work fine though he spends like 4-5seconds at a tree no matter what i change the settings too
That's an interesting post. It might help with accuracy, I don't know. Unfortunately I don't have the time right now to investigate further.
Chances are your animation shift setting is off. In your case, it sounds like it's too high.
I don't know suddenly it has stopped working.. i updated my simba and i know i have my graphics and interfaces set up as required ,
though the script thinks im in bank when im not when he is actually standing at willwos .. so he will over click on the mini map so its just by elder tree and then fails to find willows ..
If i start it from the bank it clicks to the willows and does a tree or two and then fails after that .. it's hard to get what the debug box says because it spams it like crazy and ends the script where it clears it and just displays your proggy .. but i did manage to catch it before it cleared it and it said ..
any advice would be greatCode:[0:01:04]: ---- Found symbol bitmap 42
[0:01:04]: -- TRSMinimap._getSymbolColor(): -1
[0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
[0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
[0:01:04]: -- TRSMinimap._getSymbolColor()
[0:01:04]: ---- Loaded symbol: Fishing Spot
[0:01:04]: ---- Found symbol bitmap 42
[0:01:04]: -- TRSMinimap._getSymbolColor(): -1
[0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
[0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
[0:01:04]: -- TRSMinimap._getSymbolColor()
[0:01:04]: ---- Loaded symbol: Fishing Spot
[0:01:04]: ---- Found symbol bitmap 42
[0:01:04]: -- TRSMinimap._getSymbolColor(): -1
[0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
[0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
[0:01:04]: -- TRSMinimap._getSymbolColor()
[0:01:04]: ---- Loaded symbol: Fishing Spot
[0:01:04]: ---- Found symbol bitmap 42
[0:01:04]: -- TRSMinimap._getSymbolColor(): -1
[0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
[0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
[0:01:04]: -- TRSMinimap._getSymbolColor()
[0:01:04]: ---- Loaded symbol: Fishing Spot
[0:01:04]: ---- Found symbol bitmap 42
[0:01:04]: -- TRSMinimap._getSymbolColor(): -1
[0:01:04]: ERROR: Chop_Trees: Failed to find enough colors for tree
[0:01:04]: DETAIL: Chop_Relocate: Relocating to trees
[0:01:04]: -- TRSMinimap._getSymbolColor()
[0:01:04]: ---- Loaded symbol: Fishing Spot
[0:01:05]: ---- Found symbol bitmap 42
[0:01:05]: -- TRSMinimap._getSymbolColor(): -1
[0:01:05]: ERROR: Chop_Trees: Failed to find trees 60 times
[0:01:05]: -- TPlayer.logout()
EDIT:
Well after some frustration .. i should have done this earlier insted of complaining .. i found the problem myself and seeing as the colour wasn't being found and asuming you used ACA to get the color ,hue,sat ect.. i did the same and it seems to be working fine again ..
anyone with that has a problem with the script not being able to find the tree i'd suggest to get the Auto Colour Aid tool
from here and load the image from client and set your settings to CTS 2 and then just pick the colors of the tree and not the leaves or anything as it may and im pretty sure it will think that the ground is the tree too xD
well anyways once you get all the colours just input these
http://i.imgur.com/DUWPL0W.png
into here
http://i.imgur.com/eB8mdwy.png
only change line 235 to 237 and line 239 with the numbers you get on the ACA.
I hope it works for whoever comes across this problem.. if not then ..im still learning XD
what is TRS and what program do you use for script opener? im using simba, but for me not works
The location detection doesn't work. It relies on SRL's symbol finding, which doesn't work right now. It seems that the colors need to be updated often, which is annoying. I might implement a system to read the color settings from a server, so I don't have to release a new version of the script every time. We'll see if I get time.
In the meantime your post should help others with the same issue. Thanks for that. :)
You have to run it with Simba. You can't just post and say it doesn't work. No one can help you with that information.
Great settings, somehow this works better for me, thanks!
Coh3n, I added a tiny bit of randomness to your script:
I've commented out minimap.clickCompass(); and added one with a random range, so it would turn the in game camera if it has to relocate for trees.Simba Code:function Chop_Relocate(tree: TTree): boolean;
var
p: TPoint;
tmpAcc: extended = minimap.symbolAccuracy;
begin
DcnB_Debug('Chop_Relocate', 'Relocating to trees', DEBUG_DETAILS);
minimap.symbolAccuracy := 0.6;
if (InRange(minimap.getAngleDegrees(), 10.0, 350.0)) then
begin
//minimap.clickCompass();
minimap.setAngle(randomRange(300, 360)); //added
mainscreen.setAngle(MS_ANGLE_HIGH);
end;
Then I've also added something at the of the Walk_ToLoc(which: Integer): Boolean; function so it would turn the in game camera when it has banked and arrived back at the trees:
Simba Code:Wait(500 + Random(500));
Players[CurrentPlayer].location := Walk_ConstToLoc(which);
DCnB_Debug('Walk_ToLoc', 'Walked to location: ' + Walk_ConstToLoc(which), DEBUG_SUCCESS);
if not tabBackpack.isFull() then //added
minimap.setAngle(randomRange(300, 360)); //added
end;
I don't know if this could be handy for someone but it kind of is for me. :)
EDIT: When it wants to log out (for example when it's time for a break) it just opens the options menu. I guess it's pressing the escape button. Is this a bug in SRL or is this because of Runescape's updates?
I have the script setup correctly, but when I run it, it logs in and everything. It opens my backpack, and then I get:
Exception in Script: Runtime error: "Access violation" at line 873, column 35
Any help?
Srry fail post, i forgiven how to setup the settings XD!
I made sure my player info was correct. It seems like it cant find my current location. I'm not sure what I'm doing wrong. I tried starting at both the trees and at the bank. This is what I am getting.
[0:00:02]: -- TPlayerArray.setup(): Success
[0:00:02]: Loading, please wait...
[0:00:02]: -- TPlayer.login()
[0:00:02]: ---- Already logged in
[0:00:02]: ---- Logged in:
[0:00:02]: ------ TRSGameTab.__initTabs(): Setup gametab properties
[0:00:03]: -- TPlayer.login(): True
[0:00:03]: -- TRSMinimap._getSymbolColor()
[0:00:03]: ---- Loaded symbol: Fishing Spot
[0:00:03]: ---- Found symbol bitmap 42
[0:00:03]: -- TRSMinimap._getSymbolColor(): -1
[0:00:03]: PLAYER: Find_PlayerLocation: : Location = Bank
[0:00:03]: Exception in Script: Runtime error: "Access violation" at line 873, column 35
The following bitmaps were not freed: [Minimap Mask, SMART Debug Image, Gametab Bitmap[0], Gametab Bitmap[1], Gametab Bitmap[2], Gametab Bitmap[3], Gametab Bitmap[4], Gametab Bitmap[5], Gametab Bitmap[6], Gametab Bitmap[7], Gametab Bitmap[8], Gametab Bitmap[9], Gametab Bitmap[10], Gametab Bitmap[11], Gametab Bitmap[12], Gametab Bitmap[13]]
The location part won't work since SRL's symbol finding doesn't work, so you can forget about that. As for the error, though, I don't know why that happens. What is line 873 in the script?
Line 873 reads:
Players[CurrentPlayer].location := Find_PlayerLocation;
If i delete it, I get an access violation elsewhere that uses the player location.
That line is 584. Which reads:
if (Players[CurrentPlayer].location = Walk_ConstToLoc(which)) then
Deleting that line basically renders it useless as I get more errors, and I'm not able to script. I'd like to, but I need time to learn.