-
Server WAN IP checker/updater for dynamic IPs v1.2!
This should please a few people with dynamic IP addresses.
This small mod will check the WAN IP of your server whenever the server starts up, "service cabal start" or "service cabal restart" is called and update your WorldSvr config ini files with the current IP before the services (re)start. It pretty much saves you having to worry about changing the IP address in your configs every time the server IP changes.
This is best used with a no-ip type hostname in the internal.txt of your player's game client.
Big thanks to [hidden] and Cath22 for testing and ideas.
Download -> http://www.mediafire.com/download.php?dzyyzon1kz1
Quote:
Originally Posted by me
Dynamic ip auto config for Cabal v1.2
=======================================
Checks the WAN IP when the server starts and updates all worldsvr ini
files with the current one.
Working DNS is required on the centos machine or this won't work. You
must be able to browse the web or ping hosts from centos or the script
can't figure out the IP.
This is only needed for non-chumpy servers or chumpy v1 and v2 servers
as the wan checker is already included in my v2.5 files. If you have
my 2.5 files then type "cabalhelp" to list your available commands.
Installation
==============
Copy the files to centos. Only /etc/init.d/cabal gets overwritten
so back up the old copy just in case.
Chmod /home/cabal/cabal_autorestart.sh to 0777.
Run /home/cabal/cabal_dynip.sh to see the commands it supports.
Removing
==========
To completely remove delete /home/cabal/cabal_dynip.sh and
/home/cabal/daemons/wancheck_daemon.sh. Also replace /etc/init.d/cabal
with your backed up copy.
What it does
==============
The cabal_dynip.sh is just the controller that enables you to switch on/off
the wancheck_daemon.sh from being called.
Whenever "service cabal start" or "service cabal restart" is called the
wancheck_daemon.sh script should run, test the WAN IP and update all worldsvr
config inis to the new IP if it has changed. This includes boot up as well as
manual starts.
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
Very useful release! its saving much of work, only service cabal restart and not need to change directly from the file. =] Recommended.
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
very nice sir chumps, you rock!!! :) i owe u a lot...
http://img216.imageshack.us/img216/2...mprocksxq1.jpg
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
i been waiting for this thanx bro
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
I should have watched my mouth and not said/talked shit to DeadlyData telling him things like your are not welcome here because then I become the one who is truly not welcome here.
-
1 Attachment(s)
re: Server WAN IP checker/updater for dynamic IPs v1.2!
im actually honnored coz im the 1st one to post an error ... LOL
and to quote "HELP" hehehehehe ^^
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
Quote:
Originally Posted by
chiosin2
im actually honnored coz im the 1st one to post an error ... LOL
and to quote "HELP" hehehehehe ^^
LOL, Chmod wan_check.sh to 0777.
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
this is what happens when people don't read threw a post only glimpse at something and not read it full. but real nice work chump,
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
Nice work Chumpy, thanks for this great release!
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
At last, I've found the treasure :) thanks for this fine release...
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
Sir Chumpy
is only for to be sure i wanna ask something,
Can i use this in files of DarkXl or only in your files ?
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
This will work with darkxl's files too, i made a separate release specifically to support other server files. My files actually have a slightly newer version already built in and i will be updating this one shortly so it has the same features.
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
thx i will do on my server
EDIT
Sir Chumpy
i put this tool in my server everithing is ok, i can login but if i no setup "gen_config.sh" and put the wan ip i cant pass to chanel screen,
i think what i no make a mistake, if i do correct me, can you include in you "wan_check.sh" the configuration of "gen_config.sh", and if no necesary include please tell me what i have to do for no do this every time start my server please.
Thansk in advance.
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
This version of the wan check is a bit dumber than my current one as it doesn't compare against the current IP it just replaces regardless. The wan check is now a totally seperate command in my files now and once it has been tested a bit better i will release a version that will work with other files (mine relies on other bits of my files).
Also, gen_config.sh isn't one of my scripts. In v1 of my files i had a gen_config2.sh and in 2.0+ it is cabal_config.sh. The gen_config.sh in darkxl's files doesn't really work which is why i rewrote it in the first place for my repack ;)
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
sir chumps this is a nice share of yours, but i encounter this problem, every time i try to "service cabal start" it corrupts my WorldServer.ini?
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
I should have watched my mouth and not said/talked shit to DeadlyData telling him things like your are not welcome here because then I become the one who is truly not welcome here.
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
Quote:
Originally Posted by
Terbee
sir chumps this is a nice share of yours, but i encounter this problem, every time i try to "service cabal start" it corrupts my WorldServer.ini?
How does it do this? Does it completely empty it or just remove values? This version of the dynip (as it is now called) is pretty dumb and doesn't really check that it is putting a valid IP in there and sometimes it can put empty values if that is what it gets back from the ip check.
I am about to release an update for this but a bug has been found and i don't want to release it until i know the bug is gone so it will probably be tomorrow.
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
I should have watched my mouth and not said/talked shit to DeadlyData telling him things like your are not welcome here because then I become the one who is truly not welcome here.
-
re: Server WAN IP checker/updater for dynamic IPs v1.2!
Perfect chumpywumpy !!
I use this and work !!...
-
Re: Server WAN IP checker/updater for dynamic IPs v1.2!
Updated. This should now be a lot more reliable. Check the readme as the name of the script has been changed to the format used by my server files so manually uninstall the old one first ;)
-
Re: Server WAN IP checker/updater for dynamic IPs v1.2!
is this included in the repack 2.5
-
Re: Server WAN IP checker/updater for dynamic IPs v1.2!
I should have watched my mouth and not said/talked shit to DeadlyData telling him things like your are not welcome here because then I become the one who is truly not welcome here.
-
Re: Server WAN IP checker/updater for dynamic IPs v1.2!
v1.2 of the dynip script isn't in v2.5 of my server files but 1.0 is. You can upgrade the version in your v2.5 server by installing this though, or you can use it standalone in any other server files.
-
Re: Server WAN IP checker/updater for dynamic IPs v1.2!
I should have watched my mouth and not said/talked shit to DeadlyData telling him things like your are not welcome here because then I become the one who is truly not welcome here.
-
Re: Server WAN IP checker/updater for dynamic IPs v1.2!
-
Soz for the bump. But can anyone post a mirror of the download...? because megafire isn't working for me at the momment.
thank you very much xD
-
Re: Server WAN IP checker/updater for dynamic IPs v1.2!
let`s try to focus on the topic...
-
Re: Server WAN IP checker/updater for dynamic IPs v1.2!
hello , anyone can upload new one?
link is dead :X
-
Re: Server WAN IP checker/updater for dynamic IPs v1.2!
Quote:
Originally Posted by
Trojan123
hello , anyone can upload new one?
link is dead :X
link no dead ??
New link : Zippyshare.com - cabal_dynip-1.2.7z
Original : cabal_dynip-1.2.7z <<<< Work ?? No dead
-
Re: Server WAN IP checker/updater for dynamic IPs v1.2!
hello , anyone can upload new one?
link is dead :X