SphereCommunity
Two servers 56b - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Two servers 56b (/Thread-Two-servers-56b)



Two servers 56b - Russian - 04-13-2014 12:04 AM

Hello!

I want to do:
[Image: 73700032661421897533.jpg]

But i have a error when try to connect to "Olmer extreme" and can not connect to second server:
[Image: 18391023589430463475.jpg]

Sphere ini Olmer:
Code:
[SPHERE]
ServName=Olmer
ServIP=87.255.18.101
ServPort=2593

[SERVERS]
Olmer
127.0.0.1
2593

Olmer extreme
127.0.0.1
2594

Olmer extreme:
Code:
[SPHERE]
ServName=Olmer extreme
ServIP=87.255.18.101
ServPort=2594

[SERVERS]
Olmer
127.0.0.1
2593

Olmer extreme
127.0.0.1
2594

What is wrong, how to create two servers on one computer and can connect from standart client menu?

Thanks.


RE: Two servers 56b - Coruja - 04-13-2014 03:12 AM

on external server, try using your external IP (87.255.18.101) instead 127.0.0.1
Code:
[SPHERE]
ServName=Olmer
ServIP=87.255.18.101
ServPort=2593

[SERVERS]
Olmer    //local server
127.0.0.1
2593

Olmer extreme    //external server
87.255.18.101
2594

////////////////////////////////////

[SPHERE]
ServName=Olmer extreme
ServIP=87.255.18.101
ServPort=2594

[SERVERS]
Olmer extreme    //local server
127.0.0.1
2594

Olmer    //external server
87.255.18.101
2593
PS: dat login screen roflmao


RE: Two servers 56b - Avatar - 04-13-2014 04:42 AM

dat login screen really , lol.

You can link any server when you state in sphere.ini as Coruja states.


RE: Two servers 56b - babazar - 04-14-2014 07:56 AM

or remove them or comment them out in sphere.ini and use

[FUNCTION f_onserver_start]
SERV.SERVIP=shard.uberonuo.com

in sphere_serv_triggers


RE: Two servers 56b - Russian - 04-14-2014 02:06 PM

I have it:

[FUNCTION f_onserver_start]
SERV.SERVIP 87.255.18.101


RE: Two servers 56b - babazar - 04-14-2014 06:24 PM

As sphere.ini says

// Name of your Sphere shard
ServName=MyShard
// The IP of your server, this will be 127.0.0.1 almost always
ServIP=127.0.0.1
// The port of your server, this is 2593 by default
ServPort=2593

--------------------
At the bottom:

[SERVERS]
//MyShard
//127.0.0.1
//2593

//External
//my.ip.goes.here
//2593

------------
And Use the:
[FUNCTION f_onserver_start]
SERV.SERVIP 87.255.18.101
----------------
Give it a cleaner setup and only i shard showing!