SphereCommunity
New Sphere = Map 0 with crazy readings... - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: New Sphere = Map 0 with crazy readings... (/Thread-New-Sphere-Map-0-with-crazy-readings)



New Sphere = Map 0 with crazy readings... - amonvangrell - 04-17-2014 08:53 AM

Hi guys, I decide today to update again my server.
To my surprise after updating the server, I started to have a very crazy reading on map 0. My though, its some problem on my sphere folder.

So... I download a clean no mod sphere folder. Straight from sphereserver.
(lastest revision 16-4-2014).

And to my surprise I got the same readings.
here is what i am talking about:
[Image: britain.png]
[Image: britain_trammel.png]

in my console I got:
Code:
ERROR:(sphere_map2.scp,39)Adding rect [512,200,544,232,2] to region with different map (0)
ERROR:(sphere_map2.scp,39)Uniting regions from different maps!
ERROR:(sphere_map2.scp,46)Adding rect [1160,1280,1192,1296,2] to region with different map (0)
ERROR:(sphere_map2.scp,46)Uniting regions from different maps!
ERROR:(sphere_map2.scp,53)Adding rect [712,1344,736,1376,2] to region with different map (0)
ERROR:(sphere_map2.scp,53)Uniting regions from different maps!
ERROR:(sphere_map2.scp,67)Adding rect [1520,1336,1536,1352,2] to region with different map (0)
ERROR:(sphere_map2.scp,67)Uniting regions from different maps!
ERROR:(sphere_map2.scp,74)Adding rect [272,1008,296,1024,2] to region with different map (0)
ERROR:(sphere_map2.scp,74)Uniting regions from different maps!
ERROR:(sphere_map2.scp,81)Adding rect [736,712,760,744,2] to region with different map (0)
ERROR:(sphere_map2.scp,81)Uniting regions from different maps!
ERROR:(sphere_map2.scp,88)Adding rect [979,991,991,1013,2] to region with different map (0)
ERROR:(sphere_map2.scp,88)Uniting regions from different maps!
Loading scripts/maps/sphere_map3.scp
and
Code:
ERROR:(sphere_map_points3.scp,22)Conflicting teleport 1732,973,-75,3!
ERROR:(sphere_map_points3.scp,23)Conflicting teleport 1733,973,-75,3!
ERROR:(sphere_map_points3.scp,24)Conflicting teleport 1734,973,-75,3!
ERROR:(sphere_map_points3.scp,25)Conflicting teleport 328,1974,5,3!
ERROR:(sphere_map_points3.scp,26)Conflicting teleport 328,1973,5,3!
ERROR:(sphere_map_points3.scp,27)Conflicting teleport 328,1972,5,3!
ERROR:(sphere_map_points3.scp,28)Conflicting teleport 328,1975,5,3!
ERROR:(sphere_map_points3.scp,29)Conflicting teleport 121,1684,0,3!
ERROR:(sphere_map_points3.scp,30)Conflicting teleport 120,1684,0,3!
ERROR:(sphere_map_points3.scp,31)Conflicting teleport 84,1673,-2,3!
ERROR:(sphere_map_points3.scp,32)Conflicting teleport 156,1608,22,3!
ERROR:(sphere_map_points3.scp,33)Conflicting teleport 157,1608,22,3!
ERROR:(sphere_map_points3.scp,34)Conflicting teleport 2068,1372,-75,3!

I have tried to change in sphere.ini
Code:
Map0=6144,4096,-1,-1 //Old size map0
//Map0=7168,4096,-1,-1 //ML sized Map0

Map1=6144,4096,-1,-1 //Old size map1
//Map1=7168,4096,-1,-1 //ML sized Map1
both ways... the same problem remains.

Any ideas???Shock

my UO its the latest before change to UOP.
Client version: 7.0.23.1 (patch 65)

I decide to download the latest UO version. Lets see...


RE: New Sphere = Map 0 with crazy readings... - Avatar - 04-17-2014 10:17 AM

Comment all maps ;

//MAP0=7168,4096,64,-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

Then state correct map scripts in spheretables ;

scripts/maps/sphere_map0.scp
scripts/maps/sphere_map0_ml.scp
scripts/maps/sphere_map1.scp
scripts/maps/sphere_map2.scp
scripts/maps/sphere_map3.scp
scripts/maps/sphere_map4.scp
scripts/maps/sphere_map5.scp
scripts/maps/sphere_map_points0.scp
scripts/maps/sphere_map_points0_ml.scp
scripts/maps/sphere_map_points1.scp
scripts/maps/sphere_map_points2.scp
scripts/maps/sphere_map_points3.scp
scripts/maps/sphere_map_points4.scp
scripts/maps/sphere_map_points5.scp

Only prefer MAP settings if you have not original maps like custom map. Spere can recognize the size of original maps according to mul files that you state in MulFiles=mul/

///Note- This is correct if you have 56b-pre release otherwise, neglect what I suggested.


RE: New Sphere = Map 0 with crazy readings... - amonvangrell - 04-17-2014 10:30 AM

Thx! But i solved by re-installing an updated version of UO.


RE: New Sphere = Map 0 with crazy readings... - Ben - 04-17-2014 11:10 AM

Avatar, as of a few revisions ago, these MAP settings in sphere.ini are mandatory to activate a map except for map0.


RE: New Sphere = Map 0 with crazy readings... - Coruja - 04-17-2014 12:20 PM

It's not recommended update sphere_map*.scp files with resync, you must restart the server
these console errors are not a problem at all, its just because you updated the script without restart the server

but anyway if you find something wrong just report it and we will fix it


RE: New Sphere = Map 0 with crazy readings... - XuN - 04-17-2014 09:54 PM

Certainly the new files are wrong:

-Regions with the same defname as another already readed.
Code:
ERROR:(sphere_map2.scp,39)Adding rect [512,200,544,232,2] to region with different map (0)
ERROR:(sphere_map2.scp,39)Uniting regions from different maps!
ERROR:(sphere_map2.scp,46)Adding rect [1160,1280,1192,1296,2] to region with different map (0)
ERROR:(sphere_map2.scp,46)Uniting regions from different maps!
ERROR:(sphere_map2.scp,53)Adding rect [712,1344,736,1376,2] to region with different map (0)
ERROR:(sphere_map2.scp,53)Uniting regions from different maps!
ERROR:(sphere_map2.scp,67)Adding rect [1520,1336,1536,1352,2] to region with different map (0)
ERROR:(sphere_map2.scp,67)Uniting regions from different maps!
ERROR:(sphere_map2.scp,74)Adding rect [272,1008,296,1024,2] to region with different map (0)
ERROR:(sphere_map2.scp,74)Uniting regions from different maps!
ERROR:(sphere_map2.scp,81)Adding rect [736,712,760,744,2] to region with different map (0)
ERROR:(sphere_map2.scp,81)Uniting regions from different maps!
ERROR:(sphere_map2.scp,88)Adding rect [979,991,991,1013,2] to region with different map (0)
ERROR:(sphere_map2.scp,88)Uniting regions from different maps!

and

-Duplicated:
Code:
ERROR:(sphere_map_points3.scp,22)Conflicting teleport 1732,973,-75,3!
ERROR:(sphere_map_points3.scp,23)Conflicting teleport 1733,973,-75,3!
ERROR:(sphere_map_points3.scp,24)Conflicting teleport 1734,973,-75,3!
ERROR:(sphere_map_points3.scp,25)Conflicting teleport 328,1974,5,3!
ERROR:(sphere_map_points3.scp,26)Conflicting teleport 328,1973,5,3!
ERROR:(sphere_map_points3.scp,27)Conflicting teleport 328,1972,5,3!
ERROR:(sphere_map_points3.scp,28)Conflicting teleport 328,1975,5,3!
ERROR:(sphere_map_points3.scp,29)Conflicting teleport 121,1684,0,3!
ERROR:(sphere_map_points3.scp,30)Conflicting teleport 120,1684,0,3!
ERROR:(sphere_map_points3.scp,31)Conflicting teleport 84,1673,-2,3!
ERROR:(sphere_map_points3.scp,32)Conflicting teleport 156,1608,22,3!
ERROR:(sphere_map_points3.scp,33)Conflicting teleport 157,1608,22,3!
ERROR:(sphere_map_points3.scp,34)Conflicting teleport 2068,1372,-75,3!



RE: New Sphere = Map 0 with crazy readings... - Coruja - 04-18-2014 02:51 AM

I found a small conflict on shrine regions, shrines on felucca and ilshenar are using the same defname (eg: a_shrine_valor, etc). This will reproduce the "Adding rect to region with different map" console error, will be fixed on next sphere_map2.scp update

but about the "conflicting teleport", there's nothing wrong, maybe you just updated the script with a resync instead restart the server, this will spam the console with many "conflicting teleport" errors but it's not really a script error. Maybe this occour because sphere create a "teleport list" on server startup, and when the script got resync, sphere will try to build a new "teleport list" again but it already exists


RE: New Sphere = Map 0 with crazy readings... - XuN - 04-18-2014 07:29 AM

Removed /maps/ and copied over the SVN ones, restarted Sphere and it's showing them on each startup: http://pastebin.com/PeEm9LaX

There are repeated names for teleports:
Code:
Search "tp_labyrinth_entrance_1" (2 hits in 2 files)
  C:\Users\Javi\Desktop\Nueva carpeta\scripts\maps\sphere_map_points3.scp (1 hit)
    Line 22: 1732,973,-75,3=328,1974,5,3=tp_labyrinth_entrance_1
  C:\Users\Javi\Desktop\Nueva carpeta\scripts\maps\sphere_map_points0_ml.scp (1 hit)
    Line 99: 1732,973,-75,3=328,1974,5,3=tp_labyrinth_entrance_1



RE: New Sphere = Map 0 with crazy readings... - Coruja - 04-18-2014 12:57 PM

bah you're right Shock
yesterday I moved ML teleporters from map3 to map0_ml file but I forgot to previously remove it from map3. I fixed this some minutes ago, now everything should work fine


RE: New Sphere = Map 0 with crazy readings... - Avatar - 04-18-2014 02:55 PM

@Ben
Thanks Ben. Since i stuck the point which is 56b pre-release,There should be lots of new adds. Need to finish reading revisions from beg to end. It looks I missed some points.