|
||
|
|||||||
| New Join Forum So your new to RunUO and looking to work with people that are new, this is the place. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Join Date: Sep 2004
Posts: 255
|
hope i am in the right place...i have 2 computers running runuo on one of them..looked all day on how to set up shard..i can access my shard on admin account on computer 1...but cant get computer 2 to access the shard...i have set my router to port forwarding...set my ip addy in servers.cs...just cant seem to get it to log on...looking for any help..or a link to something that would tell me..i have tried using search..but either cant get wording right..or i get alot of information on stuff i have already done
![]() |
|
|
|
|
|
#2 (permalink) | |
|
Maxemuse
|
Quote:
__________________
Godwings, One And Only :D |
|
|
|
|
|
|
#6 (permalink) |
|
Join Date: Sep 2004
Posts: 255
|
here goes...i have all the information in my server.cs pointing to my ip address that i got from myispcom...got my router to port forward (using a linksys model BEFSR41)...i have everything coming to my computer... I can log into my server using the 127.0.0.1...i have gateway set up with my true addy....remove encription..i cant get my other computer to access the server...i have that one set up to connect to true addy..i have tried jsut about every address i have to connect to it..we have a cable modem address is constant..i called isp provider to make sure they wasnt blocking port 2593...and they are not...i have looked at all the information on my linksys..done everything they said i should do for port forwarding..including disabling the DHCP...i even tried the DMZ host..to allow for access to my computer...i have been trying for 2 days now...please anybody help with more information..or double check what i am doing...or tricks...i have runuo 1.0...here is my server.cs file ..i have my accounts set for 2... 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 const string Address = "MY IP Here"; public const string ServerName = "Avalon"; 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 ) { try { outValue = IPAddress.Parse( addr ); return true; } catch { try { IPHostEntry iphe = Dns.Resolve( 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.Resolve( Dns.GetHostName() ); for ( int i = 0; !contains && i < iphe.AddressList.Length; ++i ) contains = theirAddress.Equals( iphe.AddressList[i] ); return contains; } } } |
|
|
|
|
|
#7 (permalink) |
|
Forum Expert
|
I could not connect either. When you reset or unplug you router it will change your ip so be sure not to do that. Also be sure the firewall on your pc are off to. There is something blocking the signal its either your router or pc firewall problem. I am guessing you did not set router info correctly.
P.S. When you post a script please use the wrap tags option in the future please.
__________________
Broadside ~AkA~ Bad Karma |
|
|
|
|
|
#8 (permalink) |
|
Join Date: Sep 2004
Posts: 255
|
i am new to posting and the lauguage i will use wrap tags if i knew what they were and how to use them..sorry if i did something wrong...i will look into the router again...but all the documentation i followed..but doenst hurt to look again...i run XP..and i have the firewall off to it...and the only thing that resembled a firewall on the router was the DMZ hosting
|
|
|
|
|
|
#9 (permalink) |
|
Forum Expert
|
In you router click the advanced tab go to forwarding put the 2593 in the 2 boxes under Ext.Port make sure tcp protocal is checked look on your server window and use the ip there for the port that being something like 192.168.1.102 or something like that than check the enable box next to that and apply i think that is what your router needs to set your server live.
I can try logging in 5 mins or so after you reply to this and see if i can get in your server for you. Also if you do not want a lot of peopl hopping in your server i would edit that first post and delete the script you put on there it shows your ip.
__________________
Broadside ~AkA~ Bad Karma |
|
|
|
|
|
#11 (permalink) |
|
Forum Expert
|
Nope as long as that ip there shows the same as your server window does that being the last 3 digits there for it will call its own ip rather than the two given out to you pcs. Also be sure you have uogateway 1.9 the newest one. Now this ip you are opening in your router is not supposed to match the one in your gateway the one you use is the one you get from the website that shows your ip the router number is just allowing the flow to your pc. If you have done all of this and nothing i suggest you check your security preferences on the pc running the server itself for it is the only other thing i can think that is causing us not to be able to log in.
__________________
Broadside ~AkA~ Bad Karma |
|
|
|
|
|
#12 (permalink) |
|
Join Date: Sep 2004
Posts: 255
|
i got it up and running last night finally...i had a friend that made a shard and he walked me through it...what we did..uninstalled runuo..installed a fresh copy...only thing thats was differnt was when i made my admin account...my son and i did the first one..and put my server name for account login...but all is working fine now...thank you for all your advice...and your time....i will try and not be such a noob..
..so i am really looking into all the post for my answers..before i post anymore...hate looking like a dumba** sometimes... |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|