RunUo.Korean.Forum RunUo.Korean.Forum
RunUo(·±À¯¿À)¿¡ °üÇÑ Çѱ¹ Æ÷·³ »çÀÌÆ®
 

Àú°¡ ¼³Á¤À» À߸øÇß´ÂÁö Á» ºÁÁÖ¼¼¿ä.
Click here to go to the original topic

 
       RunUo.Korean.Forum -> Server Support
ÀÌÀü ±Û :: ´ÙÀ½ ±Û  
±Û ¾´ÀÌ ¸Þ¼¼Áö ³»¿ë
dohanei2



°¡ÀÔÀÏ: 2003³â 12¿ù 26ÀÏ
°Ô½Ã¹°: 34
ÁÖ ¼Ò: ¼­¿ï Áß¶û±¸ ¸é¸ñ7µ¿ ¸é¸ñÇö´ë¾ÆÆÄÆ®/103-1202

±Û ÀÛ¼º½Ã°£ : 2003-12-31 ¼ö 10:10 am    Á¦¸ñ: Àú°¡ ¼³Á¤À» À߸øÇß´ÂÁö Á» ºÁÁÖ¼¼¿ä.  

serverlist.cf >> <Âü°í·Î 80¿¡¼­ 2593À¸·Î Æ÷Æ®¸¦ ¹Ù²ã ¿­¾ú½À´Ï´Ù. >
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 = "218.39.182.247";

public const string ServerName = "RunUO wipi";

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;
}
}
}
login.cf ³»¿ë >>
;Loginservers for Ultima Online
;Do not edit this file or patching will fail! Always save a backup.
LoginServer=login.owo.com,7775
LoginServer=login.owo.com,7775
LoginServer=login.owo.com,7776
LoginServer=login.owo.com,7776
LoginServer=218.39.182.247,2593

ÀÌ·¸°Ô Çϸé Á¢¼ÓÇÒ¶§ ¼­¹ö´Â ¾Æ¹« ¹ÝÀÀÀÌ ¾ø°í Ŭ¶óÀÌ¾ðÆ®¿¡¼­ ¿¡Çø®ÄÉÀ̼ǿ¡ ¹®Á¦°¡ ÀÖ´Ù? ? ÀÌ·±½ÄÀ¸·Î ¿¡·¯°¡ ³ª°í
·Î±ä.cf ¿¡¼­ »ç¼³ ip ·Î ¹Ù²Ù¸é accounting verfering ÀÌ°Ô ³ª¿À´õ±º¿ä ;
¸Ç À§·Î °¡±â  
GangPung



°¡ÀÔÀÏ: 2003³â 12¿ù 22ÀÏ
°Ô½Ã¹°: 322
ÁÖ ¼Ò: ´ëÇѹα¹

±Û ÀÛ¼º½Ã°£ : 2003-12-31 ¼ö 10:35 am    Á¦¸ñ: À½..  

ÄÚµå :  public const string Address = "218.39.182.247";
À§ ºÎºÐÀº ¶ó¿ìÅ͸¦ »ç¿ëÇßÀ»¶§ Àû¿ë½ÃÄÑÁÖ´Â ºÎºÐÀÔ´Ï´Ù.

¸¸¾à ¶ó¿ìÅ͸¦ »ç¿ëÇÏÁö ¾Ê´Â´Ù¸é µðÆúÆ® °ªÀ¸·Î ÇØÁÖ¼¼¿ä.
ÄÚµå :  public const string Address = null;

¼­¹ö°¡ °¡µ¿ÀÌ ¾ÈµÇ´Â »óȲÀ» Á»´õ ¼¼ºÎÀûÀ¸·Î ¼³¸íÀ» ÇØÁÖ¼ÌÀ¸¸éÇÕ´Ï´Ù.
¼­¹ö ÁÖº¯È¯°æ¿¡.. ¿¹¸¦ µé¾î °øÀ¯±â¸¦ »ç¿ëÇÑ´Ù´øÁö... »ç¼³ ¾ÆÀÌÇǸ¦ ÀÌ¿ë.
¼­¹ö OSµîµî...
¸Ç À§·Î °¡±â  
 
       RunUo.Korean.Forum -> Server Support
ÇöÀçÆäÀÌÁö : 1/1


Powered by phpBB Search Engine Indexer
Powered by phpBB © 2001, 2002 phpBB Group