Hi, I'm not exactly sure why however but its not curing any plants? Anyone else had this issue?[/COLOR][/COLOR]
Hi, I'm not exactly sure why however but its not curing any plants? Anyone else had this issue?[/COLOR][/COLOR]
i keep getting this error, any thoughts?dfc422fdd92460a5aed4befdaf323640.jpg
I just got the requirements for Livid Farm and wanted to try this out, but having the same issue as Tvcker.
Progress Report:Error: Too many parameters found at line 425 Compiling failed. If (ChooseOption.OptionsExist(['Exam','mine','Examine','Canc','ncel','Cancel'],400)) Then
I will keep looking into this and edit this post if I get it resolved.
I removed that close backpack function to get it to compile but will not cure plants. I think this is what a few posters above me are experiencing.
Progress Report:-- entering setgrid -- searching for colors -- atpa: 0 length: 1046 -- atpa: 0 width: 258 -- atpa: 0 height: 43 -- atpa: 1 length: 1323 -- atpa: 1 width: 277 -- atpa: 1 height: 48 -- atpa: 2 length: 1680 -- atpa: 2 width: 300 -- atpa: 2 height: 57 -- setting farmgrid -- entering findlivid -- BlackPlant Length: 89 for I:= 0 -- DeadFlower Length: 31 for I:= 0 -- {X = 398, Y = 149} -- 34 -- isMouseOverText() ---- Current mouse-over text: "Cure-plant Diseased livid" ---- Found "Cure" in mouse-over string: "Cure-plant Diseased livid" -- isMouseOverText(): True -- Found plant, Clicking. -- TRSChooseOption._select(): ---- Options found: [Cure-plant Diseased livid, Walk here, Examine Diseased livid, Cancel] ---- Found option "Cure" in "Cure-plant Diseased livid" -- TRSChooseOption.select() result = true -- No black found. -- entering findlivid -- No black found. -- PlantPresent. 41 -- entering findlivid -- BlackPlant Length: 105 for I:= 0 -- DeadFlower Length: 38 for I:= 0 -- {X = 342, Y = 148} -- 48 -- isMouseOverText() ---- Current mouse-over text: "" ---- Current mouse-over text: "Cure-plant Diseased livid" ---- Found "Cure" in mouse-over string: "Cure-plant Diseased livid" -- isMouseOverText(): True -- Found plant, Clicking. -- TRSChooseOption._select(): ---- Options found: [Cure-plant Diseased livid, Walk here, Examine Diseased livid, Cancel] ---- Found option "Cure" in "Cure-plant Diseased livid" -- TRSChooseOption.select() result = true -- Succesfully freed SMART[6036] -- Freeing gametabs bitmaps... Successfully executed.
Stopped it manually after failing to cure about 10 plants
GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!
<BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols
Beautiful, thank you for that. Now we just have the 'no black found' issue to deal with, as it's not curing livids. Will keep looking into this. Could this be a matter of colors needing updating?
Progress Report:Begin print('entering findlivid'); If Not IsLoggedIn Then Exit; findColorsTolerance(tpa, 2368542, SearchBox, 5,colorSetting(2,10.00,1.08)); //blackpart ATPA := TPA.Cluster(15,25); SetLength(TPA,0); atpa.filterBetween(0, 15); If (Length(ATPA) = 0) Then Begin Print('No black found.'); Exit; End;
I apologize for posting prematurely, I will keep researching exactly how this is working (not working ha).
If you want to do some debugging and instantly figure out what part is wrong, try the following code:
Simba Code:Begin
print('entering findlivid');
If Not IsLoggedIn Then
Exit;
findColorsTolerance(tpa, 2368542, SearchBox, 5,colorSetting(2,10.00,1.08)); //blackpart
Writeln('TPA Length: ' + toStr(length(TPA));
ATPA := TPA.Cluster(15,25);
Writeln('ATPA Length - After Cluster: ' + toStr(length(ATPA));
SetLength(TPA,0);
atpa.filterBetween(0, 15);
Writeln('ATPA Length - After Filter: ' + toStr(length(ATPA));
If (Length(ATPA) = 0) Then
Begin
Print('No black found.');
Exit;
End;
Here's 3 scenarios I can think of that will happen:
1) TPA Length = 0. That means the color isn't found and all you need to do is update the color using ACA.
2) ATPA Length After Cluster = 0. This means the dimensions of the shape (I have no idea what you're even looking for haha) have changed and you will need to figure out what new parameters to use. I don't use TPA.Cluster but I assume that's length/height measurements (x/y), so fiddle with it as required until it works.
3) ATPA Length After Filter = 0. (If length after cluster > 0). This means all your ATPA points are being filtered out for being too small. You're either not finding enough of the color or your cluster dimensions are too small.
You can also add the following:
Simba Code:SmartImage.DebugTPA(TPA);
Put that under the "TPA Length" Writeln that I've given and it will show you all the points on the TPA. If nothing shows up then it isn't finding black and the writeln will say length = 0. That function might also not be exactly right, I can never remember the proper drawing functions...
Okay here's what we get with that
Progress Report:-- entering findlivid TPA Length: 0 ATPA Length - After Cluster: 0 ATPA Length - After Filter: 0 -- No black found. -- PlantPresent. 37 -- entering findlivid TPA Length: 89 ATPA Length - After Cluster: 1 ATPA Length - After Filter: 1 -- BlackPlant Length: 89 for I:= 0 -- DeadFlower Length: 151 for I:= 0 -- {X = 286, Y = 316} -- 41 -- isMouseOverText() ---- Current mouse-over text: "Cure-plant Diseased livid" ---- Found "Cure" in mouse-over string: "Cure-plant Diseased livid" -- isMouseOverText(): True -- Found plant, Clicking. -- TRSChooseOption._select(): ---- Options found: [Cure-plant Diseased livid, Walk here, Examine Diseased livid, Cancel] ---- Found option "Cure" in "Cure-plant Diseased livid" -- TRSChooseOption.select() result = true -- No black found. -- entering findlivid TPA Length: 56 ATPA Length - After Cluster: 1 ATPA Length - After Filter: 1 -- BlackPlant Length: 56 for I:= 0 -- DeadFlower Length: 99 for I:= 0 -- {X = 230, Y = 223} -- 18
I've tried experimenting with new colors, but I'm curious exactly what 'black' we are supposed to be finding. It seems that even when it finds the color, it just moves on to the next livid without trying to 'solve' it.
I do see that it tried clicking once, but if you didn't see it click then that's sortof weird. I can't say for sure what color you're looking for, but luckily it looks like it's the color and not the sorting options. You should be able to use ACA to find a unique color on the livids that it can look for. Probably something dark since it's supposed to be "black".
I've been having the exact same problem as TotalMassacre and I can't for the life of me figure it out. Literally the exact same problem. Any solution yet?
Unfortunately I didn't get much farther on this. I tried just about every color swap I could imagine.
Lately I've been focusing on other skills, but hopefully when my wallet permits I can get back to this.
Looks like a sweet script, does anyone know (roughly) how much livid points you get per h? The one you need for unlocking spells.
I tried to do some colour detection on this and the issue with the "black" is not to do with finding the uncured plant. It clicks on it but then it can't decide what plant it is to cure (out of the 4 options). This is a little out of my very limited realm. So if someone could shine some insight or point me in the right direction, it would be MUCH appriciated
Has there been any improvements? I've been trying to get Obscurity's script fixed up to work for me but I can't, but I can't figure this one out either. Obscurity's camera just keeps spinning for me :/
is this currently working for anyone?
I think I figured this one out. For me, the LividMenu function was always returning false - I had to code another way of identifying if the choose livid strain/minigame panel was open or not and then it started working again.
Not curing the plants for me. Is there a patch or fix for this?
There are currently 2 users browsing this thread. (0 members and 2 guests)