Posts: 88
Threads: 36
Joined: Oct 2020
Reputation:
0
10-30-2020, 07:35 PM
(This post was last modified: 10-30-2020, 08:37 PM by Arkilys.)
Picture says it all I tried copying the settings promise script I downloaded that already had a depositor
-
Posts: 2,619
Threads: 429
Joined: Jul 2018
Reputation:
69
10-30-2020, 08:38 PM
(This post was last modified: 10-30-2020, 08:39 PM by Arkilys.)
Hello.
Something is missing, because those functions doesn't exists.
I also removed the image because it leaks your character's name.
Posts: 88
Threads: 36
Joined: Oct 2020
Reputation:
0
theres no lua for cave bot to do those functions
Posts: 2,619
Threads: 429
Joined: Jul 2018
Reputation:
69
Hello.
It does not work because you have copied the code that creates the function or, but only the code that uses the function.
The code that creates those functions is located in Cavebot-> LUA Setup.
Posts: 88
Threads: 36
Joined: Oct 2020
Reputation:
0
but i'm asking why does it work with this 1 script when i download the script is that function included?
Posts: 2,619
Threads: 429
Joined: Jul 2018
Reputation:
69
10-31-2020, 10:19 PM
(This post was last modified: 10-31-2020, 10:19 PM by Arkilys.)
Hello.
It does works, i downloaded the same script and tested it. So you are doing something wrong.
I'm pretty sure the LUA setup is WAY BIGGER than that you posted, so you probably didn't copied everything.
As you are talking about a specific script then you should ask the script creator for help directly.
Posts: 88
Threads: 36
Joined: Oct 2020
Reputation:
0
i didn't post all of it just a example because idk how he got that set up when anything i've seen doesn't have any of that for a tutorial.
Posts: 2,619
Threads: 429
Joined: Jul 2018
Reputation:
69
Hello.
I see, but that script works.
He didn't "get it", he CREATED it and I decided to use it this way. There are many ways to use Bot's functions or so, there's no "best" or "only way" to, you can use it in a number of different ways. You will probably only see the most basic forms in tutorials.
Although it is not the best way, he let the function code in Cavebot-> LUA Setup, because all the code that is there will be executed in all the tools that runs LUA scripts (Cavebot, Hotkeys, Persistents, etc.).
I particularly prefer another alternative, but this way he did it avoids some problems.