Official ScriptUO EasyUO Scripts > Scripting Chat

Fishing up SOS'S

<< < (2/2)

Gaderian:
I would be curious what version of the script you are trying to use.
I definitely fixed everything with it after the EasyUO updates which changed the menu code.
I have it working on many freeshards and the production servers as well.

There are many reasons why it may not work. You need a valid version of the script though to handle the gump when the SOS is opened. OSI/Production, RunUO2.0, ServUO (versions 57.x and 58) have all been working for me, but the gump can be different.

Plotting the dots is independent of being able to sail to the proper location. The data is stored that gives the coordinates of the map location. Your person has to be on the map location and then can fish it up from anywhere around it. The important part is that your specific tile location match the MIB/SOS location. Which direction around you doesn't matter when fishing.

Is it plotting points for your maps?
The script will calculate the location based on approximately 4 quadrants: NW, NE, SW and SE (it is a little weird at the right most edge of the map, because you end up with NW and SW crossing over to the far right). There is an issue where some of the gumps have the map location within the text of the SOS, while others have it fixed on the SOS gump. Then there is an issue where some gumps always have some additional text and seem to force all maps to be pinned either North or South (I forget, but I suspect it is plotted and calculated as North) which leaves some correct and others wrong.

Maybe you would like to share which freeshard and a description of what is happening?

the surface:
Hey Gaderian!

Im using
 ; Script Name: SOS Master (alpha)
; Author: Kal In Ex, Gaderian (PandoraUO mods), others
; Version: 4.3h

After going to a windows OS. Ive set %sosSize 350_340 to match and it does attempt to plot the points. It sailed there successfully (well somewhat I took on some water elemental hitchhikers -- terrible company) and it got to the dot. The only issue is the dot that was plotted what looks like successfully and accurate, but on Automap and the coordinates are off. The shard is uo renaissance

Boat hold when facing West ZUX
Boat hold when facing North UVX
Boat hold when facing East ZNX
Boat hold when facing LWX
Post Merge: September 02, 2023, 05:17:08 AMWhen I sailed to the correct coordinates it looks like this on the script (second picture).

Gaderian:
So your pics look like the display of your boat position is 1 pixel too far left.

In any case, it seems to be cosmetic. The calculation for where to sail to is done in tile locations on the map. It translates the map degree locations into absolute tile number locations (seen as your #CHARPOSX and #CHARPOSY values). If your server is doing something different with the map degree locations and is off by a tile position, then sailing to the marked location and fishing off the side of the boat will miss the SOS (You would fish up fish and not the pre-chest loot or the chest...).
 
If it is after 'sail[ing] to marked' location and fishing retrieves the chest, then it is simply the display of the dot for your boat. If this is the case, then adding 1 to the display of the dot that indicates your boat looks like it would be correct.

When the menu commands changed, the alignment of the graphics changed by 5 or 10 pixels (I do not remember which...) and I probably missed the count and adjustment.

the surface:
Yes when I found the SOS it was in the second image closer to 3 than 1 off by a little bit. I fished it up manually and confirmed the coordinates on UOAM and attached it as the second photo. Sorry for any confusion.

Navigation

[0] Message Index

[*] Previous page

Go to full version