Question Kitchen Store - scripts
- Annah Gestaga
-
Topic Author
- Thank you received: 1
Sharpened Razor wrote: yes i have tried it in a sand box with just one SF item and kept moving the item away until it couldn't find it and it could only find the object @ 21 meters no matter where i tried the range was only 15 to 21 meters. maybe there is another way for the sensor to search i don't know but i have been trying for months on this..... i have tried everything some time's when it in the middle of 100 crops you will see a item get collect 60 meters away but that was very rare..... i will leave a scarecrow @ your place if you like so you can see for your self.....
I have found the same thing... I had fields, trees, etc, up to 90m away and it would only collect up to 21m, no matter what direction (up, down, left, right, etc.)
Thank you Sharpened Razor and Buzzy. I'll go work on it now and see how it works! *crosses fingers*
Please Log in or Create an account to join the conversation.
- Buzzy Cnayl
-
- Thank you received: 58
Please do, either in the Learning area or the Workshop area in Mintor would be good.i will leave a scarecrow @ your place if you like so you can see for your self.....
Interesting to hear that people are finding this same issue with distance. The scripting is all pretty basic in that it just uses the standard sensor and uses a sphere as scanning type so is not dependant on the orientation of the object.
Another (albeit obscure!) thing to check if you can is in the OpenSim.ini file for the region. There are settings in there to change how the sensor works and it may be they have got changed from their defult values:
Please Log in or Create an account to join the conversation.
- Sharpened Razor
-
- Thank you received: 0
In ther opensim.ini There is only this twice and im using Y Engine
[YEngine]
; Sensor settings
;SensorMaxRange = 96.0
;SensorMaxResults = 16
And Under the X Engine in the Opensim.ini
[Xengine]
; Sensor settings
;SensorMaxRange = 96.0
;SensorMaxResults = 16
They are both the same but commented out with ; as you can see
Please Log in or Create an account to join the conversation.
- Buzzy Cnayl
-
- Thank you received: 58
Please Log in or Create an account to join the conversation.
- Sharpened Razor
-
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Buzzy Cnayl
-
- Thank you received: 58
But anyway the issue is that if you have any scripted objects near those will all be counted even if they are not products or not even things that start with "SF "
Unfortunately you can't use 'wildcards' in the sensor (such as search for anything starting with "SF") so it's a limitation of the system.
What I will try is to add an option so you can select to have the storage work only scan for items it contains. This should work fine if you just have a few things but may not work well over a certain amount. This will definitely start off as a beta thing!
Please Log in or Create an account to join the conversation.