SRL Archive - MSI Bugs

Cant find Falador pump


Itankbots

2011-12-10 16:41:54

When using falador vial filler it cant find the pump, just runs a little north of bank and cant find it. Keeps attempting to find falador water pump but cant find it :s tried running it two different times and also heard someone else was having same problem

Yago

2011-12-10 17:19:02

I'll check this out an edit with what I find…

Coh3n

2011-12-10 19:31:23

Probably just have to update the object record.

Yago

2011-12-10 20:47:15

Yeah. I created it a while ago and it wasn't perfect so Ill see if I can change a few things.

Edit: Bump edit w/e…

This is rather difficult/hard with SPS not being able to put you next to the pump therefore getting you to find other similar objects and yeah …

To MSI Developers:

—-My proposition to fix this problem is to:

  • Change Accuracy to a New System. This change will probably be only a few lines of code.
  • Instead of accuracy there will be MaxAccuracy and MinAccuracy (You can change the names of the variables).
  • So, currently you need a minimum of Accuracy amount of colors.
  • With the new system you'd need a minimum of of minaccuracy and and cannot exceed a maximum of maxaccuracy…
  • This would solve all issues where there is an excess of colors and all colors are similar (such as the Falador Pump).

NCDS

2011-12-10 21:47:26

From: Yago
Yeah. I created it a while ago and it wasn't perfect so Ill see if I can change a few things.

Edit: Bump edit w/e…

This is rather difficult/hard with SPS not being able to put you next to the pump therefore getting you to find other similar objects and yeah …

To MSI Developers:

—-My proposition to fix this problem is to:

  • Change Accuracy to a New System. This change will probably be only a few lines of code.
  • Instead of accuracy there will be MaxAccuracy and MinAccuracy (You can change the names of the variables).
  • So, currently you need a minimum of Accuracy amount of colors.
  • With the new system you'd need a minimum of of minaccuracy and and cannot exceed a maximum of maxaccuracy…
  • This would solve all issues where there is an excess of colors and all colors are similar (such as the Falador Pump).

I believe this was brought up long ago actually, not sure if it was public or private conversation though. Regardless, I'm certainly not against it. Perhaps I'll have a look at the best way to add that.

Coh3n

2011-12-11 02:02:03

I agree, Yago. Since it won't be needed for all objects we can just do

if (maxAccuracy > 0) then
begin
if (not inRange(length(TPA), minAccuracy, maxAccuracy)) then
continue;
end else
if (length(TPA) < minAccuracy) then
continue;
That would have to go in MSI_FindObjectsTPA I believe.

Yago

2011-12-11 19:19:20

It would definitely solve a lot of problems.

Also, like coh3n said we could make it optional so if max value is set to zero then use the old system unless you guys don't mind editing all TMSobjects. If anything, i'd probably help with changing up the object files.

Coh3n

2011-12-11 21:04:48

From: Yago
It would definitely solve a lot of problems.

Also, like coh3n said we could make it optional so if max value is set to zero then use the old system unless you guys don't mind editing all TMSobjects. If anything, i'd probably help with changing up the object files.
We could change them all, but the majority of them don't need changing as they work just fine as they are. There may be others that this could be applied to, though.

Kyle Undefined

2011-12-13 09:26:28

I feel that even with a different accuracy system, finding this pump will still be a pain and not accurate. The colors in the surrounding area are just too close together. The pump has no unique color to lock onto, I've gone through pixel by pixel and can't get a color that is only on the pump.

legoace

2011-12-13 10:50:24

From: Camo Developer
I feel that even with a different accuracy system, finding this pump will still be a pain and not accurate. The colors in the surrounding area are just too close together. The pump has no unique color to lock onto, I've gone through pixel by pixel and can't get a color that is only on the pump.


Just use a simple DTM, 2 points, one is on the pump and one is on the path underneath it. Make sure the distance between the points is small. Then get a TPA of all instances of the DTM and wa-la it works.

Coh3n

2011-12-13 13:47:37

From: legoace
Just use a simple DTM, 2 points, one is on the pump and one is on the path underneath it. Make sure the distance between the points is small. Then get a TPA of all instances of the DTM and wa-la it works.
Have you ever used a DTM for object finding on the main screen? I don't think it's that simple. VE and EV are just as close to the fountain and well, I'd rather see the location removed then do a lot of work for something that doesn't really need to be done. But, it's not my decision to make. :)

NCDS

2011-12-13 18:13:23

From: Camo Developer
I feel that even with a different accuracy system, finding this pump will still be a pain and not accurate. The colors in the surrounding area are just too close together. The pump has no unique color to lock onto, I've gone through pixel by pixel and can't get a color that is only on the pump.


But are all the colors grouped similarly? Ex. are there 120 blue pixels on the fountain, plus 120 blue pixels in 3 other places on the MS? I have no doubt that it can easily be found, it just wouldn't fit with MSI's current object finding.

I'll have to come back to this thread in a bit.

Kyle Undefined

2011-12-13 18:35:40

There is no fountain, the pump is almost the exact color of the road.

legoace

2011-12-14 16:02:25

From: Coh3n
Have you ever used a DTM for object finding on the main screen? I don't think it's that simple. VE and EV are just as close to the fountain and well, I'd rather see the location removed then do a lot of work for something that doesn't really need to be done. But, it's not my decision to make. :)


I have my own vial filler that is optimized for speed that is using this method, and is working. I only wrote it because MSI's was broken.

Yago

2011-12-16 15:43:47

From: Camo Developer
I feel that even with a different accuracy system, finding this pump will still be a pain and not accurate. The colors in the surrounding area are just too close together. The pump has no unique color to lock onto, I've gone through pixel by pixel and can't get a color that is only on the pump.


I've counted to differences between after a few edits to the colors between the pump and other similar objects… The accuracy is off by around 100pixels. Max accuracy and min accuracy would eliminate this problem.

Kyle Undefined

2011-12-21 22:08:59

Are we going to move forward with taking out this as a vial filler location? Or take Yago's idea and implement it?

trivestibular

2011-12-27 00:35:47

I was wondering if anyone has had a look at this recently, it doesnt sem to quite be working yet

Kyle Undefined

2011-12-27 02:31:18

If you would of read the posts, you would of realized that we are talking about removing the Falador pump out all together.

NCDS

2011-12-27 08:34:45

We will be adding a maxAccuracy attribute as that will be useful in numerous other situations as well.

I'll come back to this after work today.

trivestibular

2011-12-27 10:38:47

From: Kyle Undefined
If you would of read the posts, you would of realized that we are talking about removing the Falador pump out all together.


I did read all of the posts, but their were suggestions that would eliminate the need to remove it, and I was wondering if anyone had still been considering those.

Coh3n

2011-12-30 22:02:03

I'd remove it, but maxAccuracy will probably help. ;)