Client Connect Errors

At launch error: nel_drv_direct3d_win is not up to date

Before even trying to connect to the shard, you might get an error similar to the one above that says you should request a new version. To fix this:

  • Open up PATH/code/nel/lib (where PATH is the path to where you installed the server source)
  • Copy the files "nel_drv_direct3d_win_r.dll", "nel_drv_opengl_win_r.dll", and "nel_drv_fmod_win_r.dll"
  • Paste the files in the root directory of the Ryzom client

None of the accounts/characters you create show up in the database

There is no error message for this.

If you are using client_ryzom_r.exe provided in the client archive, it connects to Open Shard ignoring what you set for StartupHost. It's probably why you don't see users in your database. They're being created in the Open Shard database.

 

Symptoms of this error are:

  • You can play through the client, even when your server is down
  • Your characters/users do not show up in the database, but you can still access them in each session.
  • Your server does not show your client's connection, even if all your configs are correct

This occurs when you are not DIRECTLY following the instructions on Build Source on Windows.

This error occurs when you use the client_ryzom_r.exe provided in the client archive rather than using the version in PATH/code/build/bin/ (where PATH is the path where your source is installed)

Note: Using the version packaged with the source may cause the at-launch error described above.

 

Empty answer from server (error code 62)

Apache is showing mysql_connect() or mysql_pconnect() error in the log.
The MySQL module is disabled.

Edit php.ini and uncomment:

extension=mysql.so

You will find php.ini on Ubuntu 10.04 by default here: /etc/php5/apache2/php.ini

The log-in server is in maintenance, please try later (3003)

PHP login script on your web server can't connect to Ryzom Login Server (which is a module integrated in Shard Unifier Service).
Check code/ryzom/tools/server/www/login/r2_login_*.log for details.

  • Check if you set up tables correctly (check if login_address in domain table contains your server address)
mysql -ushard nel
SELECT * FROM domain;

If it shows open:49998 in login_address or there's an error connecting to the database, check Configure Linux Web Services and reference the sections on configuring MySQL and Apache/PHP.

  • Check client_default.cfg

If you built the client in debug mode, replace:

Application = { "ryzom_open", "./ryzom_client_r.exe", "./" };

with:

Application = { "ryzom_open", "./ryzom_client_d.exe", "./" };

  • If SU with LS module is working, you should see these lines (among others) in shard_unifier_service.log:
SU-0 module_manager.cpp 759 cmdHandler_createModule : Creating module 'ls' of class 'LoginService' with params 'ring_db(host=localhost user=shard password= base=) web(port=49998) nel_db(host=localhost user= password= base=nel)'
SU-0 login_service.cpp 190 onModuleUp : LS : adding WS 'localhost:3955:ws'
  • If you don't see these lines, restart SU and check again.
  • If you still don't see them, add this at the end of shard_unifier_service.cfg, restart SU and check logs for debug messages.
DisableNLDebug = 0;

 

The database server is in maintenance, please try later (3004)
The database server is in maintenance, please try later (3005)
The database server is in maintenance, please try later (3006)

PHP login script on your web server can't connect to the database.
3004 - mysql_connect failed
3005 - mysql_select_db failed
3006 - mysql_query failed

mysql -ushard nel
mysql -ushard ring_open
SELECT * FROM domain;
mysql -ushard nel

If there's a problem connecting to database, check Configure Linux Web Services and reference the sections on configuring MySQL and Apache/PHP.

Error (4xxx)

Error 4xxx are related to Ring and shouldn't occur. If it does, check your MySQL config.


You can try the following config:
https://docs.google.com/leaf?id=0B3LX3q7MsUEGNjdkMTJlZDItMzZlNy00Y2M0LTg0ODctMGI5MTExNjEzNTlk

Invalid account (2101)

  • If it's not your first connect to the running shard it probably means that your SU lost connection to MySQL. Restart SU service.

Client looping before character selection

2010/07/13 19:47:42 INF 104 client_ryzom_r.exe network_connection.cpp 646 CNetworkConnection::connect : CNET[014D8610]: Connecting to 'open.ryzom.com:47851' with cookie ''0C01A8C0|6AB47002|00000001''

2010/07/13 19:52:12 INF d94 client_ryzom_r.exe network_connection.cpp 1005 CNetworkConnection::sendSystemLogin : CNET[014D8610]: sent LOGIN cookie='0C01A8C0|7BF89003|00000001'

2010/07/13 19:52:12 INF d94 client_ryzom_r.exe network_connection.cpp 1005 CNetworkConnection::sendSystemLogin : CNET[014D8610]: sent LOGIN cookie='0C01A8C0|7BF89003|00000001'

Edit .../code/ryzom/server/frontend_service.cfg

FSListenHost = "open.ryzom.com";

Replace open.ryzom.com by your server domain name