Posts: 4
Threads: 1
Joined: May 2016
Thanks: 0
Given 0 thank(s) in 0 post(s)
Hi,
I'm new to Minecraft and Cuberite. I just compiled Cuberite source and was trying to connect minecraft client to it.
I'm not sure how to do it under single player mode! Under multiplayer mode I could see 'Cuberite - in C++' and "Scanning for games on your local network".
However, on trying to join server I get "Failed to connect to the server" (Invalid session - Try restarting your game)
I don't see any new request on the console where cuberite server is running.
Could anyone of you experts help me with this?
thx
Sanjay
Posts: 4,634
Threads: 115
Joined: Dec 2011
Thanks: 695
Given 495 thank(s) in 424 post(s)
Invalid session usually means that either the login server from Mojang is down or someone else logged in on your account. (not logging in the server, but starting up the client)
Posts: 4
Threads: 1
Joined: May 2016
Thanks: 0
Given 0 thank(s) in 0 post(s)
How do I go about testing via a minecraft client? I tried searching on the forum but couldn't get a clear answer.
I tried via Minecraft 1.9.4 client and could find only multiplayer as the option to connect to cuberite (is that the only option?) How do I connect to localhost on singleuser mode!
Appreciate your help so far.
Posts: 6,485
Threads: 176
Joined: Jan 2012
Thanks: 131
Given 1075 thank(s) in 852 post(s)
Cuberite is only multiplayer, even when running on the same computer as the client, you still need to go through the Multiplayer menu.
The "invalid session" error most often happens to me when the client has been running for a long time (usually a day). The easy workaround is to quit both the client and the launcher, then start them again.
(Singleplayer is built-into the client itself and there's no way to override it from an external program)
Posts: 166
Threads: 14
Joined: Nov 2015
Thanks: 13
Given 14 thank(s) in 12 post(s)
What is your reason for wanting to use Cuberite if you're going to play alone anyway?
Posts: 4
Threads: 1
Joined: May 2016
Thanks: 0
Given 0 thank(s) in 0 post(s)
Intention is get involved in the development, so as first steps i wanted to get the client setup
Posts: 166
Threads: 14
Joined: Nov 2015
Thanks: 13
Given 14 thank(s) in 12 post(s)
Aah makes sense. The project could always use developers, good luck!