|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
Join Date: Nov 2006
Location: Florida
Age: 34
Posts: 100
|
i have a server on my comp with xp pro works great..
also i have vista on this new comp here is the problem.... all the addresses im probably got something set wrong any ideas? this is a screenshot so i dont mess anything up trying to explain lol http://i48.photobucket.com/albums/f2...rCapture19.jpg |
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
Join Date: Nov 2003
Location: Illinois, USA
Age: 22
Posts: 2,911
|
nope they are right, they are IPv6 addresses as well as the IPv4.
__________________
Useful links (Use them or die in a fire!!!): Ultimate Little Guide, C# Tutorials & Docs, RunUO Basic Scripts, Run UO How to..., Configure server for connections, Scripting for Dummies, Common Problem Solutions, FAQ Forum, RunUO Wiki, Basic Generics, Xml Tutorial |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Nov 2003
Location: Illinois, USA
Age: 22
Posts: 2,911
|
yep, RunUO and vista dont quite go together yet. You could try disabling IPv6, but i dunno if that will work or not (I didnt try it cause i dont see that as a real solution, only a temporary one). David started a thread about it back in november if you want to look for it for more details.
__________________
Useful links (Use them or die in a fire!!!): Ultimate Little Guide, C# Tutorials & Docs, RunUO Basic Scripts, Run UO How to..., Configure server for connections, Scripting for Dummies, Common Problem Solutions, FAQ Forum, RunUO Wiki, Basic Generics, Xml Tutorial |
|
|
|
|
|
#6 (permalink) |
|
Forum Expert
Join Date: Nov 2003
Location: Illinois, USA
Age: 22
Posts: 2,911
|
yep, sorry i couldnt be more help
![]()
__________________
Useful links (Use them or die in a fire!!!): Ultimate Little Guide, C# Tutorials & Docs, RunUO Basic Scripts, Run UO How to..., Configure server for connections, Scripting for Dummies, Common Problem Solutions, FAQ Forum, RunUO Wiki, Basic Generics, Xml Tutorial |
|
|
|
|
|
#7 (permalink) |
|
Forum Expert
Join Date: Apr 2006
Location: The Great White North!
Age: 34
Posts: 887
|
Last I remember, you can't disable IPv6 in Vista... Microsoft would rather developers redevelop their software to support IPv6 than provide a way of disabling IPv6 in Vista. I also seem to remember that anything found on how to disable IPV6 only disabled parts of it and not the whole.
However, if I remember correctly, and if the theory is correct, the whole RunUO not playing well with Vista thing comes about when you do an upgrade to Vista from an existing XP install. When others tried installing Vista from scratch after reformatting first, there were no problems. Again, that's only if I remember correctly.
__________________
I R GEEK! |
|
|
|
|
|
#8 (permalink) | |
|
Master of the Internet
Join Date: Oct 2005
Age: 45
Posts: 6,283
|
Quote:
![]()
__________________
Why is it that I'm never as smart as I thought I was yesterday? My vast knowledge is only surpassed by my infinite ignorance. <TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him |
|
|
|
|
|
|
#10 (permalink) | |
|
Forum Expert
Join Date: Nov 2003
Location: Illinois, USA
Age: 22
Posts: 2,911
|
Quote:
__________________
Useful links (Use them or die in a fire!!!): Ultimate Little Guide, C# Tutorials & Docs, RunUO Basic Scripts, Run UO How to..., Configure server for connections, Scripting for Dummies, Common Problem Solutions, FAQ Forum, RunUO Wiki, Basic Generics, Xml Tutorial |
|
|
|
|
|
|
#11 (permalink) |
|
Forum Expert
|
Yep I'm the same Vista Ultimate,
RunUO SVN downloaded today and compiled and same problem here is the crash report Code:
Server Crash Report =================== RunUO Version 2.0, Build 2604.36716 Operating System: Microsoft Windows NT 6.0.6000.0 .NET Framework: 2.0.50727.312 Time: 17/02/2007 8:28:45 PM Mobiles: 0 Items: 2 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_ReplyAck(NetState state) at Server.Network.PacketHandlers.AccountLogin(NetState state, PacketReader pvSrc) at Server.Network.MessagePump.HandleReceive(NetState ns) at Server.Network.MessagePump.Slice() at Server.Core.Main(String[] args) Clients: - Count: 1 + 127.0.0.1: (account = xxxxx) |
|
|
|
|
|
#12 (permalink) |
|
Forum Expert
Join Date: Nov 2003
Location: Illinois, USA
Age: 22
Posts: 2,911
|
Yep same here, and I know why it is doing it too, just not quite how to fix it...
__________________
Useful links (Use them or die in a fire!!!): Ultimate Little Guide, C# Tutorials & Docs, RunUO Basic Scripts, Run UO How to..., Configure server for connections, Scripting for Dummies, Common Problem Solutions, FAQ Forum, RunUO Wiki, Basic Generics, Xml Tutorial |
|
|
|
|
|
#13 (permalink) |
|
Forum Expert
Join Date: Jul 2005
Location: Istanbul/Turkey
Age: 27
Posts: 425
|
I think I did write a possible solution for that problem in the thread.
__________________
"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." |
|
|
|
|
|
#14 (permalink) |
|
Master of the Internet
Join Date: Oct 2005
Age: 45
Posts: 6,283
|
Which thread where?
__________________
Why is it that I'm never as smart as I thought I was yesterday? My vast knowledge is only surpassed by my infinite ignorance. <TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him |
|
|
|
|
|
#15 (permalink) |
|
Forum Expert
Join Date: Jul 2005
Location: Istanbul/Turkey
Age: 27
Posts: 425
|
__________________
"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." |
|
|
|
|
|
#16 (permalink) |
|
Forum Expert
Join Date: Nov 2003
Location: Illinois, USA
Age: 22
Posts: 2,911
|
yeah I know and I can get the server to completely support IPv6 and IPv4 addresses (I think), but no way to test it because the server sends its ip address as an integer to the client multiple times, but you cannot cast an IPv6 address to an integer because it is too large (You could just send the IPv4 equivalent, but thats not a true solution). The reason we are getting this crash is because for IPv4 IPAddress in the .net framework, there is an Address property
Code:
IPAddress ipv4 = new IPAddress(); ipv4.Address //returns a long number of the address
__________________
Useful links (Use them or die in a fire!!!): Ultimate Little Guide, C# Tutorials & Docs, RunUO Basic Scripts, Run UO How to..., Configure server for connections, Scripting for Dummies, Common Problem Solutions, FAQ Forum, RunUO Wiki, Basic Generics, Xml Tutorial |
|
|
|
|
|
#17 (permalink) |
|
Forum Expert
Join Date: Jul 2005
Location: Istanbul/Turkey
Age: 27
Posts: 425
|
I really didnt understand the problem you are describing..
__________________
"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." |
|
|
|
|
|
#18 (permalink) |
|
Forum Expert
Join Date: Nov 2003
Location: Illinois, USA
Age: 22
Posts: 2,911
|
IPv46 IPAddress in the .net framework dont support a property that IPv4 IPAddress do support, and so when the server tries to find this property it crashes.
__________________
Useful links (Use them or die in a fire!!!): Ultimate Little Guide, C# Tutorials & Docs, RunUO Basic Scripts, Run UO How to..., Configure server for connections, Scripting for Dummies, Common Problem Solutions, FAQ Forum, RunUO Wiki, Basic Generics, Xml Tutorial |
|
|
|
|
|
#19 (permalink) |
|
Forum Expert
Join Date: Jul 2005
Location: Istanbul/Turkey
Age: 27
Posts: 425
|
you do understand the changes I am talking about (the code snippet in the link) should be applied on the server, right ?
__________________
"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." |
|
|
|
|
|
#20 (permalink) |
|
Forum Expert
Join Date: Nov 2003
Location: Illinois, USA
Age: 22
Posts: 2,911
|
yes, I know, and Ive made the changes, but they do not help the crash. What happens is the server sends the IPv4 address to the client as an integer. A IPv6 address cannot be an integer and doesnt support the method that the server uses to find this integer, this is what causes the crash.
__________________
Useful links (Use them or die in a fire!!!): Ultimate Little Guide, C# Tutorials & Docs, RunUO Basic Scripts, Run UO How to..., Configure server for connections, Scripting for Dummies, Common Problem Solutions, FAQ Forum, RunUO Wiki, Basic Generics, Xml Tutorial |
|
|
|
|
|
#21 (permalink) |
|
Master of the Internet
Join Date: Oct 2005
Age: 45
Posts: 6,283
|
Basically, he needs a way to convert an IPv6 IP address to an IPv4 IP address reasonably easily.
__________________
Why is it that I'm never as smart as I thought I was yesterday? My vast knowledge is only surpassed by my infinite ignorance. <TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him |
|
|
|
|
|
#22 (permalink) |
|
Forum Expert
Join Date: Jul 2005
Location: Istanbul/Turkey
Age: 27
Posts: 425
|
you cannot convert IPv6 to IPv4.
I dont have runuo codes right now, so I cannot check the issue you are talking about. but why server is sending its own ip to the client? the client is already well aware of that ip therefore it is connected to the server. are you sure about this? anyway, since it is on the server side, it could be handled. if you could paste the code you are talking about, I might help..
__________________
"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." |
|
|
|
|
|
#23 (permalink) |
|
Master of the Internet
Join Date: Oct 2005
Age: 45
Posts: 6,283
|
Well, there are several applications that claim you can convert IPv6 to IPv4...
__________________
Why is it that I'm never as smart as I thought I was yesterday? My vast knowledge is only surpassed by my infinite ignorance. <TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him |
|
|
|
|
|
#24 (permalink) |
|
Forum Expert
Join Date: Jul 2005
Location: Istanbul/Turkey
Age: 27
Posts: 425
|
I think those applications convert IPv4 to IPv6, not IPv6 to IPv4.
__________________
"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." |
|
|
|
|
|
#25 (permalink) |
|
Forum Expert
Join Date: Nov 2003
Location: Illinois, USA
Age: 22
Posts: 2,911
|
OK the solution!!!!!!!! (Part 1)
After much work, and much help from Zippy, Jeff, and Malaperth, we have come up with a solution! ***Removed unneeded mod** You need a custom ServerList.cs in the distro scripts. You need to specify an IP address manually. For me, it was: Code:
public static readonly string Address = "192.168.1.65"; See Part 2 for the rest of the solution (as only doing this step would allow connections from XP but not vista, i believe)
__________________
Useful links (Use them or die in a fire!!!): Ultimate Little Guide, C# Tutorials & Docs, RunUO Basic Scripts, Run UO How to..., Configure server for connections, Scripting for Dummies, Common Problem Solutions, FAQ Forum, RunUO Wiki, Basic Generics, Xml Tutorial Last edited by mordero; 02-17-2007 at 08:32 PM. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|