From 4bce0050bec9088d19f6fa3e8cd278987761a4b1 Mon Sep 17 00:00:00 2001 From: Mark Sturgill Date: Sat, 15 Feb 2014 15:05:54 -0700 Subject: [PATCH] change serverlist public ip address autodetection url fixed base OnSubItemAdded being hidden in playermobile --- Scripts/Misc/ServerList.cs | 2 +- Scripts/Mobiles/PlayerMobile.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Scripts/Misc/ServerList.cs b/Scripts/Misc/ServerList.cs index 714bc51ed..f8de32be8 100644 --- a/Scripts/Misc/ServerList.cs +++ b/Scripts/Misc/ServerList.cs @@ -170,7 +170,7 @@ namespace Server.Misc private static IPAddress FindPublicAddress() { try { - WebRequest req = HttpWebRequest.Create( "http://www.runuo.com/ip.php" ); + WebRequest req = HttpWebRequest.Create( "https://zenvera.com/ip.php" ); req.Timeout = 15000; WebResponse res = req.GetResponse(); diff --git a/Scripts/Mobiles/PlayerMobile.cs b/Scripts/Mobiles/PlayerMobile.cs index 77d77c2e4..0ce0ae1ad 100644 --- a/Scripts/Mobiles/PlayerMobile.cs +++ b/Scripts/Mobiles/PlayerMobile.cs @@ -1306,6 +1306,8 @@ namespace Server.Mobiles if ( curWeight > maxWeight ) this.SendLocalizedMessage( 1019035, true, String.Format( " : {0} / {1}", curWeight, maxWeight ) ); } + + base.OnSubItemAdded(item); } public override bool CanBeHarmful( Mobile target, bool message, bool ignoreOurBlessedness )