heroiclabs / nakama-godot-demo

A demo project with Godot engine and Nakama server.
Other
301 stars 48 forks source link

Error Code 5: Can't create char [WINDOWS 10 Home] #30

Open willer69 opened 4 years ago

willer69 commented 4 years ago

imagen

NathanLovato commented 4 years ago

Could you please copy and paste the messages from your command line as text here? The picture is hiding some of the text.

willer69 commented 4 years ago

imagen

I create the character. then I choose the color, press the create button and I have the game without the character. I have downloaded it several times to the game and always the same error.

imagen

NathanLovato commented 4 years ago

The error says the RPC function was not found. This means that your local running nakama server instance did not register get_world_id, which is either:

Ensure you're running the docker-compose command from the correct folder, that contains the lua modules. It's this one: https://github.com/heroiclabs/nakama-godot-demo/tree/master/nakama

I think this isn't a bug in the demo.

mojoyup1528 commented 7 months ago

Its not a bug. Im getting the same issue even today (in 2024). Its probably that the modules are not loading or being recognized. I didnt use a docker to run the server or run cockroach. I went the batch way and just downloaded the folders and installed cockroach from the msi and have the folders in a desktop folder unzipped. I created a bat file to run the cmd commands for each and it runs cockroach, creates the server all good. It understands client connection and authentication but just as the OP, getting past this is an issue becuase in the cmd log for nakama, it doesnt load the 2 lua modules even though they are in the godot project.