scriptsdk/CSharp-ScriptSDK-Legacy

Range (FindDistance) is not working as intended

Opened this issue · 4 comments

If I change Range = X (or call SetFindDistance(X)) and then do an item search it only returns items found EXACTLY at distance X, but not the items at a distance < X.

Playing on a Sphere 56b server, if that makes any difference.

Stealth 8.8.3
ScriptSDK 0.9.3

I will have to find a Sphere server to test this. My tests always goes through ServUO Server (Runuo Fork) and EA-Server. Is there any package of sphere i can use to test this?

32414325346354

I´ve made a few tests on Runuo and OSI. It works like a charm there so i guess its an issue with sphere. Questionable is if Sphere sends all informations of Items correctly at this point. Can you find and scan Items with easyuo\Native stealth in pascal? If not then its a point to be forwarded to Vizit0r.

IIRC, it didn’t work well with searching mobiles at distance (ex: an horse within 8 tiles). The horse had to be exactly 8 tiles away to be found.

I currently don’t have access to a computer, I’ll try later tonight. Thanks for the feedback!

I will try to reproduce this once i find more time.