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-23-2006, 04:57 PM   #1 (permalink)
Forum Newbie
 
Join Date: Nov 2006
Posts: 2
Exclamation Players from LAN and from INTERNET at the same time ?? - runuo 2.0

Hi, there are a lot of threads about this problem, I've spent days reading but, honestly, nothing still help me solving this problem.

I'll try to be as clear as I can describing the situation:

1) I'm running RunUO 2.0 on a dedicated server in my LAN, shard is up and working, my router is configured, up and working.

2) I'm using the standard ServerList.cs (the one in the distribution package) changing only the "public static readonly string Address" line.

3) If I put my local IP in the line, players from the LAN can play, Internet players out of the LAN can't, If I put my internet IP in the ServerList.cs, internet players can play, LAN players can't. When players can't join they receive the "can't attach to the server" famous message.

4) My router is configured to route the port 2593 from Internet to the LAN IP address of the server, it works perfectly when the public IP is specified in ServerList.cs but only for Internet players, LAN players can't play, even if they try to connect to the LAN or the Internet IP (using Razor).

5) If I try the Mr.Fixit ServerList.cs, the server does not start anymore saying:

RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
+ Misc/ServerList.cs:
CS0101: Line 9: The namespace 'Server.Misc' already contains a definition fo
r 'ServerList'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

...at this time, there is no way to restart the server, if I put the old standard ServerList.cs I have the same message, the same if I restore the backups, I have to put the backups in a fresh installation directory of RunUO to restart the server.

SO

I've read a lot about the problem so I know that the server gives back the address to the client that have to reconnect to the correct (LAN or Internet) IP, my questions are:

- is there a way to accept connections from LAN and from Internet at the same time ?

- if the answer is "use Mr.Fixit", would you please let me know if is compatible with RunUO 2.0 and if you have an idea about the error message i receive?

- is there a way to declare two IPs or configure RunUO to show two servers in the server chooser so players can select the Internet or LAN IP ?

Thank you very much, any help is appreciated.
Patrizio.
shapelessknt is offline   Reply With Quote
Old 11-23-2006, 05:15 PM   #2 (permalink)
Forum Novice
 
Join Date: Nov 2006
Posts: 335
Default

Quote:
Originally Posted by shapelessknt
5) If I try the Mr.Fixit ServerList.cs, the server does not start anymore saying:

RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
+ Misc/ServerList.cs:
CS0101: Line 9: The namespace 'Server.Misc' already contains a definition fo
r 'ServerList'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

...at this time, there is no way to restart the server, if I put the old standard ServerList.cs I have the same message, the same if I restore the backups, I have to put the backups in a fresh installation directory of RunUO to restart the server.

- if the answer is "use Mr.Fixit", would you please let me know if is compatible with RunUO 2.0 and if you have an idea about the error message i receive?

Patrizio.
You probably didnt delete the other serverlist.cs first. COMPLETELY delete it and you can just restore it from the original RUNUO2RC1 files if you need to

Yes it is compatible with 2RC1.

Whos your internet service provider and what do you have (dsl?, cable?)
Aaron Sithsong is offline   Reply With Quote
Old 11-23-2006, 06:58 PM   #3 (permalink)
Forum Expert
 
DreamCatcher's Avatar
 
Join Date: Jan 2006
Location: Kenaz:The Rebirth...You'll find it on ConnectUO ;)
Posts: 1,637
Default

You would have to copy and paste Mr. Fixits serverlist in your Runuo folder in your scripts/Misc folder...It will overide the standard serverlist.cs.... In your Edit serverlist in uogateway you put in your REAL ip..Go to this link here and put in whatever it tells you....When you restart your pc, Mr. Fixits serverlist cs. Should pick up whatever ip you have from there....

http://www.whatismyip.com/

Now with my LAN I was trying to connect thru it for some reason when I would try and log on my server I'm building....And it would not connect to it. Said the Server was taken down try again later error....

Mr Fixits serverlist will work with Runuo 2.0
__________________
**Fun things to do**
Put decaf in the coffee maker for 3 weeks. Once everyone has gotten over their caffeine addictions, switch to espresso.:D :eek:
DreamCatcher is offline   Reply With Quote
Old 11-23-2006, 07:36 PM   #4 (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

Try to use the original file without modīs.
MrBrain is offline   Reply With Quote
Old 11-23-2006, 08:24 PM   #5 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 45
Posts: 6,283
Default

He did, and it failed. He then copied MrFixit's serverlist.cs into his RunUO code and now has two copies of serverlist.cs, One needs to be removed.
Malaperth is offline   Reply With Quote
Old 11-24-2006, 06:22 AM   #6 (permalink)
Forum Newbie
 
Join Date: Nov 2006
Posts: 2
Default

Thank you very much to all of you for the replies:

--> Aaron Sithsong [GOD]

Quote:
You probably didnt delete the other serverlist.cs first. COMPLETELY delete it and you can just restore it from the original RUNUO2RC1 files if you need to
this is what I've done:
1) fresh install of runuo2rc1
2) server started, all works
3) shutdown the server
4) overwrited \programs\RunUO-2.0-RC1\Scripts\ServerList.cs with the Mr.Fixit one (http://www.uogateway.com/ServerList.cs)
5) server does not started with the error posted
6) again overwrited \programs\RunUO-2.0-RC1\Scripts\ServerList.cs with the original distribution package one
7) server does not start, again with the error posted

Quote:
Whos your internet service provider and what do you have (dsl?, cable?)
I'm over ADSL with Telecom, as said, it seems my connection have no problems.


---> DreamCatcher
I've installed Mr.Fixit ServerList.cs copying it to \Misc\ overwriting the old one, my server does not start and gives the error posted, so I can't use it.


--->MrBrain
With the original ServerList.cs without mods, only players from LAN can connect to the server, Internet players receive "cant' attach to server" error message.


--->Malaperth
how can I have two files with exactly the same name ? I've overwrited the original ServerList.cs with the Mr.Fixit in \Misc, have I to remove the script somewhere else ?

Thank you very much, I hope to read you soon.
Patrizio.
shapelessknt is offline   Reply With Quote
Old 11-24-2006, 06:29 AM   #7 (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

Use the windows search function to look for any cs files that contain "ServerList" inside. Maybe you accidently have copied it into another folder.
Sotho Tal Ker is offline   Reply With Quote
Old 11-24-2006, 10:15 AM   #8 (permalink)
Forum Novice
 
FingersMcSteal's Avatar
 
Join Date: Mar 2006
Location: North East, England, UK
Posts: 862
Send a message via ICQ to FingersMcSteal Send a message via MSN to FingersMcSteal
Default

I've had this problem a long time ago.

You'll probably find that theres nothing wrong with the servers setup at all, it's down to how you have the network setup at home/work etc etc.

i have a router connected straight out to the internet, the servers using the internet IP and all the port forwarding's done for the router.

The LAN i have is connected through the server and all the home PC's are connected to this via a hub, so basically if anyone at home wants internet access it runs through the server PC.

It was to do with the way the whole network setup IP address's the last time i checked, when i had a few problems.

Just a case of getting the network setup in the right way for it all to talk to each other then that should be it, don't forget to make changes to things like internal firewall settings etc etc.
FingersMcSteal is offline   Reply With Quote
Old 11-24-2006, 11:03 AM   #9 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 45
Posts: 6,283
Default

If this error you posted

Code:
+ Misc/ServerList.cs:
CS0101: Line 9: The namespace 'Server.Misc' already contains a definition fo
r 'ServerList'
is what the server refused to compile on, it can only mean one thing. The compiler has found two definitions for Serverlist. Unless something has changed since you posted that, you will need to find the two instances and remove one of them.
Malaperth is offline   Reply With Quote
Old 11-24-2006, 12:04 PM   #10 (permalink)
Forum Expert
 
Kenny164's Avatar
 
Join Date: Sep 2004
Location: Ballymena, Northern Ireland
Age: 23
Posts: 464
Send a message via MSN to Kenny164
Default

The way I do it is set the IP in serverlist to your LAN IP (192.168.1.4 for me), Make sure everyone on the LAN can access your computer with that address (including your router). You can do this by using UO to connect to the LAN IP(192.168.1.4).

Then access your router (192.168.1.1 on mine) to set up the NAT (usually through port forwarding) to tell it you have a server running on 192.168.1.4 with port number 2593. Check it from the net via UO connecting to ur INTERNET IP, or what i use is canyouseeme.org. This way you let your router do the hard job (well, its main job)... routing.

Good luck, works for me!

***Edit: Oh, if your dont using a router... or its not on ur LAN, then this will not work... (you might be able to bridge the 2 connection via the computer). Not too sure on this... but i think you can add multiple IP address settings in Serverlist for this
__________________
Use the middle mouse button on Here for forum rules, if nothing happens get firefox and try again!!!

Last edited by Kenny164; 11-24-2006 at 12:06 PM.
Kenny164 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 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5