scriptsdk / CSharp-ScriptSDK-Legacy

ScriptSDK is an advanced extension written in .NET. The framework is based on a local tcp socket protocol library written by maxwell and extend the provided architecture by additional methods and handlers.
GNU General Public License v3.0
9 stars 11 forks source link

Range (FindDistance) is not working as intended #19

Open simarsenault opened 6 years ago

simarsenault commented 6 years ago

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

Crome696 commented 6 years ago

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?

Crome696 commented 6 years ago

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.

simarsenault commented 6 years ago

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!

Crome696 commented 6 years ago

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