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
[solved] Final touch on Sphere.ini. Server selection problem
Author Message
VeTaL
Journeyman
*

Posts: 53
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2012
Reputation: 0



Post: #7
RE: Final touch on Sphere.ini
Same here. Now i commented [SPHERE] part. (Didnt want to do it, because i thought, it is critical for server).

This time, i see "Templars Shard" and "Sphere". Looking like, second name is default one.

So, is it possible to have only one line for everybody?
2 Vendetta

I found f_onserver_start in sphere_serv_triggers.scp, now its looking like
Code:
// This function is called on server startup
[FUNCTION f_onserver_start]
serv.ip =<external_ip>

Then i changed Sphere.ini to
Code:
[SPHERE]
AGREE=1
// Name of your Sphere shard
ServName=UO Templars
// The IP of your server, this will be 127.0.0.1 almost always
ServIP=uotemplars.hopto.org
// The port of your server, this is 2593 by default
ServPort=2593

****

[SERVERS]
//Templars Shard
//uotemplars.hopto.org
//2593

Sphere doesn't launch.
Now i return back

Code:
[SPHERE]
// Name of your Sphere shard
ServName=UO Templars
// 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

***

[SERVERS]
Templars Shard
uotemplars.hopto.org
2593

And got warning
Code:
13:30:ERROR:(sphere_serv_triggers.scp,64)Can't resolve <external_ip>
13:30:ERROR:(sphere_serv_triggers.scp,64)Undefined keyword 'ip'
(This post was last modified: 05-05-2012 08:31 PM by VeTaL.)
05-05-2012 08:16 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Final touch on Sphere.ini - Shaklaban - 05-05-2012, 11:34 AM
RE: Final touch on Sphere.ini - Valios - 05-05-2012, 05:44 PM
RE: Final touch on Sphere.ini - VeTaL - 05-05-2012, 08:04 PM
RE: Final touch on Sphere.ini - Vendetta - 05-05-2012, 08:12 PM
RE: Final touch on Sphere.ini - VeTaL - 05-05-2012 08:16 PM
RE: Final touch on Sphere.ini - Vendetta - 05-05-2012, 11:06 PM
RE: Final touch on Sphere.ini - VeTaL - 05-05-2012, 11:11 PM

Forum Jump:


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