[TUTORIAL] SphereServer Setup - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: General Discussion (/Forum-General-Discussion) +--- Forum: Documentation/Tutorials (/Forum-Documentation-Tutorials) +--- Thread: [TUTORIAL] SphereServer Setup (/Thread-TUTORIAL-SphereServer-Setup) |
[TUTORIAL] SphereServer Setup - Mordaunt - 12-22-2012 02:44 AM This is a brief guide to getting your server to start: After you have downloaded and unpacked the server to your computer there are a few things you must do in order to get it up and running. To begin with, there are some changes you will need to make to your sphere.ini file. while there are a lot of settings in sphere.ini I am only covering the ones here that you need in order to start your server Code: [SPHERE] If your server is running on a different port obviously that line will have to be edited also. If you are using the sphere nightly builds the team does require you to add the line AGREE=1 Somewhere under the [SPHERE] block, right under the text listed above is not a bad place to do it. The purpose behind this is that the nightly builds obviously may have bugs in the build, that does not mean that they are not suitable for live servers, by inserting that line you are making clear that you understand that this is not a build that is officially considered "stable" At the bottom of the sphere.ini file you will find the following block of text: Code: /////////////////////////////////////////////////////////////// Though this is considered to be the "old" way of doing it and will result in 2 lines displaying on your server's login screen, the other method is to open the sphere_serv_triggers.scp file which is located in your scripts folder and insert your external IP there Code: // This function is called on server startup Next you will find that sphere is missing some files it needs to run. The reason behind this though not clear, I beleive is to make upgrading from version to version easier without the risk of overwriting said files. However You will need to create a folder called save. Inside this folder you will need to create and save 5 files sphereworld.scp spheredata.scp spherechars.scp spheremultis.scp spherestatics.scp Each of these files should be empty except for the text [eof] These files MUST be saved as a .scp file in order to work, if saved as .txt you will receive errors from sphere saying that they were not found. Next you will need to create a folder called accounts Inside this folder you will need to create and save a file called sphereaccu.scp The same rules apply as to the files you previously created, though this one does not require the [eof] text. You may also find that you need to download the libMySQL.dll file, which is available at the bottom of this page: PreReleases That is it for sphereserver, however to get your UO client to log into your shard you will have to either edit the login.cfg file in your UO folder so that it points to your server's address, or use a program like Razor or another loader which will allow you to switch the IP address you are connecting to without actually editing any game files. RE: [TUTORIAL] SphereServer Setup - EtherealArts - 03-08-2015 11:01 AM Im getting the error message when i try to start sphere server. PLEASE HELP ME I WANT MY OWN SHARD REALLY BADLY! Sphere Version 0.56b-Pre-Release [WIN32] by http://www.sphereserver.com, compiled at Jun 16 2013 (19:31:47), internal build #1590 Expansion maps supported: FATAL:The sphere.INI file is corrupt or missing FATAL:MUL File 'multi.idx' not found... FATAL:Server terminated by error -3! I know theres something wrong here but I dont know what to do or where to put it! Try to be specific please! /////////////////////////////////////////////////////////////// //////// File Locations /////////////////////////////////////////////////////////////// // Directory where spheretables.scp is located, from there we will // load any additional scripts ScpFiles=scripts/C:\Users\Brett\Desktop\Server\scripts // Where your sphereworld.scp and spherechars.scp are located WorldSave=save/C:\Users\Brett\Desktop\Server\save // Where your sphereaccu.scp and sphereacct.scp is located AcctFiles=accounts/C:\Users\Brett\Desktop\Server\accounts // Where your UO installation is located. This need: map0.mul, statics0.mul, // staidx0.mul, multi.mul, multi.idx, hues.mul, tiledata.mul. // Optional files: verdata.mul, mapX.mul/staticsX.mul/staidxX.mul for higher // maps support (Malas, etc). // // Note that if not set, sphere will scan windows registry to auto-detect it //MulFiles=mul/ // Where your log files will be saved by sphere Log=logs/C:\Users\Brett\Desktop\Server\logs // To activate ML-sized map #0 uncomment the next line (don't forget to uncomment // sphere_map0_ml.scp and sphere_map_points0_ml.scp in spheretables.scp if you want // to use the default areas) //Map0=7168,4096,-1,-1 // To activate ML-sized map #1 uncomment the next line //Map1=7168,4096,-1,-1 // To enable the use of MapDif*.mul and StaDif*.mul files, set this to 1. UseMapDiffs=0 RE: [TUTORIAL] SphereServer Setup - darksun84 - 03-08-2015 11:06 AM The errors are : ScpFiles=scripts/C:\Users\Brett\Desktop\Server\scripts should be ScpFiles=C:\Users\Brett\Desktop\Server\scripts WorldSave=save/C:\Users\Brett\Desktop\Server\save should be WorldSave=C:\Users\Brett\Desktop\Server\save // Where your sphereaccu.scp and sphereacct.scp is located AcctFiles=accounts/C:\Users\Brett\Desktop\Server\accounts should be AcctFiles=C:\Users\Brett\Desktop\Server\accounts // Where your log files will be saved by sphere Log=logs/C:\Users\Brett\Desktop\Server\logs should be Log=C:\Users\Brett\Desktop\Server\logs RE: [TUTORIAL] SphereServer Setup - EtherealArts - 03-08-2015 12:15 PM i changed it it still gives me the same message does it have something to do with this? // Where your UO installation is located. This need: map0.mul, statics0.mul, // staidx0.mul, multi.mul, multi.idx, hues.mul, tiledata.mul. // Optional files: verdata.mul, mapX.mul/staticsX.mul/staidxX.mul for higher // maps support (Malas, etc). // // Note that if not set, sphere will scan windows registry to auto-detect it //MulFiles=mul/C:\Program Files\Electronic Arts\Ultima Online RE: [TUTORIAL] SphereServer Setup - darksun84 - 03-08-2015 08:15 PM This wrong //MulFiles=mul/C:\Program Files\Electronic Arts\Ultima Online Should be MulFiles=C:\Program Files\Electronic Arts\Ultima Online RE: [TUTORIAL] SphereServer Setup - bororeh - 10-01-2020 10:20 AM [SPHERE] ServName=My Shard ServIP=127.0.0.1 ServPort=2593 [SERVERS] My Shard 127.0.0.1 (sphere.ini comments tell me to use my external ip, but if I do so, I get this error: "FATAL:Unable to bind listen socket xxx.xxx.xxx.xxx port 2593 (error code: -1)") 2593 [FUNCTION f_onserver_start] SERV.ServIP=xxx.xxx.xxx.xxx (my external ip here) LoginServer = 127.0.0.1,2593 <- this works like a charm, but only for me, of course LoginServer = 192.168.0.1,2593 <- this doesn't connect, no messages at the console LoginServer = xxx.xxx.xxx.xxx,2593 <- this doesn't connect, no messages at the console LoginServer = 192.168.0.14 <- with this I can see the "shard selection" screen (and the console shows that one client connected), however, when I choose the shard, the client crashes and the console only shows that one client was disconnected (no errors appear) Am I missing something? Tried lots of combinations but no success RE: [TUTORIAL] SphereServer Setup - lujun9972 - 10-09-2024 12:39 PM I have met the same problem, how did you fix it, please? (10-01-2020 10:20 AM)bororeh Wrote: [SPHERE] |