Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 11-26-2006, 02:13 AM   #1 (permalink)
Moderate
 
David's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 6,598
Default Windows Vista issues

I installed Windows Vista RTM this afternoon, as an upgrade over a working XP Pro install. It is running in 32 bit mode on a dual Xeon box with 2 Gig RAM and I am logged in with Admin privledges.

RunUO 2.0 RC1 runs up to the point that I log in with the UO client. The server closes and restarts as soon as I enter the user/pass on the client and click the triangle (next) button. Client and Server are running on the same computer.

Screen dump prior to the crash...
Quote:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Core: Running with arguments: -debug
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2107 items, 501 mobiles)
Regions: Loading...done
World: Loading...done (100039 items, 2463 mobiles) (3.62 seconds)
Reports: Stats: Loading...done
Reports: Staff: Loading...done
Address: 127.0.0.1:2593
Address: fe80::1c8c:1779:3f57:379c%8:2593
Address: fe80::5d3c:7c84:9227:eb57%7:2593
Address: fe80::5efe:192.168.200.99%10:2593
Address: 192.168.200.99:2593
Address: 2001:0:4136:e37c:1c8c:1779:3f57:379c:2593

Cleanup: Detected 1 inaccessible items, including 1 bank boxes, removing..
Server Crash log...
Quote:
Server Crash Report
===================

RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 6.0.6000.0
.NET Framework: 2.0.50727.312
Time: 11/25/2006 11:55:22 PM
Mobiles: 2463
Items: 100039
Clients:
- Count: 1
+ 127.0.0.1: (account = jdpelt)

Exception:
System.Net.Sockets.SocketException: The attempted operation is not supported for the type of object referenced
at System.Net.IPAddress.get_Address()
at Server.Network.AccountLoginAck..ctor(ServerInfo[] info)
at Server.Network.PacketHandlers.AccountLogin_ReplyAc k(NetState state)
at Server.Network.PacketHandlers.AccountLogin(NetStat e state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
__________________
David Forum Moderator
The RunUO.com Forum Moderator Team

Forum Rules and Guidelines
RunUO Forum Search Engine
Download RunUO 2.0 RC2

Last edited by David; 11-26-2006 at 02:21 AM.
David is offline   Reply With Quote
Old 11-26-2006, 02:22 AM   #2 (permalink)
Forum Newbie
 
Join Date: Aug 2003
Location: SP/Brasil
Age: 25
Posts: 85
Send a message via ICQ to MrBrain Send a message via MSN to MrBrain
Default

Maybe I´m SO WRONG, but.... runuo is prepared to accept IPV6 connections?

Disable Vista IPV6 support and try again.

Last edited by MrBrain; 11-26-2006 at 02:30 AM.
MrBrain is offline   Reply With Quote
Old 11-26-2006, 02:32 AM   #3 (permalink)
Forum Expert
 
WeEzL's Avatar
 
Join Date: Apr 2006
Location: The Great White North!
Age: 34
Posts: 887
Default

Quote:
Originally Posted by MrBrain
Maybe I can SO WRONG, but.... runuo is prepared to accept IPV6 connections?

Disable Vista IPV6 support and try again.
Just from what I've seen, I don't think RunUO is IPv6 ready... hence the troubles.

My question is does Vista have IPv6 enabled by default? I sure hope not.
__________________
I R GEEK!
WeEzL is offline   Reply With Quote
Old 11-26-2006, 02:48 AM   #4 (permalink)
Moderate
 
David's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 6,598
Default

Vista does have IPv6 installed by default. I disabled it and tried again... with basicly the same results.
Quote:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Core: Running with arguments: -debug
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2107 items, 501 mobiles)
Regions: Loading...done
World: Loading...done (100039 items, 2463 mobiles) (4.06 seconds)
Reports: Stats: Loading...done
Reports: Staff: Loading...done
Address: 127.0.0.1:2593
Address: fe80::1c8c:1779:3f57:379c%8:2593
Address: fe80::5efe:192.168.200.99%10:2593
Address: 192.168.200.99:2593
Address: 2001:0:4136:e37c:1c8c:1779:3f57:379c:2593
Cleanup: Detected 1 inaccessible items, including 1 bank boxes, removing..
Quote:
Server Crash Report
===================

RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 6.0.6000.0
.NET Framework: 2.0.50727.312
Time: 11/26/2006 12:46:01 AM
Mobiles: 2463
Items: 100039
Clients:
- Count: 1
+ 127.0.0.1: (account = jdpelt)

Exception:
System.Net.Sockets.SocketException: The attempted operation is not supported for the type of object referenced
at System.Net.IPAddress.get_Address()
at Server.Network.AccountLoginAck..ctor(ServerInfo[] info)
at Server.Network.PacketHandlers.AccountLogin_ReplyAc k(NetState state)
at Server.Network.PacketHandlers.AccountLogin(NetStat e state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
__________________
David Forum Moderator
The RunUO.com Forum Moderator Team

Forum Rules and Guidelines
RunUO Forum Search Engine
Download RunUO 2.0 RC2
David is offline   Reply With Quote
Old 11-26-2006, 03:08 AM   #5 (permalink)
Forum Expert
 
WeEzL's Avatar
 
Join Date: Apr 2006
Location: The Great White North!
Age: 34
Posts: 887
Default

Quote:
Originally Posted by David
Vista does have IPv6 installed by default.
Ugh! This is not good. I mean, I know it's about time to start trying to adopt IPv6, but why must Microsoft take it upon themselves to try to force the issue?
I can just imagine the number of "I can't get my server running" posts increasing once Vista becomes more widely adopted.
[/rant]

As for your problem David, it still appears that IPv6 is getting into the picture and causing problems. Just out of curiosity, have you completely removed IPv6 from your network configuration? Does Vista let you do that?
__________________
I R GEEK!
WeEzL is offline   Reply With Quote
Old 11-26-2006, 11:16 AM   #6 (permalink)
Forum Newbie
 
Join Date: Aug 2003
Location: SP/Brasil
Age: 25
Posts: 85
Send a message via ICQ to MrBrain Send a message via MSN to MrBrain
Default

After disabling the IPV6 from VISTA, try to disable and enable the connection.
To donīt wast time compiling scripts, try to view if this disappears.

I donīt have a Vista to test it now, but if you type ipconfig /all from console, they show if the ipv6 is already "up" or not.
MrBrain is offline   Reply With Quote
Old 11-26-2006, 03:51 PM   #7 (permalink)
Moderate
 
David's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 6,598
Default

I found an article on Microsoft' site that discusses how to disable IPv6... http://www.microsoft.com/technet/com...uy/cg0506.mspx

As per that article, I wrote a 0xFF to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\tcpip6\Parameters\DisabledComponents and restarted to computer.

Ipconfig now does not mention IPv6 (it did before.)
Quote:
Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\James>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : mypc
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : ccnwfl.local

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : ccnwfl.local
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Server Connection
Physical Address. . . . . . . . . : 00-0F-1F-88-CE-FC
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.200.99(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Sunday, November 26, 2006 1:40:27 PM
Lease Expires . . . . . . . . . . : Wednesday, November 29, 2006 1:40:26 PM
Default Gateway . . . . . . . . . : 192.168.200.2
DHCP Server . . . . . . . . . . . : 192.168.200.2
DNS Servers . . . . . . . . . . . : 205.152.132.23
205.152.37.23
NetBIOS over Tcpip. . . . . . . . : Enabled
However RunUO still has a hold over from it...
Quote:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Core: Running with arguments: -debug
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2107 items, 501 mobiles)
Regions: Loading...done
World: Loading...done (100039 items, 2463 mobiles) (4.51 seconds)
Reports: Stats: Loading...done
Reports: Staff: Loading...done
Address: 127.0.0.1:2593
Address: 192.168.200.99:2593
Address: ::1:2593
Cleanup: Detected 1 inaccessible items, including 1 bank boxes, removing..
And I still get a crash...
Quote:
Server Crash Report
===================

RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 6.0.6000.0
.NET Framework: 2.0.50727.312
Time: 11/26/2006 1:44:08 PM
Mobiles: 2463
Items: 100039
Clients:
- Count: 1
+ 127.0.0.1: (account = jdpelt)

Exception:
System.Net.Sockets.SocketException: The attempted operation is not supported for the type of object referenced
at System.Net.IPAddress.get_Address()
at Server.Network.AccountLoginAck..ctor(ServerInfo[] info)
at Server.Network.PacketHandlers.AccountLogin_ReplyAc k(NetState state)
at Server.Network.PacketHandlers.AccountLogin(NetStat e state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
__________________
David Forum Moderator
The RunUO.com Forum Moderator Team

Forum Rules and Guidelines
RunUO Forum Search Engine
Download RunUO 2.0 RC2
David is offline   Reply With Quote
Old 11-26-2006, 04:52 PM   #8 (permalink)
Forum Newbie
 
Join Date: Aug 2003
Location: SP/Brasil
Age: 25
Posts: 85
Send a message via ICQ to MrBrain Send a message via MSN to MrBrain
Default

Have you stopped the IPV6 Services?
MrBrain is offline   Reply With Quote
Old 11-26-2006, 05:19 PM   #9 (permalink)
Moderate
 
David's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 6,598
Default

Yes, sorry I should have added that last post was with the "IP Helper" service stopped and disabled. That was the only service that looked like it dealt specifically with IPv6.

The description of the service is...
Quote:
Provides automatic IPv6 connectivity over an IPv4 network. If this service is stopped, the machine will only have IPv6 connectivity if it is connected to a native IPv6 network.
It really sounded promising, but no help there.
__________________
David Forum Moderator
The RunUO.com Forum Moderator Team

Forum Rules and Guidelines
RunUO Forum Search Engine
Download RunUO 2.0 RC2
David is offline   Reply With Quote
Old 11-26-2006, 11:00 PM   #10 (permalink)
Forum Expert
 
WeEzL's Avatar
 
Join Date: Apr 2006
Location: The Great White North!
Age: 34
Posts: 887
Default

Quote:
Originally Posted by David
I found an article on Microsoft' site that discusses how to disable IPv6... http://www.microsoft.com/technet/com...uy/cg0506.mspx

As per that article, I wrote a 0xFF to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\tcpip6\Parameters\DisabledComponents and restarted to computer.
Crap... I had a feeling there were going to be some hoops to jump through to try to disable it.

After further research, I too found a MS knowledgebase article that basically provides a clear explanation of what is happening. It also goes on to say that MS would rather have developers redevelop their applications than to provide a way to remove IPv6 support from Vista.

I know this isn't an immediate solution, and I hate to say it, but maybe it's a better idea to try to modify RunUO to work with Vista than it is to try to modify Vista to work with RunUO. I mean, honestly, it might be easier to at least add some functionality to the server that just filters out the IPv6 addresses that are returned by Vista and use the IPv4 address(es). Vista is just going to be getting bigger and XP support is just going to dwindle as time goes on. If the process to remove IPv6 support from Vista is going to be difficult, I, for one, don't look forward to the many "How do I get my server to work with Vista?" questions from people who just bought themselves a new Dell or something (because you KNOW Dell is already one of the first on the Vista bandwagon). Sure, this doesn't solve your immediate problem David, but it might cut down on problems (at least for RunUO) in the future.

Sorry I couldn't add much more helpful information.
__________________
I R GEEK!

Last edited by WeEzL; 11-26-2006 at 11:08 PM.
WeEzL is offline   Reply With Quote
Old 11-26-2006, 11:25 PM   #11 (permalink)
Moderate
 
David's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 6,598
Default

Yep I pretty much came to the same conclusion. Hopefully the Devs are already looking at this, for myself I guess I need to do a hack job on the core, I just really didn't want to do that. I try to keep my development copy of RunUO as "pure" as possible.

I could go back to XP Pro, I did ghost the computer prior to the upgrade... but other than this issue I am liking Vista. I hate to give up on it.
__________________
David Forum Moderator
The RunUO.com Forum Moderator Team

Forum Rules and Guidelines
RunUO Forum Search Engine
Download RunUO 2.0 RC2
David is offline   Reply With Quote
Old 11-26-2006, 11:32 PM   #12 (permalink)
Forum Expert
 
WeEzL's Avatar
 
Join Date: Apr 2006
Location: The Great White North!
Age: 34
Posts: 887
Default

Is this possibly something that should be added to the issues database?
__________________
I R GEEK!
WeEzL is offline   Reply With Quote
Old 11-27-2006, 02:07 PM   #13 (permalink)
Forum Expert
 
Join Date: Jul 2005
Location: Istanbul/Turkey
Age: 27
Posts: 425
Default

try this one : http://support.microsoft.com/kb/811259
__________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
noobie is offline   Reply With Quote
Old 11-27-2006, 02:18 PM   #14 (permalink)
Forum Expert
 
Join Date: Jul 2005
Location: Istanbul/Turkey
Age: 27
Posts: 425
Default

here is also another possible explanation from .NEt lead dev:

http://forums.microsoft.com/MSDN/Sho...78862&SiteID=1

it is a bug with .NEt 2.0 which will be fixed in later versions.
__________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
noobie is offline   Reply With Quote
Old 11-27-2006, 02:22 PM   #15 (permalink)
Forum Expert
 
WeEzL's Avatar
 
Join Date: Apr 2006
Location: The Great White North!
Age: 34
Posts: 887
Default

noobie, the articles you linked are for Windows XP. This is actually an issue with Windows Vista... and I think we've narrowed it down to being a case of Vista's IPv6 functionality causing problems with the RunUO server startup (as that's what all the evidence points to).
__________________
I R GEEK!
WeEzL is offline   Reply With Quote
Old 11-27-2006, 04:40 PM   #16 (permalink)
Forum Expert
 
pacolaco2's Avatar
 
Join Date: Mar 2005
Age: 17
Posts: 1,117
Send a message via AIM to pacolaco2 Send a message via MSN to pacolaco2 Send a message via Yahoo to pacolaco2
Default

Quote:
Originally Posted by WeEzL
Ugh! This is not good. I mean, I know it's about time to start trying to adopt IPv6, but why must Microsoft take it upon themselves to try to force the issue?
I can just imagine the number of "I can't get my server running" posts increasing once Vista becomes more widely adopted.
[/rant]

As for your problem David, it still appears that IPv6 is getting into the picture and causing problems. Just out of curiosity, have you completely removed IPv6 from your network configuration? Does Vista let you do that?

Go IPv6 if you're a hacker. As far as I know (and have read), if you hack from and IPv6 connection to IPv4 network, you are completely stealthed.
__________________
Vaughn Peterson,
Kate Maclellan,
Drew Cook,
William Soverino,
rest in peace.
pacolaco2 is offline   Reply With Quote
Old 11-29-2006, 09:38 PM   #17 (permalink)
Forum Newbie
 
Join Date: Aug 2003
Location: SP/Brasil
Age: 25
Posts: 85
Send a message via ICQ to MrBrain Send a message via MSN to MrBrain
Default

Im trying to download Vista here and will test some workarounds.
But i need some days =[
MrBrain is offline   Reply With Quote
Old 11-30-2006, 08:28 AM   #18 (permalink)
Forum Novice
 
Join Date: Nov 2003
Location: New Zealand
Age: 21
Posts: 151
Send a message via ICQ to Bmzx007 Send a message via AIM to Bmzx007 Send a message via MSN to Bmzx007 Send a message via Yahoo to Bmzx007
Default

Well, Im running Vista Enterprise (Final Release Version) from the MS Licencing Site, and I have no issues running/logging into RunUO 2.0.

RunUO is a clean unpack, and the UO Client is Mondain's Legagy patched right up. This is also a clean install of Vista Enterprise (Except Drivers and MSN Messenger).

Code:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...done (cached)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2086 items, 497 mobiles)
Enter the Ultima Online directory:
> Z:\
Regions: Loading...done
World: Loading...done (99859 items, 2418 mobiles) (6.41 seconds)
This server has no accounts.
Do you want to create an administrator account now? (y/n)
Username: Admin
Password: *********
Account created.
Address: 127.0.0.1:2593
Address: fe80::bc02:82c2:56ab:9bea%11:2593
Address: 192.168.7.200:2593
Core: Using standard save strategy
World: Saving...done in 0.76 seconds.
Client: 192.168.7.200: Connected. [1 Online]
Client: 192.168.7.200: Encrypted client detected, disconnecting
Client: 192.168.7.200: Disconnected. [0 Online]
Client: 192.168.7.200: Connected. [1 Online]
Login: 192.168.7.200: Valid credentials for 'Admin'
Client: 192.168.7.200: Disconnected. [0 Online] [Admin]
Client: 192.168.7.200: Connected. [1 Online]
Login: 192.168.7.200: Account 'Admin' at character list
Login: 192.168.7.200: New character being created (account=Admin)
 - Character: asd (serial=0x00000003)
 - Started: Samurai DE (368, 780, -1) in Malas
Client: 192.168.7.200: Disconnected. [0 Online] [Admin]
As you can see, it connected, and ran perfectly fine. I ran around, spoke a world, clicked away two gumps and logged out.

(See the attached picture as proof if you need it).

As you can also see, I have not disabled IPv6, as it appears in the Address Listing.

What type of Vista are you running, and did you do anything to it (Those that have a clean install)?

Oh yeah, Specs. This was an AMD Athlon XP-M 2600+, with 1GB RAM (My Laptop, Yes it runs Vista well!).
Attached Images
File Type: png runuo2vistaent.png (868.6 KB, 52 views)

Last edited by Bmzx007; 11-30-2006 at 08:30 AM.
Bmzx007 is offline   Reply With Quote
Old 11-30-2006, 10:36 AM   #19 (permalink)
Forum Expert
 
WeEzL's Avatar
 
Join Date: Apr 2006
Location: The Great White North!
Age: 34
Posts: 887
Default

Well that's interesting! Hmmm... guess that means that we should wait and see who else has problems in Vista (if any) before jumping to a conclusion.
__________________
I R GEEK!
WeEzL is offline   Reply With Quote
Old 11-30-2006, 11:56 PM   #20 (permalink)
Moderate
 
David's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 6,598
Default

Huh. I did an upgrade over XP Pro so it is not a "clean" install. I am running Vista Ultimate RTM (release to market) so it should be essentially the same product you are using. The RunUO install was also existing... it is fairly clean as I try to keep only the custom scripts I am working on at the moment installed. The machine is a Dell Precision Workstation, dual 3.0 GHz Xeon with 2 Gig of RAM and a WD Raptor system drive. I don't think lack of power is an issue. I wonder if having multiple versions of Framework loaded is a problem? Did you install Framework 2 on your Vista?
__________________
David Forum Moderator
The RunUO.com Forum Moderator Team

Forum Rules and Guidelines
RunUO Forum Search Engine
Download RunUO 2.0 RC2
David is offline   Reply With Quote
Old 12-01-2006, 12:34 AM   #21 (permalink)
Forum Expert
 
milt's Avatar
 
Join Date: Nov 2003
Location: Lancaster, PA
Age: 20
Posts: 1,606
Send a message via AIM to milt Send a message via Yahoo to milt Send a message via Skype™ to milt
Default

Honestly it looks like it is still a Vista problem. The crash log appears that it is still somehow obtaining an IPv6 IP address. With that, I don't believe that any modification of RunUO would help (unless of course you added IPv6 support, in which I would presume that is probably not an option in this case ).

I wish I could help you more, but I don't really know much about Vista.
__________________
--Milt, AKA Pokey

Last edited by milt; 12-01-2006 at 12:38 AM.
milt is offline   Reply With Quote
Old 12-01-2006, 12:53 AM   #22 (permalink)
Forum Expert
 
Vorspire's Avatar
 
Join Date: Jan 2005
Location: Newcastle, United Kingdom
Age: 21
Posts: 2,296
Send a message via ICQ to Vorspire Send a message via MSN to Vorspire Send a message via Skype™ to Vorspire
Default

I know this post isn't too constructive, but;

Vista really really does suck balls, as does XP, ME, 98 and 95.

I reccommend never running a server application on any platform not designed for serving clients.

NT4+ all the way..
__________________

RPK.VORSPIRE.COM - The WoW-UO Cross-Over Shard
Vorspire is offline   Reply With Quote
Old 12-01-2006, 02:57 AM   #23 (permalink)
Forum Expert
 
Join Date: Mar 2005
Location: Berlin, Germany
Age: 27
Posts: 1,136
Send a message via ICQ to Sotho Tal Ker Send a message via MSN to Sotho Tal Ker
Default

Then i suggest you use Windows Server 2003 instead of NT4+
Sotho Tal Ker is offline   Reply With Quote
Old 12-01-2006, 03:27 AM   #24 (permalink)
ConnectUO Creator
 
Jeff's Avatar
 
Join Date: Jan 2004
Age: 27
Posts: 4,881
Default

Unless im blind im suprise no one has suggested to just try to recompile the core with this simple mod

/Network/Listener.cs Line: 92
Code:
			Socket s = new Socket( AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp );
To: