SphereCommunity
mapdif*.mul - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: General Discussion (/Forum-General-Discussion)
+--- Forum: UO/Sphere Discussion (/Forum-UO-Sphere-Discussion)
+--- Thread: mapdif*.mul (/Thread-mapdif-mul)



mapdif*.mul - Mordaunt - 07-22-2012 07:05 AM

Can someone explain to me the difference between these files and the regular files, and what it changes to set them to be used in sphere.ini?

Making sure that my old world spawning script is bug free on the current server version before I let it out, however if usemapdiff=1 I then get the following errors when I run it:

16:04:ERROR:Point(1150,-1): trying to get a sector for point on map #0 out of bounds for this map(6144,4096). Defaulting to sector 0 of the map.
16:04:WARNING:Attempting to access invalid memory block at 1150,-1,-5.
16:04:WARNING:GetMapBlock failed at 1150,-1,-5.


RE: mapdif*.mul - RanXerox - 07-22-2012 07:23 AM

Mapdiff are fixes that OSI made to the map that were not done directly in the map MUL file itself... essentially they are map patches to fix places where players get stuck.

It looks like your MAP0 (and possibly MAP1) values are not large enough for the mapdiff to work...

I use the following settings without error:

MAP0=7168,4096,-1,0,0
MAP1=7168,4096,-1,1,1
MAP2=2304,1600,32,2,2
MAP3=2560,2048,32,3,3
MAP4=1448,1448,8,4,4
MAP5=1280,4096,64,5,5

USEMAPDIFFS=1


RE: mapdif*.mul - Mordaunt - 07-22-2012 07:34 AM

DOH!

In checking the script i'd knocked the . key and inserted that onto a line where it really shouldn't have been Blush

Thankfully Skul pointed out something about decimals and I went hunting for it