I have been working on a fix for the tracking skill as ServUO seems to be a fair way off OSI behaviour. There are a few configuration options at the bottom which would be nice to get your opinions on. Like, how far should we allow target tracking. SERVUO should mirror OSI, but Heritage is open to customisation, especially to things that seem broken in OSI.
I have also added a configuration file for Tracking to control the following values (default are an OSI emulation):
Behaviour | ServUO | OSI | Suggestions |
Tracking chances are all wrong | -If the type is not a player it always returns true -Human players track around 75% (gm vs gm) -Elf players track around 50% (gm vs gm) | -All animals and monsters appaer to track by their fame -NPCs may also be fame, but may all have the same value -Human(lich) players track around ~78% (gm vs gm) -Human players track around ~70% (gm vs gm) -Elf players track around ~30% (gm vs gm) | -Added calculation to track by fame -NPC just need more than 20 Tracking |
Distance to lose quarry is short | - Quarry is lost when target is (10 + (Tracking]/10) *2 tiles away (40 tiles max) | -OSI is chaos when it comes to this. Tracking is lost when the target has left the server lines, which means in some areas you can track across the entire map, or all dungeons but if you are 5 tiles behind someone and they cross a line you lose tracking. (between 1 tile and 4000 tiles) | -We dont have server lines and this means we can do tracking better than OSI. So I suggested going with (10 + (Tracking]/10) *10 with logic around region checks to stop tracking between different dungeons. With a timeout so you can track people though teleporters. (200 tiles max) (I still need to code the timer and the region checks) |
Tracking player forms | - Players are always listed in Players | - Players are only players when they are human - Magery Polymorph shows as animals or monsters - Ninjitsu shows as animals - UO wiki says necro transforms should show in monsters (but OSI shows them in players still) bug or feature? I dont know | - Polymorph and Animal form will track as per OSI - I'd like to see Necro transformations show as monsters, if magery and ninja can, then necro and SW should too - Need to check Spellweaving on OSI |
I have also added a configuration file for Tracking to control the following values (default are an OSI emulation):
# Configuration for OSI Tracking emulation and extensions
# As UO Wiki suggests, necro should put all necro forms in monster but OSI doesnt (Polymorph and Animal Form does)
NecroTransformsShowAsMonsters = false
# Show Thieves in disguises as NPCs as their name
ThiefDisguiseShowsAsNPC = false
# Increase distance detection for all mobs (Total Range: BaseTrackingDetectionRange * (DetectSkill/100))
BaseTrackingDetectionRange = 10
# OSI will track between server lines, which can span the entire height of the map. Default value of 10 will be upto 200 tiles (average width of a dungeon)
TrackDistanceMultiplier = 10
#Detect non players at greater ranges than 20 (Default range will always have non players visible on the screen as the render limit is 24, so whats the point in tracking)
NonPlayerRangeMultiplier = 1