SRL Archive - SRL Archives

ChooseOption Error?


YoHoJo

2011-11-29 23:59:02

arning! You passed wrong values to a finder function: xs > xe (0,-25). Swapping the values for now.
Warning! You passed wrong values to a finder function: ys > ye (0,-35). Swapping the values for now.
Warning! You passed a wrong xs to a finder function: -25. That is below 0, thus out of bounds. Setting the value to 0 for now.
Warning! You passed a wrong ys to a finder function: -35. That is below 0, thus out of bounds. Setting the value to 0 for now.
Warning! You passed wrong values to a finder function: xs > xe (0,-25). Swapping the values for now.
Warning! You passed wrong values to a finder function: ys > ye (0,-35). Swapping the values for now.
Warning! You passed a wrong xs to a finder function: -25. That is below 0, thus out of bounds. Setting the value to 0 for now.
Warning! You passed a wrong ys to a finder function: -35. That is below 0, thus out of bounds. Setting the value to 0 for now.
Warning! You passed wrong values to a finder function: xs > xe (0,-25). Swapping the values for now.
Warning! You passed wrong values to a finder function: ys > ye (0,-35). Swapping the values for now.
Warning! You passed a wrong xs to a finder function: -25. That is below 0, thus out of bounds. Setting the value to 0 for now.
Warning! You passed a wrong ys to a finder function: -35. That is below 0, thus out of bounds. Setting the value to 0 for now.
Warning! You passed wrong values to a finder function: xs > xe (0,-25). Swapping the values for now.
Warning! You passed wrong values to a finder function: ys > ye (0,-35). Swapping the values for now.
Warning! You passed a wrong xs to a finder function: -25. That is below 0, thus out of bounds. Setting the value to 0 for now.
Warning! You passed a wrong ys to a finder function: -35. That is below 0, thus out of bounds. Setting the value to 0 for now.

Seen it before, is it chooseoption error?

YoHoJo

2011-11-30 01:27:28

I'm guessing it's a problem with FoldColorTolerance.
Why?
Well I was getting the error after MSI was right clicking banker and trying to do choose option, going back and back and back, eventuality ChooseOption uses GetChooseOptions which contains

  GetClientDimensions(B.X2, B.Y2);
B.X1 := 0;
B.Y1 := 0;
Dec(B.X2);
Dec(B.Y2);
FindColorsTolerance(TPA1, 4343893, B.X1, B.Y1, B.X2, B.Y2, 0);
FindColorsTolerance(TPA2, 3950929, B.X1, B.Y1, B.X2, B.Y2, 0);

But that's quite odd for something like that to be screwing up especially when I'm using SMART, so maybe it's a rare occurrence, although it has happened to me 3 times today :/.

Narcle

2011-11-30 09:27:09

Hmm idk. Does it occur over and over?

Wizzup?

2011-11-30 09:35:22

From: YoHoJo
I'm guessing it's a problem with FoldColorTolerance.
Why?
Well I was getting the error after MSI was right clicking banker and trying to do choose option, going back and back and back, eventuality ChooseOption uses GetChooseOptions which contains

  GetClientDimensions(B.X2, B.Y2);
B.X1 := 0;
B.Y1 := 0;
Dec(B.X2);
Dec(B.Y2);
FindColorsTolerance(TPA1, 4343893, B.X1, B.Y1, B.X2, B.Y2, 0);
FindColorsTolerance(TPA2, 3950929, B.X1, B.Y1, B.X2, B.Y2, 0);

But that's quite odd for something like that to be screwing up especially when I'm using SMART, so maybe it's a rare occurrence, although it has happened to me 3 times today :/.


If you were using Simba 0.98-rc5; that may explain the issue. Try Simba 0.98-rc6.