how to build a new project based on Ryzom core ?

Added by erdongchen about 7 years ago

Ryzom core is hard for new learner.But I want to study it .Where can I get a simple project which can already run ? The project includes a server and a client ,for example ,the client can get "hello world"from the server. Is there such a thing?Or do I have to compile one all by myself?It is much more easier for new learner to study .


Replies (47)

RE: how to build a new project based on Ryzom core ? - Added by erdongchen about 7 years ago

Standalone Ryzome server:
configure like:
ListenAddress = "localhost:47851"; in frontend_service_default.cfg
FSListenHost = "localhost"; in frontend_service.cfg

log as follow:

client.log - client log (80.3 kB)

frontend_service.log - frontend service log (70.3 kB)

RE: how to build a new project based on Ryzom core ? - Added by erdongchen about 7 years ago

error in client.log:
2011/08/18 16:17:27 INF f40 ryzom_client_r.exe network_connection.cpp 1002 CNetworkConnection::sendSystemLogin : CNET[01F4BA18]: sent LOGIN cookie=<InvalidCookie>
2011/08/18 16:17:28 WRN f40 ryzom_client_r.exe sound_manager.cpp 709 CSoundManager::spawnSource : Sound 'charsel_quit_over' not found !
2011/08/18 16:17:08 INF 8a8 ryzom_client_r.exe common.cpp 547 NLMISC::Exception::Exception : Exception will be launched: Couldn't retrieve user id
2011/08/18 16:17:08 WRN 8a8 ryzom_client_r.exe login_progress_post_thread.cpp 225 CLoginProgressTask::run : Couldn't retrieve user id
what does those mean ?And how to reslove those?

RE: how to build a new project based on Ryzom core ? - Added by erdongchen about 7 years ago

Here is client log when I run ryzom core project I compiled (not snowballs). The client connection problems are similar to the ones I met when I run standalone server .I failed to compiled snowballs,although I modified some changes and some checks of configure as I saw from others.I don't know what I missed.

(1)client connection problems from client.log (both standalone server and self-compiled ryzom core project):
1、 sent LOGIN cookie=<InvalidCookie>
2、 gamecontextmenu:init: 'ui:interface:game_context_menu' window does not exist.
3、 CSoundManager::spawnSource : Sound 'charsel_quit_over' not found !
4、 And others 。

(2)Other problems:
Many services have "insertFileInMap already inserted" or "file not found" warnings .

I have 16 popup services and an executable client(both standalone server and self-compiled ryzom core project).

I really don't know why there are so many warnings and errors,even the standalone server . Steps of setting up the standalone server are just a few.I have tried all the methods I can think of.I looked into the code of ryzom core,but it 's hard to make modification without knowing the code.
Does some one happen to know about how to reslove those problems?Or does some one are willing to offer an executable ryzom core project ?The client can connect and login the server,and that will be OK.I just want to study about ryzom.I wish that is not too much to ask for .
Thanks in advance.
Best wishes.

client.log - client log of self-compiled ryzom core project(not snowballs) (155.7 kB)

client.log - client log of the standalone server (87.4 kB)

RE: how to build a new project based on Ryzom core ? - Added by molator about 7 years ago

You must have the same ip/host in client.cfg and frontend_service.cfg.

Ignore the warning.
Your issue is the web server or the db server, test it.
Test the web tool, by default http://localhost in your webrowser.

You're not answering to the good questions.

RE: how to build a new project based on Ryzom core ? - Added by erdongchen about 7 years ago

Here is some pictures I took from running standalone server .It is about db server and webtool.I can't tell the problems from that.

db.png - db server (865.2 kB)

webtool.png - web tool (871.6 kB)

connecting.png - client can't connect (1.1 MB)

RE: how to build a new project based on Ryzom core ? - Added by molator about 7 years ago

Ok the shard is running.
Check you firewall.

Could you paste me on pastebin.com you client.cfg, frontend_service.cfg, frontend_service.log.

RE: how to build a new project based on Ryzom core ? - Added by erdongchen about 7 years ago

I used "localhost"in both client.cfg and frontend_service.cfg now and put the server and the client(standalone server ) in c:/.

standalone_server.png - standalone server (127.5 kB)

RE: how to build a new project based on Ryzom core ? - Added by erdongchen about 7 years ago

standalone server and client

client.cfg - client config (296 Bytes)

frontend_service.cfg - frontend_service.cfg (1.3 kB)

frontend_service.log - frontend_service.log (49.3 kB)

RE: how to build a new project based on Ryzom core ? - Added by molator about 7 years ago

Ok frontend_service.log is interesting.
I've never seen that case.

Could you try a workaround, add in frontend_service.cfg:
AcceptInvalidCookie = 1;

RE: how to build a new project based on Ryzom core ? - Added by erdongchen about 7 years ago

The firewall is shut down ,but nothing happen.

RE: how to build a new project based on Ryzom core ? - Added by erdongchen about 7 years ago

Oh ,it seems to be correct now.Why is that?

connection2.png - see here ,it seems to be correct (599.9 kB)

RE: how to build a new project based on Ryzom core ? - Added by molator about 7 years ago

I don't know why the cookies are invalid.

First time, i test the stand alone server on a chinese windows.
Will have to test, if it's related.

RE: how to build a new project based on Ryzom core ? - Added by erdongchen about 7 years ago

All right.Thank you .I am trying on the self-compiled ryzom core project.

RE: how to build a new project based on Ryzom core ? - Added by erdongchen about 7 years ago

My self-compiled ryzom core project also seems to be correct now .I also add AcceptInvalidCookie = 1; into frontend_service.cfg .

connection3.png - see here ,it seems to be correct (1.2 MB)

connection4.png (2.2 MB)

RE: how to build a new project based on Ryzom core ? - Added by erdongchen about 7 years ago

Thanks.It is very helpful for me.I will try something else latter.

RE: how to build a new project based on Ryzom core ? - Added by molator about 7 years ago

Testing with xampp and removing AcceptInvalidCookie = 1;
could you share apache logs ?

RE: how to build a new project based on Ryzom core ? - Added by erdongchen about 7 years ago

Here is my xamplite apache los when I used self-compiled ryzom core project.Client can't connect successfully when I didn't add AcceptInvalidCookie = 1;
from xampplite\apache\logs:

access.log - access.log (153.8 kB)

error.log - error.log (36 kB)

RE: how to build a new project based on Ryzom core ? - Added by erdongchen about 7 years ago

Did you see something about the InvalidCookie problems from the logs , molator?

I had a snowballs project building problem : http://dev.ryzom.com/boards/17/topics/5178?r=5179 .
Do you have some suggestions? Sorry for bothering.

RE: how to build a new project based on Ryzom core ? - Added by molator about 7 years ago

One issue per post and i won't answer when i'm sleeping. :)

I don't see anything useful about the cookies.

RE: how to build a new project based on Ryzom core ? - Added by erdongchen about 7 years ago

Sorry about that .I didn't realize that.I am in BeiJing time zone.That 's all right.

RE: how to build a new project based on Ryzom core ? - Added by molator about 7 years ago

Ok i've tested on a simplified chinese windows xp pro.
It worked on the first try.
I didn't have to edit the settings.

So the cookie issue is specific to your machine.
But what, i don't know.

« Previous 1 2 (26-47/47)