Originally Posted by
Fawflance
I have the same problem, I followed the exact instructions, but still it gives same error
Originally Posted by
Cjey
Error: Unknown declaration "MOUSE_MOVE" at line 308
What can I do?
Uhm..what?!
Took me some time to find out what happened...
Sorry guys, but it's @Olly who screwed my script so blame him not me :P Basically change was done in mouse.simba ( https://github.com/SRL/SRL-6/commit/...dd8dc00b736L68 ) and MOUSE_MOVE , MOUSE_LEFT etc constans were removed. Also other changes were done to SRL6... Well, it sucks that you can't now use parts of SRL library independently anymore. This script uses only SRL mouse procedures (because of their great simulation of human movements) so attaching whole big SRL library is unnecessary and I'm trying to avoid it.
Ok, here is solution. Change the header of the script to:
Simba Code:
program EldevineCopperMiner; // v 1.1b (fixed)
{$loadlib ETL}
{$i etl_Lape.simba}
{$i SRL-6\lib\utilities\math.simba}
const
MOUSE_NONE = -1;
MOUSE_MOVE = 3;
MOUSE_BREAK = 8;
MOUSE_ACCURATE = 14;
MOUSE_HUMAN = 7;
{$i SRL-6\lib\core\mouse.simba}