The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Sphere = Map 0 with crazy readings...
Author Message
amonvangrell
Banned

Posts: 337
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #1
New Sphere = Map 0 with crazy readings...
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...
(This post was last modified: 04-17-2014 09:35 AM by amonvangrell.)
04-17-2014 08:53 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Avatar
Journeyman
*

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #2
RE: New Sphere = Map 0 with crazy readings...
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.
(This post was last modified: 04-18-2014 02:58 PM by Avatar.)
04-17-2014 10:17 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
amonvangrell
Banned

Posts: 337
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #3
RE: New Sphere = Map 0 with crazy readings...
Thx! But i solved by re-installing an updated version of UO.
04-17-2014 10:30 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #4
RE: New Sphere = Map 0 with crazy readings...
Avatar, as of a few revisions ago, these MAP settings in sphere.ini are mandatory to activate a map except for map0.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
04-17-2014 11:10 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #5
RE: New Sphere = Map 0 with crazy readings...
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
04-17-2014 12:20 PM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #6
RE: New Sphere = Map 0 with crazy readings...
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!
(This post was last modified: 04-17-2014 09:56 PM by XuN.)
04-17-2014 09:54 PM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #7
RE: New Sphere = Map 0 with crazy readings...
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
04-18-2014 02:51 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #8
RE: New Sphere = Map 0 with crazy readings...
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
04-18-2014 07:29 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #9
RE: New Sphere = Map 0 with crazy readings...
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
04-18-2014 12:57 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Coruja's post
Avatar
Journeyman
*

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #10
RE: New Sphere = Map 0 with crazy readings...
@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.
(This post was last modified: 04-18-2014 02:59 PM by Avatar.)
04-18-2014 02:55 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)