The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lan connection problem
Author Message
ChaveS
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2012
Reputation: 0



Post: #1
Lan connection problem
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
10-17-2012 08:34 AM
Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

Posts: 124
Likes Given: 0
Likes Received: 3 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #2
RE: Lan connection problem
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
10-17-2012 08:39 AM
Find all posts by this user Like Post Quote this message in a reply
ChaveS
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2012
Reputation: 0



Post: #3
RE: Lan connection problem
No results Sad
10-17-2012 04:13 PM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #4
RE: Lan connection problem
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.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
10-17-2012 04:57 PM
Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

Posts: 124
Likes Given: 0
Likes Received: 3 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #5
RE: Lan connection problem
(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
10-18-2012 05:59 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #6
RE: Lan connection problem
(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

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
10-18-2012 06:01 AM
Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

Posts: 124
Likes Given: 0
Likes Received: 3 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #7
RE: Lan connection problem
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
10-18-2012 06:29 AM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #8
RE: Lan connection problem
I must be right!!! (kidding)

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

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
10-18-2012 07:08 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Barnabus
Journeyman
*

Posts: 124
Likes Given: 0
Likes Received: 3 in 2 posts
Joined: Apr 2012
Reputation: 1



Post: #9
RE: Lan connection problem
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
10-18-2012 08:10 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #10
RE: Lan connection problem
muaaahahahahahahaha

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
10-18-2012 08:35 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)