Go Back   RunUO - Ultima Online Emulation > RunUO > New Join Forum

New Join Forum So your new to RunUO and looking to work with people that are new, this is the place.

Reply
 
Thread Tools Display Modes
Old 09-26-2004, 10:25 PM   #1 (permalink)
 
Join Date: Sep 2004
Posts: 255
Default at my wits end

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
Alcore is offline   Reply With Quote
Old 09-26-2004, 10:34 PM   #2 (permalink)
Maxemuse
 
Godwings's Avatar
 
Join Date: Feb 2004
Location: CA, U.S
Age: 20
Posts: 117
Send a message via AIM to Godwings
Default

Quote:
Originally Posted by Alcore
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
ether use 2 different ips to login or Set up in the RunUO 1.0 RC0\Scripts\Accounting\AccountHandler.cs to have 2 account for one ip
__________________
Godwings, One And Only :D
Godwings is offline   Reply With Quote
Old 09-26-2004, 10:35 PM   #3 (permalink)
Forum Expert
 
Join Date: Aug 2004
Location: Redmond, WA
Age: 21
Posts: 1,288
Send a message via AIM to Sep102 Send a message via MSN to Sep102
Default

How are you trying to connect to your server? Are you using the local IP of your server computer, or are you trying to connect to it using your internet IP?
Sep102 is offline   Reply With Quote
Old 09-26-2004, 10:38 PM   #4 (permalink)
 
Join Date: Sep 2004
Posts: 255
Default

i have tried using what others would use..my ip(myisp.com)..put that in the proper fields on server.cs...and i did change the accounts to 2 accounts for 1 isp
Alcore is offline   Reply With Quote
Old 09-28-2004, 09:14 PM   #5 (permalink)
Forum Expert
 
Broadside's Avatar
 
Join Date: Jul 2004
Location: Minnesota
Age: 32
Posts: 1,488
Send a message via ICQ to Broadside Send a message via MSN to Broadside Send a message via Yahoo to Broadside
Default

It could be a version or patch issue. Also make sure you are using the correct uogateway on the other pc.
__________________
Broadside ~AkA~ Bad Karma
Broadside is offline   Reply With Quote
Old 09-28-2004, 10:00 PM   #6 (permalink)
 
Join Date: Sep 2004
Posts: 255
Default still trying

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;
}
}
}
Alcore is offline   Reply With Quote
Old 09-28-2004, 10:18 PM   #7 (permalink)
Forum Expert
 
Broadside's Avatar
 
Join Date: Jul 2004
Location: Minnesota
Age: 32
Posts: 1,488
Send a message via ICQ to Broadside Send a message via MSN to Broadside Send a message via Yahoo to Broadside
Default

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
Broadside is offline   Reply With Quote
Old 09-28-2004, 10:25 PM   #8 (permalink)
 
Join Date: Sep 2004
Posts: 255
Default wrap tags

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
Alcore is offline   Reply With Quote
Old 09-28-2004, 10:31 PM   #9 (permalink)
Forum Expert
 
Broadside's Avatar
 
Join Date: Jul 2004
Location: Minnesota
Age: 32
Posts: 1,488
Send a message via ICQ to Broadside Send a message via MSN to Broadside Send a message via Yahoo to Broadside
Default

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
Broadside is offline   Reply With Quote
Old 09-28-2004, 10:45 PM   #10 (permalink)
 
Join Date: Sep 2004
Posts: 255
Default putting server up

ok..i went into router settings...i have it set for 2593 2593 TCP the ip it forwarded to....hope this works...should i do anyhting to filters?
Alcore is offline   Reply With Quote
Old 09-28-2004, 11:02 PM   #11 (permalink)
Forum Expert
 
Broadside's Avatar
 
Join Date: Jul 2004
Location: Minnesota
Age: 32
Posts: 1,488
Send a message via ICQ to Broadside Send a message via MSN to Broadside Send a message via Yahoo to Broadside
Default

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
Broadside is offline   Reply With Quote
Old 09-29-2004, 02:52 PM   #12 (permalink)
 
Join Date: Sep 2004
Posts: 255
Default thanks broadside

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...
Alcore is offline   Reply With Quote
Old 09-29-2004, 08:02 PM   #13 (permalink)
 
Join Date: Sep 2004
Location: San Diego
Age: 31
Posts: 61
Send a message via ICQ to Azirath_JaGang Send a message via Yahoo to Azirath_JaGang
Default

If your still having problems, send me a PM, ICQ or YahooIM and I'll help get you settled in.
Azirath_JaGang 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