Server Problem
2013-06-21, 04:32 AM
#1
Server Problem
Hello,
I have a problem about Assault Cube Reload Server.
I want to install the server on Raspberrypi
I have compile on raspberry with "Make install" in /source/src
After the compile, the software have creates native_server and native_client in bin_linux
When I run LinuxServer.sh, he start normally but when I want to connect on server i'm immediately disconnect.
I don't know what is my problem ?
Thanks in advance
Post Reply Quote this message in a reply
2013-06-21, 07:54 AM
#2
RE: Server Problem
That is strange. As you said compiling and running works without errors. Maybe something with the ports/firewall? If not, try to have a look at the comman line outpu of the server. And, of course, make shure that all files are where they are. If you just do a make server and put the native_client manually into your acr serverpackage/full package folderit will run with default parameters, I think.

The C Programming Language: combines the flexibility of assembly language with the power of assembly language.
Post Reply Quote this message in a reply
2013-06-21, 06:15 PM
#3
RE: Server Problem
The same exact thing is happening to me. I compiled the server from source on the Raspberry Pi just now also and the exact same thing happens. In the log it shows that the client connected but then it immediately says that they disconnected. There are no errors in the compilation or the log. The only odd message during compilation was: "note: the mangling of 'va_list' has changed in GCC 4.4". Could that have something to do with the problem?
Post Reply Quote this message in a reply
2013-06-22, 07:40 AM
#4
RE: Server Problem
Which compiler version are you using? gcc4.7 is the latest one, I think. Maybe try to use the precompiled server? If you tell me which kind of os you use I might try to (cross?-)compile it for you.

The C Programming Language: combines the flexibility of assembly language with the power of assembly language.
Post Reply Quote this message in a reply
2013-06-22, 11:06 AM (This post was last modified: 2013-06-23, 10:38 AM by lopsided98.)
#5
RE: Server Problem
I was am using the latest gcc, version 4.7.2, compiling on the Raspberry Pi which is running Arch Linux ARM. We can't use the precompiled binaries because they aren't available for ARM. I am going to try compiling with an earlier gcc (<4.4) and see if that changes anything.

If nobody has any idea on how to solve this problem, I'm going to try and go through the code to see what could be causing it. But I would still like any suggestions people have.
Post Reply Quote this message in a reply
2013-06-23, 09:45 AM
#6
RE: Server Problem
It looks like you succeeded, but I am disconnected for "tag type" when I try to connect.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2013-06-23, 09:56 AM (This post was last modified: 2013-06-23, 10:58 AM by lopsided98.)
#7
RE: Server Problem
I see that too in my log. What does that mean exactly? Could it possibly that be because of a server misconfiguration? I tried the same config files on my Windows laptop and the they worked fine.

I looked at the code and it looks like a client could also get disconnected because the server received an unknown response. That could also be a possibility. I can't seem to get gdb working on the RPi so I can't see what the server receives.
Post Reply Quote this message in a reply
2013-06-23, 11:30 AM
#8
RE: Server Problem
The client sent something that is invalid in a packet.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2013-06-23, 04:38 PM
#9
RE: Server Problem
Why would the client client send something invalid only when it connects to my server?
Post Reply Quote this message in a reply
2013-06-23, 04:50 PM
#10
RE: Server Problem
It doesn't. It sends the same thing to every server. Maybe your server is reading the packets invalidly.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply


Forum Jump:


This forum uses Lukasz Tkacz MyBB addons.