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 |
|
|