bg5
06-26-2014, 08:37 AM
One day I was bored, so I started my scripting adventure in Lape... I don't really know much about this game, but it was fun to make that script.
1. Instalation
Script uses ETL (https://villavu.com/forum/showthread.php?t=106263)for debug purpose:
a) Unzip and put this in Simba/Plugins :
23437
b) Put this in Simba/Include
23438
c) Script also uses part of SRL-6 library (https://github.com/SRL/SRL-6) : mouse.simba (https://github.com/SRL/SRL-6/blob/master/lib/core/mouse.simba) and math.simba (https://github.com/SRL/SRL-6/blob/master/lib/utilities/math.simba). If you don't have SRL-6 library already you should download it from github or optionally download only those 2 files. Make sure that include path in the header of files is correct!
d) Get the script:
23439
23892 v 1.1
24461 v 1.1b Fixed Version
2. Settings
http://puu.sh/9KGTT/aadcca3e04.png
http://puu.sh/9KGLw/394bf9fd9b.png
3. Known Issues
a) Script breaks when it clicks on another player and opens his interface
b) Script breaks when it clicks on rock, which is only partially visible on screen (Exception in Script: Runtime error: "You passed a wrong xe to a finder function...blah blah blah) - Now I'm looking for elegant solution. Solved in v1.1
4. Enjoy!
5. Changelog
Version 1.1
Solved issue with CountColor() breaking script
Added customization - now you can adjust script to any ore you want in 3 easy steps! Read code for details...
Version 1.1b
Script is now compatible with updated SRL-6 version
1. Instalation
Script uses ETL (https://villavu.com/forum/showthread.php?t=106263)for debug purpose:
a) Unzip and put this in Simba/Plugins :
23437
b) Put this in Simba/Include
23438
c) Script also uses part of SRL-6 library (https://github.com/SRL/SRL-6) : mouse.simba (https://github.com/SRL/SRL-6/blob/master/lib/core/mouse.simba) and math.simba (https://github.com/SRL/SRL-6/blob/master/lib/utilities/math.simba). If you don't have SRL-6 library already you should download it from github or optionally download only those 2 files. Make sure that include path in the header of files is correct!
d) Get the script:
23439
23892 v 1.1
24461 v 1.1b Fixed Version
2. Settings
http://puu.sh/9KGTT/aadcca3e04.png
http://puu.sh/9KGLw/394bf9fd9b.png
3. Known Issues
a) Script breaks when it clicks on another player and opens his interface
b) Script breaks when it clicks on rock, which is only partially visible on screen (Exception in Script: Runtime error: "You passed a wrong xe to a finder function...blah blah blah) - Now I'm looking for elegant solution. Solved in v1.1
4. Enjoy!
5. Changelog
Version 1.1
Solved issue with CountColor() breaking script
Added customization - now you can adjust script to any ore you want in 3 easy steps! Read code for details...
Version 1.1b
Script is now compatible with updated SRL-6 version