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-nmm6 (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-nmm6 (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-nmm6 (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
different map instances?
Author Message
arka
Apprentice
*

Posts: 14
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #1
different map instances?
Hey,

I have seen this some time ago, i don't know how to explain it proper.

How do i travel to the different instances of the world on the sphereserver.

For example i stand at point 30,30 and there are npcs and dynamic items and such, there was something which lets you travel to the exact same spot but then there are only the statics and no npcs and dynamic items like a different instance.

Iam asking caus i want to script an event where you enter a certain location and kill an npc and then get back, and so that more then one player can do it at the same time, i would like to use those different instances of the map.

I have forgotten how that worked Big Grin
(This post was last modified: 11-20-2016 02:09 AM by arka.)
11-20-2016 02:08 AM
Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #2
RE: different map instances?
.go 30,30,0,10

where 10 is the map number
11-20-2016 03:37 AM
Find all posts by this user Like Post Quote this message in a reply
arka
Apprentice
*

Posts: 14
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #3
RE: different map instances?
maybe that is not what iam looking for, i dont mean a different map

just the items/npc in the spot change

and he is giving me those errors when i want to hop in or out a specfific map

18:42:*** commands 'go 4738,333,0,1'=1
18:42:ERROR:Unsupported map #10 specified. Auto-fixing that to 0.
(This post was last modified: 11-21-2016 03:52 AM by arka.)
11-21-2016 03:44 AM
Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #4
RE: different map instances?
You need to add the maps first on sphere.ini

// To activate ML-sized map #1 uncomment the next line
//Map1=7168,4096,-1,-1

Map0=7168,4096,64,0,0
Map1=6144,4096,64,0,1
Map2=2304,1600,32,0,2
Map3=2560,2048,32,0,3
Map4=1448,1448,8,0,4
Map10=7168,4096,64,0,0
Map20=7168,4096,64,0,0
Map50=7168,4096,64,0,0
Map55=7168,4096,64,0,0
Map204=7168,4096,64,0,0

Something like that.
11-25-2016 08:51 AM
Find all posts by this user Like Post Quote this message in a reply
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #5
RE: different map instances?
(11-25-2016 08:51 AM)pointhz Wrote:  You need to add the maps first on sphere.ini

And dont forget about spheretables
Code:
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

Grandmaster Localhost Admin
11-25-2016 10:22 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
arka
Apprentice
*

Posts: 14
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #6
RE: different map instances?
I mean something different,

.go 30,30,0,0
is the normal map + static instance

when i do
.go 30,30,0,1

iam in the same map and static files, only the dynamic items and npc i placed in 30,30,0,0 are not there.

I thought it is maybe possible to open up several of the same map and statics, just new instances where the dynamic items and npcs are different
11-30-2016 02:05 AM
Find all posts by this user Like Post Quote this message in a reply
Kanibal
Master
**

Posts: 255
Likes Given: 6
Likes Received: 30 in 28 posts
Joined: Jun 2012
Reputation: 0



Post: #7
RE: different map instances?
(11-30-2016 02:05 AM)arka Wrote:  iam in the same map and static files, only the dynamic items and npc i placed in 30,30,0,0 are not there.

This is not the same map. Open UO folder and look at map0.mul and map1.mul files, they have the same size.

(11-30-2016 02:05 AM)arka Wrote:  I thought it is maybe possible to open up several of the same map and statics, just new instances where the dynamic items and npcs are different

Copy map0.mul, statics0.mul and statics0.mul several times, then rename it to map10.mul, statics10.mul, staidx10.mul......mapX.mul,a and then change sphere.ini and spheretables.scp

Grandmaster Localhost Admin
(This post was last modified: 11-30-2016 02:53 AM by Kanibal.)
11-30-2016 02:53 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
arka
Apprentice
*

Posts: 14
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #8
RE: different map instances?
ahhh ok yeah that is a good idea, thank you Smile
11-30-2016 02:55 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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