public static readonly string Address = null;
public const string ServerName = "RunUO TC";
public static readonly string Address = "1.1.1.1";
public const string ServerName = "My Server Name";
Vitas;705494 said:ok i just want to ask.. the first 2 conversations were about the files and how can u start your own shard.. i don't think i have problem to do the first few things... but were do i get the client or files for my own shard? what game should i use Modays Legacy or what else?
Vitas;705494 said:and if i need to be a member of EA to start my own shard... or is it totaly free for the whole thing?
Vitas;705494 said:and i also play on other shards that uses Verdata, and login and staff like that.. so i have 2 uo games installed on my pc... one is Renaissance, and other is Mondays legacy. can any one please help me figure out what's were? i want to have my own shard and play with my friends on other shard(use Renaissance) client. if i have to use Mondays legacy to create my own shard that would be great. i know this is kind of confusing but any one help me please....
Vitas;705505 said:ok i got my shard running but i have a couple of questions. Why is it slow? i think i have 448 mb of ram. that may be the problem.
Vitas;705505 said:and other thing were can i find a someone to help me create stuff? cause i don't know a dam thing about it!!! maybe u can help me....lol
Vitas;705542 said:listen i can run the game and the server. but it just won't show me stuff... like status and staff. but i alredy ran it once, i don't know how i did that. but if i run it now i can't see anything like stat but the game is running fine. except i can't walk far, put stuff in my bag and more feutures
Vitas;705613 said:Thank's to stormwolff and LadyRhia, i just have one thing.. what do i need to cahnge for people could join me? and if i want to get some people on my shard?
and what i can do now is just a beginning right?
Vitas;705613 said:and when i play i don't know how to become a gm? or reise my stat cap. i guess i just need some practice...
stormwolff;705704 said:You first need to make the serverlist edit I mentioned in my previous posting using your external IP. You can come back here and post your public ip and people can try to connect for you or just ask a friend to try it. [props
Vitas;705756 said:that is the problem.. i'm not sure how i were i supose to edit that. and were i supose to put my ip. i tryed to put like u said but it send error on script...
Vitas;705777 said:here what i did to change my ServeList. IS THAT RIGHT?
/* 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 = null;
*/
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 = null;
*/
public static readonly string Address = "Your Ip Address";
public const string ServerName = "Your shard name";
public static void Initialize()
{
Listener.Port = 2593;
EventSink.ServerList += new ServerListEventHandler( EventSink_ServerList );
}
Vitas;705782 said:/* 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 = "null";
*/
public static readonly string Address = MY IP;
public const string ServerName = "SHARD NAME";
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
{
}
this is the things i changed and it send me an error
"error
+ Mis/ServerList.cs:
CS1002: line 23: ; expected
[ code ] to start code box
[ /code ] to close code box but without the spaces between brackets and characters.