|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Newbie
Join Date: Aug 2007
Posts: 11
|
Ok i will try to give as much information about what i have as possible.
I have Ip.from whats My.ip and it changes when i log off so i went to No Ip.com and Got This : atarules.no-ip.org Now i havn't downloaded the client from them yet that will redirect consitant for you, but am about to do that. -------------------------------------------------------------------------- Next : I am total forgetting what i should put in my serverlist.cs, been years since i last did this ![]() here is what i have so far: namespace Server.Misc { public class ServerList { /* Address: * * The default setting, a value of 'null', will attempt to detect your IP address automatically: * private const string Address = "atarules.no-ip.org"; * * This detection, however, does not work for servers behind routers. If you're running behind a router, put in your IP: * private const string Address = "192.xxx.0.xx"; * * If you need to resolve a DNS host name, you can do that too: * private const string Address = "ata rules"; */ public const string Address = "atarules.no-ip.org"; public const string ServerName = "ata rules"; public static void Initialize() { Listener.Port = 2593; -------------------------------------------------------------------- My Ip at whats My Ip is 71.35.27.XXX My Ip From start/run/cmd/ipconfig is : 192.xxx.0.xx subnet mask : 255.xxx.xxx.xxx Default Gateway is : 192.xxx.0.1 ------------------------------------------------------------- SO Now Onto The Router My Router is: Linkys Wrt54G ------------------------------------------------------------- On My computer i can click on my connections and I can Access A Panel... then In general I click Properties ..... Then in general i have choices in the box to choose from I chose TCP/IP Then I click on Propertien here I am to::: Input Ip Adress: Which Ip addy do i put here ? noip ? what my ip ip ? OR start/run/cmd/Ip adress = this is the one i put in Then I am asked to add in subnet mask: XXXXXXXX Then to add In Default Gatway : XXXXXXXXX Then it next asks me to put in Preferred and Alternate DNS Ser : NO CLUE WHAT TO PUT HERE __________________________________________________ ___________ Now where do i open Port 2593 again ????? __________________________________________________ ___________ OK NoW::: some goto a web page to access Panel , They Type In web searc the Ip and come to a Page that they can Log In with admin/admin or admin/passcode, Then they are able to Port Forward. Wll Not Mine I come to a page But No where Does it ask me to log in It says My ISP at the To of the page, and No Where can i find any place to port forward...This is what the page has onit ::::: when i input 192.xxx.x.x into my address bar of search I come to The page But no where on page is a place to Mess with Port Forwarding. No log in type admin/admin etc. I found area to mess with firwall and view lots of other stuff but not finding any place on this place for Port Forwarding Looks like this :::: Quest / System links: Summary Password /Date and Time/ Details Status /WAN Status/ LAN Status Broadband links: Summary /Details /Diagnostics /Statistics / advanced Settings Home Network Links: Summary / Wireless Settings /Advanced Settings Firewall Links: Summary /Firewall Settings Advanced Settings ---------------------------------------------------------------- ---------------------------------------------------------------------- Ok ya so i am quite lost If Someone anyone Would be so Kind to help me with this, it is so greatly apreciated !!!!!!!!!!!!! Thank YOU ! Last edited by naenewyork; 11-09-2007 at 05:53 PM. Reason: atempt to be more clear in my words :) |
|
|
|
|
|
#2 (permalink) |
|
Forum Novice
Join Date: Jan 2005
Age: 30
Posts: 117
|
The only thing you really need to do in that file is change the line as you did for teh server name:
Code:
public const string ServerName = "ata rules"; |
|
|
|
|
|
#3 (permalink) |
|
Newbie
Join Date: Aug 2007
Posts: 11
|
Thank you very much for your help, But The things is I cant find or figure out Where To Port Forward or Exactly how to, I just do not go to a web page with the ip log in and boom can input my port like most can, when i go to the page there is NO log in and no where for port forward, when i click on my connection box as i said in my last post still unclear how to get through filling that out which may take me to where i can. So any suggestion ??? Any PLease !!! I Have been reading (as you know how that gowes) for days and everyone else seems to input there ip into web bar and come to the page to log in, mine goes to a dif. page as i said above no log in with admin/admin etc. and no where to add port. THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
|
|
|
|
#4 (permalink) |
|
Newbie
Join Date: Aug 2007
Posts: 11
|
***OK as it Turns out my biggest Issue was that I couldn't log into the router Control Panel Because My comp. was Using another Router that i have To Connect so I was on chat all day long with Linksys and FINALLY got that situated !!!!! * Hope that helps anyone else in the future may run into my waky issue there, lol *
***NOW HERE IS WHERE I AM AT NOW !!!!!!!! PLease Can Anyone Help !????? Ok well its active now but stuck to try to log in. The only thing I havnt done in my routers Panel is Static Dns .. No clue what to put there. 1. Got Ip atarules.no-ip.org because my external ip changes I am running the program for this 2. Went to Properties in Wireless Connection TCP/IP Properties and changed the settings TO My Static Ip 198.162.1.5 {i get this as ip now when i cmd ipconfig} subnet mask XXXX default gate way XXXX Dns Server XXXX dns server XXXX 3. Log Into Router Panel. Changebasic setup drop down bow to static ip Put In The Above Dns Server Numbers save Went to Gaming tab enter Name - port start and end 0 protocol both - IP my static IP save -------------------------------------- 4. Serverlist.cs has the atarules.no-ip.org for ip name of server then it has port 2593 -------------------------------------------------------------- 5. Now I havnt anything checked all blank in lan i tried to mess with this and lost my internet connection, lol as i am unsure what to put in there. ------------------------------------------------------ When I go to Open Port Check Tool I still have error it can't see me. Any Suggestions -------------------------------- Ok Now I see ERROR Encrypted Cluent Detected PLEASE !!!!!!!!!!!!! Thank You SOOOOOOOOOOOO MUCH!!!!!!!!!!!!!! ![]() Thank You Thank You Thank You Thank You Thank You Thank You !!!!!!! Last edited by naenewyork; 11-11-2007 at 07:59 PM. Reason: New Item to report |
|
|
|
|
|
#6 (permalink) |
|
Newbie
|
I think this is how your serverlist.cs should looks like
Code:
using System;
using System.Net;
using System.Net.Sockets;
using Server;
using Server.Network;
namespace Server.Misc
{
public class ServerList
{
/* Address:
*
* The default setting, a value of 'null', will attempt to detect your IP address automatically:
* private const string Address = null;
*
* This detection, however, does not work for servers behind routers. If you're running behind a router, put in your IP:
* private const string Address = "12.34.56.78";
*
* If you need to resolve a DNS host name, you can do that too:
* private const string Address = "shard.host.com";
*/
public static readonly string Address = "atarules.no-ip.org";
public const string ServerName = "ata rules";
public static void Initialize()
{
Listener.Port = 2593;
EventSink.ServerList += new ServerListEventHandler( EventSink_ServerList );
}
public static void EventSink_ServerList( ServerListEventArgs e )
{
try
{
IPAddress ipAddr;
if ( Resolve( Address != null && !IsLocalMachine( e.State ) ? Address : Dns.GetHostName(), out ipAddr ) )
e.AddServer( ServerName, new IPEndPoint( ipAddr, Listener.Port ) );
else
e.Rejected = true;
}
catch
{
e.Rejected = true;
}
}
public static bool Resolve( string addr, out IPAddress outValue )
{
if ( IPAddress.TryParse( addr, out outValue ) )
return true;
try
{
IPHostEntry iphe = Dns.GetHostEntry( addr );
if ( iphe.AddressList.Length > 0 )
{
outValue = iphe.AddressList[iphe.AddressList.Length - 1];
return true;
}
}
catch
{
}
outValue = IPAddress.None;
return false;
}
private static bool IsLocalMachine( NetState state )
{
Socket sock = state.Socket;
IPAddress theirAddress = ((IPEndPoint)sock.RemoteEndPoint).Address;
if ( IPAddress.IsLoopback( theirAddress ) )
return true;
bool contains = false;
IPHostEntry iphe = Dns.GetHostEntry( Dns.GetHostName() );
for ( int i = 0; !contains && i < iphe.AddressList.Length; ++i )
contains = theirAddress.Equals( iphe.AddressList[i] );
return contains;
}
}
}
Code:
private const string Address = "atarules.ni-ip.org"; ![]() On your router you should go to Applications & Gaming >Port Range Forward Pick a empty space and put Application: Runuo (or anything you want) Start: 2593 End: 2593 Protocol: Both IP Address: 192.168.1.xxx (replace the xxx with your internal IP last 3 numbers) Dont forget to check enable Click Save Settings This is how i have set my router and it works fine for me ![]() You should also check your Windows Firewall if you have one. (Mine is Turned OFF) *EDIT* Here is a picture of my router front page (Setup Page I hope it helps)http://img149.imageshack.us/img149/1769/routerjp3.png Last edited by djkee; 11-12-2007 at 05:45 AM. |
|
|
|
|
|
#7 (permalink) |
|
Newbie
Join Date: Aug 2007
Posts: 11
|
HEY Thank yoi SO much for your response:
![]() well yes I do have it spelled right in serverlist. hehe sry. and I have the router all set. and forwarded now. I Finally connected with Razor when i changed the server list to have the static ip that i ppicked that i also used in my wireless connection TCP/IP Properties Page " first ip you use when filling that in I made one Up" this one also shows in My Server window on boot up. Then I was able to connect with razor , But still No Connect UO Connection ablility, or anyone accept same ip as i have able to connect even with razor. Now I am wondering Should I use My Routers Ip addy, the one you use to access your routers Panel where you do the Port Forwarding ? Or should I Change the Settings in my wireless connection TCP/IP Properties Page and make that Very first ip something else ? hmmmmm![]() ![]() I will post if i figure anything out, Any Suggestions are Greatly apreciated!!! Thanks All ~~~ |
|
|
|
|
|
#8 (permalink) |
|
Newbie
Join Date: Aug 2007
Posts: 11
|
Ok So I Have Figured Out I have 2 Routers:
2wires and Linksys wireless So I get Lan set up , Linksys set up, serverlist set up, connect uo set up , No ip set up all goin connected with razor.... BUT could not connect with connect UO so i start messin with numbers cuz i cant STAND not knowin how to get sumthin to work ( MIND you this is all just for a test server already have my reg. server set up before through 4 dif. comps and dif. types of connections, uhhhh ) sooo anyways all obssessive and reading fiddleing and BOOM No connections anymore, spent all day sunday on chat with linksys they helped me get to the part where i could log in with razor at least ... ...... BUT nooo i have to keep jackin things up , lol, cuz i just cant stand it, l ol. - SOOooo now i can connect to the internet with no personal lan settings +in place+ connectin thru 2wires but not linksys.... ![]() if i try to set up for the server, I loose connections and takes mass fiddeling till i get back on. ...shew...I know u guyz hav DSum advice for me here !!!!! ![]() SO anyone have any experience with two routers conflicting ? or what the heck is goin on here ? 2wires + linksys ??? i am way too lost on this need some help PLEASSSSE!!!! Thanks ALL SO Much for any Suggestions ~ ![]() naenewyork = A.k.A * September of ATA * ![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|