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
Barnabus
Journeyman
*

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



Post: #11
RE: Lan connection problem
ahaa Big Grin lol

Sadly you best do what they say Chaves.

Though this : loginserver=LANIP,2594
You meant 127.0.0.1 or localhost right, rather than 192.168.1.something ?

I always have a problem with ServIP=127.0.0.1 thats why I turn // it all off except name port and SERV.ServIP=xxx.xxx.xxx.xxx in onServerStart
10-18-2012 08:59 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: #12
RE: Lan connection problem
I was using on both
[FUNCTION f_onserver_save]
SERV.SERVNAME Alliance WS
SERV.SERVIP 189.38.226.168,2594

and

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

f_onserver_start is very usefull, so people can connect on my servers


@EXTREME
[SERVERS]
Alliance WS
127.0.0.1
2594

Mas ai vai travar os caras quando quizerem logar...(aquela coisa do sphere que quando o cara loga no segundo server que aparece ele trava..)
E isso vai ajudar só para quem for logar da MAQUINA e nao da LAN... meu server ta na sala e eu to no quarto.. hehe

Mas me ajudou a pensar:

I fixed:
Quote:[SERVERS]
Alliance WS
189.38.226.168
2594

Alliance LOCAL
192.168.1.100
2594


thanks all
(This post was last modified: 10-18-2012 11:11 AM by ChaveS.)
10-18-2012 11:05 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: #13
RE: Lan connection problem
Peraí, deixa eu ver se entendi:
O shard tá em rede? Se sim, basta redirecionar a porta 2594 direto pro IP do pc host do shard.
No caso, não precisa ter 2 shards na lista a não ser que você queria.
Por isso eu falei pra você usar akele jeito.

PHP Code:
[function f_onaccount_login ou start]
SERV.SERVIP seu_ip_externo (o da internet

PHP Code:
[SERVERS]
Alliance WS
127.0.0.1
2594 

E claro redirecionar a porta no roteador como eu disse aí em cima.

ps: no serv.servip vc tah botando ,2594 .. pode tirar isso que não tem necessidade

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 11:36 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)