Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Releases

Custom Script Releases This forum is where you can release your custom scripts for other users to use.

Please note: By releasing your scripts here you are submitting them to the public and as such agree to publish them under the GPL licensing terms. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO.

Reply
 
Thread Tools Display Modes
Old 10-07-2008, 02:46 PM   #1 (permalink)
Forum Novice
 
Join Date: Jan 2006
Posts: 397
Default [RunUO 2.0 SVN] Dynamic IP Updater

This is a modification to the default serverlist.cs file to periodically check the IP address and update it if it has changed. This was made primarly for people who's IP address changes fairly frequently, but can be used with mostly static addresses as well. What it does is to add a timer that fires every minute (adjustable in the script) to check the IP address and update it, displaying a message on the console if it's changed.

All changes are contained within #region directives. The first edit contains the only 2 variables that need to be changed. As with any modification of distro files, please backup your original file before merging these edits.
Attached Files
File Type: cs ServerList.cs (7.1 KB, 61 views)
razzles is offline   Reply With Quote
Old 10-07-2008, 03:05 PM   #2 (permalink)
Forum Expert
 
Manu's Avatar
 
Join Date: Jul 2005
Location: München/Deutschland (Munich/Germany)
Age: 28
Posts: 1,953
Send a message via ICQ to Manu Send a message via Skype™ to Manu
Default

Nice one
__________________
Probability of accomplishing anything: Zero
Manu is offline   Reply With Quote
Old 10-08-2008, 02:03 PM   #3 (permalink)
Newbie
 
Join Date: Oct 2006
Location: Indiana
Age: 45
Posts: 53
Default Thank you!

i've been needing this!
Aurboda is offline   Reply With Quote
Old 10-21-2008, 07:41 AM   #4 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,950
Default

All this does is send a new message about what the IP is to the Server Window every so often. I wrote one ages ago for 1.0 that updates places like DynDNS and No-IP it may still work for 2.0 but I doubt it. Thanks for the contribution though.
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline   Reply With Quote
Old 10-21-2008, 11:46 AM   #5 (permalink)
Newbie
 
Join Date: Oct 2006
Location: Indiana
Age: 45
Posts: 53
Default This actually solved a problem I was having

this scipt is helpful. As prior to using this script, whenever my IP address changed, even though No-ip redirected to the new IP, players couldn't reconnect until the RunUO RC2 server was manually reset. (which usually happened when I was out shopping, at work, or sleep)
Aurboda is offline   Reply With Quote
Old 10-21-2008, 12:32 PM   #6 (permalink)
Forum Novice
 
Join Date: Jan 2006
Posts: 397
Default

Quote:
Originally Posted by Aurboda View Post
this scipt is helpful. As prior to using this script, whenever my IP address changed, even though No-ip redirected to the new IP, players couldn't reconnect until the RunUO RC2 server was manually reset. (which usually happened when I was out shopping, at work, or sleep)
Glad it helped you. My IP is mostly static (hasn't changed in almost a year now), but I've seen posts a few times from others with problems like yours and that's what inspired me to write this.
razzles is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5