Modified client.cfg can't work

Added by gnuser over 4 years ago

Hi:
I just run a compiled server, and I use ryzom_client_open/client_ryzom_r.exe to test.
After add the line :

StartupHost = "oshare-king.com:40916";

I still see the client try to connect to the old server(open.ryzom.com:40916) from client.log, when I use my complied client to test, it connected successed.
Who can tell me why? Welcome to use your client to test my server.Thx

Replies (5)

RE: Modified client.cfg can't work - Added by nimetu over 4 years ago

make sure you have correct host in databases nel.domain and nel.shard
you also need to change frontend_service.cfg FSListenHost

RE: Modified client.cfg can't work - Added by gnuser over 4 years ago

I think my config file is right, because I can play and login my server successfully, but use my compiled version client.
I don't know why.

RE: Modified client.cfg can't work - Added by nimetu over 4 years ago

right sorry. forgot that I had open.ryzom.com redirected in hosts file hehe.

ryzom_client_open seems to have hardcoded StartupHost. You can infact remove it completely from .cfg files and it would still work.

RE: Modified client.cfg can't work - Added by molator over 4 years ago

open.ryzom.com is hard coded in the binary of the default windows ryzom core client.
To connect to your own server, you need to rebuild the client binary, and copy the binary and the dll in the client folder.

If your client and server are in the same network, you can't connect to your server using the extern ip or external domain name from LAN.
http://dev.ryzom.com/wiki/ryzom/ConnectingShardFromInternetAndLAN

(1-5/5)