Hello,im working on Sphere shard 56b.
I can connect on local without problem,finally,i end the shard,and host it.
But when ill go to connect online hosted shard,the client (2.0.3) stuck on connecting after pick character.
Info:
Sphere 56b
Client 2.0.3
Using: Inection-and No Injection.
On console account x connected.
account x disconnected.
Thank you so much for the help!
Check this lines in Sphere.ini
Code:
// What client protocol version used
// Comment out the ClientVersion line to allow any client that is supported.
//ClientVersion=2.0.3
// Set this to 1 to allow login to encrypted clients
UseCrypt=1
// Set this to 1 to allow login to unencrypted clients
UseNoCrypt=1
[quote='Kanibal' pid='24569' dateline='1479843787']
Check this lines in Sphere.ini
Code:
// What client protocol version used
// Comment out the ClientVersion line to allow any client that is supported.
//ClientVersion=2.0.3
// Set this to 1 to allow login to encrypted clients
UseCrypt=1
// Set this to 1 to allow login to unencrypted clients
UseNoCrypt=1
[code]
[/quote]
They are at 1 all.Still the same problem,thank you so much.
CONSOLE:
21:02:1a8:Client connected [Total:1] ('83.42.198.210' 1/1)
21:02:1a8:Login 'Admin'
21:02:1a8:Client disconnected [Total:0] ('83.42.198.210' 0/0)
And im using the same client used on local.
I'm having the very same issue:
PHP Code:
15:36:0:Client connected [Total:1] ('95.122.XXX.XXX' 1/1)
15:36:0:Login 'EddieD'
15:36:0:Client disconnected [Total:0] ('95.122.XXX.XXX')
Tested on Windows (2008 and 2012) & Linux (Ubuntu and CentOS) servers, both without any firewall in place. I can login locally, but not if it is elsewhere. I've changed the local IP in sphere.ini with the public IP and downloaded latest prerelease. Also I've tried to compile the last version available in GitHub but I get this error:
PHP Code:
./makefile: line 1: SHELL: command not found
./makefile: line 5: MARCH: command not found
./makefile: line 8: MARCH: command not found
./makefile: line 8: OPTDEFAULT: command not found
./makefile: line 9: MARCH: command not found
./makefile: line 9: COPTDEFAULT: command not found
./makefile: line 10: OPTDEFAULT: command not found
./makefile: line 10: OPT: command not found
./makefile: line 11: COPTDEFAULT: command not found
./makefile: line 11: COPT: command not found
./makefile: line 12: WARN: command not found
./makefile: line 13: CWARN: command not found
./makefile: line 15: ifdef: command not found
./makefile: line 16: DEBUG: command not found
./makefile: line 17: syntax error near unexpected token `else'
./makefile: line 17: `else'
Now I think that I might be missing something very obvious. Any help would be appreciated.
EDIT: Also used different clients (5.0.9.1 and 7.0.52.2)
Thanks a lot.
if you're using any router on your PC, you must create proper port fowarding rules on your router
here you can test if sphere port is working fine on your server:
http://www.canyouseeme.org/
if even with port fowarding rules properly set you still unable to connect, try using the command SERV.SERVIP=0.0.0.0 (insert your IP here)
PS: on servers with static IP, you can make this command run automatically at server startup, just add the command on sphere_serv_triggers.scp -> f_onserver_start
(01-15-2017 06:36 PM)Coruja Wrote: [ -> ]if even with port fowarding rules properly set you still unable to connect, try using the command SERV.SERVIP=0.0.0.0 (insert your IP here)
PS: on servers with static IP, you can make this command run automatically at server startup, just add the command on sphere_serv_triggers.scp -> f_onserver_start
This solved my issue. Thanks a lot Coruja
