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-nmm6 (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-nmm6 (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-nmm6 (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
Problem with [SERVERS]
Author Message
rastrero
Master
**

Posts: 250
Likes Given: 41
Likes Received: 28 in 24 posts
Joined: Jan 2016
Reputation: 3



Post: #11
RE: Problem with [SERVERS]
evening´s way shuould works.
06-30-2016 04:52 PM
Find all posts by this user Like Post Quote this message in a reply
danielmuller
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2016
Reputation: 0



Post: #12
RE: Problem with [SERVERS]
(06-30-2016 04:31 AM)evening Wrote:  sphere.ini
ServIP=127.0.0.1
ServPort=2593
//[SERVERS]
//Server Name
//127.0.0.1
//2593
sphere_serv_triggers.scp
find f_onserver_start
[FUNCTION f_onserver_start]
add
SERV.SERVIP=123.189.10.113 // External IP

start SphereSvr.exe

login.cfg
LoginServer=123.189.10.113,2593

my english is not good sorry

Tanks for reply.. but dont works my friend.. and your english is very easy learn Wink
(This post was last modified: 06-30-2016 10:59 PM by danielmuller.)
06-30-2016 10:58 PM
Find all posts by this user Like Post Quote this message in a reply
evening
Journeyman
*

Posts: 138
Likes Given: 0
Likes Received: 14 in 9 posts
Joined: Apr 2012
Reputation: 1

Finally Land

Post: #13
RE: Problem with [SERVERS]
(06-30-2016 10:58 PM)danielmuller Wrote:  
(06-30-2016 04:31 AM)evening Wrote:  sphere.ini
ServIP=127.0.0.1
ServPort=2593
//[SERVERS]
//Server Name
//127.0.0.1
//2593
sphere_serv_triggers.scp
find f_onserver_start
[FUNCTION f_onserver_start]
add
SERV.SERVIP=123.189.10.113 // External IP

start SphereSvr.exe

login.cfg
LoginServer=123.189.10.113,2593

my english is not good sorry

Tanks for reply.. but dont works my friend.. and your english is very easy learn Wink

need to set up the router virtual server
set ip and port
06-30-2016 11:48 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
danielmuller
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2016
Reputation: 0



Post: #14
RE: Problem with [SERVERS]
(06-30-2016 11:48 PM)evening Wrote:  
(06-30-2016 10:58 PM)danielmuller Wrote:  
(06-30-2016 04:31 AM)evening Wrote:  sphere.ini
ServIP=127.0.0.1
ServPort=2593
//[SERVERS]
//Server Name
//127.0.0.1
//2593
sphere_serv_triggers.scp
find f_onserver_start
[FUNCTION f_onserver_start]
add
SERV.SERVIP=123.189.10.113 // External IP

start SphereSvr.exe

login.cfg
LoginServer=123.189.10.113,2593

my english is not good sorry

Tanks for reply.. but dont works my friend.. and your english is very easy learn Wink

need to set up the router virtual server
set ip and port
the configuration of modem its OK route port and IP machine..
07-01-2016 12:19 AM
Find all posts by this user Like Post Quote this message in a reply
danielmuller
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2016
Reputation: 0



Post: #15
RE: Problem with [SERVERS]
I got it. I thank all who have posted some kind of help , especially the CRIMINAL that dispos of your time to help me up by team view. ByeLove

The config:

#### Sphereini
ServIP=127.0.0.1
[SERVERS]
Shard Name
IP MACHINE LOCAL
PORT

### sphere_serv_triggers.scp
ServIP=ExternalIP,port

thanks again!!!
07-06-2016 01:45 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: #16
RE: Problem with [SERVERS]
Hi Daniel.
Quick help:
In sphere.ini, let it's in default settings.
That are:
Code:
ServIP=127.0.0.1
SevPort=2593

[SERVERS]
Your Shard Name
127.0.0.1
2593

Now go to sphere_serv_triggers.scp
Find the function f_on_account_login
Inside it, write:
Serv.ServIP Your.External.IP.Here

Example:
Serv.ServIP yourshardip.no-ip.org

If your server router is already redirecting external connections (from your friend) to the server (to your shard). This is enough.

If it doesn't help, send me an email in portuguese.

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.
07-06-2016 01:45 PM
Find all posts by this user Like Post Quote this message in a reply
danielmuller
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2016
Reputation: 0



Post: #17
RE: Problem with [SERVERS]
(07-06-2016 01:45 PM)Extreme Wrote:  Hi Daniel.
Quick help:
In sphere.ini, let it's in default settings.
That are:
Code:
ServIP=127.0.0.1
SevPort=2593

[SERVERS]
Your Shard Name
127.0.0.1
2593

Now go to sphere_serv_triggers.scp
Find the function f_on_account_login
Inside it, write:
Serv.ServIP Your.External.IP.Here

Example:
Serv.ServIP yourshardip.no-ip.org

If your server router is already redirecting external connections (from your friend) to the server (to your shard). This is enough.

If it doesn't help, send me an email in portuguese.


already solved as described in the post above . anyway thanks to all!!!
07-08-2016 01:22 AM
Find all posts by this user Like Post Quote this message in a reply
invernizzi
Apprentice
*

Posts: 24
Likes Given: 8
Likes Received: 1 in 1 posts
Joined: Jul 2016
Reputation: 0



Post: #18
RE: Problem with [SERVERS]
Hi folks,

I have a problem like it, but when my internet changes the IP, no one can log-in, i need to close the server and then start again, any idea how to solve it?

I´m using DNS Update, and it is fine, the IP is updated correctly, but Sphere dont "know" this, heheh. How to automaticaly change this IP on Sphere?
07-29-2016 01:14 AM
Find all posts by this user Like Post Quote this message in a reply
danielmuller
Apprentice
*

Posts: 18
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2016
Reputation: 0



Post: #19
RE: Problem with [SERVERS]
(07-29-2016 01:14 AM)invernizzi Wrote:  Hi folks,

I have a problem like it, but when my internet changes the IP, no one can log-in, i need to close the server and then start again, any idea how to solve it?

I´m using DNS Update, and it is fine, the IP is updated correctly, but Sphere dont "know" this, heheh. How to automaticaly change this IP on Sphere?

Fala grande, vou responder em português mesmo kakaka.. Seguinte.. tem algumas maneiras de fazer isso.. gosto muito de utilizar o mIRC para fazer diversas tarefas, pois é um software bem leve e tem infinitas possibilidades de checks runs timers etc..
Posso lhe ajudar a fazer um script dele que funcionaria da seguinte forma...
Timer check de ip.. mIRC iria checkar seu ip em tempos em tempos (5 min ex) e caso ele mude o IP ele kill seu sphere e o chama de volta.. como funcionaria isso com o sphere??
Criar um evento de logout para os players.. quando atingir 0 players ele da um Save total...
Assim aconteceria da seguinte forma.. IP mudou (todos iriam cair no server e o sphere iria dar SAVE)... mIRC checou seu ip alterado e killaria o processo do sphere e depois chamaria novamente com o IP ja atual, é uma maneira simples e sem mto frufru e funcionaria perfeitamente e sem gastar tanta RAM e processamento da máquina..
Se precisar de ajuda so me mandar um email! faço o script com gosto! Abraços!
(This post was last modified: 08-20-2016 12:03 AM by danielmuller.)
08-20-2016 12:02 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: #20
RE: Problem with [SERVERS]
(07-29-2016 01:14 AM)invernizzi Wrote:  Hi folks,

I have a problem like it, but when my internet changes the IP, no one can log-in, i need to close the server and then start again, any idea how to solve it?

I´m using DNS Update, and it is fine, the IP is updated correctly, but Sphere dont "know" this, heheh. How to automaticaly change this IP on Sphere?
Read my last post and you will be fine.
Do exactly what I said, even if your ip changes, it will redirect to the noip that will redirect to the new ip.

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.
08-28-2016 12:43 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Extreme's post
Post Reply 


Forum Jump:


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