Cuberite Forum
Disconnected by server - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Discussion (https://forum.cuberite.org/forum-5.html)
+--- Thread: Disconnected by server (/thread-185.html)



Disconnected by server - Lartza - 10-19-2011

I am unable to connect to a server I am hosting in Linux. Gives me "Disconnected by server" and console shows this

Code:
[16:44:31] 192.168.0.2 connected!
[16:44:31] cClientHandle::cClientHandle
[16:44:31] ReceiveThread
[16:44:31] New ClientHandle
[16:44:31] HANDSHAKE Lartza
[16:44:32] Unknown packet: 0x 0
[16:44:32] LOGIN Lartza
[16:44:32] Added Lartza to group Admins
[16:44:32] Player Lartza has permissions:
[16:44:32] *
[16:44:32] From 0 0 To -127 0
[16:44:32] Num chunks: 1
[16:44:32] WARNING: Entity was not in chunk 0 0 0
[16:44:32] WARNING: Entity was not in chunk -125 0 -23
[16:44:32] WARNING: Entity was not found in any chunk!
[16:44:32] Num chunks: 2
[16:44:32] From -127 0 To -127 -21
[16:44:33] ReceiveThread STOPPED
[16:44:33] Deleting client Lartza



RE: Disconnected by server - FakeTruth - 10-19-2011

Use this version: http://code.google.com/p/mc-server/downloads/detail?name=MCServerRelease.rar


RE: Disconnected by server - Lartza - 10-19-2011

(10-19-2011, 06:03 AM)FakeTruth Wrote: Use this version: http://code.google.com/p/mc-server/downloads/detail?name=MCServerRelease.rar

Would work if I had Windows... but like I said in the first post, Linux. (Unless it's mono?)


RE: Disconnected by server - FakeTruth - 10-19-2011

Oh, right.. d'oh!

I'm sorry but I can't build a linux version right now, but you can get the source from http://mc-server.googlecode.com/svn/trunk/ and build it yourself (if you know how).
If you do manage to build it, could you perhaps upload the binary somewhere so I can put it on the site? ThanksTongue


RE: Disconnected by server - rs2k - 10-21-2011

(10-19-2011, 10:28 PM)FakeTruth Wrote: Oh, right.. d'oh!

I'm sorry but I can't build a linux version right now, but you can get the source from http://mc-server.googlecode.com/svn/trunk/ and build it yourself (if you know how).
If you do manage to build it, could you perhaps upload the binary somewhere so I can put it on the site? ThanksTongue

Could you possibly make available the source for the last working version of the windows and linux server you made? I think I could make a working linux server using file compare software on the three source codes.


RE: Disconnected by server - Giggaflop - 10-23-2011

i'm able to compile on linux from SVN



RE: Disconnected by server - rs2k - 10-23-2011

(10-23-2011, 05:13 AM)Giggaflop Wrote: i'm able to compile on linux from SVN


I can compile r6 just fine in linux now, but I can't get the client to connect. It may have something to do with my distro though. I haven't tried r7. I'm using vcnnews's modified r5 source and it's running just fine in my linux distro right now. I can't get that version to compile in wondows though.


RE: Disconnected by server - Giggaflop - 10-23-2011

(10-23-2011, 05:20 AM)rs2k Wrote:
(10-23-2011, 05:13 AM)Giggaflop Wrote: i'm able to compile on linux from SVN


I can compile r6 just fine in linux now, but I can't get the client to connect. It may have something to do with my distro though. I haven't tried r7. I'm using vcnnews's modified r5 source and it's running just fine in my linux distro right now. I can't get that version to compile in wondows though.

i'd attached a compiled r7



RE: Disconnected by server - FakeTruth - 10-23-2011

(10-23-2011, 05:20 AM)rs2k Wrote:
(10-23-2011, 05:13 AM)Giggaflop Wrote: i'm able to compile on linux from SVN


I can compile r6 just fine in linux now, but I can't get the client to connect. It may have something to do with my distro though. I haven't tried r7. I'm using vcnnews's modified r5 source and it's running just fine in my linux distro right now. I can't get that version to compile in wondows though.

I can't find any differences in the two versions that might cause errors, so I don't know what's going on. Something that might be screwing it up is that you're compiling it for 64bit while I've always been compiling for 32bit, but I've done 64bit before and it worked without problems.. so I don't knowTongue

I made some changes to MCServer, maybe r8 works for you (you should do a full rebuild though)