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:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solutions to 7.0.25+ client connection problems
Author Message
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #1
Information Solutions to 7.0.25+ client connection problems
So it looks like one of the recent "classic" client patches (7.0.24+ or 7.0.25+) has hard-coded the "LoginServer=login.ultimaonline.com,7776" into the client.exe binary... so if you want to make these clients work with a sphere server, you need to do a couple things:

1. You need to redirect the DNS name "login.ultimaonline.com" to resolve to your shard's DNS name or IP. Do do this, in Linux you edit the "/etc/hosts" file, and in windows you edit the "\Windows\System32\drivers\etc\hosts" file (for a more complete explanation check out How to edit a hosts file.)

There are also a couple other configuration requirements:

1. Your sphereserver needs to accept login traffic on port 7776. There are several ways to handle this... you can change the port of your shard to 7776, or configure your router to translate the port from 7776 to 2593 (or whatever your shard uses), or you can install "rinetd" on the sphereserver itself to redirect the port (this essentially lets your server listen on both.)
2. Your sphereserver needs to accept encrypted clients (this means you must have UseCrypt=1 in the Sphere.ini file.)
3. Your sphereserver needs to have all the new client encryption keys in the sphereCrypt.ini file.

The crummy thing about this is explaining to your players how to edit their hosts file... if you screw up that file you are in trouble so make a backup first.

On the bright side, client 7.0.26.4 works nicely :-)
(This post was last modified: 01-26-2013 03:22 PM by Valios.)
07-02-2012 11:06 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes RanXerox's post
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #2
RE: Solutions to 7.0.25+ client connection problems
Ouch, so many problems with the new versions of UO... well at least we're not 'stuck' without any ideas.

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
07-02-2012 01:13 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: Solutions to 7.0.25+ client connection problems
Maybe i am wrong,

But the "login changer program" for server that use Kingdom Reborn's client doesn't do the same thing ?

I mean the UO: SA Loader, foundable in the download section Big Grin
(This post was last modified: 07-03-2012 12:08 AM by darksun84.)
07-03-2012 12:05 AM
Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #4
RE: Solutions to 7.0.25+ client connection problems
If I could figure out the encryption keys for enhanced client version I would try it out...
07-03-2012 02:57 AM
Find all posts by this user Like Post Quote this message in a reply
Valios
Super Moderator
****

Posts: 390
Likes Given: 0
Likes Received: 12 in 9 posts
Joined: Mar 2010
Reputation: 6

Sphere Suite 2013

Post: #5
RE: Solutions to 7.0.25+ client connection problems
07-03-2012 07:45 AM
Find all posts by this user Like Post Quote this message in a reply
UO-Brutal
Apprentice
*

Posts: 2
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jul 2012
Reputation: 0



Post: #6
RE: Solutions to 7.0.25+ client connection problems
After changes I am getting a login error:

21:56:ERROR:2:Bad Login 11 (Encryption error (unknown encryption or bad login packet))
21:56:2:Client disconnected [Total:0] ('127.0.0.1')

I changed the port of my shard to 7776 and edited my hosts file to this:

# Copyright © 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 login.ultimaonline.com

What am I doing wrong?
07-24-2012 11:57 AM
Find all posts by this user Like Post Quote this message in a reply
UO-Brutal
Apprentice
*

Posts: 2
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jul 2012
Reputation: 0



Post: #7
RE: Solutions to 7.0.25+ client connection problems
OK, I figured it out and got my server up and running. Now when I log into it, its always dark out and my character is frozen. When I am able to take a few steps the map goes black and I am frozen again. I have not found a solution for the and when I use the .ADMIN function I am given a very limited amounts of commands. Also when I go to character creation it only offer a few places to start, Britain not being one of them. I am assuming this is because of the new map files released with the new client? When I boot up Sphereserver I notice I have some Map errors as its loading...
(This post was last modified: 07-24-2012 01:43 PM by UO-Brutal.)
07-24-2012 01:40 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #8
RE: Solutions to 7.0.25+ client connection problems
Which version of sphere you are using ?
07-24-2012 06:00 PM
Find all posts by this user Like Post Quote this message in a reply
Oxtar
Apprentice
*

Posts: 48
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jul 2012
Reputation: 0



Post: #9
RE: Solutions to 7.0.25+ client connection problems
Getting the players to modify their Hosts file by an installer should do the trick? I don't know if the system will prevent any modification into the Windows folder, especially the system32 one.
07-25-2012 12:51 AM
Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #10
RE: Solutions to 7.0.25+ client connection problems
Hosts modding sounds like a pain. The Ruosi guy said the IP is in the client and he's right. He suggested text editing the port and you can. Also if you can an address the same length as the Origin server you can simply edit the client. Make a copy, it'll run fine and you should still be able to patch with the regular one.

The darkness is because these new clients have map uops instead of muls. The legacy uop converter was able to make files Sphere can use.

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
(This post was last modified: 10-07-2012 03:17 PM by Anarch Cassius.)
10-07-2012 03:11 PM
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)