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
Multiple Servers
Author Message
RoyaL
Apprentice
*

Posts: 8
Likes Given: 3
Likes Received: 0 in 0 posts
Joined: Oct 2016
Reputation: -1



Post: #1
Multiple Servers
Hi guys,

It's going to be my very first topic. I searched on the forum but couldn't find an answer. What should I do to open multiple servers in one client? I want players to see server choices like "My Shard - 1", "My Shard - 2" etc. when they logged in. And I want them to move their characters to other servers whenever they want. So I can prevent overloading to one single server when there are many players.
01-03-2017 07:56 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: #2
RE: Multiple Servers
you must set servers name/IP on [SERVERS] section of sphere.ini

this only redirect the client to server IP, it won't transfer accounts/characters automatically between servers. So you must create some advanced sync engine to export the account/chars from one server and import on the other server

but anyway you don't need an 2nd server just to prevent overload on 1st server, sphere can handle 1000+ clients on the same server (or even much more) as far as your hardware performance can handle it. So the best option to maintain an high capacity server is use an high performance hosting instead split sphere in many small pieces
01-04-2017 01:48 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: #3
RE: Multiple Servers
(01-04-2017 01:48 AM)Coruja Wrote:  ...sphere can handle 1000+ clients...
Is Sphere are multithreaded?

Grandmaster Localhost Admin
01-04-2017 08:50 PM
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: #4
RE: Multiple Servers
sphere is single thread, but since UO is lightweight and doesn't require huge network bandwidths, this should not be a problem

10 years ago we had servers running 1000 clients without problems (or maybe even more, I can't remember) using old sphere on old hardware. And since sphere, hardware performance, and hosting plans evolved through these years, they became even better, faster and cheaper

unless you have an really heavy coded server, in this case you will need an faster CPU because most of sphere CPU usage comes from internal engines (NPC AI processing, scripts processing, etc) and not from client packets processing
01-11-2017 07:35 AM
Find all posts by this user Like Post Quote this message in a reply
RoyaL
Apprentice
*

Posts: 8
Likes Given: 3
Likes Received: 0 in 0 posts
Joined: Oct 2016
Reputation: -1



Post: #5
RE: Multiple Servers
Yeah, my server back in the day in 2006 was handling 375 online. We tried to go for a record and we saw 600 online players. Server started lagging, so we had to put the limit back. But Sphere handled 600 players. But my idea is, after those years I'm planning to open another server in 2018 maybe. And I do believe myself that I can get lots of players. Not only the old ones but newbie players. So if I get too many players, I wanna open an extra server so we can manage the overload. And I also my another ambition is opening another server in another country. For example; first I'm gonna open in Turkey and I will let players set game language as English or Turkish. Once I get some players from other countries in Europe, I'll open a server in Germany so they can play with less ping and I want them to switch their characters in between these servers.
(This post was last modified: 02-05-2017 09:44 PM by RoyaL.)
02-05-2017 09:42 PM
Find all posts by this user Like Post Quote this message in a reply
Criminal
Journeyman
*

Posts: 182
Likes Given: 38
Likes Received: 22 in 22 posts
Joined: Jun 2015
Reputation: 0

SantiagoUO.com

Post: #6
RE: Multiple Servers
I think that can be possible using mysql for everything..

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
02-06-2017 10:52 AM
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: 4 Guest(s)