|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Join Date: Jun 2005
Age: 23
Posts: 1
|
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
- Error: Scripts\Misc\ServerList.cs: CS1002: (line 23, column 38) ; expected Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. 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 = 127.0.0.1; * * 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 = "127.0.0.1"; * * 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 = 127.0.0.1; public const string ServerName = "Forsaken Nights"; 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( "ForsakenNights", new IPEndPoint( IPAddress.Parse( "127.0.0.1" ), Listener.Port ) ); else e.Rejected = false; } catch { e.Rejected = false; ip is fake just to inform you any ideas of how to fix it? |
|
|
|
|
|
#5 (permalink) | |
|
Account Terminated
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|