SphereCommunity
Lan connection problem - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Lan connection problem (/Thread-Lan-connection-problem)

Pages: 1 2


Lan connection problem - ChaveS - 10-17-2012 08:34 AM

When i try to connect

loginserver=LANIP,2594
i recieve Account already in use message

When i use the WAN IP
i recieve another message saying the client couldn't be attached

Quote:[SPHERE]
ServName=Alliance WS!
ServIP=127.0.0.1
ServPort=2594

[SERVERS]
Alliance WS
189.38.226.168
2594

[FUNCTION f_onserver_save]
SERV.SERVNAME Alliance WS
SERV.SERVIP 189.38.226.168,2594

Last build (0.56b from 2009)

whats happening


RE: Lan connection problem - Barnabus - 10-17-2012 08:39 AM

Try

[SPHERE]
ServName=Alliance WS!
//ServIP=127.0.0.1
ServPort=2594

[SERVERS]
//Alliance WS
//189.38.226.168
//2594

[FUNCTION f_onserver_start]
ServIP=189.38.226.168


RE: Lan connection problem - ChaveS - 10-17-2012 04:13 PM

No results Sad


RE: Lan connection problem - Extreme - 10-17-2012 04:57 PM

PHP Code:
[SPHERE]
ServName=Alliance WS!
ServIP=127.0.0.1
ServPort
=2594

[SERVERS]
Alliance WS
127.0.0.1
2594

[FUNCTION f_onserver_login]
SERV.SERVIP 189.38.226.168 
Isso vai funcionar Chavinho.


RE: Lan connection problem - Barnabus - 10-18-2012 05:59 AM

(10-17-2012 04:13 PM)ChaveS Wrote:  No results Sad

Delete that on server Save and it will be fine..

[SPHERE]
ServName=Alliance WS!
//ServIP=127.0.0.1
ServPort=2594

[SERVERS]
//Alliance WS
//189.38.226.168
//2594

[FUNCTION f_onserver_start]
ServIP=189.38.226.168

[FUNCTION f_onserver_save]
// NOTHING

Dont use Extremes [FUNCTION f_onserver_login]
Because the server starts before anyone logs in


RE: Lan connection problem - Extreme - 10-18-2012 06:01 AM

(10-18-2012 05:59 AM)Barnabus Wrote:  
(10-17-2012 04:13 PM)ChaveS Wrote:  No results Sad

Delete that on server Save and it will be fine..

[SPHERE]
ServName=Alliance WS!
//ServIP=127.0.0.1
ServPort=2594

[SERVERS]
//Alliance WS
//189.38.226.168
//2594

[FUNCTION f_onserver_start]
ServIP=189.38.226.168

[FUNCTION f_onserver_save]
// NOTHING

Dont use Extremes [FUNCTION f_onserver_login]
Because the server starts before anyone logs in
[FUNCTION f_onserver_login] works fine, I'd used it for years.
And you forgot the 'serv.' before ServIP=189.38.226.168


RE: Lan connection problem - Barnabus - 10-18-2012 06:29 AM

I guess it should be SERV. but its not required.
Login is fine, but it makes more sense to have it on start.

Either way it looks like nothing more than a case of grammer.

I wonder if he logged in yet


RE: Lan connection problem - Skul - 10-18-2012 07:08 AM

I must be right!!! (kidding)

Go with Extreme's answer, also add serv.servip xxx.xxx.xxx.xxx in [function f_onserver_start] too.


RE: Lan connection problem - Barnabus - 10-18-2012 08:10 AM

No no no no

Go with my answer I came first !!

I was the one that answered your question the other two are just giving me shite :>

Woot


RE: Lan connection problem - Extreme - 10-18-2012 08:35 AM

muaaahahahahahahaha