danielmuller
Apprentice
Posts: 18
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2016
Reputation: 0
|
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.
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 |
|
|
Extreme
Grandmaster Poster
Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20
SphereCommunity
|
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 |
|
|
danielmuller
Apprentice
Posts: 18
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2016
Reputation: 0
|
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 |
|
|
danielmuller
Apprentice
Posts: 18
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2016
Reputation: 0
|
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 |
|
|
Extreme
Grandmaster Poster
Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20
SphereCommunity
|
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 |
|
The following 1 user Likes Extreme's post:1 user Likes Extreme's post
invernizzi (09-03-2016)
|