Log in

View Full Version : [C]Livid Farmer



Pages : 1 2 3 [4] 5 6

Timba
08-10-2012, 08:14 PM
Sorry, should have seen that it says in your pic that it is SmartParams.
I'd probably try checking for updates again and redownloading SMART v8.0. Then if that didn't work, I'd just do a complete reinstall.


Ouch.... Guess I'll try that

Hazzah
08-10-2012, 08:14 PM
Sorry, should have seen that it says in your pic that it is SmartParams.
I'd probably try checking for updates again and redownloading SMART v8.0. Then if that didn't work, I'd just do a complete reinstall.

Smart probably isn't the issue, the issue might be that you do not have an updated Simba.

Tools-> Update

Timba
08-10-2012, 08:42 PM
@Fruit

I re-installed my Simba and now its working fine, Dunno what the problem was but I'm glad its gone. Thanks :biggrin:

Barokajin
08-13-2012, 07:51 AM
This is really cool, Flight. ^_^ Anyone suggest how many runes it would take to get to 99 farming from 73, with a Mud Staff?

blinkblink
08-13-2012, 12:02 PM
This is really cool, Flight. ^_^ Anyone suggest how many runes it would take to get to 99 farming from 73, with a Mud Staff?
73 - 99 = 12,041,536xp

12m / 32k = 376hrs
1 hour(32k xp) in runes = around: 75 laws(197gp) / 400 natures(120gp) & 830 astrals(137gp)
14,775 + 48,000 + 113,710 = 176,485gp per hour
376hrs x 176,485gp = 66,358,69gp <-- it would be near that spending

Total runes...
laws: 28,200
natures: 150,400
astrals: 229,080

Hazzah
08-13-2012, 01:16 PM
73 - 99 = 12,041,536xp

12m / 32k = 376hrs
1 hour(32k xp) in runes = around: 75 laws(197gp) / 400 natures(120gp) & 830 astrals(137gp)
14,775 + 48,000 + 113,710 = 176,485gp per hour
376hrs x 176,485gp = 66,358,69gp <-- it would be near that spending

Total runes...
laws: 28,200
natures: 150,400
astrals: 229,080

Script hasn't gotten over 23k xp/hr since Simba was fixed.

http://puu.sh/UTGc

Barokajin
08-13-2012, 01:38 PM
73 - 99 = 12,041,536xp

12m / 32k = 376hrs
1 hour(32k xp) in runes = around: 75 laws(197gp) / 400 natures(120gp) & 830 astrals(137gp)
14,775 + 48,000 + 113,710 = 176,485gp per hour
376hrs x 176,485gp = 66,358,69gp <-- it would be near that spending

Total runes...
laws: 28,200
natures: 150,400
astrals: 229,080

Wow that's a lot :fiery: time to make money! And 20k an hour sucks, but it's better than what I'm doing right now for farming lol, I don't even know how you would calculate the rates of doing farming runs.

Flight
08-13-2012, 01:42 PM
Script hasn't gotten over 23k xp/hr since Simba was fixed.

http://puu.sh/UTGc

The script pulls 32k Farming XP/hour, yours is low because 4 breaks are included in that report, that's atleast 1 hour of non-XP down time. Math doesn't lie.

Hazzah
08-13-2012, 08:25 PM
The script pulls 32k Farming XP/hour, yours is low because 4 breaks are included in that report, that's atleast 1 hour of non-XP down time. Math doesn't lie.

I don't mind either way Flight!

http://puu.sh/V03r

http://puu.sh/V3zJ

Finally stopped it since I don't want to get banned :P

Flight
08-14-2012, 02:02 AM
Haha. Very nice progress reports, longest I've seen in some time. Right now I'm working on a V1.4 that that handle the livid bunches to the north-east for more Magic & Crafting XP. The hardest part, even now, is getting our player back to that exact tile.

Edit:
Got V1.3 running completely in Lape, so much faster.


[==============================]
[ LividFarmer 1.3 ]
[ by Flight ]
[==============================]
[ Run Time : 2 Hr 7 Sec ]
[ Points : 21280 ]
[ Plants Cured : 358 ]
[ Soil Fertilized : 361 ]
[ Farming XP : 66148 ]
[ Farming XP/Hr : 33038 ]
[ Magic XP : 59787 ]
[ Magic XP/Hr : 29861 ]
[ Agility XP : 11592 ]
[ Agility XP/Hr : 5790 ]
[ Breaks : 0 ]
[==============================]
[ LividFarmer 1.3 ]
[==============================]

Hazzah
08-15-2012, 12:12 AM
Haha. Very nice progress reports, longest I've seen in some time. Right now I'm working on a V1.4 that that handle the livid bunches to the north-east for more Magic & Crafting XP. The hardest part, even now, is getting our player back to that exact tile.

Edit:
Got V1.3 running completely in Lape, so much faster.


[==============================]
[ LividFarmer 1.3 ]
[ by Flight ]
[==============================]
[ Run Time : 2 Hr 7 Sec ]
[ Points : 21280 ]
[ Plants Cured : 358 ]
[ Soil Fertilized : 361 ]
[ Farming XP : 66148 ]
[ Farming XP/Hr : 33038 ]
[ Magic XP : 59787 ]
[ Magic XP/Hr : 29861 ]
[ Agility XP : 11592 ]
[ Agility XP/Hr : 5790 ]
[ Breaks : 0 ]
[==============================]
[ LividFarmer 1.3 ]
[==============================]


Im working on 99 farming, so you should help me set it up in Lape. :redface:

Flight
08-15-2012, 02:12 AM
Ok, first off, download SRLLape here:
https://github.com/SRL/SRL-5/tree/lape_fixes

Do my modifications to make it compile right here:
http://villavu.com/forum/showpost.php?p=1085887&postcount=12

And the V1.3 + MouseHandler V1.02 is attached to this post. Obviously you have to switch Simba's interpreter to Lape (Script > Interpreter > Lape).

Hazzah
08-15-2012, 03:49 AM
I think Nelsie must have done those fixes because all of that is already done.

Got it running, as soon as it started managed to get a pinball random. Took me 1.5 Seconds to compile SRL using Lape since the post you linked seemed to question the amount of time. Not sure why it is doing that but the script is running amazingly! Looking forward to 1.4 (Assuming it will make use of Brandons OGL v0.2?).

E: Not sure if this issue is on my end somehow but the top left livids are not getting cured correctly. Going to Restard the client and see if it continues to have this error (Might just be colors are weird).

E2: Some of the livid strains are not identified on the Lape version (On the menu screen, the mouse moves to the correct livid but does not click it)

E3: Tomorrow morning I will send you a link to the video, let me know if you have issues viewing it.

E3: Issue seems to be with R1C1, R1C2 (Sometimes), and it often seems to not find soils if they are directly in front of the player or in the corners. Not sure what the issue is with it. Will try to get you a video.

Flight
08-15-2012, 05:01 AM
I forgot to mention you'll need the latest Simba build (1000) for Lape to work correctly. You can get it here:
http://nala.villavu.com/downloads/master/2b461bc5553ee58410d9ba05dec1655cdf004ccf/

Hazzah
08-15-2012, 05:06 AM
Well I shall give that a go then since I am running 991

E:


Exception in Script: libffi is not loaded

Possibly a 64 bit error?

Flight
08-15-2012, 07:52 AM
Well I shall give that a go then since I am running 991

E:


Exception in Script: libffi is not loaded

Possibly a 64 bit error?

Yep it could be. If it's a Simba error you'll have to discuss it in that section rather than on this thread.

Hazzah
08-17-2012, 05:16 PM
Yep it could be. If it's a Simba error you'll have to discuss it in that section rather than on this thread.

I did get the lape version up and running with the 32 bit simba + Java.

This is not the lape version as I somehow managed to lose it on my computer :duh:

[=======================================]
[ LividFarmer 1.3 ]
[ by Flight ]
[=======================================]
[ Run Time : 11 Hr 36 Min 13 Sec ]
[ Points : 93980 ]
[ Plants Cured : 1687 ]
[ Soil Fertilized : 1397 ]
[ Farming XP : 283728 ]
[ Farming XP/Hr : 24451 ]
[ Magic XP : 255059 ]
[ Magic XP/Hr : 21981 ]
[ Agility XP : 54264 ]
[ Agility XP/Hr : 4676 ]
[ Breaks : 5 ]
[=======================================]
[ LividFarmer 1.3 ]
[=======================================]
Time until break: 01:17:05

Flight
08-18-2012, 03:53 AM
Very nice indeed.

txtripper
08-19-2012, 12:55 AM
do i need all 4 files for livid farm script

Flight
08-19-2012, 02:42 AM
do i need all 4 files for livid farm script

Nope, you just need the newest version (currently V1.3) as well as the MouseHandler attached to the OP.

digitalninja
08-19-2012, 09:55 PM
Sorry was reading up on the last 5 pages of the forum here but was there an easy explanation for why I would be only getting 23+k/hour farming rather than the 31+k others are getting? At the moment im getting:

23668 farming exp/hour
20592 magic exp/hour
3787 agi exp/hour

Thanks!! Phenomenal script and 23k/hour is amazing as it is but I was just wondering if there was something I was obviously doing wrong that would get an additional 10k/hour!?!?

Hazzah
08-19-2012, 10:36 PM
Sorry was reading up on the last 5 pages of the forum here but was there an easy explanation for why I would be only getting 23+k/hour farming rather than the 31+k others are getting? At the moment im getting:

23668 farming exp/hour
20592 magic exp/hour
3787 agi exp/hour

Thanks!! Phenomenal script and 23k/hour is amazing as it is but I was just wondering if there was something I was obviously doing wrong that would get an additional 10k/hour!?!?

I have run this script for 200+ hours since the bar thing was fixed. I have always averaged 21-23k xp/hr yet somehow when Flight runs it he is getting 32k xp/hr. I noticed that for some reason it messed up because of other players running around and sometimes does not find the soils.

digitalninja
08-19-2012, 11:48 PM
Thats craziness ... there has to be a setting were not getting right ... 10k/hour is a huge difference. There has to be something we can tweak to improve the farming exp.


The script pulls 32k Farming XP/hour, yours is low because 4 breaks are included in that report, that's atleast 1 hour of non-XP down time. Math doesn't lie.

This I dont really get ... I havent taken any breaks for 2 hours and im still only getting 24087 exp/hour now.

Flight
08-20-2012, 02:13 AM
Can you guys post a progress report of as close to 1 hour as you can get? I'd like to see how many plants are cured / soil fertilized.

Hazzah
08-20-2012, 02:23 AM
Yea I can get you a few one hours over the next few days.

digitalninja
08-20-2012, 06:29 AM
Hope these work I got 2 screenshots at 1 hour and 2 hours.

http://s10.postimage.org/6be5ylfft/Livid_Farmer1.jpg
http://s16.postimage.org/9j9qncwv9/Livid_Farmer2.jpg

Flight
08-21-2012, 10:36 AM
V1.4 looking good fellas. Here's a 1-hour progress report:


[================================]
[ LividFarmer 1.4 ]
[ by Flight ]
[================================]
[ Run Time : 59 Min 8 Sec ]
[ Points : 16300 ]
[ Plants Cured : 177 ]
[ Soil Fertilized : 180 ]
[ Bunches Made : 48 ]
[ Farming XP : 32844 ]
[ Farming XP/Hr : 33325 ]
[ Magic XP : 33664 ]
[ Magic XP/Hr : 34157 ]
[ Agility XP : 5712 ]
[ Agility XP/Hr : 5795 ]
[ Crafting XP : 12960 ]
[ Crafting XP/Hr : 13149 ]
[ Breaks : 0 ]
[================================]
[ LividFarmer 1.4 ]
[================================]
Time until break: 01:15:51
Walking to correct tile...
Walking to Garden


This version also handles the produce for extra Magic & Crafting XP, not to mention extra points. ;) Still has a few tweaks to put in here and there as well as much more testing to do, but so far so good!

digitalninja
08-21-2012, 05:24 PM
Hi Flight,

Not sure but I think I saw you in game today with Rebel? Anyway I figured part of the problem out ... my settings were somehow on low rather than min. This was impacting the scripts ability to fertilize soil. Since then its working a bit better with the version you sent but its still tapping out at 22k/hour farming exp. Odd huh ... amazing progress report above though!

DN

Flight
08-22-2012, 01:47 AM
Hi Flight,

Not sure but I think I saw you in game today with Rebel? Anyway I figured part of the problem out ... my settings were somehow on low rather than min. This was impacting the scripts ability to fertilize soil. Since then its working a bit better with the version you sent but its still tapping out at 22k/hour farming exp. Odd huh ... amazing progress report above though!

DN

Do you have a good estimate on how many plants you're curing and soil you're fertilizing per hour? If your settings are correct and the script is working correctly it should be between 170 and 180 each per hour.

Hazzah
08-23-2012, 02:09 AM
HAve been busy IRL with stuff but gonna do atleast one, one hour run tonight for you.

E:
http://puu.sh/XVBp

Im convinced it just because other people come in and ruin the XP/hr by somehow distorting where the script is supposed to click.

Olly
08-24-2012, 07:27 PM
Hey Flight, How did you handle walking back to the exact tile?

Thanks :P

Flight
08-25-2012, 02:10 AM
Hey Flight, How did you handle walking back to the exact tile?

Thanks :P

Through about 30% color, 70% math. :p I'm going to put a few more random actions in the script to make it less predictable, and then it should be ready to go.

Hazzah
08-25-2012, 04:38 PM
Through about 30% color, 70% math. :p I'm going to put a few more random actions in the script to make it less predictable, and then it should be ready to go.

I can't wait! Only ~1m more till you can add me to the 99 farming list! :garfield:

Flight
08-26-2012, 08:51 AM
Version 1.4 (beta) released


2-stage area location system (general area + garden location)
Automatically walk our player to the correct tile for garden section
Handles the produce bin now for extra Magic XP, Crafting XP and a huge increase in points/hour
A few speed optimizations so produce-handling is possible within the cycle time
Updated mouse procedures from MouseHandler V.1.03 (attached to OP)
Compatible (and recommend) with SRL Lape


There is a known bug where the MM DTMs might not be found by the script, thus stopping it from running correctly. Should this happen the script will simply log out and shut down, just to be safe. This is actually a flaw in Runescape; sometimes wall angles on the MM will disappear in certain areas, should it happen here it could prevent the script from working properly. If the script shuts itself down I suggest switching worlds and re-starting; this usually fixes things right up.

I fear that these DTMs will need to be updated from time to time. In the future I'll design a more stable system for this.

Anyways, report bugs should you come across any and post them here.

Justin
08-26-2012, 10:13 AM
Version 1.4 (beta) released


2-stage area location system (general area + garden location)
Automatically walk our player to the correct tile for garden section
Handles the produce bin now for extra Magic XP, Crafting XP and a huge increase in points/hour
A few speed optimizations so produce-handling is possible within the cycle time
Updated mouse procedures from MouseHandler V.1.03 (attached to OP)
Compatible (and recommend) with SRL Lape


There is a known bug where the MM DTMs might not be found by the script, thus stopping it from running correctly. Should this happen the script will simply log out and shut down, just to be safe. This is actually a flaw in Runescape; sometimes wall angles on the MM will disappear in certain areas, should it happen here it could prevent the script from working properly. If the script shuts itself down I suggest switching worlds and re-starting; this usually fixes things right up.

I fear that these DTMs will need to be updated from time to time. In the future I'll design a more stable system for this.

Anyways, report bugs should you come across any and post them here.

Wow, Thanks Flight, I'll give this a shot later tonight

Valeyard
08-27-2012, 05:44 AM
I am dreading raising farming but this seems like a great alternative to knocking out both Farm and livid farm. I wonder if the cost of this in terms of runes, plus time taken, works out cheaper than buying it in trees. I'll check it out, thanks for the update Flight!

vacacow1
08-27-2012, 01:18 PM
Hey flight i tried to give it a try to Lape using your script but i can't seem to find answers anywhere on how to fix this problem..


[Error] C:\Simba\Includes\SRL\SRLLape.simba(12:13): Unknown identifier 'StringReplace' at line 12
Compiling failed.

I already updated to Simba 1000 and downloaded SRL5 from the repository and can't seem to get it to work... i was wondering if you may know how to fix this? Thanks

vacacow1
08-27-2012, 01:34 PM
I got a 15 min proggy and it suddenly crashed and it happened twice

[================================]
[ LividFarmer 1.4 ]
[ by Flight ]
[================================]
[ Run Time : 15 Min 7 Sec ]
[ Points : 3700 ]
[ Plants Cured : 39 ]
[ Soil Fertilized : 39 ]
[ Bunches Made : 12 ]
[ Farming XP : 7176 ]
[ Farming XP/Hr : 28482 ]
[ Magic XP : 7429 ]
[ Magic XP/Hr : 29486 ]
[ Agility XP : 1176 ]
[ Agility XP/Hr : 4667 ]
[ Crafting XP : 3240 ]
[ Crafting XP/Hr : 12859 ]
[ Breaks : 0 ]
[================================]
[ LividFarmer 1.4 ]
[================================]

The error i'm getting is that it wasn't walking on the garden.

Edit: i just babysitted and saw the problem was that when it goes to make the produce and goes back it clicks next to the flower instead of the actual square where it should and it just logs out.

Flight
08-27-2012, 02:31 PM
Hey flight i tried to give it a try to Lape using your script but i can't seem to find answers anywhere on how to fix this problem..


[Error] C:\Simba\Includes\SRL\SRLLape.simba(12:13): Unknown identifier 'StringReplace' at line 12
Compiling failed.

I already updated to Simba 1000 and downloaded SRL5 from the repository and can't seem to get it to work... i was wondering if you may know how to fix this? Thanks

If you want to run it in Lape then download the latest SRL Lape (https://github.com/SRL/SRL-5/tree/lape_fixes) then switch your interpreter to Lape (Script > Interpreter > Lape).

If not, comment out line 10, like I clearly stated in the script:

{$DEFINE LAPE} //Comment this out if not using Lape




I got a 15 min proggy and it suddenly crashed and it happened twice

The error i'm getting is that it wasn't walking on the garden.


Ok, I said in my previous post that there was a chance that the MM would be flawed (this is at random, thank Jagex) thus disrupting the DTM that should be found for us to walk to (whichever area that is). Like I said before, if this happens 4 times then the script should log out and shut down. I recommend changing worlds and hopefully the next world you log in will have the complete minimap.



Edit: i just babysitted and saw the problem was that when it goes to make the produce and goes back it clicks next to the flower instead of the actual square where it should and it just logs out.

I'm not following 100%. Did it handle the produce successfully? By "goes back" you mean walks back to the garden area, or walks to the exactly garden tile by main-screen walking? Please, be specific...

vacacow1
08-27-2012, 03:11 PM
Yeah first makes the complete circle perfectly, the garden section, and then when it goes to the crafting part does it perfectly, the problem is walking back to the garden it goes way too north messing the script up, i know it's still on BETA, i'm just trying to help you out with it. Here's the reason of the failure.

{{{==Script shutdown==}}}
----Reason: Failed to walk to Garden----
Successfully executed.

That seems to fixed my problem with Lape i didn't activated to interpred Lape lol Thanks!

Script it's really fast and apart from that minor flaw it's awesome.

Flight
08-28-2012, 12:34 AM
Yeah first makes the complete circle perfectly, the garden section, and then when it goes to the crafting part does it perfectly, the problem is walking back to the garden it goes way too north messing the script up, i know it's still on BETA, i'm just trying to help you out with it. Here's the reason of the failure.

{{{==Script shutdown==}}}
----Reason: Failed to walk to Garden----
Successfully executed.

That seems to fixed my problem with Lape i didn't activated to interpred Lape lol Thanks!

Script it's really fast and apart from that minor flaw it's awesome.

Ah ok, that's all I needed to know. I can see I'm going to have to use a bit of different tactics for the location system. Thanks for the input, vacacow1.

tazer bager
08-28-2012, 09:57 AM
Trying it out and getting this message...

Exception in Script: Unable to find file 'SRLLape.simba' used from 'C:\Simba\Includes\SRL/srl.simba

I am very new to this so not sure what to make of it, any help would be appreciated.

cheers.

Flight
08-28-2012, 10:21 AM
Trying it out and getting this message...

Exception in Script: Unable to find file 'SRLLape.simba' used from 'C:\Simba\Includes\SRL/srl.simba

I am very new to this so not sure what to make of it, any help would be appreciated.

cheers.

You don't have to use Lape; if you decide not to just comment out line 10 of the script by putting "//" in front of it.

ADR1234
08-28-2012, 03:26 PM
Thanks for the help Flight.
1.4 seems to just walk back and forth, so I am back to 1.3
Where can I comment out Pauline? I found the spot for //HandlePauline in 1.2 but not in 1.3 or 1.4?

Flight
08-28-2012, 03:57 PM
Thanks for the help Flight.
1.4 seems to just walk back and forth, so I am back to 1.3
Where can I comment out Pauline? I found the spot for //HandlePauline in 1.2 but not in 1.3 or 1.4?

It should be in the very bottom of the script; "HandlePauline;". Probably the last 10 or 20 lines.

Valeyard
08-31-2012, 06:42 PM
Pretty much decided upon banking most of the buyables now. Was considering buying trees too but..I hope I can use this script long enough to get 99 before any shenanigins go down.

Thanks Flight.

Assassin x42
08-31-2012, 08:47 PM
Hey Flight I keep getting this:
"Unknown identifier 'MouseHandler' at line 980"
I commented out SRL Lape, but cannot figure out this problem.
Could you please help me out? :)
Thanks for your time.

Valeyard
08-31-2012, 08:54 PM
Hey Flight I keep getting this:
"Unknown identifier 'MouseHandler' at line 980"
I commented out SRL Lape, but cannot figure out this problem.

Thanks for your time.

Did you read this at the very start of the thread, "[NOTE]: MouseHandler.simba is also required for this script. To install it simply download the attached file from this post and place it in "C:/Simba/Includes/SRL/srl/misc/"

If not, download the MouseHandler.simba file from the first post and follow the instructions, it should work fine.

Assassin x42
09-01-2012, 05:18 PM
Did you read this at the very start of the thread, "[NOTE]: MouseHandler.simba is also required for this script. To install it simply download the attached file from this post and place it in "C:/Simba/Includes/SRL/srl/misc/"

If not, download the MouseHandler.simba file from the first post and follow the instructions, it should work fine.

Yea I've had Mousehandler.simba in there for a while now. I might just re download it and see if it works.

mika
09-03-2012, 07:23 PM
I Tested v 1.4 beta and there is a problem with walking to the correct tile. I started the script in the correct tile. but the script thought it was in the wrong tile and went up then down thn up again back into the correct tile. then it fertilized something and again readjusted the tiles thinking it was in the wrong tile. after every cure plant or fertolize it would trry going to the correct tile.

randycaver
09-04-2012, 11:38 AM
i did everything i was supposed to, i think. anyway i am getting this error:

[Hint] C:\Simba\Includes\SRL/SRL/core/antirandoms\randomtool.simba(215:3): Variable 'T' never used at line 214
Compiled successfully in 967 ms.
SRL Compiled in 16 msec
** Smart Cannot Spawn Clients **
Successfully executed.

hfbrads2
09-04-2012, 05:38 PM
I'm using the latest simba/srl/smart.

I'm having an issue where the script will only fertilize. The cursor hovers over the diseased plants as if to cure but only does it about 1/10 of the time.

Any ideas as to what I'm doing wrong?

Flight
09-05-2012, 01:43 AM
I'm using the latest simba/srl/smart.

I'm having an issue where the script will only fertilize. The cursor hovers over the diseased plants as if to cure but only does it about 1/10 of the time.

Any ideas as to what I'm doing wrong?

It doesn't sound like a problem on your end as the script still correctly finds the diseased plants. It sounds to me like an UpText issue. What version of the script are you using mate?

hfbrads2
09-05-2012, 03:13 AM
I tried using 1.4 and 1.3 and both had the same issues.

I ran it for about 30 minutes and I was getting about 15k farming xp/hr. Graphic settings on minimum in fixed mode.

mika
09-05-2012, 02:29 PM
I've had it miss a couple plants and fertilizing on the too row.

ADR1234
09-05-2012, 04:08 PM
v1.3 misses plants for me also, usually the one directly in front of me, (north) and both plants and fertilize spots in the farthest north row. Cursor hovers over them but doesn't appear to realize they need taken care of.

v1.4 only seems to walk back and forth, North/South over and over, but never seems to get going.

mika
09-05-2012, 07:21 PM
v1.3 misses plants for me also, usually the one directly in front of me, (north) and both plants and fertilize spots in the farthest north row. Cursor hovers over them but doesn't appear to realize they need taken care of.

v1.4 only seems to walk back and forth, North/South over and over, but never seems to get going.

same here except v1.4 does the walking after every fertilize or plant.

V1.3 works but misses plants and spots sometimes.

Timba
09-05-2012, 10:03 PM
v1.3 misses plants for me also, usually the one directly in front of me, (north) and both plants and fertilize spots in the farthest north row. Cursor hovers over them but doesn't appear to realize they need taken care of.

V1.4 only seems to walk back and forth, north/south over and over, but never seems to get going.



same!

Flight
09-05-2012, 11:13 PM
Sure is weird, the last time I've used the script the diseased plants were recognized 100% of the time. I'm quite sure that was under two weeks ago; could there have been a graphical update in that area since then? When I get back from running this morning I'll go ahead and run the script myself. Should worst come to worst I'll only need to change some colors for the diseased plants.

Sorry about the problems fellas. :/

Edit:
Running it right now (V.1.41) and it's working just fine on both PS and Lape. Who would like to test out V.1.41? Any one of you who are having trouble with the script not finding & curing the diseased plants.

ADR1234
09-06-2012, 03:36 PM
Running it right now (V.1.41) and it's working just fine on both PS and Lape. Who would like to test out V.1.41? Any one of you who are having trouble with the script not finding & curing the diseased plants.

I would be happy to give it a go

Timba
09-06-2012, 09:23 PM
I'd like to test it out :D!

Assassin x42
09-07-2012, 01:58 AM
I'd like 1.41 please :D

mika
09-07-2012, 02:34 AM
Why not I'll take 1.41 also

mrbotter123
09-07-2012, 11:33 AM
Would be awsome if i could be one of the first to use 1.41, good luck 99 farming! :D

Ashaman88
09-08-2012, 01:27 AM
Well Flight you captured my interest. Needed some epic farming xp so decided to try out your script. I came across a couple of issues.

First, as stated above, it couldn't decide if I was on the correct tile so it kept moving me one space back and for from the correct spot to one spot south and back. Since I was just doing the garden section only I took out that check.

Second, I noticed that most of the time when a diseased plant it on the closest spot directly north of the player, the script would ignore it. I just decreased the no no zone around the player you put in and now it works everytime.

Third, sometimes the diseased plants were found and the mouse would go to it, but it would not be able to detect which type it was and would thus loop for the next few minutes until the spots reset (goto jump). What I did for this was to instead of just retrying to find which type it was, I had it guess 1, then if that was wrong, try to identify again, if still no identify - guess 2, so on until it has guessed all 4 options.

Fourth, there were some random misidentifications and failure to identify soil spots. I am too dumb for how you identified them so I came up with my own method. Pretty much what it does is breaks each spot up into a box and it searches each box for the green color, if it doesn't find the green color it searches for a dtm I made of the empty patch that is pretty general, but it won't misidentify the diseased plants either. If it finds the dtm it will go to the spot and check for it. It will randomly mix up the order in which it searches the boxes so it won't always go left to right top to bottom.

I also prefer a custom progress report so i put in one of mine too. For the progress report to work accurately, your first counter must be set to magic and your second set to farming.
Ex:
=========Flights LividFarmer=========
============Version: 1.41============
Time Running: 1 Hours, 53 Minutes and 50 Seconds
Magic XP: 50790
Magic XP/H: 26770
Farming XP: 63250
Farming XP/H: 33337
=====================================

I took out all the functions I wasn't using so this code is only good if you are in the designated spot in the OP. You are more than welcome to take whatever suggestions or code from here! If you would prefer I take it down, no problem!

Program LividFarmer;
{$DEFINE SMART}
{$i SRL/srl.simba}
{$i SRL/SRL/misc/MouseHandler.simba}
{$i SRL/SRL/misc/SmartGraphics.simba}
{$I SRL/SRL/Misc/Debug.Simba}

//Top xp bar MUST be set to magic, 2nd xp bar MUST be set to farming (IF YOU DON'T IT WILL TIMEOUT AFTER 10MINUTES AND SHUTDOWN!!!)
//Stand in the spot specified in flights thread
//Have mud staff equipped and a buttload of nature and astral runes

///////////////////////////////////////////////////////////////////////
// //
// Begin of user setup //
// Fill in the fields below //
// //
///////////////////////////////////////////////////////////////////////
Const
Debug =True; // ***Keep this on for purty colors***
SwitchWorlds = False; // ***Switch worlds after a break?***
BreakIn = 280; // ***How long before we take a break? (minutes)***
BreakFor = 20; // ***How long will we break for? (minutes)***
Bir = 30; // ***Random minutes to add/subtract from how long until we break***
Bfr = 7; // ***Random minutes to add/subjtract from break duraction***

Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
With Players[0] Do
Begin
Name := '';
Pass := '';
BoxRewards := ['Coins', 'oins'];
WorldInfo := [96,96];
Active := True;
End;
End;

///////////////////////////////////////////////////////////////////////////////////////////
// //
// End of user setup //
// Don't touch below this line unless you know what you're doing!! //
// //
///////////////////////////////////////////////////////////////////////////////////////////

Var
Version: String;
Timeout,W,X,Y,Z,RealBTime,CurrentBTime,BreakRounds ,TotalBreaks: Integer;
FarmXP,MageXP,ReportTime,StartFarm,StartMagic,Spot DTM: Integer;
Box1,Box2,Box3,Box4,Box5,Box6,Box7,Box8,Box9,Box10 ,Box11,Box12,Box13,Box14,Box15: TBox;
FarmGrid: TBoxArray;
SCols,PCols: TIntegerArray;

Procedure LoadVars;
begin
Version := '1.41';

W := (BreakIn * 60000);
X := (BreakFor * 60000);
Y := RandomRange(-BIR * 60000, BIR * 60000);
Z := RandomRange(-BFR * 60000, BFR * 60000);

Box1 :=IntToBox(131,95-50,164,142-50);
Box2 :=IntToBox(180,95-50,214,142-50);
Box3 :=IntToBox(236,95-50,276,142-50);
Box4 :=IntToBox(288,95-50,328,142-50);
Box5 :=IntToBox(343,95-50,395,142-50);

Box6 :=IntToBox(104,162-50,157,225-50);
Box7 :=IntToBox(168,162-50,217,225-50);
Box8 :=IntToBox(230,162-50,273,225-50);
Box9 :=IntToBox(293,162-50,341,225-50);
Box10:=IntToBox(365,162-50,400,225-50);

Box11:=IntToBox(95,261-50,144,310-50);
Box12:=IntToBox(159,261-50,214,310-50);
Box13:=IntToBox(229,261-50,283,310-50);
Box14:=IntToBox(294,261-50,350,310-50);
Box15:=IntToBox(359,261-50,426,310-50);

FarmGrid:= [Box1,Box2,Box3,Box4,Box5,Box6,Box7,Box8,Box9,Box10 ,Box11,Box12,Box13,Box14,Box15];

If Debug Then
Smart_DrawBoxes(True,False,FarmGrid,clgreen);

SpotDTM := DTMFromString('mggAAAHicY2NgYGBnZGBQAOI6ILsYiAOAeD sQPwTiBCi/D4itgWpsgDg82JuhduNDhqo0F4bFU2sZfJyMGBb35zD8B6rhx4 IZcWAIAABSuA5L');

SCols := [5073267, 5204854, 5465452, 5402748]; //Soil colors
PCols := [4542282, 4674124, 4871760, 5003346, 5135188]; //Healthy livid colors
end;

Procedure FreeGlobals;
begin
FreeDTM(SpotDTM);
end;

Function WaitLoggedIn(Time:Integer): Boolean;
Var
T: Integer;
Begin
MarkTime(T);
Repeat
SRL_ResetNavBar;
If TimeFromMark(T)>Time Then
Begin
Result:=False;
Exit;
End;
Until (GetColor(472, 490) = 16777215);
Result:=True;
End;

Procedure ProgressReport;
Var
FXPH,MXPH: Integer;
Begin

FarmXP:=GetXPBar(2) - StartFarm;
MageXP:=GetXPBar(1) - StartMagic;

FXPH := Round(FarmXP * (3600.0 / (GetTimeRunning / 1000.0)));
MXPH := Round(MageXP * (3600.0 / (GetTimeRunning / 1000.0)));

Writeln('=========Flights LividFarmer========');
Writeln('===========Version: '+Version+'=============');
Writeln('Time Running: ' + TimeRunning);
Writeln('Magic XP: ' + IntToStr(MageXP));
Writeln('Magic XP/H: ' + IntToStr(MXPH));
Writeln('Farming XP: ' + IntToStr(FarmXP));
Writeln('Farming XP/H: ' + IntToStr(FXPH));
Writeln('====================================');

MarkTime(ReportTime);
End;

Procedure FailSafe;
Var
X,Y: Integer;
Begin
If Debug Then
Writeln('Misclicked, doing failsafe');
Mouse(249,177,2,2,True);

Wait(RandomRange(2000,3000));

Repeat
Wait(100);
Until (Not(Ismoving));

If FindDTM(SpotDTM,X,Y,MSX1,MSY1,MSX2,MSY2) Then
Begin
HumanMMouse(X,Y,2,2);
FastClick(Mouse_Left);
Wait(RandomRAnge(2000,3000));
End;

Repeat
Wait(100);
Until (Not(Ismoving));
End;

Procedure QuickBoxSort(var A: TIntegerArray; var B: TBoxArray; iLo, iHi: Integer; SortUp: Boolean);
Var
Lo, Hi, Mid, T: Integer;
TP: TBox;
Begin
If (Length(A) <> Length(B)) Then
Exit;
Lo := iLo;
Hi := iHi;
Mid := A[(Lo + Hi) shr 1];
Repeat
If SortUp Then
Begin
While (A[Lo] < Mid) Do Inc(Lo);
While (A[Hi] > Mid) Do Dec(Hi);
End Else
Begin
While (A[Lo] > Mid) Do Inc(Lo);
While (A[Hi] < Mid) Do Dec(Hi);
End;
If (Lo <= Hi) Then
Begin
T := A[Lo];
A[Lo] := A[Hi];
A[Hi] := T;
TP := B[Lo];
B[Lo] := B[Hi];
B[Hi] := TP;
Inc(Lo);
Dec(Hi);
End;
Until Lo > Hi;
If (Hi > iLo) Then QuickBoxSort(A, B, iLo, Hi, SortUp);
If (Lo < iHi) Then QuickBoxSort(A, B, Lo, iHi, SortUp);
End;


{*
Sorts A TBoxArray by Mid-Point. Closest OverallBox by Midpoint to the From-Point First.
*}
Procedure MidSortBoxArrayFrom(Var BoxArray: TBoxArray; Const From: TPoint);
Var
I,L: Integer;
Mid: TPoint;
DistArr: TIntegerArray;
Begin
L := High(BoxArray);
If (L < 0) Then
Exit;
SetLength(DistArr, L + 1);

For I := 0 To L Do
Begin
Mid := MiddleBox(BoxArray[I]);
DistArr[I] := Round(Sqr(From.X - Mid.X) + Sqr(From.Y - Mid.Y));
End;

QuickBoxSort(DistArr,BoxArray,0,l,True);
End;

Procedure SortFarmGrid;
Var
X,Y: Integer;
Begin
GetMousePOS(X,Y);
MidSortBoxArrayFrom(FarmGrid,Point(X,Y));
End;

Function FindLivid(Var X,Y,I2: Integer): Boolean;
Var
B: TBox;
ME: MEvent;
I,H,CTS: Integer;
ATPA: T2DPointArray;
TPA,PAR: TPointArray;
Begin
Result := False;
If Not WaitLoggedIn(1000) Then
Exit;

CTS:= GetColorToleranceSpeed;
CombineTPAWrap(TPAFromBox(IntToBox(245, 150, 275, 190)), TPAFromBox(IntToBox(430, 20, 515, 230)), PAR);

ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(4.17,0.56);

FindColorsSpiralTolerance(MSCX,MSCY,TPA,1447447,Fa rmGrid[I2].X1,FarmGrid[I2].Y1,FarmGrid[I2].X2,FarmGrid[I2].Y2,4);

ColorToleranceSpeed(CTS);
SetColorSpeed2Modifiers(0.2,0.2);
ClearTPAFromTPAWrap(TPA,PAR,TPA);

If (Length(TPA) < 1) Then
Exit;

SplitTPAExWrap(TPA,10,10,ATPA);

If Debug Then
Smart_DebugATPA(True,ATPA);

H:=High(ATPA);

For I := 0 To H Do
Begin
If (GetArrayLength(ATPA[I]) > 10) Then
Begin
B := GetTPABounds(ATPA[I]);
B := IntToBox(B.X1-10,B.Y1-10,B.X2+10,B.Y2+25);

With B Do
Begin
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.46,0.11);

FindColorsSpiralTolerance(MSCX,MSCY,TPA,9012621,B. X1,B.Y1,B.X2,B.Y2,13);
ColorToleranceSpeed(CTS);
SetColorSpeed2Modifiers(0.2, 0.2);

If (Length(TPA) > 0) Then
Begin
MiddleTPAEx(ATPA[I],X,Y);
ME := ConMEvent('human',X,Y,3,6,Mouse_Move);
Wait(Random(200));
If StreamMouse(ME,['Cure', 're-p', '-pl', 'lant', 'Dise', 'seas', 'd li'],[],500,0) Then
Begin
Result := True;
GetMousePos(X, Y);
Exit;
End;
End;
End;
End;
End;
End;

Procedure ReturnValues(colors: TIntegerArray; Var HueMods, SatMods: Extended; Var color, Tolerance: Integer);
Var
H,S,T: Extended;
I,II: integer;
HSLColor: Array[1..3] Of Extended;
HSL: Array[0..1] Of Array[1..3] Of Extended;
begin;
For I:= 1 to 3 do
begin;
HSL[0][i] := 255;
end;

For I:= 0 to High(Colors) do
begin;
ColortoHSL(Colors[i],HSLColor[1],HSLColor[2],HSLColor[3]);
For II:= 1 to 3 do
begin;
HSL[0][II] := MinE(HSLColor[II],HSL[0][II]);
HSL[1][II] := MaxE(HSLColor[II],HSL[1][II]);
end;
end;

H := (HSL[1][1] - HSL[0][1]);
S := (HSL[1][2] - HSL[0][2]);
T := (HSL[1][3] - HSL[0][3]);

Try
HueMods := (H/T);
SatMods := (S/T);
Tolerance := Round(T);
Except
HueMods := 0;
SatMods := 0;
Tolerance := Round(0.0);
End;

Color := HSLToColor((HSL[1][1] + HSL[0][1]) div 2,(HSL[1][2] + HSL[0][2]) div 2,(HSL[1][3] + HSL[0][3]) div 2);
End;

Function FindSoil(I: Integer): Boolean;
Var
ME: MEvent;
B,B2: TBox;
TPA,TPA2,PAr: TPointArray;
Hmod,Hmod2,Smod2,Smod: Extended;
I2,H,Tol,Tol2,CTS,Col2,Col,HA,HB: Integer;
TBA: TBoxArray;
MBP: TPoint;
ATPA: T2DPointArray;
Begin
Result := False;

CTS := GetColorToleranceSpeed;
CombineTPAWrap(TPAFromBox(IntToBox(245,150,275,190 )),TPAFromBox(IntToBox(430,20,515,230)),PAR);

ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.40, 0.80);

If (CountColorTolerance(3557184,FarmGrid[I].X1,FarmGrid[I].Y1,FarmGrid[I].X2,FarmGrid[I].Y2,8) = 0) Then
Begin
ColorToleranceSpeed(CTS);
SetColorSpeed2Modifiers(0.2,0.2);

ColorToleranceSpeed(2);
ReturnValues(SCols,Hmod,Smod,Col,Tol);
SetColorSpeed2Modifiers(Hmod,SMod);

FindColorsSpiralTolerance(MSCX,MSCY,TPA,Col,FarmGr id[I].X1,FarmGrid[I].Y1,FarmGrid[I].X2,FarmGrid[I].Y2,Tol);
ColorToleranceSpeed(CTS);
SetColorSpeed2Modifiers(0.2,0.2);

ClearTPAFromTPAWrap(TPA,PAR,TPA);

If (Length(TPA) < 1) Then
Exit;

SplitTPAExWrap(TPA,30,30,ATPA);

HA:=High(ATPA);
For I2 := 0 To HA Do
Begin
B := GetTPABounds(ATPA[I2]);

ReturnValues(PCols,Hmod2,Smod2,Col2,Tol2);
SetColorSpeed2Modifiers(Hmod2,SMod2);

If Not FindColorsSpiralTolerance(MSCX,MSCY,TPA2,Col2,B.X1 ,B.Y1,B.X2,B.Y2,Tol2) Then
Begin
If Debug Then
Smart_DebugATPA(True,ATPA);
B2 := GetTPABounds(ATPA[I2]);
SetArrayLength(TBA, Length(TBA)+1);
TBA[High(TBA)] := B2;
End;
End;

ColorToleranceSpeed(CTS);
SetColorSpeed2Modifiers(0.2,0.2);

HB:=High(TBA);
For H:= 0 To HB Do
Begin
MBP:= MiddleBox(TBA[H]);
ME:= ConMEvent('human',MBP.X,MBP.Y,5,5,Mouse_Move);
Wait(Random(200));

If StreamMouse(ME,['Fertilise', 'Empty', 'patch'],[],500,0) Then
Begin
Case Random(10) Of
0..1:
Begin
FastClick(Mouse_Right);
If WaitOption('Empty',500) Then
Begin
Result:=True;
Wait(RandomRange(2215,2570));
Exit;
End;
End;
2..9:
Begin
FastClick(Mouse_Left);
If Not DidYellowClick Then
Begin
Result:=True;
Wait(RandomRange(2215,2570));
Exit;
End Else
FailSafe;
End;
End;
End;
End;
End;
End;

Function GetLividType(X, Y: Integer): Integer;
Begin
Result := 0;

If (IntInBox(X,Y,Box1) Or IntInBox(X,Y,Box2) Or IntInBox(X,Y,Box3) Or IntInBox(X,Y,Box5)) Then
Result := 1 Else
If (IntInBox(X,Y,Box4) Or IntInBox(X,Y,Box8) Or IntInBox(X,Y,Box9) Or IntInBox(X,Y,Box10)) Then
Result := 2 Else
If (IntInBox(X,Y,Box7) Or IntInBox(X,Y,Box11) Or IntInBox(X,Y,Box15)) Then
Result := 3 Else
If (IntInBox(X,Y,Box6) Or IntInBox(X,Y,Box12) Or IntInBox(X,Y,Box13) Or IntInBox(X,Y,Box14)) Then
Result := 4;

End;

Function LividMenu: Boolean;
Var
X,Y: Integer;
Begin
Result := FindText(X,Y,'train',SmallChars,MIX1,MIY1,MIX2,MIY 2);
End;

Procedure CureLivid(Strain: Integer);
Var
SPoint: TPoint;
Begin
Case Strain Of
1: Begin SPoint := Point(590,280); End;
2: Begin SPoint := Point(680,280); End;
3: Begin SPoint := Point(590,400); End;
4: Begin SPoint := Point(680,400); End;
End;

MissMouse2(SPoint.X,SPoint.Y,10,10);
If WaitUpText('Continue',500) Then
FastClick(Mouse_Left);
End;

Function HandleLivids(I: Integer): Boolean;
Var
X,Y,Tries: Integer;
Label
Start;
Begin
Tries:=0;
Start:
If (Not WaitLoggedIn(1000)) Then
Exit;

If FindLivid(X,Y,I) Then
Begin
Case Random(10) Of
0..1:
Begin
ClickMouse2(False);
If WaitOptionMulti(['Cure','re-p','-pl','lant','Dise','seas','d li'],500) Then
BrakeMMouse(635,310,65,70) Else
Exit;
End;
2..9:
Begin
FastClick(Mouse_Left);
If Not DidYellowClick Then
BrakeMMouse(635,310,65,70) Else
Begin
FailSafe;
Exit;
End;
End;
End;

If (Not WaitFunc(@LividMenu,50,3000)) Then
Exit;

If LividMenu Then
Begin
If (GetLividType(X,Y) = 0) Then
Begin
Inc(Tries);
If Tries=5 Then
Exit;
CureLivid(Tries);
End Else
CureLivid(GetLividType(X,Y));

Wait(RandomRange(1915,2570));
Result:=True;
End;
End;
End;

Procedure FindStuff;
Var
I,H,Win: Integer;
Jump: Boolean;
Label
Start;
Begin
Win:=0;
Start:
Jump:=False;
If (Not WaitLoggedIn(1000)) Then
Exit;

SortFarmGrid;
H:=High(FarmGrid);
For I:=0 To H Do
Begin
If FindSoil(I) Then
Begin
Jump:=True;
Inc(Win);
Break;
End;
If HandleLivids(I) Then
Begin
Jump:=True;
Inc(Win);
Break;
End;
End;

If Jump Then
GoTo Start;

If Win>0 Then
If Debug Then
Smart_DrawBoxes(True,False,FarmGrid,clgreen);

End;

Procedure FoundARandom;
Begin
Writeln('Found a random!');
PlaySound(ScriptPath+'evilaugh.wav');
Wait(RandomRange(10000, 20000));
TerminateScript;
End;

Procedure OffMM(Direction, WaitTime, RandomWait: Integer);
Var
W,H,RX,RY: Integer;
Begin
GetClientDimensions(W,H);
H:=H+50;
RX := RandomRange(0,W);
RY := RandomRange(0,H);
Case (Direction) Of
0..1: HumanMMouse(W/2,RandomRange(-110,-60),RX,0);
2: HumanMMouse(RandomRange(-50,-10),H/2,0,RY);
3: HumanMMouse(W/2,H+RandomRange(10,50),RX,0);
4: HumanMMouse(W+RandomRange(10,50),H/2,0,RY);
End;
Wait(WaitTime+Random(RandomWait));
End;

//by Home
function AreaToBoxArray(const AreaX1, AreaY1, AreaX2, AreaY2, Width, Height: Integer): TBoxArray;
var
AreaW, AreaH: Integer;
BoxX, BoxY: Integer;
x, y, i: Integer;
begin
// Calculate the area dimensions
AreaW := AreaX2 - AreaX1 + 1;
AreaH := AreaY2 - AreaY1 + 1;

// Calculate the number of boxes in each dimension
BoxX := AreaW div Width;
if AreaW mod Width <> 0 then Inc(BoxX);
BoxY := AreaH div Height;
if AreaH mod Height <> 0 then Inc(BoxY);

// Set the number of boxes
SetLength(Result, BoxX * BoxY);

// Calculate the boxes
i := 0;
for y := 0 to BoxY - 1 do
for x := 0 to BoxX - 1 do
begin
Result[i] := IntToBox(AreaX1 + x * Width,
AreaY1 + y * Height,
Min(AreaX2, AreaX1 + (x + 1) * Width - 1),
Min(AreaY2, AreaY1 + (y + 1) * Height - 1));
Inc(i);
end;
end;

Procedure CheckMovingObjs(RClick: Boolean);
var
TBA: TBoxArray;
MidBox: TPoint;
TIA: TIntegerArray;
H,I,J,X,Y,T: Integer;
TPA,PBox: TPointArray;
RCOpts: Array of TOptions;
begin
if not waitLoggedIn(1000) then Exit;

ColorToleranceSpeed(1);
SetColorSpeed2Modifiers(0.2, 0.2);

PBox := TPAFromBox(IntToBox(240, 130, 275, 185));
TBA := AreaToBoxArray(MSX1, MSY1, MSX2, MSY2, 35, 35);
TIA := PixelShiftMulti(TBA, 300);

for H := 0 to High(TBA) do
begin
if (TIA[H] > 100) then
begin
MidBox := MiddleBox(TBA[H]);
SetArrayLength(TPA, Length(TPA)+1);
TPA[High(TPA)] := MidBox;
end;
end;

ClearTPAFromTPAWrap(TPA, PBox, TPA);
if (Length(TPA) < 1) then Exit;

I := Random(Length(TPA));
MissMouse2(TPA[I].X, TPA[I].Y, 5, 5);
if RClick then
begin
FastClick(Mouse_Right);
RCOpts := GetChooseOptions('All');
J := Length(RCOpts);
Wait(RandomRange(J*75, J*120));

MarkTime(T);
repeat
GetMousePos(X, Y);
BrakeMMouse(X-10,Y-10,15,5);
if (TimeFromMark(T) > 5000) then
break;
until(not FindTextEx(X,Y,['Choose','Option'],['UpCharsEx'],MSX1,MSY1,MSX2,MSY2))

if FindTextEx(X,Y,['Choose','Option'],['UpCharsEx'],MSX1,MSY1,MSX2,MSY2) then
MMouse(RandomRange(MIX1,MIX2),RandomRange(MIY1,MIY 2),0,0);
end;

end;

Procedure DoAntiban;
Var
I: Integer;
Begin
I := Random(600);
Case I Of
1..3: Begin RandomRClick; End;
4,5: Begin HoverSkill('Farming',False); End;
6,7: Begin HoverSkill('Magic',False); End;
8..11: Begin CheckMovingObjs(True); End;
12..200: Begin SleepAndMoveMouse(RandomRange(400,500)); End;
201..400: Begin Wait(RandomRange(250,1500)); OffMM(Random(4),RandomRange(5000,7000),15000); End;
401..600: Begin Wait(RandomRange(250,3000)); End;
End;
Wait(RandomRange(1150,2350));
End;

Function BreakHandler(BreakIn, BreakFor, randBreakIn, randBreakFor: Integer): Boolean;
Var
H,M,S: Integer;
Begin
If Not LoggedIn Then
Exit;

If (HowManyPlayers = 1) Then
Begin
If (GetTimeRunning < ((W) + (Y) + BreakRounds)) Then
Exit Else
If (GetTimeRunning > ((W) + (Y) + BreakRounds)) Then
Begin
RealBTime := ((X+Z)/60000);
Writeln('Taking a break for about ' + IntToStr(RealBTime) + ' minutes.');
Logout;
MarkTime(CurrentBTime);
Repeat
Wait(21000);
ConvertTime((X+Z)-TimeFromMark(CurrentBTime),H,M,S);
Writeln('Breaktime left: '+IntToStr(H)+':'+IntToStr(M)+':'+IntToStr(S));
Until(TimeFromMark(CurrentBTime)>(X+Z));
Writeln('Logging in.');
If SwitchWorlds Then
If LoginPlayerToLob Then
ChangeWorld(RandomWorld(True, False)) Else
LoginPlayer;
Wait(4000);
Result := LoggedIn;
ClickNorth(SRL_ANGLE_HIGH);
MarkTime(Timeout);
IncEx(BreakRounds, (W) + (X));
Inc(TotalBreaks);
Writeln('The next break will occur in about ' + IntToStr(BreakIn) + ' minutes.');
W := (BreakIn * 60000);
X := (BreakFor * 60000);
Y := RandomRange(-BIR * 60000, BIR * 60000);
Z := RandomRange(-BFR * 60000, BFR * 60000);
End;
End;
End;

Begin
{$IFDEF SIMBAMAJOR980}
SMART_SERVER := 10;
SMART_MEMBERS := TRUE;
SMART_SIGNED := TRUE;
SMART_SUPERDETAIL := FALSE;
{$ELSE}
SRL_SIXHOURFIX := TRUE;
SMART_FIXSPEED := TRUE;
{$ENDIF}

SetupSRL;
DeclarePlayers;

AddOnTerminate('FreeGlobals');
LoadVars;

If (Not WaitLoggedIn(1000)) Then
LogInPlayer;

ClickNorth(SRL_ANGLE_HIGH);
// SRL_Procs[SRL_OnFindRandom] := @FoundARandom;
StartFarm:= GetXPBar(2);
StartMagic:= GetXPBar(1);
MarkTime(Timeout);

Repeat
If (Not WaitLoggedIn(1000)) Then
Begin
LoginPlayer;
ClickNorth(SRL_ANGLE_HIGH);
End;

If FindNormalRandoms Then
Begin
LoginPlayer;
ClickNorth(SRL_ANGLE_HIGH);
End;

FindStuff;

If FarmXP < (GetXPBar(2) - StartFarm) Then
Begin
FarmXP:=(GetXPBar(2) - StartFarm);
MarkTime(Timeout);
End;

If (TimeFromMark(ReportTime)>=30000) Then
ProgressReport;

If TimeFromMark(Timeout)>600000 Then
Begin
Writeln('Nothing has happened for too long, shutting down.');
ProgressReport
TerminateScript;
End;

DoAntiban;

If TimeFromMark(Timeout)>300000 Then
Begin
Writeln('Nothing has happened for too long, resetting focus.');
SmartSetEnabled(False);
SmartSetEnabled(True);
End;

BreakHandler(BreakIn,BreakFor,Bir,Bfr);
Until(AllPlayersInactive)
End.

xpbars like so:

http://puu.sh/19oR0

Flight
09-08-2012, 01:43 AM
Whatever works, you're more than welcome to modify it for your own use however you wish. Timba and I are testing it with different variables such as Simba versions and SRL Lape usage.

For me, every un-fertilized soil was spotted and every diseased plant was cured correctly. The only difference is I'm running a version of Simba Wizzup recommended for use with Lape, along with SRL Lape itself. So I gave those both to Timba to see if they make a difference or not. We'll see soon enough. Thanks for the input, Ashaman88.

Ashaman88
09-08-2012, 03:45 AM
Whatever works, you're more than welcome to modify it for your own use however you wish. Timba and I are testing it with different variables such as Simba versions and SRL Lape usage.

For me, every un-fertilized soil was spotted and every diseased plant was cured correctly. The only difference is I'm running a version of Simba Wizzup recommended for use with Lape, along with SRL Lape itself. So I gave those both to Timba to see if they make a difference or not. We'll see soon enough. Thanks for the input, Ashaman88.

Ah yeah I didn't use Lape, so maybe that is it. Also I implemented the search restrictions on the finding diseased plants that i used on the findsoil, so it won't ever hover over a player with similar colors, by restricting it to search withing the tboxarray farmgrids. Oh and you are a great scripter, most of your scripts contain functions I didn't even know existed! Thanks for helping me learn!

MelanieBobScott
09-09-2012, 08:38 AM
What am I doing wrong?:


Exception in Script: File "SRLLape.simba" not found at line 30, column 11 in file "C:\Simba\Includes\SRL\srl.simba"

I have Simba fully updated, MSI updated, SPS updated, Extensions updated, SRL updated.

Running on Lape interpreter.

MelanieBobScott
09-09-2012, 09:19 AM
I fixed the other thing... Now I'm getting:

"Exception in Script: Unknown declaration "HumanMMouse" at line 980, column 13"

Flight
09-09-2012, 10:20 AM
I fixed the other thing... Now I'm getting:

"Exception in Script: Unknown declaration "HumanMMouse" at line 980, column 13"

You'll need the newest MouseHandler (currently V.1.04). You can get it here:
http://paste.villavu.com/show/3279/

Just replace your current with that one.

US Marine
09-13-2012, 01:50 PM
This was the reflection bot I was using all the way up until they nuked us.

Only got to 94 farming.. Must... Get... 99!!!

Ashaman88
09-13-2012, 08:50 PM
<3

=========Flights LividFarmer=========
============Version: 1.41============
Time Running: 6 Hours, 36 Minutes and 33 Seconds
Magic XP: 169263
Magic XP/H: 25610
Farming XP: 211507
Farming XP/H: 32002
=====================================

Manually stopped, you da best flight!

newb cheater
09-16-2012, 03:45 PM
Hi, just curious, at current prices, how much does it cost to run this per hour? Or if anyone has an estimate of runes used per hour, and Ill calculate it. Just need to roughly estimate the runes required.

Zerkeronrs7
09-26-2012, 08:38 AM
Used Ashaman's version and got over a million xp the past couple of days, thanks a lot works great!

redlaplanche
09-26-2012, 11:29 PM
tried to run the script but this don't work , wtf ??

Flight
09-27-2012, 02:04 AM
tried to run the script but this don't work , wtf ??

Aye, it'll probably need to be updated. I have an updated version but it's supposed to run with a add-on I've been working on (to combat the BotWatch), and that still needs more time.

Sorry for the delay fellas.

Olly
09-27-2012, 02:12 AM
tried to run the script but this don't work , wtf ??

Please leave unless your willing to give more information... this isn't powerbot.

edit: Flight ninja'd me, didn't refresh for ages :p

redlaplanche
09-27-2012, 03:54 AM
this say that :

[Error] C:\Simba\Includes\SRL/SRL/misc/paintsmart.simba(560:12): Unknown identifier 'TPAFromEllipse' at line 559
Compiling failed.

Ashaman88
09-27-2012, 11:37 AM
this say that :

[Error] C:\Simba\Includes\SRL/SRL/misc/paintsmart.simba(560:12): Unknown identifier 'TPAFromEllipse' at line 559
Compiling failed.

tools>update

redlaplanche
09-27-2012, 11:15 PM
this say that

[Error] C:\Simba\Includes\SRL/SRL/misc/paintsmart.simba(42:33): Unknown identifier 'SmartGetDebugDC' at line 41
Compiling failed.

Aufi
09-28-2012, 12:40 PM
Well Flight you captured my interest. Needed some epic farming xp so decided to try out your script. I came across a couple of issues.

First, as stated above, it couldn't decide if I was on the correct tile so it kept moving me one space back and for from the correct spot to one spot south and back. Since I was just doing the garden section only I took out that check.

Second, I noticed that most of the time when a diseased plant it on the closest spot directly north of the player, the script would ignore it. I just decreased the no no zone around the player you put in and now it works everytime.

Third, sometimes the diseased plants were found and the mouse would go to it, but it would not be able to detect which type it was and would thus loop for the next few minutes until the spots reset (goto jump). What I did for this was to instead of just retrying to find which type it was, I had it guess 1, then if that was wrong, try to identify again, if still no identify - guess 2, so on until it has guessed all 4 options.

Fourth, there were some random misidentifications and failure to identify soil spots. I am too dumb for how you identified them so I came up with my own method. Pretty much what it does is breaks each spot up into a box and it searches each box for the green color, if it doesn't find the green color it searches for a dtm I made of the empty patch that is pretty general, but it won't misidentify the diseased plants either. If it finds the dtm it will go to the spot and check for it. It will randomly mix up the order in which it searches the boxes so it won't always go left to right top to bottom.

I also prefer a custom progress report so i put in one of mine too. For the progress report to work accurately, your first counter must be set to magic and your second set to farming.
Ex:
=========Flights LividFarmer=========
============Version: 1.41============
Time Running: 1 Hours, 53 Minutes and 50 Seconds
Magic XP: 50790
Magic XP/H: 26770
Farming XP: 63250
Farming XP/H: 33337
=====================================

I took out all the functions I wasn't using so this code is only good if you are in the designated spot in the OP. You are more than welcome to take whatever suggestions or code from here! If you would prefer I take it down, no problem!

{/////////////////////////////////////////
// LividFarmer //
// (by Flight) //
// //
// Version: 1.41 //
/////////////////////////////////////////}

Program LividFarmer;
{$DEFINE SMART}
{$i SRL/srl.simba}
{$i SRL/SRL/misc/MouseHandler.simba}


///////////////////////////////////////////////////////////////////////
// //
// Begin of user setup //
// Fill in the fields below //
// //
///////////////////////////////////////////////////////////////////////

Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
With Players[0] Do
Begin
Name := '';
Pass := '';
BoxRewards := ['XP','xp','lamp'];
LampSkill := Skill_Farming;
WorldInfo := [96,96];
Active := True;
End;
End;

///////////////////////////////////////////////////////////////////////////////////////////
// //
// End of user setup //
// Don't touch below this line unless you know what you're doing!! //
// //
///////////////////////////////////////////////////////////////////////////////////////////

Var
Version: String;
SoilDTM,SX1,SY1,SX2,SY2: Integer;
FarmXP,MageXP,ReportTime,StartFarm,StartMagic: Integer;
afound: Extended;
Box1,Box2,Box3,Box4,Box5,Box6,Box7,Box8,Box9,Box10 ,Box11,Box12,Box13,Box14,Box15: TBox;
FarmGrid: TBoxArray;

Procedure LoadVars;
begin
Version := '1.41';
MouseSpeed := 14;

Box1 :=IntToBox(131,102-50,164,142-50);
Box2 :=IntToBox(180,102-50,214,142-50);
Box3 :=IntToBox(236,102-50,276,142-50);
Box4 :=IntToBox(288,102-50,328,142-50);
Box5 :=IntToBox(343,102-50,395,142-50);

Box6 :=IntToBox(104,162-50,157,225-50);
Box7 :=IntToBox(168,162-50,217,225-50);
Box8 :=IntToBox(230,162-50,273,225-50);
Box9 :=IntToBox(293,162-50,341,225-50);
Box10:=IntToBox(350,162-50,396,225-50);

Box11:=IntToBox(106,261-50,144,310-50);
Box12:=IntToBox(159,261-50,214,310-50);
Box13:=IntToBox(229,261-50,283,310-50);
Box14:=IntToBox(294,261-50,344,310-50);
Box15:=IntToBox(359,261-50,426,310-50);

FarmGrid:= [Box1,Box2,Box3,Box4,Box5,Box6,Box7,Box8,Box9,Box10 ,Box11,Box12,Box13,Box14,Box15];

SoilDTM := DTMFromString('m6wAAAHic42ZgYLBkZGCwB2JrILYAYlMgtg FiWyC2AmJDIDYBYhcgbgCqr0bCdUDcBMT1QFwOxSB+KxDHhLkz NJaGMUQEuTCUZvkxFGdHwNnlOf4M5fnRDFEhrgyF6d4MXED1xG JGEjASAACcIRSr');
end;

Procedure FreeGlobals;
begin
FreeDTM(SoilDTM);
end;

Procedure Report;
Var
FXPH,MXPH: Integer;
begin
ClearDebug;

FarmXP:=GetXPBar(2) - StartFarm;
MageXP:=GetXPBar(1) - StartMagic;

FXPH := Round(FarmXP * (3600.0 / (GetTimeRunning / 1000.0)));
MXPH := Round(MageXP * (3600.0 / (GetTimeRunning / 1000.0)));


Writeln('=========Flights LividFarmer=========');
Writeln('============Version: '+Version+'============');
Writeln('Time Running: ' + TimeRunning);
Writeln('Magic XP: ' + IntToStr(MageXP));
Writeln('Magic XP/H: ' + IntToStr(MXPH));
Writeln('Farming XP: ' + IntToStr(FarmXP));
Writeln('Farming XP/H: ' + IntToStr(FXPH));
Writeln('=====================================');

MarkTime(ReportTime);
end;

Procedure Shutdown(Reason: String);
begin
WriteLn('{{{==Script shutdown==}}}');
Writeln('----Reason: '+Reason+'----');
Wait(RandomRange(1000, 1300));
Logout;
FreeGlobals;
TerminateScript;
end;

Procedure ReturnValues(colors: TIntegerArray; var HueMods, SatMods: Extended; var color, Tolerance: Integer);
Var
h, s, t: Extended;
I,II : integer;
HSLColor : Array[1..3] of Extended;
HSL : Array[0..1] of Array[1..3] of Extended;
begin;
For I:= 1 to 3 do
begin;
HSL[0][i] := 255;
end;

For I:= 0 to High(Colors) do
begin;
ColortoHSL(Colors[i],HSLColor[1],HSLColor[2],HSLColor[3]);
For II:= 1 to 3 do
begin;
HSL[0][II] := MinE(HSLColor[II],HSL[0][II]);
HSL[1][II] := MaxE(HSLColor[II],HSL[1][II]);
end;
end;

H := (HSL[1][1] - HSL[0][1]);
S := (HSL[1][2] - HSL[0][2]);
T := (HSL[1][3] - HSL[0][3]);

try
HueMods := (H/T);
SatMods := (S/T);
Tolerance := Round(t);
except
HueMods := 0;
SatMods := 0;
Tolerance := Round(0.0);
end;

Color := HSLToColor((HSL[1][1] + HSL[0][1]) / 2,(HSL[1][2] + HSL[0][2]) / 2,(HSL[1][3] + HSL[0][3]) / 2);
end;

Procedure SortFarmGrid;
Begin
Case RandomRange(0,5) Of
0: Begin FarmGrid:= [Box1,Box2,Box3,Box4,Box5,Box6,Box7,Box8,Box9,Box10 ,Box11,Box12,Box13,Box14,Box15]; End;
1: Begin FarmGrid:= [Box2,Box1,Box4,Box3,Box6,Box5,Box8,Box7,Box10,Box9 ,Box12,Box11,Box14,Box13,Box15]; End;
2: Begin FarmGrid:= [Box15,Box14,Box13,Box12,Box11,Box10,Box9,Box8,Box7 ,Box6,Box5,Box4,Box3,Box2,Box1]; End;
3: Begin FarmGrid:= [Box2,Box4,Box6,Box8,Box10,Box12,Box14,Box1,Box3,Bo x5,Box7,Box9,Box11,Box13,Box15]; End;
4: Begin FarmGrid:= [Box14,Box4,Box7,Box8,Box13,Box12,Box11,Box5,Box10, Box15,Box1,Box3,Box9,Box6,Box2]; End;
5: Begin FarmGrid:= [Box2,Box5,Box13,Box7,Box4,Box10,Box8,Box9,Box3,Box 12,Box11,Box1,Box14,Box6,Box15]; End;
End;
End;

Function FindLivid(Var X,Y: Integer): Boolean;
var
B: TBox;
MBP: TPoint;
TBA: TBoxArray;
i,h,CTS,i2,h2: Integer;
ATPA: T2DPointArray;
TPA,PAr: TPointArray;
begin
Result := False;
if not LoggedIn then Exit;

CTS := GetColorToleranceSpeed;
CombineTPAWrap(TPAFromBox(IntToBox(245, 150, 275, 190)), TPAFromBox(IntToBox(430, 20, 515, 230)), PAr);

SortFarmGrid;
H2:=High(FarmGrid);
For I2:=0 To H2 Do
Begin
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(4.17, 0.56);

FindColorsSpiralTolerance(MSCX, MSCY, TPA, 1447447, FarmGrid[I2].X1,FarmGrid[I2].Y1,FarmGrid[I2].X2,FarmGrid[I2].Y2, 4);

ColorToleranceSpeed(CTS);
SetColorSpeed2Modifiers(0.2, 0.2);
ClearTPAFromTPAWrap(TPA, PAr, TPA);

if (Length(TPA) < 1) then
Continue;

SplitTPAExWrap(TPA, 10, 10, ATPA);
GetMousePos(X,Y);
SortATPAFromFirstpoint(ATPA, Point(X, Y));

for i := 0 to High(ATPA) do
begin
if (GetArrayLength(ATPA[I]) > 10) then
begin
B := GetTPABounds(ATPA[i]);
B := IntToBox(B.X1-10,B.Y1-10,B.X2+10,B.Y2+10);

with B do
begin
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.46, 0.11);

FindColorsSpiralTolerance(MSCX, MSCY, TPA, 9012621, B.X1, B.Y1, B.X2, B.Y2, 13);
ColorToleranceSpeed(CTS);
SetColorSpeed2Modifiers(0.2, 0.2);

if (Length(TPA) > 0) then
begin
SetArrayLength(TBA, Length(TBA)+1);
TBA[High(TBA)] := B;
end;
end;

end;
end;

for h := 0 to High(TBA) do
begin
MBP := MiddleBox(TBA[h]);
HumanMMouse(MBP.X, MBP.Y,4,4);

if WaitUptextMulti(['Cure', 're-p', '-pl', 'lant', 'Dise', 'seas', 'd li'], 500) then
begin
Result := True;
GetMousePos(X, Y);
Exit;
end else
Result := False;
end;
End;
end;

Function FindSoil: Boolean;
Var
CTS,X,Y,I,H: Integer;
Begin
Result := False;

CTS := GetColorToleranceSpeed;

ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.40, 0.80);

SortFarmGrid;
H:=High(FarmGrid);
For I:=0 To H Do
Begin
If (CountColorTolerance(3557184,FarmGrid[I].X1,FarmGrid[I].Y1,FarmGrid[I].X2,FarmGrid[I].Y2,8) = 0) Then
Begin
SX1:=FarmGrid[I].X1;
SY1:=FarmGrid[I].Y1;
SY2:=FarmGrid[I].Y2;
SX2:=FarmGrid[I].X2;
ColorToleranceSpeed(CTS);
SetColorSpeed2Modifiers(0.2, 0.2);
if finddtmrotated(soildtm,x,y,SX1,SY1,SX2,SY2,-Pi,Pi,Pi/30,aFound) then
begin
HumanMmouse(X,y,4,4);
if Waituptextmulti(['Fertilise', 'Empty', 'patch'],500) then
begin

FastClick(mouse_right);
if WaitOption('Empty', 500) then
Begin
Result:=True;
Wait(randomRange(2215, 2570));
Exit;
End;
end;
end Else
begin
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.40, 0.80);
End;
End;
End;
ColorToleranceSpeed(CTS);
SetColorSpeed2Modifiers(0.2, 0.2);
end;

Function GetLividType(X, Y: Integer): Integer;
var
R1C1,R1C2,R1C3,R1C4,R1C5,
R2C1,R2C2,R2C3,R2C4,R2C5,
R3C1,R3C2,R3C3,R3C4,R3C5: TBox;
begin
Result := 0;
//Top row
R1C1 := IntToBox(100, 20, 150, 70);
R1C2 := IntToBox(165, 20, 220, 70);
R1C3 := IntToBox(235, 20, 290, 70);
R1C4 := IntToBox(300, 20, 355, 70);
R1C5 := IntToBox(370, 20, 440, 70);

//Middle row
R2C1 := IntToBox(70, 100, 135, 160);
R2C2 := IntToBox(155, 100, 220, 160);
R2C3 := IntToBox(230, 100, 290, 160);
R2C4 := IntToBox(305, 100, 365, 160);
R2C5 := IntToBox(380, 100, 440, 160);

//Bottom row
R3C1 := IntToBox(60, 210, 125, 270);
R3C2 := IntToBox(140, 210, 215, 270);
R3C3 := IntToBox(225, 210, 295, 270);
R3C4 := IntToBox(305, 210, 375, 270);
R3C5 := IntToBox(400, 210, 470, 270);

if (IntInBox(X, Y, R1C1) or IntInBox(X, Y, R1C2) or //Type 1
IntInBox(X, Y, R1C3) or IntInBox(X, Y, R1C5)) then
Result := 1
else if (IntInBox(X, Y, R1C4) or IntInBox(X, Y, R2C3) or //Type 2
IntInBox(X, Y, R2C4) or IntInBox(X, Y, R2C5)) then
Result := 2
else if (IntInBox(X, Y, R2C2) or IntInBox(X, Y, R3C1) or //Type 3
IntInBox(X, Y, R3C5)) then
Result := 3
else if (IntInBox(X, Y, R2C1) or IntInBox(X, Y, R3C2) or //Type 4
IntInBox(X, Y, R3C3) or IntInBox(X, Y, R3C4)) then
Result := 4;

end;

Function LividMenu: Boolean;
var
X,Y: Integer;
begin
Result := FindText(x, y, 'train', SmallChars, MIX1, MIY1, MIX2, MIY2);
end;

Procedure QuickLow;
begin
KeyDown(40);
Wait(850 + Random(100));
KeyUp(40);
end;

Procedure QuickHigh(Click: Boolean);
begin
if Click then
Mouse(542, 24, 15, 15, mouse_left);
KeyDown(38);
Wait(950 + Random(100));
KeyUp(38);
end;

Procedure CureLivid(Strain: Integer);
var
SPoint: TPoint;
begin
if (Strain = 1) then
SPoint := Point(590, 280)
else if (Strain = 2) then
SPoint := Point(680, 280)
else if (Strain = 3) then
SPoint := Point(590, 400)
else if (Strain = 4) then
SPoint := Point(680, 400);

MissMouse2(SPoint.X, SPoint.Y, 10, 10);
if WaitUpText('Continue', 500) then
begin
FastClick(mouse_left);
end;
end;

Procedure HandleLivids;
var
X,Y,Tries: Integer;
label
Start;
begin
Tries:=0;
Start:
if (not LoggedIn) then
Exit;
FindNormalRandoms;

if FindLivid(X, Y) then
begin
FastClick(mouse_right);
if WaitOptionMulti(['Cure', 're-p', '-pl', 'lant', 'Dise', 'seas', 'd li'], 500) then
BrakeMMouse(635, 310, 65, 70);

if (not WaitFunc(@LividMenu, 50, 3000)) then
Exit;

if LividMenu then
begin
if (GetLividType(X, Y) = 0) then
Begin
Inc(Tries);
If Tries=5 Then
Exit;
CureLivid(Tries);
End Else
CureLivid(GetLividType(X, Y));

Wait(randomRange(1915, 2570));
GoTo Start;
end;
end;
end;

Procedure HandleSoil;
label
Start;
begin
Start:
if (not LoggedIn) then
Exit;
FindNormalRandoms;

If FindSoil Then
GoTo Start;
end;

Procedure FoundARandom;
begin
Writeln('Found a random!');
PlaySound(ScriptPath+'evilaugh.wav');
Wait(RandomRange(10000, 20000));
end;

//by Home
function AreaToBoxArray(const AreaX1, AreaY1, AreaX2, AreaY2, Width, Height: Integer): TBoxArray;
var
AreaW, AreaH: Integer;
BoxX, BoxY: Integer;
x, y, i: Integer;
begin
// Calculate the area dimensions
AreaW := AreaX2 - AreaX1 + 1;
AreaH := AreaY2 - AreaY1 + 1;

// Calculate the number of boxes in each dimension
BoxX := AreaW div Width;
if AreaW mod Width <> 0 then Inc(BoxX);
BoxY := AreaH div Height;
if AreaH mod Height <> 0 then Inc(BoxY);

// Set the number of boxes
SetLength(Result, BoxX * BoxY);

// Calculate the boxes
i := 0;
for y := 0 to BoxY - 1 do
for x := 0 to BoxX - 1 do
begin
Result[i] := IntToBox(AreaX1 + x * Width,
AreaY1 + y * Height,
Min(AreaX2, AreaX1 + (x + 1) * Width - 1),
Min(AreaY2, AreaY1 + (y + 1) * Height - 1));
Inc(i);
end;
end;

Procedure CheckMovingObjs(RClick: Boolean);
var
TBA: TBoxArray;
MidBox: TPoint;
TIA: TIntegerArray;
H,I,J,X,Y,T: Integer;
TPA,PBox: TPointArray;
RCOpts: Array of TOptions;
begin
if not LoggedIn then Exit;

ColorToleranceSpeed(1);
SetColorSpeed2Modifiers(0.2, 0.2);

PBox := TPAFromBox(IntToBox(240, 130, 275, 185));
TBA := AreaToBoxArray(MSX1, MSY1, MSX2, MSY2, 35, 35);
TIA := PixelShiftMulti(TBA, 300);

for H := 0 to High(TBA) do
begin
if (TIA[H] > 100) then
begin
MidBox := MiddleBox(TBA[H]);
SetArrayLength(TPA, Length(TPA)+1);
TPA[High(TPA)] := MidBox;
end;
end;

ClearTPAFromTPAWrap(TPA, PBox, TPA);
if (Length(TPA) < 1) then Exit;

I := Random(Length(TPA));
MissMouse2(TPA[I].X, TPA[I].Y, 5, 5);
if RClick then
begin
FastClick(Mouse_Right);
RCOpts := GetChooseOptions('All');
J := Length(RCOpts);
Wait(RandomRange(J*75, J*120));

MarkTime(T);
repeat
GetMousePos(X, Y);
BrakeMMouse(X-10,Y-10,15,5);
if (TimeFromMark(T) > 5000) then
break;
until(not FindTextEx(X,Y,['Choose','Option'],['UpCharsEx'],MSX1,MSY1,MSX2,MSY2))

if FindTextEx(X,Y,['Choose','Option'],['UpCharsEx'],MSX1,MSY1,MSX2,MSY2) then
MMouse(RandomRange(MIX1,MIX2),RandomRange(MIY1,MIY 2),0,0);
end;

end;

Function DoAntiban: Boolean;
var
i: Integer;
begin
i := Random(300);
case i of
1..3:
begin
RandomRClick;
Result := True;
end;
4,5:
begin
HoverSkill('Farming', False);
Result := True;
end;
6,7:
begin
HoverSkill('Magic', False);
Result := True;
end;
8..11:
begin
CheckMovingObjs(True);
Result := True;
end;
12..300:
begin
Wait(RandomRange(250, 350));
Exit;
end;
end;

Wait(RandomRange(250, 350));

end;



begin
{$IFDEF SIMBAMAJOR980}
SMART_SERVER := 10;
SMART_MEMBERS := TRUE;
SMART_SIGNED := TRUE;
SMART_SUPERDETAIL := FALSE;
{$ELSE}
SRL_SIXHOURFIX := TRUE;
SMART_FIXSPEED := TRUE;
{$ENDIF}

SetupSRL();
DeclarePlayers;

AddOnTerminate('FreeGlobals');
LoadVars;


if (not LoggedIn) then
LogInPlayer;

QuickHigh(True);
SRL_Procs[SRL_OnFindRandom] := @FoundARandom;
StartFarm:= GetXPBar(2);
StartMagic:= GetXPBar(1);

Repeat
If (not LoggedIn) then
begin
LoginPlayer;
QuickHigh(True);
end;

If FindNormalRandoms Then
Begin
LoginPlayer;
QuickHigh(True);
End;

HandleLivids;
HandleSoil;

if (TimeFromMark(ReportTime)>=20000) then
Report;

DoAntiban;
Wait(RandomRange(800, 1200));
Until(AllPlayersInactive)
end.

Thank you for sharing, this one seems to be working good for me.

And thank you Flight for the script of course, it'll take me to 99 farming. :redface:

Ashaman88
09-28-2012, 02:19 PM
Thank you for sharing, this one seems to be working good for me.

And thank you Flight for the script of course, it'll take me to 99 farming. :redface:

See my edited post for better antiban and stuff - I had made that one bare bones. Flight it's pretty much same version I pm'ed you with. I'm 400k from 99 so I'm almost done with using it :(

Aufi
09-28-2012, 02:31 PM
See my edited post for better antiban and stuff - I had made that one bare bones. Flight it's pretty much same version I pm'ed you with. I'm 400k from 99 so I'm almost done with using it :(

Using it as we speak, looking good! I'll make sure to post any bugs - if they exist. :)

Ashaman88
09-28-2012, 03:00 PM
Using it as we speak, looking good! I'll make sure to post any bugs - if they exist. :)

Look at the pretty green boxes!!!

helloogoodbye
09-30-2012, 05:16 PM
Just got 99 farming, thank you very much!

Solar
09-30-2012, 06:04 PM
Just got 99 farming, thank you very much!

I've just started using this script, and so far so good.
Congrats on your 99.

Good script, thanks Flight. ;)

Ashaman88
09-30-2012, 11:04 PM
99 farm as well! no more botable skills :( Thanks flight <3!

vnhon2
10-01-2012, 07:37 AM
Mines says:

Exception in Script: Unable to find file 'SRLLape.simba' used from 'C:\Simba\Includes\SRL/srl.simba'

Any ideas? :O

N01sPerfect
10-01-2012, 06:48 PM
edit: just had to update my mouse handler and the script started up. I'll post my proggie once it runs for a bit!

N01sPerfect
10-01-2012, 07:48 PM
=========Flights LividFarmer=========
============Version: 1.41============
Time Running: 47 Minutes and 3 Seconds
Magic XP: 19845
Magic XP/H: 25305
Farming XP: 24786
Farming XP/H: 31605
=====================================

edit: #2

=========Flights LividFarmer=========
============Version: 1.41============
Time Running: 2 Hours, 11 Minutes and 57 Seconds
Magic XP: 49221
Magic XP/H: 22380
Farming XP: 61965
Farming XP/H: 28174
=====================================

edit2: #3

=========Flights LividFarmer=========
============Version: 1.41============
Time Running: 3 Hours, 6 Minutes and 56 Seconds
Magic XP: 79293
Magic XP/H: 25449
Farming XP: 99052
Farming XP/H: 31790
=====================================



= 6 hours of solid farming-botting today.

Thank you Flight & Ashaman.
You guys are straight champs!

Solar
10-01-2012, 10:19 PM
Just a little proggy for you Flight. Using Ashaman's edited version.
=========Flights LividFarmer=========
============Version: 1.41============
Time Running: 2 Hours, 22 Minutes and 13 Seconds
Magic XP: 136635
Magic XP/H: 57640
Farming XP: 75918
Farming XP/H: 32026
=====================================
Successfully executed.
Thanks. ^^
Edit1:
Another short one, stopped manually.
Time Running: 2 Hours, 36 Minutes and 22 Seconds
Magic XP: 150163
Magic XP/H: 57618
Farming XP: 83447
Farming XP/H: 32019
Edit2: ============Version: 1.41============
Time Running: 10 Hours, 16 Minutes and 49 Seconds
Magic XP: 594648
Magic XP/H: 57842
Farming XP: 330480
Farming XP/H: 32146
=====================================

stuartroad
10-09-2012, 11:07 AM
I dunno whats going on, but for some reason it keeps walking me from the right tile, to a different one, then just keeps going back and forth between the two tiles, I am absolutely sure i started it on the right tile. i wasnt using lape, using version 1.3 now instead! I'll check back to see if you need more info about the bug.

Justin
10-09-2012, 11:34 AM
I dunno whats going on, but for some reason it keeps walking me from the right tile, to a different one, then just keeps going back and forth between the two tiles, I am absolutely sure i started it on the right tile. i wasnt using lape, using version 1.3 now instead! I'll check back to see if you need more info about the bug.

Make sure your camera zoom is correct

stuartroad
10-09-2012, 11:58 AM
ustin;1110203']Make sure your camera zoom is correct

zoom is at maximum, if thats what you mean?

Flight
10-09-2012, 01:32 PM
zoom is at maximum, if thats what you mean?

The camera zoom should be set to this setting:

http://i.imgur.com/9SD9X.png

Solar
10-09-2012, 04:14 PM
That would explain why my character sometimes, but not very often, moves to where it should be clicking the option after right clicking. (I think this is where it misclicks to anyway.)
I've been using at maximum zoomed out, and for the most part it has been working fine. Will change my settings to the shown zoom now, thanks.

stuartroad
10-10-2012, 04:29 AM
The camera zoom should be set to this setting:

http://i.imgur.com/9SD9X.png

thankyou, would you mind adding it to the main post so that others can see this?

Solar
10-10-2012, 06:58 AM
The camera zoom should be set to this setting:

http://i.imgur.com/9SD9X.png

Actually, having tried using the bot on this setting, there are a few plots that are not being detected, so the bot will miss out some soil patches or diseased plants. I've found it to work better about half way zoom.

aus tom
10-10-2012, 11:49 AM
lol botwatch does nothing u can goldfarm 24/7 (i dont) and not get banned

Solar
10-10-2012, 12:21 PM
lol botwatch does nothing u can goldfarm 24/7 (i dont) and not get banned

And the relevance of your post to this thread is... ?

Edit: =========Flights LividFarmer=========
============Version: 1.41============
Time Running: 11 Hours, 57 Minutes and 15 Seconds
Magic XP: 633206
Magic XP/H: 52969
Farming XP: 352329
Farming XP/H: 29473
=====================================

Ashaman88
10-12-2012, 03:36 AM
And the relevance of your post to this thread is... ?

Edit: =========Flights LividFarmer=========
============Version: 1.41============
Time Running: 11 Hours, 57 Minutes and 15 Seconds
Magic XP: 633206
Magic XP/H: 52969
Farming XP: 352329
Farming XP/H: 29473
=====================================

Epic! Lucky with the randoms eh!?

Solar
10-12-2012, 06:39 AM
Epic! Lucky with the randoms eh!?

I guess I must have been. :p Will hopefully have more proggies like that to follow until I'm 99.
=========Flights LividFarmer=========
============Version: 1.41============
Time Running: 9 Hours, 53 Minutes and 28 Seconds
Magic XP: 210252
Magic XP/H: 21257
Farming XP: 114750
Farming XP/H: 11601
=====================================
Successfully executed.
The following DTMs were not freed: [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]When I came back to check on it, I had about 100 tabs open on the jagex website for membership, and was still logged in after failing a random. Think I had been logged in for about 6 hours just stood doing nothing, not sure why I had stayed logged in either.

Dangermouse
10-14-2012, 09:28 PM
Does anyone know which one is better for antiban? I wanna try and get as many points as possible as well as, having the best possible antiban

Ashaman88
10-14-2012, 09:36 PM
I guess I must have been. :p Will hopefully have more proggies like that to follow until I'm 99.
=========Flights LividFarmer=========
============Version: 1.41============
Time Running: 9 Hours, 53 Minutes and 28 Seconds
Magic XP: 210252
Magic XP/H: 21257
Farming XP: 114750
Farming XP/H: 11601
=====================================
Successfully executed.
The following DTMs were not freed: [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]When I came back to check on it, I had about 100 tabs open on the jagex website for membership, and was still logged in after failing a random. Think I had been logged in for about 6 hours just stood doing nothing, not sure why I had stayed logged in either.

I've heard of that bug with the include but it is super rare and I don't think anyone has found the culprit yet


Does anyone know which one is better for antiban? I wanna try and get as many points as possible as well as, having the best possible antiban

What do you mean which?

Dangermouse
10-16-2012, 05:12 PM
What do you mean which?

I'm referring to Flights version and the one you posted

Ashaman88
10-16-2012, 10:40 PM
I'm referring to Flights version and the one you posted

They are somewhat similar, it's just to each his own kind of thing

Solar
10-17-2012, 01:37 PM
A suggestion - Add a failsafe so that if the script fails to complete a random correctly, and the player is teleported to a different location, the script will terminate. Perhaps check every now and then for something that is always on the screen at livid farm.

Ashaman88
10-17-2012, 11:26 PM
A suggestion - Add a failsafe so that if the script fails to complete a random correctly, and the player is teleported to a different location, the script will terminate. Perhaps check every now and then for something that is always on the screen at livid farm.

What would be really cool is to have it lodestone back to lunar and setup again :)

Silentcore
10-25-2012, 03:45 AM
What would be really cool is to have it lodestone back to lunar and setup again :)

I agree with the lodestone part. It would be cool if you looked forward into this feature.

Flight
10-25-2012, 04:02 AM
I agree with the lodestone part. It would be cool if you looked forward into this feature.

I just might do that.

Ashaman88
10-25-2012, 11:01 AM
Well now no more need for that since no more randoms to take you away!

Rslower
10-26-2012, 03:27 PM
[SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap]

Olly
10-26-2012, 04:02 PM
Woohoo, this script can now be used to its full potential :)

dark paladin
10-26-2012, 08:41 PM
im currently using the edited version done by ashman but i seemed to notice it doesn't energize pauline is that normal?

edit: it also doesn't recognize the plant or the empty patch at the bottom row at the left

Enslaved
10-26-2012, 08:49 PM
might be a color thing- im not sure
Hey ashman is here, any ideas?
http://puu.sh/1j29U

Ashaman88
10-26-2012, 09:00 PM
Calling me out I see! As for my version no energizing and I haven't ran the script in like a month but if others are having trouble recognizing that patch ill look at it

Enslaved
10-26-2012, 09:05 PM
cant you just get you " Auto Script Maker" to work a flawless patch like its done with most of your scripts :p

dark paladin
10-26-2012, 09:05 PM
I will run it for an hour and post my results, I was trying to use flight version but i keep getting this error

Exception in Script: Unable to find file 'SRLLape.simba' used from 'C:\Simba\Includes\SRL/srl.simba'

Enslaved
10-26-2012, 09:09 PM
it was written for pascal i do believe, change it back that way
http://puu.sh/1j2y4

dark paladin
10-26-2012, 09:20 PM
I changed the interpreter to lape for flight's script and it complied but at the load up screen I got these two errors.

The following DTMs were not freed: [SRL - Lamp bitmap, 1]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap]

BraK
10-26-2012, 11:08 PM
The Lape Version doesn't work for me.

the PS version continuously tries to find the correct tile and never actually get to curing and growing.


Walking to correct tile...
Walking to correct tile...
Walking to correct tile...
Walking to correct tile...
Walking to correct tile...
Walking to correct tile...
Walking to correct tile...
Walking to correct tile...

About one in every 3 walking to tiles it'll search and cure a plant.

E: Adding on to this.

It appears either the DTM is off for location or that the calculation of MM to MS is off. It continues to try and put itself on top of a plant. It can't get on the plant so it never actually arrives at the designated Location.

Flight
10-27-2012, 01:54 AM
The Lape Version doesn't work for me.

the PS version continuously tries to find the correct tile and never actually get to curing and growing.


Walking to correct tile...
Walking to correct tile...
Walking to correct tile...
Walking to correct tile...
Walking to correct tile...
Walking to correct tile...
Walking to correct tile...
Walking to correct tile...

About one in every 3 walking to tiles it'll search and cure a plant.

E: Adding on to this.

It appears either the DTM is off for location or that the calculation of MM to MS is off. It continues to try and put itself on top of a plant. It can't get on the plant so it never actually arrives at the designated Location.

Yes I've gotten some feedback that 1.4 has location issues. This weekend I'll be running 1.41 (not released) for sure and if it works stable then I'll put it out ASAP so people can use it, this weekend especially.

BraK
10-27-2012, 03:13 AM
Lol You know I'll always be up for testing. Hopefully I still provide good feedback. :p

Solar
10-27-2012, 10:21 AM
im currently using the edited version done by ashman but i seemed to notice it doesn't energize pauline is that normal?

edit: it also doesn't recognize the plant or the empty patch at the bottom row at the left

This is to do with the zoom. Try adjusting that in the RS settings to get the patches to be detected.

Edit: I've been using this quite frequently the past few weeks, and it really is a great script. Only problem I have is I'm running out of things to bot! :p

dark paladin
10-27-2012, 01:11 PM
1.3 is working fine for me

dark paladin
10-27-2012, 01:12 PM
This is to do with the zoom. Try adjusting that in the RS settings to get the patches to be detected.

Edit: I've been using this quite frequently the past few weeks, and it really is a great script. Only problem I have is I'm running out of things to bot! :p

Same here man after I get farming to 98 I have 1 skill left to go lol

footballjds
10-29-2012, 03:56 PM
http://gyazo.com/c82a6fd7d5e90ef96cbcc2d6e04fd4be.png?1351525637

pretty solid, although 1.3 is "jumpy" i couldn't get 1.4 to work... kept "walking to correct tile".

Also, could you make it clear what setup we should have for camera zoom? Thanks,

Olly
10-29-2012, 03:59 PM
The message you have entered is too short. Please lengthen your message to at least 3 characters. lol




Also, could you make it clear what setup we should have for camera zoom? Thanks,


The camera zoom should be set to this setting:

http://i.imgur.com/9SD9X.png

Flight
10-30-2012, 01:41 AM
http://gyazo.com/c82a6fd7d5e90ef96cbcc2d6e04fd4be.png?1351525637

pretty solid, although 1.3 is "jumpy" i couldn't get 1.4 to work... kept "walking to correct tile".

Also, could you make it clear what setup we should have for camera zoom? Thanks,

Yep yep I'll be adding that to the OP when I roll out the next version of this script. I'm to blame for this, when I made the script there was no such thing as Camera Zoom and when that was released people started changing their settings, therefore the script broke for them. I didn't specify that the zoom needed to be at a certain setting, apologies.

Also, give me some details on the "jumpiness" of V1.3; I'd like to iron out everything possibly in the next version. (At the moment I'm working on an accurate & stable garden location system)

footballjds
10-30-2012, 01:56 AM
Also, give me some details on the "jumpiness" of V1.3; I'd like to iron out everything possibly in the next version. (At the moment I'm working on an accurate & stable garden location system)

jumpiness of the mouse. I'm guessing a bunch of false positives for livids/ground. because the mouse loops through the same 7+ place on the ms

Mr[S]
10-31-2012, 08:23 AM
Thank you :) Just hit 60 farming from 45 in 2 days (with help from the pumpkin ammy and a 2 prized ammys of farming) but now to try out your script

Solar
10-31-2012, 02:31 PM
Anyone who has the GP to spend on runes should definitely use this script. Great total xp per hour and got me the last 10+ farming levels I needed for 99.
Thank you Flight!

Mr[S]
10-31-2012, 02:33 PM
Solar what version did you use?

Solar
10-31-2012, 02:40 PM
Solar what version did you use?

I used the version that Ashaman altered.
I didn't try out the other versions because I was only after the farming xp and not too bothered about the livid farm points. I say this because (I think) the latest version by Flight can energise Pauline to earn more points.

Craimforce
10-31-2012, 08:05 PM
[Error] C:\Simba\Includes\SRL/SRL/misc/paintsmart.simba(42:33): Unknown identifier 'SmartGetDebugDC' at line 41
Compiling failed.

footballjds
11-01-2012, 04:59 PM
running strong, still looking forward to seeing updates :)
[======================================]
[ LividFarmer 1.3 ]
[ by Flight ]
[======================================]
[ Run Time : 2 Hr 53 Min 49 Sec ]
[ Points : 26420 ]
[ Plants Cured : 442 ]
[ Soil Fertilized : 459 ]
[ Farming XP : 82892 ]
[ Farming XP/Hr : 28613 ]
[ Magic XP : 74853 ]
[ Magic XP/Hr : 25838 ]
[ Agility XP : 14112 ]
[ Agility XP/Hr : 4871 ]
[ Breaks : 1 ]
[======================================]
[ LividFarmer 1.3 ]
[======================================]

EDIT:
Here's a nice proggy:

http://gyazo.com/157f931ab4b0a574e90fcded991d8c34.png?1351805383

Flight
11-04-2012, 11:05 AM
Updated to version 1.5

Produce-handling removed
Complete redo of diseased livids & soil patches locating
Dynamic plant-identifying (Player can be in multiple tiles)
Imported AeroLib mouse-movements and anti-bans


It may not seem like much, and most of you probably won't notice a difference, but 80-90% of this script I completely remade. I'm very pleased with the new system of locating diseased livids and empty soil patches. It's very clever how it works.

Another serious point here is this version does not handle the produce. Try after try I just cannot get a stable location system functional for the full area. This doesn't mean I've given up completely, it just means further development is needed. I'm open to suggestions if you have any.

Oh yeah, I've been testing this version on the standard RS browser, not SMART. As far as functionality goes via SMART, I wouldn't know, but I don't see where it would make a difference. And a big thank you to footballjds (http://villavu.com/forum/member.php?u=35425) for testing this with me and giving me constructive feedback & bug reports.

If you have problems running the script do post them here with as much detail as you can provide!

Zerkeronrs7
11-04-2012, 01:54 PM
I couldn't find the 6 hour fix in there, does that mean it'll run for only 6 hours max?

footballjds
11-04-2012, 05:51 PM
Flight, script works great in SMART, thanks!
[ LividFarmer 1.5 ]
[ by Flight ]
[=======================================]
[ Run Time : 20 Hr 36 Min 19 Sec ]
[ Points : 134300 ]
[ Plants Cured : 3209 ]
[ Soil Fertilized : 2581 ]
[ Bunches Made : 0 ]
[ Farming XP : 532680 ]
[ Farming XP/Hr : 25851 ]
[ Magic XP : 435587 ]
[ Magic XP/Hr : 21139 ]
[ Agility XP : 31080 ]
[ Agility XP/Hr : 1508 ]
[ Crafting XP : 0 ]
[ Crafting XP/Hr : 0 ]
[ Breaks : 9 ]
[=======================================]
[ LividFarmer 1.5 ]
[=======================================

Assassin x42
11-04-2012, 07:58 PM
Thanks for 99 :D

holy angel
11-04-2012, 10:45 PM
hey how do I get it to work with smart and not my browser?

footballjds
11-04-2012, 10:56 PM
hey how do I get it to work with smart and not my browser?

remove the two slashes before define smart.

Flight
11-05-2012, 12:28 AM
Flight, script works great in SMART, thanks!
[ LividFarmer 1.5 ]
[ by Flight ]
[=======================================]
[ Run Time : 20 Hr 36 Min 19 Sec ]
[ Points : 134300 ]
[ Plants Cured : 3209 ]
[ Soil Fertilized : 2581 ]
[ Bunches Made : 0 ]
[ Farming XP : 532680 ]
[ Farming XP/Hr : 25851 ]
[ Magic XP : 435587 ]
[ Magic XP/Hr : 21139 ]
[ Agility XP : 31080 ]
[ Agility XP/Hr : 1508 ]
[ Crafting XP : 0 ]
[ Crafting XP/Hr : 0 ]
[ Breaks : 9 ]
[=======================================]
[ LividFarmer 1.5 ]
[=======================================

Wonderful!


Thanks for 99 :D

Oh wow, congratulations! That's a tough cape to get. :S

holy angel
11-06-2012, 09:36 PM
Is there anyway you can change the way it moves the camera to see Paulina when it goes to give her energy? As it is identical every single time(That I've watched) it moves the camera angle all the way down then to the right cast the spell then hits the North button on the compass to return to the patches. To me this seems very bot like to do the same way over and over.
Otherwise it runs good though next time I use I will get a decent proggy.

footballjds
11-06-2012, 09:56 PM
Is there anyway you can change the way it moves the camera to see Paulina when it goes to give her energy? As it is identical every single time(That I've watched) it moves the camera angle all the way down then to the right cast the spell then hits the North button on the compass to return to the patches. To me this seems very bot like to do the same way over and over.
Otherwise it runs good though next time I use I will get a decent proggy.

lol, so when you legit you don't pick the fastest method and repeat it?

Roflme
11-06-2012, 11:36 PM
Just got 60 farming :D

Going to give this script a go! Stocked up on some natures astrals and laws and am hoping for the best :p

EDIT: Keep getting this:



It has been 3 minutes and Runescape is not yet ready... Terminating.
after it runs for ~10 minutes :(

Flight
11-07-2012, 12:50 AM
Just got 60 farming :D

Going to give this script a go! Stocked up on some natures astrals and laws and am hoping for the best :p

EDIT: Keep getting this:



It has been 3 minutes and Runescape is not yet ready... Terminating.
after it runs for ~10 minutes :(

Yeah I'm not sure what that's all about. I've only found it to be a problem when running SMART actually...

@holy angel:
Believe it or not, last night I sat down and made a V.1.55 (DEV) that sets our view to Pauline via the middle mouse button, compliments of Home (:spongebob:). It's very fast and it's proven accurate, so I'll roll it out soon after some more testing.

On another note, V.1.55 now handles the screen at in a fully zoomed-out client, allowing the player to stand in a much larger area of the garden and still correctly handle all soil and plants. More testing is needed though. Footballjds I'm probably gonna hit you up on this today, so keep an eye out. ;)

Roflme
11-07-2012, 01:22 AM
Ah, alright. I'll give it a go in the browser :)

Now it's going to the lowest angle and spins around in circles :(

Flight
11-07-2012, 04:42 AM
Ah, alright. I'll give it a go in the browser :)

Now it's going to the lowest angle and spins around in circles :(

This happens when you're running it in the browser?

Virtus Titan
11-07-2012, 07:26 AM
It has been 3 minutes and Runescape is not yet ready... Terminating.
Successfully executed
im a dumbass lol figured it out

Solar
11-07-2012, 07:32 AM
Yeah I'm not sure what that's all about. I've only found it to be a problem when running SMART actually...

@holy angel:
Believe it or not, last night I sat down and made a V.1.55 (DEV) that sets our view to Pauline via the middle mouse button, compliments of Home (:spongebob:). It's very fast and it's proven accurate, so I'll roll it out soon after some more testing.

On another note, V.1.55 now handles the screen at in a fully zoomed-out client, allowing the player to stand in a much larger area of the garden and still correctly handle all soil and plants. More testing is needed though. Footballjds I'm probably gonna hit you up on this today, so keep an eye out. ;)

Wow, impressed that you could use the middle mouse button to change the camera angle. Might even try it out just to see that.

Zerkeronrs7
11-07-2012, 09:42 AM
I'll ask again.

I couldn't find the 6 hour fix in there, does that mean it'll run for only 6 hours max? If yes could you please implement it?

Flight
11-07-2012, 10:45 AM
I'll ask again.

I couldn't find the 6 hour fix in there, does that mean it'll run for only 6 hours max? If yes could you please implement it?

Should be simple, just throw this in the beginning of the main script loop (around SetupSRL();):

{$IFDEF SMART}
SRL_SIXHOURFIX := TRUE;
SMART_FIXSPEED := TRUE;
{$ENDIF}


I don't plan on adding that to any of my scripts because I'm personally not one of those hardcore bot-till-you-drop people. There's enough of those people lurking around on Powerbot/Epicbot.

Roflme
11-07-2012, 12:37 PM
This happens when you're running it in the browser?

Yes, either says that or "Pauline colors not found". I've made sure I had all the correct graphic settings.

So AFAIK it's skipping the functions that check the plants and is, for some reason, just going right to the Paulie procedure.

EDIT: Eh, got it working for SMART, hoping it continues to run just fine.


[=====================================]
[ LividFarmer 1.5 ]
[ by Flight ]
[=====================================]
[ Run Time : 1 Hr 6 Min 11 Sec ]
[ Points : 10620 ]
[ Plants Cured : 198 ]
[ Soil Fertilized : 198 ]
[ Farming XP : 36432 ]
[ Farming XP/Hr : 33028 ]
[ Magic XP : 31806 ]
[ Magic XP/Hr : 28834 ]
[ Agility XP : 4536 ]
[ Agility XP/Hr : 4112 ]
[ Breaks : 0 ]
[=====================================]
[ LividFarmer 1.5 ]
[=====================================]
Time until break: 01:08:48

Zerkeronrs7
11-07-2012, 01:08 PM
Should be simple, just throw this in the beginning of the main script loop (around SetupSRL();):

{$IFDEF SMART}
SRL_SIXHOURFIX := TRUE;
SMART_FIXSPEED := TRUE;
{$ENDIF}


I don't plan on adding that to any of my scripts because I'm personally not one of those hardcore bot-till-you-drop people. There's enough of those people lurking around on Powerbot/Epicbot.

Thanks a lot!, i was adding it in the wrong place :/

footballjds
11-07-2012, 03:15 PM
Footballjds I'm probably gonna hit you up on this today, so keep an eye out. ;)

ooooooooh, i'm ready! :p

Olly
11-07-2012, 03:21 PM
Wow, impressed that you could use the middle mouse button to change the camera angle. Might even try it out just to see that.

Theres an srl function that does that :)

Flight
11-09-2012, 12:17 PM
[=================================]
[ LividFarmer 1.55 ]
[ by Flight ]
[=================================]
[ Run Time : 59 Min 29 Sec ]
[ Points : 16460 ]
[ Plants Cured : 180 ]
[ Soil Fertilized : 180 ]
[ Bunches Made : 48 ]
[ Farming XP : 33120 ]
[ Farming XP/Hr : 33407 ]
[ Magic XP : 33944 ]
[ Magic XP/Hr : 34238 ]
[ Agility XP : 5880 ]
[ Agility XP/Hr : 5931 ]
[ Crafting XP : 12960 ]
[ Crafting XP/Hr : 13072 ]
[ Breaks : 0 ]
[=================================]
[ LividFarmer 1.55 ]
[=================================]
Time until break: 01:15:30


V.1.55 coming along just fine. Think of it as V.1.4's official release. ;)

Edit:
Oh yeah, this version works with the camera fully zoomed out and it also handles the produce. This version is jam packed with fail-safes which is a biggie to me.

footballjds
11-09-2012, 10:41 PM
[=====================================]
[ LividFarmer 1.55 ]
[ by Flight ]
[=====================================]
[ Run Time : 1 Hr 55 Min 9 Sec ]
[ Points : 19480 ]
[ Plants Cured : 340 ]
[ Soil Fertilized : 339 ]
[ Bunches Made : 0 ]
[ Farming XP : 62468 ]
[ Farming XP/Hr : 32549 ]
[ Magic XP : 55793 ]
[ Magic XP/Hr : 29071 ]
[ Agility XP : 9912 ]
[ Agility XP/Hr : 5164 ]
[ Crafting XP : 0 ]
[ Crafting XP/Hr : 0 ]
[ Breaks : 0 ]
[=====================================]
[ LividFarmer 1.55 ]
[=====================================]
Solid, thank you

Virtus Titan
11-10-2012, 09:55 AM
Hey ,im having this trouble with a script.

It has been 3 minutes and Runescape is not yet ready... Terminating.
Successfully executed.


Thanks for assisting

John
11-10-2012, 10:48 AM
Hey ,im having this trouble with a script.

It has been 3 minutes and Runescape is not yet ready... Terminating.
Successfully executed.


Thanks for assisting

It sounds like you have the wrong graphics set. It needs to be Safe mode, Full brightness, fixed and minimum graphics set.

Virtus Titan
11-10-2012, 11:17 AM
It sounds like you have the wrong graphics set. It needs to be Safe mode, Full brightness, fixed and minimum graphics set.

Thanks but i have correct graphics set ,it works like for 10 minutes perfectly and then just stops :/

Flight
11-10-2012, 05:12 PM
Updated to version 1.55


Fully handles the produce
Works with the camera zoomed out fully
Quickly views Pauline via middle-mouse camera rotation (Credits to Home for his base procedure)
Area location system via SPS (Custom map automatically downloaded)
Huge handful of failsafes added


Please keep in mind everyone, you need the newest Mousehandler.simba for everything to work correctly. In this case for version 1.55 you'll need Mousehandler 1.01.

If you've comments, suggestions, or bug reports, please do post. I worked very hard on this so feedback is very much welcome. :)

Grudge
11-11-2012, 10:31 AM
Whenever I try to run this script I get the error:

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(273:149): Invalid number of parameters at line 272
Compiling failed.

Can you please suggest how I can fix this?

footballjds
11-11-2012, 01:35 PM
keeps dying after a very short amount of time.

[===============================]
[ LividFarmer 1.55 ]
[ by Flight ]
[===============================]
[ Run Time : 4 Min 6 Sec ]
[ Points : 1120 ]
[ Plants Cured : 14 ]
[ Soil Fertilized : 15 ]
[ Bunches Made : 2 ]
[ Farming XP : 2668 ]
[ Farming XP/Hr : 39043 ]
[ Magic XP : 2611 ]
[ Magic XP/Hr : 38209 ]
[ Agility XP : 504 ]
[ Agility XP/Hr : 7375 ]
[ Crafting XP : 540 ]
[ Crafting XP/Hr : 7902 ]
[ Breaks : 0 ]
[===============================]
[ LividFarmer 1.55 ]
[===============================]
Time until break: 03:15:53
Warning! You passed a wrong ye to a finder function: 34. The client has a height of 34, thus the ye is out of bounds. Setting the value to 33 (h-1) for now.
{{{==Script shutdown==}}}
----Reason: Failed to walk to Garden area----
Exception in Script: The bitmap[4] does not exist
The following DTMs were not freed: [2]


EDIT:
I watched it fail this time. It was trying to walk to the garden position. It kept clicking one tile south(middle of the bottom garden row, on the MAIN SCREEN) and then timed out

Compiled successfully in 1185 ms.
SRL Compiled in 16 msec
Paired with SMART[3960]
Walking to Garden area
{{{==Script shutdown==}}}
----Reason: Problem while walking to the Garden area----

edit2: I can't get it to pass the 5 minute mark. This time after bunching the livids it ran back to the garden and went to the tile below the southern most row. It then obviously couldn't correctly identify the livids. Can i suggest using a DTM of the white fence to locate more accurately when you get to the garden? Also, could i suggest using the numbers(1 through 4) to energize pauline accordingly.

[================================]
[ LividFarmer 1.55 ]
[ by Flight ]
[================================]
[ Run Time : 3 Min 44 Sec ]
[ Points : 900 ]
[ Plants Cured : 11 ]
[ Soil Fertilized : 12 ]
[ Bunches Made : 2 ]
[ Farming XP : 2116 ]
[ Farming XP/Hr : 34007 ]
[ Magic XP : 2070 ]
[ Magic XP/Hr : 33267 ]
[ Agility XP : 336 ]
[ Agility XP/Hr : 5400 ]
[ Crafting XP : 540 ]
[ Crafting XP/Hr : 8678 ]
[ Breaks : 0 ]
[================================]
[ LividFarmer 1.55 ]
[================================]
Time until break: 03:16:16
{{{==Script shutdown==}}}
----Reason: Failed to correctly identify diseased livids----
Successfully executed.

[S]paz
11-11-2012, 01:50 PM
[======================================]
[ LividFarmer 1.55 ]
[ by Flight ]
[======================================]
[ Run Time : 1 Hr 45 Min 34 Sec ]
[ Points : 27560 ]
[ Plants Cured : 303 ]
[ Soil Fertilized : 303 ]
[ Bunches Made : 82 ]
[ Farming XP : 55752 ]
[ Farming XP/Hr : 31687 ]
[ Magic XP : 56947 ]
[ Magic XP/Hr : 32366 ]
[ Agility XP : 9408 ]
[ Agility XP/Hr : 5347 ]
[ Crafting XP : 22140 ]
[ Crafting XP/Hr : 12583 ]
[ Breaks : 0 ]
[======================================]
[ LividFarmer 1.55 ]
[======================================]
Time until break: 00:29:25

Contrary to football I have no problems at all :/

Just edited. Had to stop manually but it could have kept going to 2hrs. Top job Flight

footballjds
11-11-2012, 01:54 PM
almost died... IT really hates me or something...

Flight
11-11-2012, 05:46 PM
I'll take a look at that second thing in the morning. I'm sorry about the problems you're having mate, I'll do what I can to find out what's wrong.

[S]paz
11-11-2012, 08:16 PM
[================================]
[ LividFarmer 1.55 ]
[ by Flight ]
[================================]
[ Run Time : 10 Min 3 Sec ]
[ Points : 2420 ]
[ Plants Cured : 28 ]
[ Soil Fertilized : 27 ]
[ Bunches Made : 6 ]
[ Farming XP : 5060 ]
[ Farming XP/Hr : 30208 ]
[ Magic XP : 5127 ]
[ Magic XP/Hr : 30608 ]
[ Agility XP : 1008 ]
[ Agility XP/Hr : 6017 ]
[ Crafting XP : 1620 ]
[ Crafting XP/Hr : 9671 ]
[ Breaks : 0 ]
[================================]
[ LividFarmer 1.55 ]
[================================]
Time until break: 02:04:56
Error: Out Of Range at line 402
The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, 4, 5, 6, 7, 8, 9, 10]
Starting to see these very often now. Not sure if it's lag however as I know my internet here is very flakey...

Flight
11-12-2012, 01:53 AM
paz;1125850']


Error: Out Of Range at line 402
The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, 4, 5, 6, 7, 8, 9, 10]
Starting to see these very often now. Not sure if it's lag however as I know my internet here is very flakey...

Oh yeah I see it now. Ok, look at line 378:

if Length(GRows) < 2 then
Exit;


That says if we find 1 or 0 of the 'garden rows' just exit, resulting in our position being (-1,-1); this should tell the script we need to walk to the center of the garden. However, with the # of "GRows" to check only being less than two, that means we could find only two of them and continue to use that section, but if we only find 2 GRows and the function says to check our position based on the 3rd row, of course we'll throw an out of bounds error, no?

else if ((PHead.Y < GRows[2].Y1) and (PointInBox(PFoot, GRows[2]))) then


[2] = the 3rd position in an array, because all arrays start with [0]. So to fix this, instead of having the # of GRows checker be under 2, let's set it to under 3. So change line 378 to this:

if Length(GRows) < 3 then


And I imagine that should fix your problem.


@footballjds:
I got to thinking, does your SPS file "LividFarm.png" look like this?

http://i.imgur.com/rFzem.png

That's the only thing I can think of; you have a previous SPS map called LividFarm and not accurate for this script. Also is your camera zoomed all the way out? Based on the picture you posted it looks quite close in camera range.

Chris Reborn
11-12-2012, 01:59 AM
should be getting 99 woodcutting tomorow and will be getting a few farming levels. ill drop you some proggies soon!

footballjds
11-12-2012, 03:33 AM
that's the .png i have. zoomed all the way out always.
finally got it to run for a few hours.

[======================================]
[ LividFarmer 1.55 ]
[ by Flight ]
[======================================]
[ Run Time : 2 Hr 57 Min 24 Sec ]
[ Points : 47080 ]
[ Plants Cured : 522 ]
[ Soil Fertilized : 521 ]
[ Bunches Made : 136 ]
[ Farming XP : 95956 ]
[ Farming XP/Hr : 32454 ]
[ Magic XP : 97835 ]
[ Magic XP/Hr : 33089 ]
[ Agility XP : 16632 ]
[ Agility XP/Hr : 5625 ]
[ Crafting XP : 36720 ]
[ Crafting XP/Hr : 12419 ]
[ Breaks : 1 ]
[======================================]
[ LividFarmer 1.55 ]
[======================================]
Time until break: 01:32:35
{{{==Script shutdown==}}}
----Reason: Failed to walk to Garden area----

had about 5 of these reports this AM:
[================================]
[ LividFarmer 1.55 ]
[ by Flight ]
[================================]
[ Run Time : 15 Min 0 Sec ]
[ Points : 3560 ]
[ Plants Cured : 45 ]
[ Soil Fertilized : 45 ]
[ Bunches Made : 8 ]
[ Farming XP : 8280 ]
[ Farming XP/Hr : 33120 ]
[ Magic XP : 8079 ]
[ Magic XP/Hr : 32316 ]
[ Agility XP : 1344 ]
[ Agility XP/Hr : 5376 ]
[ Crafting XP : 2160 ]
[ Crafting XP/Hr : 8640 ]
[ Breaks : 0 ]
[================================]
[ LividFarmer 1.55 ]
[================================]
Time until break: 02:00:00
{{{==Script shutdown==}}}
----Reason: Player idle for 1 minute...----
Exception in Script: The bitmap[4] does not exist

seems to fail a lot with the reason being player is idle. i log in to check and nothing is amiss.

m00
11-12-2012, 06:51 PM
I'm getting the following error:

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(273:149): Invalid number of parameters at line 272
Compiling failed.

Yes, I googled it, and I found that someone else had reported the issue (on page 37), but there were no responses.

Someone please post an answer and make me look retarded for not being able to figure it out myself. :)

Regards,

m00

footballjds
11-12-2012, 07:26 PM
I'm getting the following error:

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(273:149): Invalid number of parameters at line 272
Compiling failed.

Yes, I googled it, and I found that someone else had reported the issue (on page 37), but there were no responses.

Someone please post an answer and make me look retarded for not being able to figure it out myself. :)

Regards,

m00
you using the most updated script? if so you shouldn't be encountering this problem. Update everything. If that doesn't work then follow the below:

you gotta look at the two long ass lines(in the SmartParams.SIMBA file) and you'll see "IF DEFSMART8 then" and "IF DEFSMART then" The second line has a last parameter that needs removed. it's similar to an "]" if iirc.

:)

[S]paz
11-12-2012, 07:58 PM
You are meant to remove the , -1 from the last line. But that didn't work for me. What you can do is at the start change {$DEFINE SMART8} to {$DEFINE SMART}

footballjds
11-12-2012, 08:10 PM
paz;1126288']You are meant to remove the , -1 from the last line. But that didn't work for me. What you can do is at the start change {$DEFINE SMART8} to {$DEFINE SMART}

or you can update to smart 8 ? (:

m00
11-12-2012, 11:51 PM
Thanks, guys. Changing {$DEFINE SMART8} TO {$DEFINE SMART} got it to compile. I can figure anything else out.

Line 10:
{$DEFINE SMART} //Comment this out if using a standard browser.

I'm feeling semi-retarded, considering it was such a simple fix.

Thanks again,

m00

footballjds
11-12-2012, 11:59 PM
Flight, not a major issue. but there is a logic flaw in your script.


{$IFDEF SMART}
SRL_SIXHOURFIX := TRUE;
SMART_FIXSPEED := TRUE;
{$ENDIF}

should be IFDEF SMART8

[S]paz
11-13-2012, 12:11 AM
Thanks, guys. Changing {$DEFINE SMART8} TO {$DEFINE SMART} got it to compile. I can figure anything else out.

Line 10:
{$DEFINE SMART} //Comment this out if using a standard browser.

I'm feeling semi-retarded, considering it was such a simple fix.

Thanks again,

m00

Update SMART to V8 and you can add that 8 back in btw. Choice is yours.

Franksyp
11-13-2012, 12:48 AM
http://i46.tinypic.com/eiwal2.jpg
Out of that 13mil exp i got about 12 mil from this script.

I used Ashaman's version and got from 72 farming and 85 mage to 99 mage and 99 farm.
For those who are wondering, I ran this script at like anywhere from 6 hour to 18 hour intervals and didn't get banned. Afterwards I used other scripts in-between at random times.

The longest consecutive time I ran this script was over double exp weekend which was around 56 hours of nonstop livid farm.

So ya, thank you Flight and Ashaman for sharing this with the public.

Chris Reborn
11-13-2012, 01:45 AM
[Hint] C:\Simba\Includes\SRL/SRL/core/globals.simba(55:3): Variable 'WORLDSWITCHERENABLED' never used at line 54
Compiled successfully in 592 ms.
SRL Compiled in 0 msec
Paired with SMART[4256]
Walking to Garden area
{{{==Script shutdown==}}}
----Reason: [SPS]Area point Garden not found----
Exception in Script: The bitmap[4] does not exist
The following DTMs were not freed: [2]

getting this error every time i run the script but the map is downloaded. any ideas of what could be going wrong?

hmm, if i log in and then run the script it will work flawlessly. this only happens when it loads up smart, which is annoying as i like press run and let it go. any ideas for a fix?

solved my own problem. you're missing LoginPlayer in your mainloop. so you don't login even if you provide your info in the script :p

Flight
11-13-2012, 11:13 AM
Flight, not a major issue. but there is a logic flaw in your script.


{$IFDEF SMART}
SRL_SIXHOURFIX := TRUE;
SMART_FIXSPEED := TRUE;
{$ENDIF}


should be IFDEF SMART8

Yes indeed, thanks for pointing that out. Should I put out a slightly-edited version I'll be sure to include that and a 3-minute idle timer instead of the current 1-minute timer.



hmm, if i log in and then run the script it will work flawlessly. this only happens when it loads up smart, which is annoying as i like press run and let it go. any ideas for a fix?

solved my own problem. you're missing LoginPlayer in your mainloop. so you don't login even if you provide your info in the script :p

Yes in the initial setup of the script I never put told it to log in the player. This is due to my own habit of logging in manually before I run a script. I'll add that in to the list of small changes.

erniedabernie
11-14-2012, 07:36 AM
I'm still using 1.3 as 1.55 isn't really working for me, but after the new updates I can't start the script.

[Error] C:\Simba\Scripts\LividFarmer(1.3).Simba(249:13): Unknown identifier 'ConMEvent' at line 248

Any help please?

newb cheater
11-15-2012, 08:21 AM
Newest version working well!!

[======================================]
[ LividFarmer 1.55 ]
[ by Flight ]
[======================================]
[ Run Time : 4 Hr 20 Min 50 Sec ]
[ Points : 65340 ]
[ Plants Cured : 774 ]
[ Soil Fertilized : 777 ]
[ Bunches Made : 206 ]
[ Farming XP : 158692 ]
[ Farming XP/Hr : 32823 ]
[ Magic XP : 160737 ]
[ Magic XP/Hr : 33524 ]
[ Agility XP : 24528 ]
[ Agility XP/Hr : 5642 ]
[ Crafting XP : 59620 ]
[ Crafting XP/Hr : 12794 ]
[ Breaks : 0 ]
[======================================]
[ LividFarmer 1.55 ]
[======================================]
Time until break: 02:19:09

Manually stopped :)

Flight
11-15-2012, 10:39 AM
Newest version working well!!


[======================================]
[ LividFarmer 1.55 ]
[ by Flight ]
[======================================]
[ Run Time : 4 Hr 20 Min 50 Sec ]
[ Points : 65340 ]
[ Plants Cured : 774 ]
[ Soil Fertilized : 777 ]
[ Bunches Made : 206 ]
[ Farming XP : 158692 ]
[ Farming XP/Hr : 32823 ]
[ Magic XP : 160737 ]
[ Magic XP/Hr : 33524 ]
[ Agility XP : 24528 ]
[ Agility XP/Hr : 5642 ]
[ Crafting XP : 59620 ]
[ Crafting XP/Hr : 12794 ]
[ Breaks : 0 ]
[======================================]
[ LividFarmer 1.55 ]
[======================================]
Time until break: 02:19:09


Manually stopped :)

Ha very nice.

I've been patching up the script a bit based on the feedback of V1.55 so V1.6 is coming along with a bit more stability.


[======================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[======================================]
[ Run Time : 2 Hr 17 Min 48 Sec ]
[ Points : 38120 ]
[ Plants Cured : 419 ]
[ Soil Fertilized : 417 ]
[ Bunches Made : 110 ]
[ Farming XP : 76912 ]
[ Farming XP/Hr : 33488 ]
[ Magic XP : 78749 ]
[ Magic XP/Hr : 34288 ]
[ Agility XP : 13776 ]
[ Agility XP/Hr : 5998 ]
[ Crafting XP : 29700 ]
[ Crafting XP/Hr : 12931 ]
[ Breaks : 0 ]
[======================================]
[ LividFarmer 1.6 ]
[======================================]
Time until break: 00:42:12


http://i.imgur.com/I9ymG.png

Chris Reborn
11-15-2012, 06:19 PM
[======================================]
[ LividFarmer 1.55 ]
[ by Flight ]
[======================================]
[ Run Time : 3 Hr 42 Min 13 Sec ]
[ Points : 59600 ]
[ Plants Cured : 663 ]
[ Soil Fertilized : 662 ]
[ Bunches Made : 170 ]
[ Farming XP : 121900 ]
[ Farming XP/Hr : 32913 ]
[ Magic XP : 124184 ]
[ Magic XP/Hr : 33530 ]
[ Agility XP : 21336 ]
[ Agility XP/Hr : 5760 ]
[ Crafting XP : 45900 ]
[ Crafting XP/Hr : 12393 ]
[ Breaks : 0 ]
[======================================]
[ LividFarmer 1.55 ]
[======================================]
Time until break: 00:24:46
{{{==Script shutdown==}}}
----Reason: Failed to walk to Garden area----
Exception in Script: The bitmap[4] does not exist
The following DTMs were not freed: [2]


great script, but i seem to get this error within 4 or so hours every time i run the script. i had one 7 hour proggy but i lost it >.< script is great no complaints for me :p

footballjds
11-15-2012, 07:39 PM
Flight, after reading my PM's could you consider adding an HP failsafe check? if below 70% then use the moon clan teleport and run back to the garden?

Flight
11-16-2012, 01:24 AM
Flight, after reading my PM's could you consider adding an HP failsafe check? if below 70% then use the moon clan teleport and run back to the garden?

Yes absolutely, I read your PMs and I believe I'll do something like that in V1.6.

Olly
11-16-2012, 07:36 AM
Hey Flight, I'm just wondering since you are a srl dev why don't any of your custom includes go into the actually srl include? Alot of people do use your mouse handling functions + extra antiban is also welcomed.

Flight
11-16-2012, 09:36 AM
Hey Flight, I'm just wondering since you are a srl dev why don't any of your custom includes go into the actually srl include? Alot of people do use your mouse handling functions + extra antiban is also welcomed.

I don't know how much I'm allowed to spill at this point but I'll say this much: SRL 6 is actively in development. :spot:

Olly
11-16-2012, 11:42 AM
I don't know how much I'm allowed to spill at this point but I'll say this much: SRL 6 is actively in development. :spot:

Oh I see :)

Flight
11-17-2012, 03:19 AM
Alright, I've been working on making this script lasting in the long-run. 1.6 has been receiving some speed and stability modifications here and there, and furthermore actions to fix issues that arise in the script, rather than simply log out and shut down. Although there are still a couple instances in which that's the smart move and the script will do so.


Detect if we run out of runes and log us out
Constantly checks if we're choosing the wrong livid; 2-3 times result in our player relocating to the center of the garden, 4+ times result in switching worlds or logging out & back in to reset our map.
Upon detecting our player in combat, we'll be telported safely to the bank and logged out.
The global ActionTimer now increased to 3 minutes.
Speed increased for fertilizing soil, curing diseased livids, and every step of handling produce.


With a successful run including a 6-hour fix I'll now move on to testing this script via a EoC to make sure nothing will be effected on the 20th of this month.


[======================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[======================================]
[ Run Time : 6 Hr 31 Min 28 Sec ]
[ Points : 102400 ]
[ Plants Cured : 1148 ]
[ Soil Fertilized : 1146 ]
[ Bunches Made : 296 ]
[ Farming XP : 211048 ]
[ Farming XP/Hr : 32347 ]
[ Magic XP : 214150 ]
[ Magic XP/Hr : 32822 ]
[ Agility XP : 35280 ]
[ Agility XP/Hr : 5407 ]
[ Crafting XP : 79920 ]
[ Crafting XP/Hr : 12249 ]
[ Breaks : 2 ]
[======================================]
[ LividFarmer 1.6 ]
[======================================]
Time until break: 02:28:32
{{{==Script shutdown==}}}
----Reason: Player idle for 3 minutes...----


According to this report everything is working as expected.

Zerkeronrs7
11-18-2012, 11:21 AM
^And that is why everyone loves you.

superbuster4
11-20-2012, 01:30 PM
so does this work post eoc yet?

Flight
11-20-2012, 01:58 PM
It's about 9:00 PM for me right now and I'm dead set on upgrading Barb Fly-Fisher first so I can run it overnight tonight. Tomorrow I'll run LividFarmer 1.6 to make sure it still works correctly, so expect a release sometime tomorrow.

newb cheater
11-20-2012, 02:03 PM
Ahh ok, glad to know, will sit tight and wait for the roll outs :)

Barb fisher / heavy rodder would be really fast especially with the new ability to drop items using the taskbar :P

And i see a jadinko hunter under way!

superbuster4
11-20-2012, 03:25 PM
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(273:149): Invalid number of parameters at line 272 Compiling failed.

wtf is this never had this with this script :/

Chris Reborn
11-20-2012, 08:40 PM
good luck with getting this updated for the new mage book etc. i look forward to helping you test it when its ready :D

superbuster4
11-20-2012, 09:08 PM
good luck with getting this updated for the new mage book etc. i look forward to helping you test it when its ready :D


u dont need a mage book

Flight
11-21-2012, 11:27 AM
Updated to V1.6

On-screen painted progress report for SMART users
Updated to handle and disable the ActionBar
Detect if we run out of runes and log us out
Constantly checks if we're choosing the wrong livid; 2-3 times result in our player relocating to the center of the garden, 4+ times result in switching worlds or logging out & back in to reset our map.
Upon detecting our player in combat, we'll be telported safely to the bank and logged out.
Teleporting out correctly handled via the Abilities tab
The global ActionTimer now increased to 3 minutes.
Speed increased for fertilizing soil, curing diseased livids, and every step of handling produce.


The EoC update only required me to make a detection for the ActionBar and disable it, also for the combat & teleporting out I had to redo that but it was also quite simple. The beauty of Simba as opposed to injection bots; we aren't broken when interfaces and game code is changed, we simply adjust our colors, at most...

Enjoy everyone. If you have issues with the script do post them here and I'll get back to you ASAP. Feedback of all sorts is welcome. :)

newb cheater
11-21-2012, 11:30 AM
Thank you so much! Will get back to this soon, after doing a some tests for Ashaman :)

superbuster4
11-21-2012, 01:42 PM
Flight, last night the bot kept on getting stuck at the mud staff :/

Benny
11-21-2012, 01:45 PM
YES FLIGHT!
You are the best!

I will use this for 96 - 99 farm thank you sir thank you

E:

Get this as I run it: "[Error] C:\Simba\Includes\SRL/SRL/Misc/SmartGraphics.Simba(22:3): Unknown identifier 'SmartSetDebug' at line 21
Compiling failed.
"

Flight
11-21-2012, 02:31 PM
Flight, last night the bot kept on getting stuck at the mud staff :/

Last night? I just release V1.6 3 hours ago. Also, what do you mean getting suck at the mud staff?

@-Benny:
Are you using SMART v8.0?

Benny
11-21-2012, 02:37 PM
yup I am indeed. not sure what's happening.

Flight
11-21-2012, 03:35 PM
yup I am indeed. not sure what's happening.

I don't know what's going on, I've seen a few people have trouble with my scripts now that I use "{$DEFINE SMART8}". Let's try this, first at the top change the SMART8 to just SMART, next everywhere in the script where you see "{$IFDEF SMART8}" simply change it to "{$IFDEF SMART}".

Olly
11-21-2012, 03:43 PM
Surely you could auto dl your mouse/anti ban include to save yourself hassle of replying like twice a day reminding people haha :p

footballjds
11-21-2012, 05:10 PM
I don't know what's going on, I've seen a few people have trouble with my scripts now that I use "{$DEFINE SMART8}". Let's try this, first at the top change the SMART8 to just SMART, next everywhere in the script where you see "{$IFDEF SMART8}" simply change it to "{$IFDEF SMART}".

naw, let the lil kids get smart 8

Chris Reborn
11-21-2012, 06:15 PM
is this still working well after the eoc?

Benny
11-21-2012, 06:27 PM
I don't know what's going on, I've seen a few people have trouble with my scripts now that I use "{$DEFINE SMART8}". Let's try this, first at the top change the SMART8 to just SMART, next everywhere in the script where you see "{$IFDEF SMART8}" simply change it to "{$IFDEF SMART}".

That's sweet! fixed it!

Thanks man!

Chris Reborn
11-22-2012, 04:03 PM
[=====================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[=====================================]
[ Run Time : 9 Hr 39 Min 7 Sec ]
[ Points : 156081 ]
[ Plants Cured : 1712 ]
[ Soil Fertilized : 1711 ]
[ Bunches Made : 456 ]
[ Farming XP : 314917 ]
[ Farming XP/Hr : 32627 ]
[ Magic XP : 322326 ]
[ Magic XP/Hr : 33394 ]
[ Agility XP : 55272 ]
[ Agility XP/Hr : 5726 ]
[ Crafting XP : 123120 ]
[ Crafting XP/Hr : 12755 ]
[ Breaks : 1 ]
[=====================================]
[ LividFarmer 1.6 ]
[=====================================]
Time until break: 00:20:53
Welcome to Runescape.
'Game session expired.'
SRL Compiled in 16 msec

working well on the EOC :D 9 hour proggy would of been longer but i got the 'Error starting SMART,ensure the target page has an applet declaration.' I'm not sure why i get this lol but yeah good proggy anyways :D

Ashaman88
11-22-2012, 04:40 PM
Remove your username and you got that error because there was an Rs update and smart tried to reload too fast while servers were down

Chris Reborn
11-22-2012, 05:12 PM
Remove your username and you got that error because there was an Rs update and smart tried to reload too fast while servers were down

thanks for that... just my login though so not a big deal. and okay thanks i've gotten that before and never knew why, but that makes sense thank you.

Quintessence
11-23-2012, 01:16 AM
I'm sure I have SMART 8 (perhaps not) but after changing all the SMART8s into SMART, the script was absolutely amazing.

Thank you! Will post a progress report soon.

Chris Reborn
11-23-2012, 04:11 AM
[=====================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[=====================================]
[ Run Time : 12 Hr 3 Min 7 Sec ]
[ Points : 193340 ]
[ Plants Cured : 2130 ]
[ Soil Fertilized : 2124 ]
[ Bunches Made : 568 ]
[ Farming XP : 391368 ]
[ Farming XP/Hr : 32473 ]
[ Magic XP : 399832 ]
[ Magic XP/Hr : 33175 ]
[ Agility XP : 67368 ]
[ Agility XP/Hr : 5589 ]
[ Crafting XP : 153360 ]
[ Crafting XP/Hr : 12724 ]
[ Breaks : 2 ]
[=====================================]
[ LividFarmer 1.6 ]
[=====================================]
Time until break: 02:56:53

pretty good script i must say.

Flight
11-23-2012, 05:41 AM
I'm sure I have SMART 8 (perhaps not) but after changing all the SMART8s into SMART, the script was absolutely amazing.

Thank you! Will post a progress report soon.

It could be, it seems most people are having trouble with that. I'm not sure what the deal is.


[=====================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[=====================================]
[ Run Time : 12 Hr 3 Min 7 Sec ]
[ Points : 193340 ]
[ Plants Cured : 2130 ]
[ Soil Fertilized : 2124 ]
[ Bunches Made : 568 ]
[ Farming XP : 391368 ]
[ Farming XP/Hr : 32473 ]
[ Magic XP : 399832 ]
[ Magic XP/Hr : 33175 ]
[ Agility XP : 67368 ]
[ Agility XP/Hr : 5589 ]
[ Crafting XP : 153360 ]
[ Crafting XP/Hr : 12724 ]
[ Breaks : 2 ]
[=====================================]
[ LividFarmer 1.6 ]
[=====================================]
Time until break: 02:56:53

pretty good script i must say.

Very nice! And thank you. :) It's my pride and joy.

Chris Reborn
11-23-2012, 04:15 PM
It could be, it seems most people are having trouble with that. I'm not sure what the deal is.



Very nice! And thank you. :) It's my pride and joy.

haha im glad because i'm really enjoying it :) im on another 12 hour run right now. will stop in around 8 or 9 hours to do a tree run and give you another proggy. thank you so much for this :)

Chris Reborn
11-24-2012, 05:26 AM
[=======================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[=======================================]
[ Run Time : 24 Hr 21 Min 57 Sec ]
[ Points : 391420 ]
[ Plants Cured : 4331 ]
[ Soil Fertilized : 4331 ]
[ Bunches Made : 1134 ]
[ Farming XP : 796904 ]
[ Farming XP/Hr : -16258 ]
[ Magic XP : 812879 ]
[ Magic XP/Hr : -15602 ]
[ Agility XP : 137928 ]
[ Agility XP/Hr : 5660 ]
[ Crafting XP : 306180 ]
[ Crafting XP/Hr : 12565 ]
[ Breaks : 4 ]
[=======================================]
[ LividFarmer 1.6 ]
[=======================================]

pretty beastly 24 hour proggy, the xp counters got a little messed up but it was no biggy. thank you for the script, 89/99 farming atm. expect more proggys.

here's another proggy

[=======================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[=======================================]
[ Run Time : 14 Hr 59 Min 48 Sec ]
[ Points : 242060 ]
[ Plants Cured : 2682 ]
[ Soil Fertilized : 2683 ]
[ Bunches Made : 708 ]
[ Farming XP : 493580 ]
[ Farming XP/Hr : 32912 ]
[ Magic XP : 502905 ]
[ Magic XP/Hr : 33534 ]
[ Agility XP : 83664 ]
[ Agility XP/Hr : 5578 ]
[ Crafting XP : 191160 ]
[ Crafting XP/Hr : 12746 ]
[ Breaks : 2 ]
[=======================================]
[ LividFarmer 1.6 ]
[=======================================]

rsbottman
11-26-2012, 02:22 PM
I am havinan issue I cannot figure out. Mabey one of you pros have an idea.
I get this error -

SPS_GetArea ERROR: Exception: Error while reading stream: Wrong image format

then a few line down then i dipsplays this error -

[CheckPos]Walking to Garden area
Error: Exception: Access violation at line 311
The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2, 3, 4]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]

I did a complete load of simba, updated extensions,sps,msi,srl. I replaced the smart-8 files to the plugins folder. What Am i missing? I checked the Lividfarm.png and it appears to be correct. Let me know thanks

OK I figured this issue out. I went to the folder where the lividfarm.png was saved, edited it with paint, saved as a .png file.. fixed!!!!

Chris Reborn
11-26-2012, 08:36 PM
[=======================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[=======================================]
[ Run Time : 18 Hr 19 Min 29 Sec ]
[ Points : 246620 ]
[ Plants Cured : 3056 ]
[ Soil Fertilized : 3245 ]
[ Bunches Made : 600 ]
[ Farming XP : 579692 ]
[ Farming XP/Hr : 31634 ]
[ Magic XP : 564075 ]
[ Magic XP/Hr : 30782 ]
[ Agility XP : 81648 ]
[ Agility XP/Hr : 4455 ]
[ Crafting XP : 162000 ]
[ Crafting XP/Hr : 8840 ]
[ Breaks : 3 ]
[=======================================]
[ LividFarmer 1.6 ]
[=======================================]
Time until break: 01:40:31
Successfully executed.

another good proggy, manually stopped. i got this DTM not freed thing though. never seen this many at once. not sure why it happend.

The following DTMs were not freed: [2, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 627, 628, 629, 630, 631, 632, 633, 634, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 670, 671, 672, 673, 674, 675, 676, 677, 678, 679, 680, 681, 682, 683, 684, 685, 686, 687, 688, 689, 690, 691, 692, 693, 694, 695, 696, 697, 698, 699, 700, 701, 702, 703, 704, 705, 706, 707, 708, 709, 710, 711, 712, 713, 714, 715, 716, 717, 718, 719, 720, 721, 722, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737, 738, 739, 740, 741, 742, 743, 744, 745, 746, 747, 748, 749, 750, 751, 752, 753, 754, 755, 756, 757, 758, 759, 760, 761, 762, 763, 764, 765, 766, 767, 768, 769, 770, 771, 772, 773, 774, 775, 776, 777, 778, 779, 780, 781, 782, 783, 784, 785, 786, 787, 788, 789, 790, 791, 792, 793, 794, 795, 796, 797, 798, 799, 800, 801, 802, 803, 804, 805, 806, 807, 808, 809, 810, 811, 812, 813, 814, 815, 816, 817, 818, 819, 820, 821, 822, 823, 824, 825, 826, 827, 828, 829, 830, 831, 832, 833, 834, 835, 836, 837, 838, 839, 840, 841, 842, 843, 844, 845, 846, 847, 848, 849, 850, 851, 852, 853, 854, 855, 856, 857, 858, 859, 860, 861, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 873, 874, 875, 876, 877, 878, 879, 880, 881, 882, 883, 884, 885, 886, 887, 888, 889, 890, 891, 892, 893, 894, 895, 896, 897, 898, 899, 900, 901, 902, 903, 904, 905, 906, 907, 908, 909]
The following bitmaps were not freed: [11, 42]

Flight
11-27-2012, 02:28 AM
OK I figured this issue out. I went to the folder where the lividfarm.png was saved, edited it with paint, saved as a .png file.. fixed!!!!

Glad to hear it. :) Let me know how it works out for you, ya?




[=======================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[=======================================]
[ Run Time : 18 Hr 19 Min 29 Sec ]
[ Points : 246620 ]
[ Plants Cured : 3056 ]
[ Soil Fertilized : 3245 ]
[ Bunches Made : 600 ]
[ Farming XP : 579692 ]
[ Farming XP/Hr : 31634 ]
[ Magic XP : 564075 ]
[ Magic XP/Hr : 30782 ]
[ Agility XP : 81648 ]
[ Agility XP/Hr : 4455 ]
[ Crafting XP : 162000 ]
[ Crafting XP/Hr : 8840 ]
[ Breaks : 3 ]
[=======================================]
[ LividFarmer 1.6 ]
[=======================================]
Time until break: 01:40:31
Successfully executed.


another good proggy, manually stopped. i got this DTM not freed thing though. never seen this many at once. not sure why it happend.

The following DTMs were not freed: [1..909]
The following bitmaps were not freed: [11, 42]

:huh:
I'm really lost as to what went wrong with the DTM freeing bit. The way my scripts (including this one) work is by loading the DTMs once and freeing all of them upon script termination. Therefore, in this case, no more than the 3 DTMs I use should be created. I don't know man, that simply shouldn't have happened, the only thing I can think of is it was a DTM in SRL but I know there's very few there, and surely they're freed correctly.

I'll keep an eye out to see if anyone else has this issue. Anyways, again, nice report you got there buddy. :) 99 Farming coming up eh?

Ashaman88
11-27-2012, 02:57 AM
Glad to hear it. :) Let me know how it works out for you, ya?



:huh:
I'm really lost as to what went wrong with the DTM freeing bit. The way my scripts (including this one) work is by loading the DTMs once and freeing all of them upon script termination. Therefore, in this case, no more than the 3 DTMs I use should be created. I don't know man, that simply shouldn't have happened, the only thing I can think of is it was a DTM in SRL but I know there's very few there, and surely they're freed correctly.

I'll keep an eye out to see if anyone else has this issue. Anyways, again, nice report you got there buddy. :) 99 Farming coming up eh?

Simba has been having problems with DTM's and memory usage in general recently. See my ApeAtoll script, it has the bagillion dtms not freed issue too, but I only use a few and use it the same way you do

digitalninja
11-28-2012, 04:59 AM
Hey Ashaman88,

Just thought I would post a proggy and after watching it run for a couple hours point a few things out ...

[======================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[======================================]
[ Run Time : 2 Hr 12 Min 51 Sec ]
[ Points : 20761 ]
[ Plants Cured : 442 ]
[ Soil Fertilized : 272 ]
[ Bunches Made : 34 ]
[ Farming XP : 65689 ]
[ Farming XP/Hr : 29667 ]
[ Magic XP : 55407 ]
[ Magic XP/Hr : 25023 ]
[ Agility XP : 4032 ]
[ Agility XP/Hr : 1821 ]
[ Crafting XP : 9180 ]
[ Crafting XP/Hr : 4146 ]
[ Breaks : 0 ]
[======================================]

Based on a few other people posting proggy's it looks like my farming exp/hour is slightly off by 2-3k/hour. It seems the script (on my computer anyway) has trouble finding the right cure for plant in row 1 position 2 and row 3 position 2. It will keep trying the same cure and after 4 attempts log out jump worlds (or try to) log back in and get caught in a cycle till the garden updates. It also does random runs to the produce pile when nothing is there.

Sometimes when running back to its "start" spot it gets a little confused about where its at and does the log out procedure as well. Obviously with a 2 hour proggy it manages to sort itself out but I wonder what the exp rates would look like if it was running like it should on my system.

Regardless I am seriously impressed with the skill it takes to write something like this. I have a couple questions ... is it possible to deactivate the screen overwrite in the game? I almost always babysit scripts and like to see whats being said. Also is there a way to tell the script what worlds to log into? I am based in Vancouver BC and there are a couple of worlds that have the lowest ping over here and I wonder if lag might be the culprit?

Thanks!!!

DN

Flight
11-28-2012, 07:21 AM
Hey Ashaman88,

Just thought I would post a proggy and after watching it run for a couple hours point a few things out ...

[======================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[======================================]
[ Run Time : 2 Hr 12 Min 51 Sec ]
[ Points : 20761 ]
[ Plants Cured : 442 ]
[ Soil Fertilized : 272 ]
[ Bunches Made : 34 ]
[ Farming XP : 65689 ]
[ Farming XP/Hr : 29667 ]
[ Magic XP : 55407 ]
[ Magic XP/Hr : 25023 ]
[ Agility XP : 4032 ]
[ Agility XP/Hr : 1821 ]
[ Crafting XP : 9180 ]
[ Crafting XP/Hr : 4146 ]
[ Breaks : 0 ]
[======================================]

Based on a few other people posting proggy's it looks like my farming exp/hour is slightly off by 2-3k/hour. It seems the script (on my computer anyway) has trouble finding the right cure for plant in row 1 position 2 and row 3 position 2. It will keep trying the same cure and after 4 attempts log out jump worlds (or try to) log back in and get caught in a cycle till the garden updates. It also does random runs to the produce pile when nothing is there.

Sometimes when running back to its "start" spot it gets a little confused about where its at and does the log out procedure as well. Obviously with a 2 hour proggy it manages to sort itself out but I wonder what the exp rates would look like if it was running like it should on my system.

Regardless I am seriously impressed with the skill it takes to write something like this. I have a couple questions ... is it possible to deactivate the screen overwrite in the game? I almost always babysit scripts and like to see whats being said. Also is there a way to tell the script what worlds to log into? I am based in Vancouver BC and there are a couple of worlds that have the lowest ping over here and I wonder if lag might be the culprit?

Thanks!!!

DN

Yes from the looks of things, either you're experiencing some serious lag or your graphic settings are not correct. You can tell from the difference in plants cured and soil fertilized that the empty soil patches aren't always being found.

About the on-screen progress report, you can disable that by simply hitting the "Disable Debug" button on the bottom of your SMART client.

digitalninja
11-29-2012, 02:59 AM
Thanks Flight ... I am not sure whats going on I have double checked my graphics settings and theyre perfect and my lag isnt that bad. I was wondering if anyone wanted to teamview the script as it runs. I dont know what the deal is but it simply has a hard time picking the right cure for the right diseased flower???

I have uploaded an image with the "Thats not the correct strain of livid" and highlighted the 2 areas where I know its an issue. I cant imagine what the issue is since from how I am reading the script it should pick the right cure based on position??

Thanks!

http://postimage.org/image/o3uyc6i45/

http://postimage.org/image/o3uyc6i45/

digitalninja
11-29-2012, 04:01 AM
Just in case I do actually have it set up wrong here is how its set up and also my most recent proggy - http://postimage.org/image/3t71d08sr/

http://postimage.org/image/3t71d08sr/

[======================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[======================================]
[ Run Time : 3 Hr 29 Min 20 Sec ]
[ Points : 24881 ]
[ Plants Cured : 636 ]
[ Soil Fertilized : 404 ]
[ Bunches Made : 34 ]
[ Farming XP : 95681 ]
[ Farming XP/Hr : 27424 ]
[ Magic XP : 76131 ]
[ Magic XP/Hr : 21820 ]
[ Agility XP : 0 ]
[ Agility XP/Hr : 0 ]
[ Crafting XP : 9180 ]
[ Crafting XP/Hr : 2631 ]
[ Breaks : 1 ]
[======================================]
[ LividFarmer 1.6 ]
[======================================]

Flight
11-29-2012, 10:34 AM
http://postimage.org/image/o3uyc6i45/

You need to zoom your camera out all the way as I instructed in the OP. No wonder you're having trouble, see the difference?

Yours:
http://s10.postimage.org/ydxdbf7zr/Livid_Error.jpg

Mine:
http://i.imgur.com/U20XT.png

Austin
11-29-2012, 01:20 PM
@idodew & digitalninja

About how much do you spend per hour on runes? I would like to use this script, but calculate the cost beforehand. Like do you know the xp/gp rate for the farming xp?

digitalninja
11-29-2012, 03:24 PM
Hey Flight ... Thanks! I dont think I have ever been able to zoom out that far ... I set up my setting like you posted on page 34 (post #845). Now, when I go into setting, I dont even see the camera zoom option. Any idea why??

- UPDATE - Nevermind ... not sure why it disappeared for a while but I had simba load and paused it to adjust camera settings in game. It took a couple tries but now looks the same as yours with the camera settings maxed to the right. Will update proggy. Thanks Flight!

lorenzo
11-29-2012, 03:28 PM
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(274:149): Invalid number of parameters at line 273
Compiling failed.

digitalninja
11-29-2012, 03:31 PM
About how much do you spend per hour on runes? I would like to use this script, but calculate the cost beforehand. Like do you know the xp/gp rate for the farming xp?

As you can tell from previous posts the exp rates can range from 27k - 33k/hour. I am not entirely sure what the runes usage is per hour though ... if it helps I started with 50,000 astrals and runes. I have been running the script for about 10 hours (+/-) and now have 45541 Astrals and 47758 Natures. My exp is on the low end cause my setting are all messed up so I would expect your usage to be a bit higher.

Ashaman88
11-29-2012, 03:38 PM
Hey Flight ... Thanks! I dont think I have ever been able to zoom out that far ... I set up my setting like you posted on page 34 (post #845). Now, when I go into setting, I dont even see the camera zoom option. Any idea why??

Sounds like you aren't in safe mode? Are you in safe mode with min settings selected? Fixed mode?


@idodew & digitalninja

About how much do you spend per hour on runes? I would like to use this script, but calculate the cost beforehand. Like do you know the xp/gp rate for the farming xp?

I think there is link to a calc on the OP

lorenzo
11-29-2012, 04:03 PM
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(274:149): Invalid number of parameters at line 273
Compiling failed.

PeterGrayson
11-29-2012, 04:22 PM
Im getting the same Error.

[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(274:149): Invalid number of parameters at line 273
Compiling failed.

digitalninja
11-29-2012, 04:27 PM
Hi Ashaman ... I was in safemode and had everything set up right the camera zoom option just wasnt there ... it was weird ... then I logged into the game and had to muck about a couple times then I got the settings right. Its been running for about 45 minutes now and working like a charm. Although for whatever reason its not tracking the agi experience but not a big deal at all.

[=================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[=================================]
[ Run Time : 45 Min 51 Sec ]
[ Points : 9461 ]
[ Plants Cured : 135 ]
[ Soil Fertilized : 134 ]
[ Bunches Made : 34 ]
[ Farming XP : 24749 ]
[ Farming XP/Hr : 32386 ]
[ Magic XP : 22581 ]
[ Magic XP/Hr : 29549 ]
[ Agility XP : 0 ]
[ Agility XP/Hr : 0 ]
[ Crafting XP : 9180 ]
[ Crafting XP/Hr : 12013 ]
[ Breaks : 0 ]
[=================================]
[ LividFarmer 1.6 ]
[=================================]

Stucco
11-29-2012, 11:47 PM
[Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(274:149): Invalid number of parameters at line 273
Compiling failed.

Change {$DEFINE SMART8} to {$DEFINE SMART} at the top of the script.

digitalninja
11-30-2012, 03:08 AM
Proggy update -Thanks Flight for showing me the error of my ways!

[=======================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[=======================================]
[ Run Time : 11 Hr 26 Min 26 Sec ]
[ Points : 138701 ]
[ Plants Cured : 1888 ]
[ Soil Fertilized : 1987 ]
[ Bunches Made : 510 ]
[ Farming XP : 356501 ]
[ Farming XP/Hr : 31161 ]
[ Magic XP : 328480 ]
[ Magic XP/Hr : 28711 ]
[ Agility XP : 0 ]
[ Agility XP/Hr : 0 ]
[ Crafting XP : 137700 ]
[ Crafting XP/Hr : 12036 ]
[ Breaks : 3 ]
[=======================================]
[ LividFarmer 1.6 ]
[=======================================]

lorenzo
11-30-2012, 03:46 PM
why do u need laws? he is not using it only natures and astrals

digitalninja
11-30-2012, 06:13 PM
Laws come in handy if I just want to teleport back to the lunar bank. You could also use the laws for the "When a Suqah attacks" distraction ...

Chris Reborn
11-30-2012, 08:16 PM
[=======================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[=======================================]
[ Run Time : 21 Hr 56 Min 48 Sec ]
[ Points : 260940 ]
[ Plants Cured : 3801 ]
[ Soil Fertilized : 3894 ]
[ Bunches Made : 892 ]
[ Farming XP : 707940 ]
[ Farming XP/Hr : -22103 ]
[ Magic XP : 640874 ]
[ Magic XP/Hr : -25159 ]
[ Agility XP : 0 ]
[ Agility XP/Hr : 0 ]
[ Crafting XP : 240840 ]
[ Crafting XP/Hr : 10973 ]
[ Breaks : 4 ]
[=======================================]
[ LividFarmer 1.6 ]
[=======================================]

another pretty good proggy, thanks for the great script. 95/99 farm woot :D

and just hit 2400 total !

Austin
11-30-2012, 10:39 PM
I think there is link to a calc on the OP
Oh, thanks. I missed that.

Zerkeronrs7
12-01-2012, 11:37 AM
Get this error after 10 minutes to 50 minutes every time i run the script

It has been 3 minutes and Runescape is not yet ready... Terminating.
Successfully executed.
The following bitmaps were not freed: [11, 13]

Chris Reborn
12-01-2012, 06:55 PM
[=======================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[=======================================]
[ Run Time : 14 Hr 30 Min 18 Sec ]
[ Points : 184720 ]
[ Plants Cured : 2578 ]
[ Soil Fertilized : 2578 ]
[ Bunches Made : 680 ]
[ Farming XP : 474352 ]
[ Farming XP/Hr : 32702 ]
[ Magic XP : 435406 ]
[ Magic XP/Hr : 30017 ]
[ Agility XP : 0 ]
[ Agility XP/Hr : 0 ]
[ Crafting XP : 183600 ]
[ Crafting XP/Hr : 12657 ]
[ Breaks : 2 ]
[=======================================]
[ LividFarmer 1.6 ]
[=======================================]

Flight
12-02-2012, 12:54 PM
I'm going to run V.1.61 over night tonight (if I can) to make sure it's ready for release. I had worked on it a bit last Friday before I left for a very important event this weekend (on that note, for anyone who cares, December 1st is World Aids Day). Here's a change log of what I tinkered with:

11-30-2012

Updated Pauline text (to 'Encourage')
Added debug mode for reporting bugs via the progress report
Adjusted wagon colors
Added double-encouraging for Pauline while in combat
More intelligent way of handling produce with failsafes

DraGonZ
12-02-2012, 07:35 PM
...

Peace Falls
12-02-2012, 10:30 PM
This bot is ridiculous. Thanks Flight for such a flawless masterpiece.

http://i.imgur.com/QUFd0.png

23 Hours.
32.2k/Hr Farm XP.

Chris Reborn
12-02-2012, 11:35 PM
[=======================================]
[ LividFarmer 1.6 ]
[ by Flight ]
[=======================================]
[ Run Time : 24 Hr 17 Min 29 Sec ]
[ Points : 307000 ]
[ Plants Cured : 4272 ]
[ Soil Fertilized : 4286 ]
[ Bunches Made : 1132 ]
[ Farming XP : 787336 ]
[ Farming XP/Hr : -16701 ]
[ Magic XP : 723158 ]
[ Magic XP/Hr : -19343 ]
[ Agility XP : 0 ]
[ Agility XP/Hr : 0 ]
[ Crafting XP : 305640 ]
[ Crafting XP/Hr : 12582 ]
[ Breaks : 4 ]
[=======================================]
[ LividFarmer 1.6 ]
[=======================================]

another 24 hour proggy for you. beast script flight! 96/99 wootwoot almost there

Zippers
12-03-2012, 05:00 PM
http://i1205.photobucket.com/albums/bb427/aarnink/ScreenHunter_61Dec031759.jpg

footballjds
12-03-2012, 05:04 PM
@Zippers, I'll spoon feed you this one. Next time do research on your own. This issue is VERY common...
In that SmartParams file change lines 283-287 to:

{$IFDEF SMART8}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '');
{$ELSE}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '');
{$ENDIF}

Zippers
12-03-2012, 05:07 PM
@Zippers, I'll spoon feed you this one. Next time do research on your own. This issue is VERY common...
In that SmartParams file change lines 283-287 to:

{$IFDEF SMART8}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '');
{$ELSE}
Result := SmartSpawnClient(ReplaceWrap(PluginPath, '\', '/', [rfReplaceAll]), Params[0], ',' + Params[1], 765, 553, 's', '', '');
{$ENDIF}
-------