"Warning! You passed a wrong xe to a finder function: 4671. The client has a width of 800, thus the xe is out of bounds. Setting the value to 799 (w-1) for now." Anyone know what this is? It started when I implemented a couple TBoxes into my script.
"Warning! You passed a wrong xe to a finder function: 4671. The client has a width of 800, thus the xe is out of bounds. Setting the value to 799 (w-1) for now." Anyone know what this is? It started when I implemented a couple TBoxes into my script.
Last edited by Clarity; 07-17-2015 at 10:30 PM.
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
Doesn't pixel width not start at 1 instead with 0, ending in width - 1. therefore i thought width or height -1 would always be required?
As you use TBoxes you must define the perimeter to search within? So 800 would be one pixel off the client?
@Clarity;
The only thing I had changed was I added a TBox to randomize a point.
Simba Code:findColorsSpiralTolerance(x, y, TPA2, ELLIS_COLOR_2, mainscreen.getBounds(), ELLIS_TOL_2, colorSetting(2, ELLIS_HUE_2, ELLIS_SAT_2));
mainScreen.filterPointsPlayer(TPA2);
ATPA := TPAtoATPAEx(TPA2, 8, 8);
ATPA.filterBetween(1, 15);
ATPA.sortFromMidPoint(mainScreen.getCenterPoint());
if (length(ATPA) > 0) then
begin
tannerBox.edit(MiddleTPA(ATPA[0]).X, MiddleTPA(ATPA[0]).Y + 8, MiddleTPA(ATPA[0]).X + 1, MiddleTPA(ATPA[0]).Y + 9);
tannerBox.expand(6);
mouse(tannerBox.getRandomPoint(), MOUSE_MOVE, MOUSE_HUMAN);
other stuff...
Edit: Its not finding the color is it, that's why its giving the error?
Edit2: Its definitely finding the right points, I debugged the output, now it shows this:
{x = 219, y = 320} (example point)
Warning! You passed wrong values to a finder function: xs > xe (1296,799). Swapping the values for now.
Warning! You passed wrong values to a finder function: ys > ye (706,599). Swapping the values for now.
It also gives that warning and the other one many times over in between the coords I debugged in the loop containing the tannerBox.
Actually I may have lied. Looking at the Simba code it looks more related to findColorsSpiralTolerance.
https://github.com/MerlijnWajer/Simb...inder.pas#L694
Is this affecting your script performance, or is it just happening in the background and everything is being clicked properly anyway?
Last edited by Clarity; 07-17-2015 at 10:32 PM.
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
I've never had the problem before, and the only coordinates I pass into FCST are mainscreen.getBounds()
It is definitely affecting script performance. It no longer clicks the point I want it to. Sometimes it works, sometimes it doesn't.
I have backup procedures in my script in case it cant find the point, but it is slower and less reliable.
There are currently 1 users browsing this thread. (0 members and 1 guests)